note 43845 added to function.ini-set

From: Date: Tue, 06 Jul 2004 10:25:20 +0000
Subject: note 43845 added to function.ini-set
Groups: php.notes 
Request: Send a blank email to php-notes+get-72744@lists.php.net to get a copy of this message
I am trying to set up a php script that allows a user to type a message on my site, and sends a message to me. Only problem i have is that it doesnt work. I know i had my php working as my mates server worked for it, yet my one wont, i was told to use the ini_set(); command and am having trouble using this can anyone give me a hand. here is my php script, <?php ini_set(SMTP, "smtp.fasthosts.co.uk"); mail("me@benbot.co.uk", $_GET["mess"], $_GET["from"], "$mess $from" . phpversion()); ?> All it does is send back a blank e-mail to me saying it it addressed to me@localhost.com, so if it is sending it back, why isnt my message there. Please help me! :'( ---- Manual Page -- http://www.php.net/manual/en/function.ini-set.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43845 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43845&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43845&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#72744) next »