In HTML, you can do this: <script language="JavaScript" src="http://localhost/top_stuff.php?affiliate=1"></script>
But the script isn't executed before being used by the browser, it's returned with PHP tags and all, which obviously gives JS errors. Is there any setting you can change in Apache that let's you do this. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php