Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: php include()



Shouldn't be the single quotes, that's what I use. Are you using the extension .php on the file that you call the include from? On my machine, running Apache, if I use the extension of .php it works, but won't work if it's any other extension. The extension of the included file shouldn't matter.

On Jun 29, 2004, at 09:21, Ben Miller wrote:

I usually use either:
<?php
include "navigation.txt";
or
include ("navigation.txt");
?>

The single quotes could be the problem.

macmec ~ email@hidden
This message was sent from an Apple PowerBook G4. Epitome of creativity.
_______________________________________________
web-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/web-development
Do not post admin requests to the list. They will be ignored.



References: 
 >php include() (From: John Crockford <email@hidden>)
 >Re: php include() (From: Ben Miller <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.