2010-05-14, 05:19:18
Alessio_roma Wrote:When i use the function file_exsists($dirfile) it returns false. Why?Because file_exists() needs a path to the file on the server, the browser need the URL where it can retrieve the file. The constants Carlos mention are paths on the server, something like "/public_html/data/other/", and $SITEURL as mentioned by Mike will return something like “http://example.ms/â€Â.
I hope you understand the difference
“Don’t forget the important ˚ (not °) on the a,†says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!