0 Users appreciate this thread.
Open source status script
angelrulez7 (2012-07-06 01:54:07)Use the Session start code at the top of the page, and then...
<?php echo $_SESSION['username']; ?>
There ya go! -nct
a
angelrulez7 (2012-07-06 22:16:08)No, it has no comment feature, but I can add an HTML Comment box..
a
Log in to submit a comment
Back to forum: Web Programming (HTML, JS, CSS, PHP, MySQL)
New registered users today: 7
Newest registered user: ElegantVulpes
(Script by Chronou, download it at http://dsifate.t15.org/status.zip
The status script is simple. If you want it to run off of javascript cookies instead of MySQL cookies, all you have to do is:
1. Upload zip to your website
2. Unzip (Leaving you with a status folder)
3. In status, edit index.php.
4. You will see two differend parts that say chat.php. REPLACE THAT WITH status.php
5. Save the document.
Done!
If you already have a login on your site and want MySQL cookies, do this...
Do the 5 steps above...
6. Edit send.php next.
7. PUT AT THE TOP OF THE PAGE: <?php session_start(); ?> Then change $_POST['u'] to $_SESSION['*YOUR USERNAME ROW NAME*']
8. Save document
NOTES:
No notes!
2012-07-05 18:03:03