Connecting Tech Pros Worldwide Help | Site Map

include

  #1  
Old July 17th, 2005, 01:15 PM
Fire Juggler
Guest
 
Posts: n/a
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


  #2  
Old July 17th, 2005, 01:15 PM
Alvaro G. Vicario
Guest
 
Posts: n/a

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
--
  #3  
Old July 17th, 2005, 01:15 PM
Tony Clarke
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
VS .NET, violates listing order in "Additional Include Directories" Arpi Jakab answers 3 November 17th, 2005 03:44 PM
#include <iostream.h> ya man answers 1 November 17th, 2005 02:01 PM
ruminations on #include and paths David Mathog answers 5 November 15th, 2005 04:32 AM
#include errors zolli answers 9 November 15th, 2005 02:10 AM
Header include order Derrick Coetzee answers 60 November 13th, 2005 11:19 PM