100 Web Space
http://forum.100webspace.com/

require() and include() problem
http://forum.100webspace.com/viewtopic.php?f=5&t=2992
Page 1 of 1

Author:  andste6 [ Mon Oct 31, 2005 2:23 pm ]
Post subject:  require() and include() problem

I would like to use this two functions to include files on my website here, but they don't work properly.
I have to include two files into a "library" folder I create under my subdomain, and I refer to it in this way:

require('library\file.php');

What's wrong?

Author:  Revaroo [ Mon Oct 31, 2005 4:27 pm ]
Post subject: 

What a classic :)

require('library/file.php'); '/' instead of '\'

Author:  SharpShot [ Mon Oct 31, 2005 4:56 pm ]
Post subject: 

\ is offline and / is online remember that

you will only find \ in places like my computer

and u will only fine / online (internet)

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/