Hello Chritopher. Why are you deleted my Reply? I think it helpful?Hello,
For security reasons register_globals can not be enabled.
Hello Chritopher. Why are you deleted my Reply? I think it helpful?
hi i wish to change the php version on my account please. nothing to do with register_globals as that needs to be off.
are there any other php versions available that i can use? it seems phpmailer won't work on the current version. and i don't see errors.
function getFile($filename) {
$return = '';
if ($fp = fopen($filename,'rb')) {
$return = fread($fp, filesize($filename));
fclose($fp);
return $return;
} else {
return false;
}
}
[CODE]
if it would help, the document http://ferrety.pcriot.com/scripts/request_handler.php thats attached to this post as a txt (usernames and passwords blocked out).
ps: it just occurred to me... it could be due to the gmail port possibly being blocked? can you perhaps unblock it or let me know details to use an allowed mail server.
The code seems not to be badly typed, but why do you need binary mode?well the business logic in the request_handler.php is to match associated suppliers, iterate through the list and load an html template, replacing certain keywords with values and sending each time.
then it sends a response to the consumer.
it could be the getFile php function, here it is - and it is passed relative url's which are correct.
Code:function getFile($filename) { $return = ''; if ($fp = fopen($filename,'rb')) { $return = fread($fp, filesize($filename)); fclose($fp); return $return; } else { return false; } }