Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pass Arg to PHP Web Page at Startup

Status
Not open for further replies.

jsteff

Technical User
May 22, 2003
109
US
I need to validate a user id before an app starts on the server.
The userid is sitting on Drive C of a desktop running Windows.
I have a PHP program on the server that will validate a user BUT currently, the user id is hardcoded.

When I start the program on the server, I need to submit the user ID as a variable, for example:

Then in the script, the variable would be set equal to Bubba.

How can I do this????

Thanks!
 
Not with PHP.
But how is the Id on the machine? is it a text file? maybe you are trying to read the users login directly.

Perhaps you can setup a link shortcut in the user's machine the way you need it and include the elusive ID so the user only needs to lick the shortcut to get to the page.

or

You can have a "lobby" page that might run a JS or Activex script to acquire the value, form the URL and redirect to the PHP app with the Id in the URL.

Neither of these is directly related to the PHP side of things.

You could ask in the forum216 or even forum329



----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top