Creating a .xxx via PHP
| From: | php fun | Date: | Fri, 20 Jul 2001 10:14:09 +0000 |
| Subject: | Creating a .xxx via PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-58871@lists.php.net to get a copy of this message | ||
Hi!
I've got installed an Apache+PHP server on my LinuxBox.
I want to create a 'myname.foo' file, but generated via PHP.
I mean:
----//----
<?php
header("Content-type: FooType");
....
-----//-----
I modify my 'httpd.conf' file, and insert:
AddType FooType .foo
But when browsing 'myname.foo', this is not generated, I only get the '<?php
....'.
How can I tell Apache to generate .foo files by using PHP?
Thank you very much.
_______________________________________________________________________
Get a FREE email address for your WILD SIDE! Choose from over 350
outrageous email addresses at http://www.WildEmail.com