Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199903

Re: [PHP3] PHP without a webserver From: Rasmus Lerdorf (rasmus <email protected>)
Date: 03/30/99

> #!/usr/sbin/php
> <?
> print "hello freaking world";
> ?>
>
> Thats it. Then in inetd.conf I add the proper port and entry for tcpd to
> send the output of phptest to the port 9119. So then when I connect the
> browser to my server port 9119 I get:
>
> Content-type: text/html Hello World
>
> On a blank page.
>
> How do I keep it from saying content-type on the page instead of netscape
> reading that and realiznig it's recieveing html?

#!/usr/sbin/php -q

-Rasmus

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>