Calling PHP Using Java
Posted: Sun Nov 21, 2004 9:31 am
Hi
I am experimenting with calling a PHP script from a html page using a Java script. Here's what I have so far
and my test.php...
This keeps sending errors.
Other people are using this java script to call hit counter php scripts and it works fine. Anyone know why mine does not work and gives the error "Done, but with errors"?
Regards
Bri
I am experimenting with calling a PHP script from a html page using a Java script. Here's what I have so far
Code: Select all
<script language="javascript" src="http://www.mysite.com/test.php"></script>Code: Select all
<?php
print "hello";
?>Other people are using this java script to call hit counter php scripts and it works fine. Anyone know why mine does not work and gives the error "Done, but with errors"?
Regards
Bri