Signature Online Stats! By Pghpunkid (Me) - READ FIRST POST. (Update Mar 3 2009)
#10

Okay.. the Script provided generates a txt file by the players name.

Ex. Pghpunkid.txt


Theres 2 ways to do this:
-The PHP file can be on a serperate web server, but the scriptfiles folder of the SAMP Server must have HTTP Access.
OR
-If you have a webserver installed and working with your SAMP server in the dir, You can put the PHP in script files.

If you went with option one, then you change data1 to
$nick . '.txt';

If you went with option two you must use the URL to get to the txt file in the scriptfiles folder. Which is what is in the URL to start with.

When You view the PHP page, You must add ?nick=Pghpunkid or ?nick=z00H or w.e to find that players text file. If a URL shows up, it couldnt find the .TXT.

Better.. closer.. Warmer?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)