Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2008-03-08, 03:01 PM   #1
BigVikingAl
They have the Internet on computers, now?
 
Join Date: Apr 2005
Posts: 148
PHP problem

I have a new page:

http://www.webcamstarlets.com/test/webmaster.html

that is blank except for the php include: <? include "../webmasters.html";?>

Here is the page that include is pointing to:

http://www.webcamstarlets.com/webmasters.html

But when the first page is typed in nothing from the include is dispalyed. Do I maybe have to activate a php usage function to use php on a new domain?

Any help would be appreciated.
__________________
MrPornReview/throat-gaggers
In depth deepthroat site reviews
BigVikingAl is offline   Reply With Quote
Old 2008-03-09, 12:35 AM   #2
ronnie
Wheither you think you can or you think you can't, Your right.
 
Join Date: Jun 2004
Location: midwest
Posts: 2,274
Send a message via ICQ to ronnie
It should be:

PHP Code:
<? include("/path/to/file/webmasters.html"); ?>
I've always used the full path, never tried the ../ And with full path, it works no matter what page you put it on, or any directory or sub.
ronnie is offline   Reply With Quote
Old 2008-03-12, 01:11 PM   #3
nicedreams
Internet! Is that thing still around?
 
Join Date: Apr 2007
Posts: 6
Send a message via ICQ to nicedreams
Quote:
Originally Posted by BigVikingAl View Post
I have a new page:

http://www.webcamstarlets.com/test/webmaster.html

that is blank except for the php include: <? include "../webmasters.html";?>

Here is the page that include is pointing to:

http://www.webcamstarlets.com/webmasters.html

But when the first page is typed in nothing from the include is dispalyed. Do I maybe have to activate a php usage function to use php on a new domain?

Any help would be appreciated.
You need the full path in the include statement from your home dir. Plus you would need php parsing enabled on your server if you are going to call php commands in a html file.

Jimmy
__________________

Nice Dreams Entertainment, Inc.
nicedreams is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:02 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc