I am running Plesk 11 under Ubuntu LTS 12.04.
I have PHP scripts that generate HTML that contains JQuery functions that use $.post with Fully Qualified Domain names as part of an absolute reference URL (e.g. http://www.domainname.com/phpscript.php) pointing at other PHP scripts in the same domain name as its host. These requests are ignored by the operatings system and the javascript continues to execute after the $.post command.
However, if I make the URL a relative reference (e.g. ./phpscript.php), then the $.post command works as expected.
I have discovered this effect in both Firefox and Chrome.
Regards,
Peter
I have PHP scripts that generate HTML that contains JQuery functions that use $.post with Fully Qualified Domain names as part of an absolute reference URL (e.g. http://www.domainname.com/phpscript.php) pointing at other PHP scripts in the same domain name as its host. These requests are ignored by the operatings system and the javascript continues to execute after the $.post command.
However, if I make the URL a relative reference (e.g. ./phpscript.php), then the $.post command works as expected.
I have discovered this effect in both Firefox and Chrome.
Regards,
Peter