Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2013-03-12 22:50:01

thiva7
Member
Registered: 2011-04-30
Posts: 1,022

simple chat

i have find simple chat and i want to have same user for my site and chat script and this is posible with this

- If your web site has a register /login script, and you want than only the logged users to can add texts in chat, set the value of CHATADD to 0 . Then set $_SESSION['username'] with the session your script uses to keep logged users; to the following code, in "setchat.php".
In this case, you must add session_start(); to the beginning of your PHP file, as you can see in "test.php" file.

    define('CHATADD', 1);
    if(CHATADD !== 1) {
        if(isset($_SESSION['username'])) define('CHATUSER', $_SESSION['username']);

what is for ASP? what i have to add?

Offline

Board footer

Powered by FluxBB