EnjoyNews said the following on 10/27/2005 6:32 PM:[color=blue]
> "Randy Webb" <HikksNotAtHome@aol.com> skrev i en meddelelse
> news:U7udnWEDu9eDo_zeRVn-rQ@comcast.com...
>[color=green]
>>EnjoyNews said the following on 10/27/2005 10:47 AM:
>>
>>[color=darkred]
>>>"Lee" <REM0VElbspamtrap@cox.net> skrev i en meddelelse
>>>news:djqm8v015db@drn.newsguy.com...
>>>
>>>
>>>>EnjoyNews said:
>>>>
>>>>
>>>>>I have a php site I have an include line called "include 'Cookie.php';"
>>>>>
>>>>>In this Cookie.php file I have these codes.
>>>>
>>>>You seem to be asking a PHP question in a Javascript newsgroup.
>>>>Asking in a more appropriate place will produce better answers.
>>>>
>>>
>>>[/color]
>>How about with plain HTML?[/color]
>
>
> Yes it's simple html. I just told that the site was called shtml, cause
> maybe that has something to do with how the javascript should look like.
> But yes it is a standard html site.
>
>
>[color=green]
>><img src="phpFileToExecute.php" width="0" height="0" style="visibility:
>>hidden">[/color]
>
>
> Is this really possible.... ???[/color]
Yes, it is really possible. It is the basis of most page hit counters.
[color=blue]
> I thought the <img src command could only be used to view images. ???[/color]
Test it and see :)
[color=blue]
> But if this is possible, it was exactly what I was looking for. A way to
> open a file (in this case a .php file) without opening another browser
> window or something like that...[/color]
Yes, very possible.
[color=blue]
>
>[color=green]
>>Or, you could configure your server to parse .shtml files through PHP.[/color]
>
>
> Is this something I do myself, or do I have to ask my webhost about this ??[/color]
Your webhost would have to do it.
[color=blue]
>
>[color=green]
>>Either way, it has nothing to do with javascript.[/color]
>
>
> I know this has nothing to do with javascripting, but I didn't know how to
> do it in html, so I thought maybe it could be done with javascripting, and
> that's why I asked here..[/color]
It can be done with plain HTML.
--
Randy
comp.lang.javascript FAQ -
http://jibbering.com/faq & newsgroup weekly