Switching on PHP variables

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Switching on PHP variables

Postby Tim Dawson » 07. November 2009 14:11

There's a PHP variable "$_SERVER['HTTP_X_REQUESTED_WITH']", which can be used to detect Ajax requests. I understand it is only available on some servers. I hope, therefore, that it can be switched ON or OFF. It's certainly not listed with the PHP variables when I run 'phpinfo()' on XAMPP.

Can anyone tell me if this variable can be switched on somewhere, and if so, how, please ?
ramasaig
Isle of Mull, Scotland

OS=WinXP Home SP2
Tim Dawson
 
Posts: 27
Joined: 26. January 2007 13:34
Location: Fionnphort, Isle of Mull

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 191 guests