OLM3CA Posted August 25, 2006 Share Posted August 25, 2006 Hi;I am using a 'security code script' in my web page let me show little codein index.php: [code] session_start(); $_SESSION['security_code'] = $pic_code;[/code]I am calling the picture (security code picture) picture.php in index.php <img src='picture.php'> ETC...In picture.php we create the image code that will be displayed.Starts with this code : [code] $security_code= $_SESSION['security_code']; $pic=imagecreate(100,30);[/code] ... ... ETC...And my question is : while i am opening my page in internet explorer there is no problem.It works,The page shows no Errors.But While opening in Mozilla Firefox I get an error like this :[code]Warning: session_start() [function.session-start]: open(/tmp/sess_2ef8a8a7331af98de8f5a42e831ddf21, O_RDWR) failed: Permission denied (13) in /home/me2me/public_html/index.php on line 5Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/me2me/public_html/index.php:5) in /home/me2me/public_html/index.php on line 5[/code]The is no problem accurs before in internet explorer and mozilla firefox but firefox starts to give this error.AND I am sorry for my english ,is not good enough I hope you will understand... Link to comment https://forums.phpfreaks.com/topic/18657-about-the-session_start/ Share on other sites More sharing options...
OLM3CA Posted August 25, 2006 Author Share Posted August 25, 2006 and this error too:[code]Warning: Unknown(): open(/tmp/sess_2ef8a8a7331af98de8f5a42e831ddf21, O_RDWR) failed: Permission denied (13) in Unknown on line 0Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0[/code]No ANSWER ? When I cleaned cache history temp etc... the problem solved ???? Link to comment https://forums.phpfreaks.com/topic/18657-about-the-session_start/#findComment-80425 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.