stanbusk Administrator Staff member Jan 26, 2009 #21 Replace the line $path_to_script = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER[PHP_SELF]; with $path_to_script = "YOUR_SCRIPT_URL_HERE";
Replace the line $path_to_script = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER[PHP_SELF]; with $path_to_script = "YOUR_SCRIPT_URL_HERE";
J jmcbade New Member Jan 26, 2009 #22 I'll give that a try Can you give me reasons why my two environments require this change and the "stock" script is using the otehr? Thanks, -John
I'll give that a try Can you give me reasons why my two environments require this change and the "stock" script is using the otehr? Thanks, -John
stanbusk Administrator Staff member Jan 26, 2009 #23 It is either because of the installed PHP version or the server PHP settings.
J jmcbade New Member Jan 26, 2009 #24 Details? Can you please be a little more specif on the possibilities and/or the requirements that dictate this? Thanks, -John
Details? Can you please be a little more specif on the possibilities and/or the requirements that dictate this? Thanks, -John
stanbusk Administrator Staff member Jan 27, 2009 #25 We made the script for PHP 5 or higher and mySQL 5 or higher.
J jmcbade New Member Jan 27, 2009 #26 FYI... I believe my environment meets those requirements in both cases. These values obtained using php_info() MAMP: PHP Version 5.2.6 (MySQL) Client API version 5.0.41 Hsting server: PHP Version 5.2.8 (MySQL) Client API version 5.0.67 Thanks, -John
FYI... I believe my environment meets those requirements in both cases. These values obtained using php_info() MAMP: PHP Version 5.2.6 (MySQL) Client API version 5.0.41 Hsting server: PHP Version 5.2.8 (MySQL) Client API version 5.0.67 Thanks, -John
stanbusk Administrator Staff member Jan 27, 2009 #27 Ok so just replace the line $path_to_script = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER[PHP_SELF]; with $path_to_script = "YOUR_SCRIPT_URL_HERE"; and you will be fine.
Ok so just replace the line $path_to_script = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER[PHP_SELF]; with $path_to_script = "YOUR_SCRIPT_URL_HERE"; and you will be fine.