ET: I created my website with index.php, downloads.php, register php, forum.php contact.php but the problem is! How can i stay logged into a site IF I switch another .php page?
- I saw on Eterniagames and other PS sites, they have only index.php with all scripts in one .php - But i can't understand how to Do it? - Any explain, suggestions or maybe help?
session_start() creates a session or resumes the current one based on a session identifier passed via a GET or POST request, or passed via a cookie.
When session_start() is called or when a session auto starts, PHP will call the open and read session save handlers. These will either be a built-in save handler provided by default or by PHP extensions (such as SQLite or Memcached); or can be custom handler as defined by session_set_save_handler(). The read callback will retrieve any existing session data (stored in a special serialized format) and will be unserialized and used to automatically populate the $_SESSION superglobal when the read callback returns the saved session data back to PHP session handling.
Ok, i made session_start() first fuction, its pretty works without errors. But still same. I try switch .php page! Also i putted session_destory on logout button... also not works... Any diffrent solutions? Please.
EVERY page where you are using ANY SESSION variables at all, must begin with session_start();, it must be the first function on each page, before anything else, before config vars, before html, before anything.
EVERY page where you are using ANY SESSION variables at all, must begin with session_start();, it must be the first function on each page, before anything else, before config vars, before html, before anything.
Yes janvier and Decima, i added on every my page that command
PHP Code:
Quote:
<?php
session_start();
But that still not working yet, i think i need vizual help.
Sorry, Reply if u have ideas, If i need unpload files to check problems , ill do it
- - Of course if you have time
[HELP]Website Script 09/20/2012 - Dekaron Private Server - 8 Replies Hello EPvPer's
I m looking for Website Scripts like the following.
1.Script for "Reborn" like when they login in Website they need to Chose the character they want to reborn onr Categories , also if they get error on requirements they need to go back.
Because on our Reborn System if you reborn and you didn't see the Requirements you will get Reborn Bug like you will receive 1 RB but your level will stay on level 250.
2.Script for "Change Class"
3.Script for "Change Password"
i need Silkroad Website Script 08/17/2011 - SRO Private Server - 15 Replies Hello
I am happy to know you and thanks for your response
i need Silkroad Website Script Please
For my Private server To be online
Home
Regsiter (answer Qution-Full Regsiter)
Download
Login
Buy Silk
News
script for website 04/09/2010 - Zero - 9 Replies my server is online.
someone has the site with the script's to create accounts
Website script 11/08/2009 - Metin2 Private Server - 8 Replies Können Sie mir den Link auf die Rede-Skript
metin2 für pvp
[Help] Df script for website 08/18/2009 - Dekaron Private Server - 26 Replies im looking for a df timer to put on a website so people can see when the df timer is on etc