Hi all.
I am trying to incorporate the following php content
[
mydomain.co.uk...]
..into another .php page (let's call it intro.php) using the include function.
Code within intro.php:
<?php include("gallery/index.php?type=sets&setId=72157623233667723"); ?>
(note, .php is in top directory)
However, I get the following error message:
Warning: include(gallery/index.php?type=sets&setId=72157623233667723) [function.include]: failed to open stream: No such file or directory in
now, the bizarre thing is, if I rename my index.php to index.shtml and replace the code with:
<!--#include virtual="/gallery/index.php?type=sets&setId=72157623233667723" -->
and everything gets included correctly!
This issues has been bugging me for days now (I am a php beginner). Could it have something to do with the SET and setID queries?
PS: when I remove the queries:
<?php include("gallery/index.php); ?>
...I get no error message, but also nothing gets imported into index.php!
Help much appreciated,
Glen