Re: [PHP] File extension for PHP's serialization format?

2006-10-27 Thread Hamish Lawson
Hello Roman there's no standard filename extension for PHP-serialized data, I'd just use txt or something... .psdf or whatever. .ser is used for serialized Java objects and I've found .jser also being used (though less frequently) for that. On the analogy of the latter I'll plump for .

Re: [PHP] File extension for PHP's serialization format?

2006-10-27 Thread Hamish Lawson
Hello Chris You could "convert" it to a php file: RewriteCond %{REQUEST_URI} *.json RewriteRule ^(.*).json$ json.php?$1 [T=application/x-httpd-php,L] Thanks for continuing to work on this, but I'm afraid my inadequate explanation has sent you in the wrong direction. Let's see if I can do bett

Re: [PHP] File extension for PHP's serialization format?

2006-10-26 Thread Hamish Lawson
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.

[PHP] File extension for PHP's serialization format?

2006-10-26 Thread Hamish Lawson
the format: staff/engineering.json 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