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
freeflow
post Oct 1 2005, 11:57 AM
Post #2


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



You should take out whatever you did . Your pages are already php! not php includes. You should just leave it not includes to prevent the errors you have.

All you have to do i believe is just include your header file & your footer file & your css in the askme.php page.

I wouldn't of messed with it, since its not made with a "index page"

edit:// that thing means put the path to your directory. Im pretty sure its in your error.
Try this as a path:
/home2/asweetap/public_html/wonder/ask/
 

Posts in this topic


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