Username:
Password:
Remember me:
Register

Back to forum: Web Programming (HTML, JS, CSS, PHP, MySQL)


Search forums via Google


0 Users appreciate this thread.

Open source status script
Started by angelrulez7
(2012-07-05 18:02:35)
angelrulez7 (2012-07-05 18:02:35)
(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!

This post has been edited one or more times, the last time was:
2012-07-05 18:03:03

a
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 05:09:14)
Put it back.
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

This topic's ID: 22331

Back to forum: Web Programming (HTML, JS, CSS, PHP, MySQL)




Total registered users: 8321
New registered users today: 7
Newest registered user: ElegantVulpes

©  Copyright 2026 3DSPlaza. All Rights Reserved