![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Apr 2003
Location: Colorado
Posts: 2,421
|
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
__________________
IntenseCash.com ~ Chuck | ICQ: 444887112 Top converting sites: BrokeStraightBoys.com, CollegeDudes.com & CollegeBoyPhysicals.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Feb 2002
Location: Las Vegas
Posts: 6,504
|
What what in the what what?
Could you try and rephrase that question again? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Oct 2002
Location: European Union
Posts: 1,752
|
![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Aug 2001
Location: Hungary
Posts: 215
|
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Aug 2002
Location: S. Florida
Posts: 750
|
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.
__________________
Somebody stole my damn signture... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Feb 2002
Location: Amsterdam
Posts: 9,377
|
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
__________________
| http://www.sinnerscash.com/ | ICQ: 370820 | Skype: SinnersCash | AdultWhosWho | |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Registered User
Join Date: Apr 2003
Location: Hoboken, NJ
Posts: 91
|
Quote:
__________________
David O. Systems/Network Tech ICQ: 451311 ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Too lazy to set a custom title
Join Date: Jan 2002
Location: Holland
Posts: 9,870
|
rephrase the question so we understand.
__________________
Don't let greediness blur your vision | You gotta let some shit slide icq - 441-456-888 |
![]() |
![]() ![]() ![]() ![]() ![]() |