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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-11-2003, 11:48 PM   #1
IntenseCash
Confirmed User
 
IntenseCash's Avatar
 
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
IntenseCash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-12-2003, 02:31 AM   #2
tical
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?
tical is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-12-2003, 02:33 AM   #3
Calvinguy
Confirmed User
 
Join Date: Oct 2002
Location: European Union
Posts: 1,752
...
Calvinguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-12-2003, 02:35 AM   #4
PicBar
Confirmed User
 
Join Date: Aug 2001
Location: Hungary
Posts: 215
__________________
PicBar is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-12-2003, 04:52 AM   #5
VideoJ
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...
VideoJ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-12-2003, 05:20 AM   #6
ServerGenius
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 |
ServerGenius is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-12-2003, 07:47 AM   #7
NJ Dave
Registered User
 
Join Date: Apr 2003
Location: Hoboken, NJ
Posts: 91
Quote:
Originally posted by DynaSpain
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
...or you could try using the $_GET and $_POST variables that PHP now offers.
__________________
David O.
Systems/Network Tech
ICQ: 451311
NJ Dave is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-12-2003, 07:57 AM   #8
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
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
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.