Installing mlm

stanbusk

Administrator
Staff member
Replace the line

$path_to_script = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER[PHP_SELF];

with

$path_to_script = "YOUR_SCRIPT_URL_HERE";
 

jmcbade

New Member
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
 

jmcbade

New Member
Details?

Can you please be a little more specif on the possibilities and/or the requirements that dictate this?

Thanks,

-John
 

jmcbade

New Member
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
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.
 
Top