View Single Post
Old 02-04-2007, 01:31 AM  
woj
<&(©¿©)&>
 
woj's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
Quote:
Originally Posted by Nookster View Post
http://us2.php.net/include/
Look under "Example 16.7. include() through HTTP"

when using include() and $_GET you must pull the included file with the complete url. And note that include with $_GET doesn't work with all configurations.
don't do that, that's lame, and will just unnecessarily slow the page down...

do something like this:

$id='xxx';
include("/path/to/file.php");

then inside file.php just use $id wherever needed...
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager
woj is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote