include

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fire Juggler

    include

    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)




  • Alvaro G. Vicario

    #2
    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
    --

    Comment

    • Tony Clarke

      #3
      Re: include

      Maybe use

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


      "Fire Juggler" <firejuggler@fi rejugglers.34sp .com> wrote in message
      news:d1sfuh$c2v $1@newsg4.svr.p ol.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]


      Comment

      Working...