This script works on my localhost but not on my server

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Wee-Man
Forum Commoner
Posts: 45
Joined: Wed Mar 03, 2004 7:55 am
Location: Peterborough, England

Post by Wee-Man »

ahh for some nown reason it haS STARTED TO FIRE A Warning: open(/tmp\sess_60d4fb849cbbb82074a56491d08e116e, O_RDWR) failed: m (2) in c:\program files\easyphp\www\scammers\login.php on line 2 ERROR AT ME WHEN RUNNING THE SCRIPT LOCALLY
oops caps sorry
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

Edit php.ini and change the session.save_path from /tmp to c:\temp (or wherever you want windows to store them).
Wee-Man
Forum Commoner
Posts: 45
Joined: Wed Mar 03, 2004 7:55 am
Location: Peterborough, England

Post by Wee-Man »

ahh ok cause i get that error when running the script locally, will it work on my host? it does atm, but wheni update.
Wee-Man
Forum Commoner
Posts: 45
Joined: Wed Mar 03, 2004 7:55 am
Location: Peterborough, England

Post by Wee-Man »

Can anyone offer a simple login script? with email,password and username, mine is <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span> for some reason. i need to wre write it and im no pro :(
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

Yeah, the session.save_path is a configuration setting and won't get uploaded/affect the remote host.
Wee-Man
Forum Commoner
Posts: 45
Joined: Wed Mar 03, 2004 7:55 am
Location: Peterborough, England

Post by Wee-Man »

now to get afull login done for users ot use the program
Post Reply