you can simply call:

Window.location.href = 'http://yourdomain.com/phpscripttocall.php?variable1=value1&variable2=value2'

^works in all browsers supporting JavaScript ... there's a few variants of this that will only work in IE or Netscape, but this one is vague enough to work in both... (not sure about Opera, it doesn't run well on my setup, so testing with it is a basically impossible for me)...

if you use frames, it's a bit more tricky, but I trust you don't, otherwise just ask ... :) ... I've got the complete JavaScript code to change the content of frames criss-cross of each other in any way and pattern you can dream off... (my site used to be a JS driven monster before I got my webhotel and the option to do it all with PHP) ...

Rene

At 19:58 02-11-2003, you wrote:
Good morning.

I know this may be off-topic but I don't know where to turn.

I'm building a dynamic web page system with PHP and need to figure out in
JavaScript how to do something. I have the timer figured out in JavaScript
but what I need is a way to automatically submit a request back to the web
server after the timer runs out. What I'm trying to do is display slides in
sequence. When the timer expires, it sends back to the web server the
parameters of slide group and the last slide displayed. The PHP on the
server end builds a new page and sends it to the browser with the next slide
in the sequence.

Any help would be greatly appreciated and my PHP skills are vastly above my
JavaScript skills (very basic beginner).

Robin 'Sparky' Kopetzky
Black Mesa Computers/Internet Service
Grants, NM 87020

-- Rene Brehmer aka Metalbunny

http://metalbunny.net/
References, tools, and other useful stuff...

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



Reply via email to