homepage Welcome to WebmasterWorld Guest from 54.211.219.178
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
php includes don't show up locally
but they show up online
Maylin




msg:969975
 5:11 am on Jun 4, 2004 (gmt 0)

I have a site that uses php includes, but the php includes won't show on my computer. Each individual php file does show up, just not as an include. I thought this was the same type of installation I used before I reinstalled windows so I'm not sure what I did different. I know they used to work. Any ideas what could cause this?

 

bill




msg:969976
 8:40 am on Jun 4, 2004 (gmt 0)

It helps if you have PHP and a server installed on your local machine.

Maylin




msg:969977
 10:27 am on Jun 4, 2004 (gmt 0)

I already have php/apache/sql installed on my computer. My computer says that the apache service has started. I can read the php files locally (which it wouldn't do before), just not the includes. I might have done something wrong during installation so I'll try reinstalling again. Just wondering if anyone knew if I could have done something wrong in the config that would cause a problem like this.

sidyadav




msg:969978
 12:25 pm on Jun 4, 2004 (gmt 0)

search for "php includes not working" in Google.

:)

Sid

[edited by: mack at 8:55 pm (utc) on June 4, 2004]
[edit reason] Removed URL [/edit]

mack




msg:969979
 1:42 am on Jun 5, 2004 (gmt 0)

Are you getting any form of error massage where your include should be or nothing at all?

I know you will have checked this but are you using the correct syntax for your includes?

Mack.

Maylin




msg:969980
 10:30 pm on Jun 6, 2004 (gmt 0)

Mack - no errors at all. The includes just didn't show. Some php scripts worked, others didn't. Apache service was started. I think it was something about the way I set it up because a few reinstallations later using different setup files, it worked. Weird, I could have sworn I used the same setup file before I reinstalled windows.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved