Page 1 of 1
Need help...
Posted: Mon Oct 13, 2003 7:37 pm
by supdudes
Hi. Since I don't know how to make my own php scripts yet, is there a script I can download that I can put on my site that can works like the one Subprofile.com has that tracks who (AIM users) has viewed my page?
Thanks.
Posted: Mon Oct 13, 2003 7:44 pm
by nigma
Searh the PHP Developers Network:
http://use.devnetwork.net
Check evilwalrus:
http://evilwalrus.com/
Posted: Mon Oct 13, 2003 8:52 pm
by supdudes
I was searching the net for scripts and found this:
Code: Select all
<?
/*
* This script is copyright PHPGarage.com (On Line Construction Inc.). It may be used,
* changed, and distributed freely as long as this message and/or some type of recognition
* is given to PHPGarage.com or On Line Construction Inc.
*
* http://www.phpgarage.com
* http://www.onlineconstructioninc.com
*
*/
$CurrentDate = date("m-d-Y h:ia");
$TextFile = "aimtracker.html";
$Body = "$_REQUESTїname] ($CurrentDate) -> $_REQUESTїurl]<br>";
$Body .= file_get_contents($TextFile);
if ($FP = fopen($TextFile, "w")){
fwrite($FP, $Body);
fclose($FP);
}
header("Location: $_REQUESTїurl]");
?>
...but sadly, it only tracks AIM screennames who doesn't have spaces in them. Is there anyway to fix this?
Posted: Mon Oct 13, 2003 9:09 pm
by JAM
Code: Select all
I am JAM (10-14-2003 04:06am) -> www.example.com<br>
I see this. What is your output/error msg?
Posted: Mon Oct 13, 2003 9:49 pm
by m3rajk
i suggest you search THIS FORUM for advice on good php books
buy one of them
use that and php.net to teach your self some basic php
you have no familliarity with it, so simply giving advice on how to fix it might not be helpful, and re-writing the script.....
that's something that will turn you into a script kiddie ... you'll expect people to do it in the future, so no one will now.
Posted: Mon Oct 13, 2003 9:51 pm
by m3rajk
http://www.catb.org/~esr/faqs/smart-questions.html
readng that, then going and teaching yourself some php and trying a little on your own would be a good way to get into php. seeking a correction is a good way to turn yourself into a script kiddie