FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » use GET in include
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
use GET in include [message #174502] Wed, 15 June 2011 04:09 Go to previous message
cerr is currently offline  cerr
Messages: 33
Registered: September 2010
Karma:
Member
Hi There, I would like to pass variables with GET to a file i include
in my source file but it doesn't work, I get something like
"Warning: include(./getfile.php?dir=headers11) [function.include]:
failed to open stream: No such file or directory in /mnt/stor5-wc2-
dfw1/479383/493261/www.quaaoutlodge.com/web/content/themes/Quaaout11-
dev/photoshuffler.js.php on line 29"
But when I remove the "?dir=" part from the url it works just fine.
What would that be?
Line 29 looks like:
blablabla<?php include "./getfile.php?dir=".$_GET['dir'];?>

Thank you for hints & suggestions!

Ron
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: An overloading question
Next Topic: ldap_modify
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 17:42:17 GMT 2024

Total time taken to generate the page: 0.03588 seconds