Re: Is there a PHP-WIN FAQ?
| From: | Dallas Thunder | Date: | Wed, 28 Aug 2002 15:48:40 +0000 |
| Subject: | Re: Is there a PHP-WIN FAQ? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15569@lists.php.net to get a copy of this message | ||
These are the most common novice questions.
> Questions I can think of are:
> (.) How do I get mail() to work?
Visit http://www.php.net/manual/en/function.mail.php
and see if you can get
some useful information from User Contributed Notes.
> (.) I have a script that doesn't print out the variables I POST to it...
I suspect it's the famous "register_globals" problem. If you don't
understand, just edit your php.ini file and set "register_globals = On".
> (.) I have an error saying "Headers already sent", what does that mean?
You can't have any HTTP output before header() function. Which means if you
are using header() function, the first line of your script must be
<?php
not anything else. Not a blank line or even a space character before it.
And before your header() function, you can't use "echo" or any other
statement which generates output to broswer.
Hope it helps.