Okay.. I'm using phptriad, and i had to make my own directories so i could use sessions.. I created a folder called tmp, and a folder inside it called files. I checked my php.ini and thats where it was trying to go. previously to doing this when ever i tried using sessions i would get errors. Now when i have the folders i get a message saying:
X-Powered-By: PHP/4.0.5 Content-type: text/html
For some documents its just placed before all the code, But for others, it cuts everything off. I dont understand what this is, and was curious how to get rid of it..
Problem....
Moderator: General Moderators
Okay its not if the folders exsist or not, its when i add a \ to the session.save_handler = files ; handler used to store/retrieve data
With it written like that, i dont get the weird message, but i get the errors
with it written like session.save_handler = \files ; handler used to store/retrieve data i get the weird message but no errors.. Also, the errors im getting are:
Warning: open(\tmp\sess_500eab5907a12268247e517795412634, O_RDWR) failed: m (2) in C:\apache\htdocs\stuff\verify.php on line 2
Warning: open(\tmp\sess_500eab5907a12268247e517795412634, O_RDWR) failed: m (2) in Unknown on line 0
Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (\tmp) in Unknown on line 0
With it written like that, i dont get the weird message, but i get the errors
with it written like session.save_handler = \files ; handler used to store/retrieve data i get the weird message but no errors.. Also, the errors im getting are:
Warning: open(\tmp\sess_500eab5907a12268247e517795412634, O_RDWR) failed: m (2) in C:\apache\htdocs\stuff\verify.php on line 2
Warning: open(\tmp\sess_500eab5907a12268247e517795412634, O_RDWR) failed: m (2) in Unknown on line 0
Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (\tmp) in Unknown on line 0