-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/21/2012 04:49 AM, Dayron Crespo wrote: > I use > > > PHP Version 5.3.3-7+squeeze3 > > I Have this code in my page > > include ('/application/configs/Configuracion.php'); > > when I load in wiondows all is OK but when I do in the server doesn't > load my file > > Thanks >
I'[m a bit lazy ATM, but I'll tell you the correct line would be include ('./application/configs/Configuracion.php'); Note the dot before the script's path. On any Linux/*NIX systems, any path beginning with a slash ("/") character is considered to be an absolute OS path, as slash is the common notation for the root filesystem. Windows doesn't have this kind of structure on disk. That's why on Windows some mistakes are so easy to happen ;-) HTH, Victor -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Debian GNU/Linux - Romania iQEcBAEBAgAGBQJPGm60AAoJEMn1b0XNY6wKpIkH/j5tSO9T+B3DLdBLld+uQIyJ Ve7YJarI86vaRRyqvpYDn9R3nr2Yk9Um6sJCVu13gaMc/E1fnwaYBXRyg9AFS16F vbHCv8nMXxRhL3qEWIYwezD4vQvxODzMzZUTjj1v7+JiHYuTmnq8sb46gpSqWAg8 ojvxfXagKOndQDFB9vzF631QzVDJpTK5kBdLm2j9VEXlQ9t06ZJhLm8pQ8fPgIaM 7r++wy7WfK+RgVx73Xno2Zx5VYNfMnBTuryq/4kLe6UnCPDJFvhfi4BSKsIFoyHj emNzfrOrE5HDFNH+JyIFjL/VROp967J/kSkE3BEvJdtLfqyhlL2bwfUifOwCmqk= =1rG5 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f1a6eb5.6080...@debian-linux.ro