Re: File extension for PHP's serialization format?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



# hbl@xxxxxxxxxxxxxxxx / 2006-10-27 02:06:22 +0100:
> Hello Chris
> 
> Thanks for responding.
> 
> >> But what file extension should I use for PHP's serialization format?
> >> Obviously it can't be .php - aside from being inaccurate (it's not PHP
> >> code), using this extension would probably trigger the web server into
> >> trying to run a (nonexistent) PHP script.
> >
> >You can rewrite the url using mod_rewrite or some such variant to handle
> >this.
> 
> Yes, there may well be ways to get round what the web server would
> otherwise do when it encounters a .php extension, but I feel that I'd
> be breaking an expectation. I'd much rather use an extension that was
> specific to the serialization format.

    Hamish,

    there's no standard filename extension for PHP-serialized data,
    I'd just use txt or something... .psdf or whatever.

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux