Re: Question re strange behavior.
| From: | Chris Carbaugh | Date: | Thu, 28 Dec 2000 02:30:43 +0000 |
| Subject: | Re: Question re strange behavior. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-32030@lists.php.net to get a copy of this message | ||
When I run php scripts as standalone on the command line, I put '#!
/path/to/php -q' at the top.
The '-q' supresses the content type. I've never actually ran PHP as a
cgi under apache, but thought this might apply.
Chris
On Wed, 27 Dec 2000, Eric Naujock wrote:
> Date: Wed, 27 Dec 2000 19:26:51 -0500
> To: <php-general@lists.php.net>
> From: "Eric Naujock " <naujocke@abacusii.com>
> Subject: [PHP] Question re strange behavior.
>
> I am wokring on hoisting a web application to my provider and found
> that they are running php as a cgi. As a result I used the track of
> putting my php.ini file in the same folder as the php application.
> PHP seems to now be using my php.ini file. My include paths are
> prefix file are now showing up in my phpinfo page.
>
> I am running php 4.0.3p1
>
> Now every page I get the following at the top of every page.
>
> content-type: text/html
>
> This is messging up my framesets. I also expect that this will mess
> up my tracking cookies. How do I get rid of this?
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
--
"When we lose the right to be different, we lose the privilege to be
free." - Charles Evans Hughes