New learner's question

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

Post Reply
artfhc
Forum Newbie
Posts: 23
Joined: Sun May 23, 2004 11:38 pm
Contact:

New learner's question

Post by artfhc »

I couldn't use session_start() method, and it occured errors. After that I figured out that I need to change the session.save_path to a disk location. since I'm using window. The problem is that I have no idea where to change it. I have been finding in httpd configuration file, but I couldn't find anything about session. Please help me. :?:
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

php.ini ... it should be located in your windows root folder.
artfhc
Forum Newbie
Posts: 23
Joined: Sun May 23, 2004 11:38 pm
Contact:

Post by artfhc »

thx man.
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

What exactly was the error. Do you know that session_start() should be used before any type of output. I just use:

<?php
session_start();
?>

at the start of each form which uses PHPSessions...
Post Reply