Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (SteveS, Bjab), 37 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 469
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#93965 - 04/11/01 10:45 PM Load the associate array (%in), but not via the URL query string
Anonymous
Unregistered

Using the login.cgi and WIN32::ODBC Module of ActivePerl, I have been able to synchronized the login option of my web page with UBB. How? Once the user is logged in once they select the FORUM option, I use the URL to pass action=login and a session id. In the login.cgi, I then use WIN32::ODBC to activate the SQL Server and retrieve the user name and password from the user table and session table. The login.cgi script validate the data and gives the user access.

However I have a problem. I wish to now synchronize the Registration and Profile option. For security reasons, I do not want to use the FORM or URL to send the user information across. However the sub routine in ubbmisc.cgi is expecting the variables (user name, etc) to be loaded into the associate array(%in) via the query string.

Use WIN32::ODBC, I am able to retrieve the required data and define them as scalar variables, eg $user_name. But how do I loaded them into %in. Should I use
eg. $in{'user_name'} = "$user_name', etc.

I tried to resolve this problem by creating a new script and use scalar variables instead of associate array, but is as if Perl cannot find the script.

Could anyone tell me how to resolve this problem, using either method?
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."



Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image