echo this code $_SERVER['DOCUMENT_ROOT'] this will print document root of Server. Now try the path like $_SERVER['DOCUMENT_ROOT']."/public_html/yourfolder/yourfile" OR use /home/folder/file ussually in a webserver /home points to publichtml page -- Regards -!m@- anas.muhammed@xxxxxxxxx itsmeima@xxxxxxxxx itsmeima@xxxxxxxxx imasmail@xxxxxxxxxxxxxx +919496371048 -ima- [Non-text portions of this message have been removed]