Pagina 1 din 1

script user online

Scris: 22-Oct-2007, 20:42:09
de GrafsS
vreau si eu scriptul acela ptr user online ptr site
ms :)

Scris: 22-Oct-2007, 20:48:48
de davidelu

Scris: 22-Oct-2007, 20:57:56
de GrafsS
da-mi u codu si gata
sau tre sa fac exact ce zice acolo? :)

Scris: 22-Oct-2007, 21:01:14
de thecrewstyle
Ti se pare prea greu?

Scris: 22-Oct-2007, 21:03:03
de GrafsS
nu :D

Cod: Selectaţi tot

There are two ways to add the script on your page where you want it to appear, javascript and ssi. Javascript is the easiest of the two. If your pages are already prepared for ssi with the .shtml extension, you would be better off using ssi.

Add this code to your page where you want the counter to appear:

<script> </script> users online

Upload the updated page to your server, and if you see a number you've installed it correctly.

You can also add the code to your site using SSI, but your pages have to have the .shtml extension if your server requires it:

<include> users online
ce tre sa fac aici? :)

Scris: 23-Oct-2007, 19:59:54
de axn
Acolo iti explica clar. Ai citit ?
Trebuie sa descarci acea arhiva, iar fisierul online.cgi sa il pui in directorul online, pe care l-ai creat in cgi-bin. Totodata, fisierul tebuie uploadat in mod ASCII, setare pe care o poti face de la ftp client-ul tau, si tot de acolo setezi si chmod-ul care il cere la folder.
Dupa aceea pui acel script in pagina, care are ca source /cgi-bin/online/online.cgi.
P.S.: chestia asta nu va merge pe lx, sau pe alte conturi free, pentru ca din cate stiu eu, nu ofera Perl.