|
Posted by Peter Van Hove on 06/02/05 18:22
Now what I still need is the counter functionlity I explained earlier,
$newurl must (partially) also rely on a counter. E.g. change after 5 clicks
or ...
-------------------------------------------------------
"Peter Van Hove" <Will_Bounce_So_Use_My_First_Name@Smart-Projects.net> wrote
in message news:EtFne.108319$Sk5.6507556@phobos.telenet-ops.be...
>I magaged to get something working here in a test setup.
> I do what I explained. From .html I load a .php page (_blank) on an
> hyperlink click
>
> The .php script then loads the new page this way (after deciding on the
> $newurl) :
> You'll see three ways, first the java attempt, then the refresh attempt
> and finally a click by the user if previous failed.
>
> Somehow of course I feel that this is overhead.
> It would be nice if via php I could do something similar, meaning load new
> content in the page.
>
>
> <html>
>
> <script type="text/javascript">
> self.location.replace("<?php echo $newurl ?>");
> </script>
>
> <head>
> <meta http-equiv="refresh" CONTENT="1;url=<?php echo $newurl ?>">
> <title>blablabla ... </title>
> <meta http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1"></head>
>
> <body bgcolor="#FBFBFF" link="#0000CC" vlink="#0000CC" alink="#0000CC"
> text="#0000CC">
> <p align="center"><font color="#0000CC" face="Arial, Helvetica,
> sans-serif"><big><strong><br>
> </strong><font size="2">Your browser will automatically link to <a
> href="<?php echo $newurl ?>">the
> new page</a></font></big></font></p>
>
> </body>
>
> </html>
>
Navigation:
[Reply to this message]
|