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 .
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
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.
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
4 matches
Mail list logo