Log In · Register

 
ask & answer script problem
Mulder
post Oct 1 2005, 11:46 AM
Post #1


i lost weight with Mulder!
*******

Group: Official Designer
Posts: 4,070
Joined: Jan 2005
Member No: 79,019



so, lisa did not convert my "ask" page to php, so i attempted to do it myself. apparently, that was a bad idea. it works, but it has all these error messages at the top...


ask page

CODE
<?php
session_start();
// enter the absolute path to ask&answer directory
$dir = "";

// ask and answer functions
include_once("{$dir}functions.php");
?>


this seems to be the problem. that i dont have anything in the first $dir = "";


but im not sure what to put there...
 
 
Start new topic
Replies
*mipadi*
post Oct 1 2005, 12:41 PM
Post #2





Guest






It is an issue with a block of code for sessions, which is basically a thing to maintain an association between a specific user who is viewing your page and the webserver. Session information must be set before HTTP headers are set, which is not happening in this case.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: