You could use something like this

<?php
$pageif = "ads.php";
$count = "500";
$countfile = file("counter.txt");
$count = $countfile[0];
$fp = fopen("counter.txt", "w");
fwrite($fp, $count);
fclose($fp);
$temp = $count / $count;
if(!is_float($temp))
echo "<script>window.open('".$pageif."');</script>\n"; // my js knowledge
sucks
?>
----- Original Message -----
From: "B. van Ouwerkerk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 1:54 AM
Subject: Re: [PHP] Just had a cool idea!


>
> >like everytime you go on there if the counter is a multiple of 500 you
get
> >to have your site as a pop up for a week or so, well is this possible and
> >if yes, can anybody give me some pointer?!!?
>
> Use your own script and add more then one for each visit :-)
>
> Uhm, your not going to ask money from people.. right??
> /me don't like it when PPL are mislead and have to pay $$$$ for something
> with less value.. I don't mind if it's just for fun..
>
> Don't think it's cool.. you're still giving people wrong information..
>
> Perhaps you can work for M$ some day :-)
> (ouch, that sounds like flamebait)
>
> Bye,
>
>
>
> B.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to