Page 1 of 1
Urgent help!!
Posted: Thu Jun 26, 2003 2:42 pm
by OOnegative
I'm trying upload a php poll to my site, xboxextended.com to my menu.html file ... I used the code that sympoll told me to but it's still nto appearing on my site. Please help!
Posted: Thu Jun 26, 2003 2:44 pm
by JPlush76
how about starting with what problems you're having (error msgs) and what code you're trying to use
Posted: Thu Jun 26, 2003 2:45 pm
by OOnegative
I'm not getting an error message, its just now showing up. Here is the code i'm using ...
Code: Select all
<?php require '/home/xboxexte/public_html/poll/booth.php';
display_booth(1); ?>
Posted: Thu Jun 26, 2003 2:53 pm
by m3rajk
ok. please don't get offended, but since i'm rather new 'm going to do something that should help everyone, ask you questions that build from the most basic levels i can think of.
1: do you have (enabled) php on the server?
2: what version of php is the server running?
3: what version php is that code?
Posted: Thu Jun 26, 2003 2:56 pm
by OOnegative
1. yes
2. 4.3.1
3. php3, i think
sympoll just stays make sure you have php 3 or 4.
Posted: Thu Jun 26, 2003 3:22 pm
by OOnegative
Anyone know what the problem is?
Posted: Thu Jun 26, 2003 3:23 pm
by pootergeist
rename menu.html to menu.php

or whatever document holds the heirarchical top.
either that or configure a .htaccess to parse all .html files as php
Posted: Thu Jun 26, 2003 3:26 pm
by OOnegative
I don't want to rename it to .php because then I'll have to manually change everything one every page. You said I should configure a.htaaccess to parse all.html as php, how do I do this and what other effects will it have?
Posted: Thu Jun 26, 2003 3:46 pm
by OOnegative
anyone?
Posted: Thu Jun 26, 2003 4:35 pm
by OOnegative
Okay, it says i can insert:
Code: Select all
<!--#include virtual="/poll/p1.php"-->
Then I can make p1.php contain the original code:
Code: Select all
<?php require '/poll/booth.php';
display_booth(1); ?>
It still doens't work.
Posted: Fri Jun 27, 2003 2:22 am
by volka
if you request this document in your browser and open view->source do you see the script
code in there?
Okay, it says i can insert:
it?
