Connecting Tech Pros Worldwide Help | Site Map

include

Fire Juggler
Guest
 
Posts: n/a
#1: Jul 17 '05
I have a php file which has an include function. when uploaded to my
webserver it works ok. we now have uploaded it to my friends webserver and
doesn't inlcude the php file it's meant to in the include function.
Is this just a server problem, or can you think of any other things?
Thanks

--
Kathryn (Fire Juggler)
http://www.firejugglers.34sp.com
http://www.cornwalljugglers.co.uk


Alvaro G. Vicario
Guest
 
Posts: n/a
#2: Jul 17 '05

re: include


*** Fire Juggler escribió/wrote (Wed, 23 Mar 2005 19:27:14 -0000):[color=blue]
> I have a php file which has an include function. when uploaded to my
> webserver it works ok. we now have uploaded it to my friends webserver and
> doesn't inlcude the php file it's meant to in the include function.[/color]

So, not even an error message?


--
-+ Álvaro G. Vicario - Burgos, Spain
+- http://www.demogracia.com (la web de humor barnizada para la intemperie)
++ No envíes tu dudas a mi correo, publícalas en el grupo
-+ Do not send me your questions, post them to the group
--
Tony Clarke
Guest
 
Posts: n/a
#3: Jul 17 '05

re: include


Maybe use

if (file_exists("../path/to/file/filname")){
echo "here"; } else {
echo "Not here";
}


"Fire Juggler" <firejuggler@firejugglers.34sp.com> wrote in message
news:d1sfuh$c2v$1@newsg4.svr.pol.co.uk...[color=blue]
>I have a php file which has an include function. when uploaded to my
> webserver it works ok. we now have uploaded it to my friends webserver and
> doesn't inlcude the php file it's meant to in the include function.
> Is this just a server problem, or can you think of any other things?
> Thanks
>
> --
> Kathryn (Fire Juggler)
> http://www.firejugglers.34sp.com
> http://www.cornwalljugglers.co.uk
>
>[/color]


Closed Thread