![]() |
ALL PHP experts!!! Help on a user/pass page!!
Ok I have a php user and pass entry page.... I have an html page with body onload and js script. The js is a redirect.
How in the hell do I get it to work in my php password protect page? Here is the php var: //text they will see if user/pass correct $text3 = "You got in!" Thanks Guys, Chuck |
What what in the what what?
Could you try and rephrase that question again? |
:1orglaugh :1orglaugh ... :helpme
|
:helpme
|
Replace $text3=... with
readfile( filename ); where filename is the name of the html file you want to load. See http://www.php.net/manual/en/function.readfile.php for more details. |
If you're going to code it the same crappy and insecure way
80% of the people out there do then you shouldn't forget to edit your php.ini file and set register_globals = On else it won't work. Current php version have register_globals = Off in case you don't know php.ini can usually be found in /usr/local/lib DynaMite |
Quote:
|
rephrase the question so we understand.
|
All times are GMT -7. The time now is 08:48 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123