Re: Sending no content-type header?

From: Date: Fri, 06 Dec 2002 02:30:27 +0000
Subject: Re: Sending no content-type header?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-127217@lists.php.net to get a copy of this message
Ok, thanks a lot. For what it's worth, here's my simple .bat file for executing php files: @ECHO OFF IF NOT EXIST %1.php goto usage php.exe -q %1.php goto end :usage echo ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
echo ³           USAGE               ³
echo ³Type "php.bat" (without quotes)³
echo ³ followed by the  name of a    ³
echo ³valid php file without the .php³
echo ³extension.                     ³
echo ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ :end Chris Wesley wrote:
On Thu, 5 Dec 2002, Leif K-Brooks wrote:
I'm running a few simple php scripts from the (windows) command line. Since I'm not using a web browser to view it, the HTTP headers are annoying and pointless. I've turned expose_php off in php.ini, but commenting out default_mimetype changes nothing, and setting it to an empty string sends a blank content-type header. Is there any way to do this?
php.exe -q
       ~Chris
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#127217) next »