home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 2863
Discussions: 188,381, Posts: 2,243,474, Members: 232,609
Old July 9th, 2002, 09:30 PM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: Jun 2002
Posts: 10
PHP problem in Apache 1.3.26

I just installed apache 1.3.26 with PHP 4.2.1 on my Windows XP computer, and I'm writing a script for specific IP's to goto different pages, BUT it cant echo any ENV variables. I have a linux box running mandrake 8.1 and it run's the script fine!

Any idea's why none of the ENV variables don't work?

Thanks in advance!

Sholin is offline   Reply With Quote
Old July 9th, 2002, 09:37 PM     #2 (permalink)
Junior Member
 
Join Date: Jun 2002
Posts: 10
got it.. had to change ' register_globals ' in php.ini to on

Sholin is offline   Reply With Quote
Old July 9th, 2002, 10:37 PM     #3 (permalink)
Member
 
gothic's Avatar
 
Join Date: Oct 2001
Location: Palatine, IL
Posts: 375
Actually, it would probably be better for you to learn to new var scheme that PHP is using which is said to be much more secure (I've not written any 'security-conscious' scripts as of yet, so I can't properly comment)
Though I did rewrite my mp3db app to use PHP's new vars.. Hardest part was figuring out which vars belonged in which namespace (GET, POST, SESSION, SERVER, etc)

Here is the doc off PHP's site:

http://www.php.net/manual/en/securit...terglobals.php

gothic is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Most Active Discussions
Is It Just Me? (2886)
The United States Debt (20)
Looks like Burris will get his Sena.. (8)
I think I just killed my computer w.. (24)
Upgrading RAM (5)
hp compaq nc6000 problems (138)
Folderchat Weekday thread (439)
Antec 300 bulk purchase? (11)
Worth the upgrade?? (14)
Recent Discussions
Need help removing my front usb.. (2)
Genuine Broadband Connection my.. (14)
BATCH FILE WONT OPEN!!! HELP!!! (3)
New Build ( Finally ) (2)
2nd video card (0)
RCA 52Inch HDTV wont turn on (1)
Building a gaming computer advi.. (1)
Best digital camera for under 2.. (14)
Help with an Ati Radeon HD 4850.. (25)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 09:09 PM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28