HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Programming/Scripts (http://www.howtoforge.com/forums/forumdisplay.php?f=7)
-   -   php script question from non php geek (http://www.howtoforge.com/forums/showthread.php?t=7435)

Hoki 13th October 2006 17:19

php script question from non php geek
 
Hej

the reason i have set this up i have a small company and give web space to small companies or private person here where i live
one of the have probelm with my Server 200 IIS and php.
I set this up and tried the script and it still does the problem here the test page

the password is abc123 should give a page saying geheim seite

www2.svig.ch/index.php (not working)

svaerdh.sv.funpic.de/index.php (working)

if u need the phpinfo there is a test.php on each site for that



would be helpful if somebody could tell me what the diffs are.
i have seen one , two diff php versions.

best regards

falko 14th October 2006 16:23

Check the programming of the scripts. A common pitfall is register_globals in PHP: http://www.howtoforge.com/forums/sho...gister_globals

sjau 15th October 2006 00:08

Well, I'd advice do deactivate globals if possible.

Depending on how you submit the form (get or post) you can access the form vars this way:

$_GET["name"]
or
$_POST["name"]

where "name" is the name of the input element.


All times are GMT +2. The time now is 14:19.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.