[PHP] Re: PHP Variable Declare

2003-01-22 Thread Stephen Goehler
: > > fputs($fd, "From: ".$_POST['name']." <".$_POST['email'].">\n"); > > Don't ask arrays directly in a string. > > > > > Thomas > > > On Wed, 22 Jan 2003 11:15:35 -0500 [EMAIL PROTECTED] (Stephen Goehler) wrot

[PHP] Re: PHP Variable Declare

2003-01-22 Thread Stephen Goehler
Now it gets more confusing.I added: print ''; print_r($_POST); print ''; to my form and the variables are displayed properly, but only generate errors when I try to add it to fputs().any ideas? "Stephen Goehler" <[EMAIL PROTECTED]> wrot

[PHP] Re: PHP Variable Declare

2003-01-22 Thread Stephen Goehler
;] == "formmail") > > instead of your line. > > > > Thomas > > On Wed, 22 Jan 2003 09:47:46 -0500 [EMAIL PROTECTED] (Stephen Goehler) wrote: > > > Hey guys, > > > > Thanks in advance for your help. > > > > I'm working on ema

[PHP] PHP Variable Declare

2003-01-22 Thread Stephen Goehler
Hey guys, Thanks in advance for your help. I'm working on emailing the contents of a form using php. It worked fine, until I turned global_variables off in an attempt to secure the form (I still have yet to write the data validation part). Anyway, I have an IF statement that fires depending on

Re: [PHP] mail () error

2003-01-17 Thread Stephen Goehler
Thanks, the server was relaying, but it turned out to be the firewall that was rejecting the request. Now I have a new problem thought, my mail () command will send the mail (and I receive it) but it will just hang there and eventually return this: Fatal error: Maximum execution time of 30 second

[PHP] mail () error

2003-01-17 Thread Stephen Goehler
Anyone know what causes this error? Warning: mail ()[function.mail]: Failed to receive Can it not find the mail server? On a side note, is there a PHP resource on the net that will listed error messages and their possible causes? Thanks, Steve -- PHP General Mailing List (http://www.php.ne