Re: Just had a cool idea!
| From: | ReDucTor | Date: | Mon, 10 Sep 2001 04:10:35 +0000 |
| Subject: | Re: Just had a cool idea! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66611@lists.php.net to get a copy of this message | ||
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" <bvo@atz.nl>
To: <php-general@lists.php.net>
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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>