Canadian Webhosting Forums Forum Index Canadian Webhosting Forums
Discussion Forums
 
 FAQFAQ   SearchSearch      RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PHP, global variables and the session directives

 
Post new topic   Reply to topic    Canadian Webhosting Forums Forum Index -> PHP
Author Message
rleathen



Joined: 09 Feb 2008
Posts: 2

PostPosted: Wed Feb 27, 2008 10:01 am    Post subject: PHP, global variables and the session directives Reply with quote

I have just recently moved many of my clients websites to CWH. A couple of simple forum applications that made use of a username variable set by the php security application used on the website are no longer functioning on the CWH servers (the variable that is being set in the php security application using the appropriate session directives is not accessable by the php forum application or is not being set since the php forum app. sees the variable as being null).

Could somebody explain in somewhat simple terms (I can read and pretty much understand PHP and make minor changes but can not necessarily write php code) how session variables work. More specifically are there any webserver global php settings that affect the storage/use of global variables, php settings that may have been set on the old webservers but not on the CWH webservers.

Any assistance that can be provided is greatly appreciated.

Thanks in advance.
Back to top
divya
CWH Staff


Joined: 24 Jul 2007
Posts: 41

PostPosted: Sat Mar 01, 2008 10:05 pm    Post subject: Reply with quote

Hello,

You can have a detailed check about php sessions at the following link:
http://in2.php.net/session

We have turned off several php variables in our server due to security reasons. However those variables can be turned on for a particular domain.

Maybe, any of the PHP variables you are using on your server is disabled on our server and you forum is not working due to this. Please drop a mail to support@canadianwebhosting.com with your forum link. We will check the respective PHP variables and fix it for you.

Regards,
Divya
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Canadian Webhosting Forums Forum Index -> PHP All times are GMT - 8 Hours
Page 1 of 1

 


Hosting Plans :: Flash Tutorials :: Contact Us :: Privacy Policy


Powered by phpBB, MySQL and PHP