php3-list | 199903
Date: 03/30/99
- Next message: Stefan Paletta: "RE: [PHP3] PHP without a webserver"
- Previous message: Mir S Islam: "[PHP3] listing filenames in a directory."
- Next in thread: Stefan Paletta: "RE: [PHP3] PHP without a webserver"
- Reply: Stefan Paletta: "RE: [PHP3] PHP without a webserver"
- Reply: Rasmus Lerdorf: "Re: [PHP3] PHP without a webserver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Is it possible to make PHP display a page outside of the webserver?
I have compiled PHP as CGI and created a file called phptest. This file is
just:
#!/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?
-- 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>
- Next message: Stefan Paletta: "RE: [PHP3] PHP without a webserver"
- Previous message: Mir S Islam: "[PHP3] listing filenames in a directory."
- Next in thread: Stefan Paletta: "RE: [PHP3] PHP without a webserver"
- Reply: Stefan Paletta: "RE: [PHP3] PHP without a webserver"
- Reply: Rasmus Lerdorf: "Re: [PHP3] PHP without a webserver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

