Hello,
I need to call my php script from inside an html file.
I have created a jscript source file:
--- 1.js ----
var myImage;
myImage= new Image;
myImage.src = 'http://localhost/oh/test.php?id=109283';
--- 1.js ----
Now my html file which will use the java script:
--- index.html ---
<html>
<head>
<title>Test Page</title>
</head>
<script language='javascript' src='http://localhost/oh/1.js'></script>
<body>
<center>
Our page
</center>
</body>
</html>
--- index.html ---
And finally my php script will be called from inside javascript.
Is there something wrong with above things?
Actually it seems that my php script is not being called at all.
Thank you for your help,
Mac