Georgie:

So just for clarity, this "PHP" script 
("http://localhost/top_stuff.php?affiliate=1";) was actually a file 
containing javascript? and no PHP?

And out of curiosity, if that is so, why append the file name with 
".php"

-David

On Sunday, September 22, 2002, at 07:20 PM, Georgie Casey wrote:

> Solved the problem.
> In case anyones wondering,
> I had the PHP script starting with a <script> and ending with 
> </script> when
> I already had that done in the HTML page.
>
> Simple
> "Georgie Casey" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>> 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
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to