Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why would a script work on one server and not another

Status
Not open for further replies.

msjfc615

Programmer
Feb 26, 2004
13
US
I have a php script that is trying to do the simple task of trying to parse a variable however it will not work on a server that is running php on Windows NT. I ran it on another server that runs php on a Sun server and it worked fine. I would appreciate all the help that you all may be able to give me. Thanks
 
Lots of things can cause this. Without knowing more about your exact problem, I cannot do more than speculate.


The PHP version. For example, some variables, namely the superglobals don't exist in versions of PHP older than 4.1.0


The PHP configuration. If your Solaris installation has register_globals set to "on", but the Win32 installation has it set to "off", then user-submitted values will not be instantiated as $<fieldname>.



Want the best answers? Ask the best questions

TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top