Jump to content

PHP safe mode question


All4172

Recommended Posts

There could be all sorts of reasons why a script will run on one server and not the other. The first thing you should do is go into you php.ini file and sell all errors and warnings to on. This will then show your errors in the script. Fix them and it should work on the other server.

If one server is windows for example that is a different story. If also they are different versions of php that can also cause another problem. Also if you script uses global varibles this can be a problem. Your script should be getting varibles from the url by using the $_GET and from forms $_POST.
Link to comment
https://forums.phpfreaks.com/topic/22196-php-safe-mode-question/#findComment-99443
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.