Hyperlink that modifies dynamically

G

Galia

I want a Hyperlink that modifies dynamically the target after every click.
The link text/gif should be permanent, but the link target should be taken
from a dynamic file/table in the server, and modified following every click
by any user.
Does PHP supports that?
Does Javascript supports that?

If positive for any of the questions, is there any reference.

Thanks

Galia
 
M

Mike Mueller

Galia said:
I want a Hyperlink that modifies dynamically the target after every click.
The link text/gif should be permanent, but the link target should be taken
from a dynamic file/table in the server, and modified following every
click
by any user.
Does PHP supports that?
Does Javascript supports that?

I have a Q? for you. Does the link change every time A SINGLE user click or
is it changing on ANY user click.
eg

SINGLE
user1 would go thru link1.url, link2.url etc
user2 would go thru the same links

ANY user
user1 would go thru link1.url, link2.url etc
user2 would start with link3.url and go on
-unless both users are using the links at the same time, causing-
user1 would go to lik1.url,
and then user2 clicks, going to link2.url.
User2 goes again getting link3.url,
and then user1 gets link4.url

For the SINGLE application, you could use javascript to have an array of
links (or link modifier routines) to change the links For the ANY
application, you would be best off with a server-side (eg PHP) script
reading from the data list. I would probably use a server-side script for
the SINGLE appliacation as well.

As far as an example goes, I do very little non-ASP scripting, all I could
do would be to give you more of a flow-chart answer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top