On every page I use "session_start();", it always comes up with all these errors:
Warning: session_start(): open(/tmp\sess_7d9195a73937e13f84481815d26dbdf8, O_RDWR) failed: No such file or directory (2) in c:\web\page1.php on line 2
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at c:\web\page1.php:2) in c:\web\page1.php on line 2
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\web\page1.php:2) in c:\web\page1.php on line 2
Warning: Unknown(): open(/tmp\sess_7d9195a73937e13f84481815d26dbdf8, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: 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
Is there something I have to change in the php.ini file or something? I dont know what's wrong. This is the only code I used that caused these errors:
<?php
session_start();
?>
<form method="post" action="page2.php">
Enter Your Name: <input type="text" name="name">
<input type="submit" value="Submit">
</form>
Can someone help me please? Thanks.
I fixed it on my own!
-shmony