I've searched around and found two different ways to define Content-type for JSON file loaded with php.
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Tuesday, May 29, 2012
correct HTTP header for json file
Thursday, May 24, 2012
HTTP authentication logout via PHP
What is the correct way to log out of HTTP authentication protected folder?
Friday, May 18, 2012
Thursday, May 10, 2012
Is there any need to sanitize a $_POST value before using it in a PHP header (for redirecting)
Can I use a posted value in a PHP redirect header safetly without checking it:
Friday, May 4, 2012
Handling PUT/DELETE arguments in PHP
I am working on my REST client library for CodeIgniter and I am struggling to work out how to send PUT and DELETE arguments in PHP.
Wednesday, April 25, 2012
Resource interpreted as document but transferred with MIME type text/css
Resource interpreted as document but transferred with MIME type text/css
This is the error that's showing up in Google Chrome Inspector.
Email Tracking - GMail
I am creating my own email tracking system for email marketing tracking. I have been able to determine each persons email client they are using by using the http referrer but for some reason GMAIL does not send a HTTP_REFERRER at all!
Thursday, April 12, 2012
Prevent Back button from showing POST confirmation alert
I have an application that supplies long list of parameters to a web page, so I have to use POST instead of GET. The problem is that when page gets displayed and user clicks the Back button, Firefox shows up a warning: