note 79995 added to function.file-exists
| From: | feras dot allaou at gmail dot com | Date: | Sun, 23 Dec 2007 07:59:43 +0000 |
| Subject: | note 79995 added to function.file-exists | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-133891@lists.php.net to get a copy of this message | ||
Dear programmers :
i'm facing a problem while using file_exists() function , when i tried the function in my
localhost ((AppServ)) it works , but when i had uploaded it to my website i was surprised that the
same file which i requested it in my localhost is not found !
so what is the problem
$file = iconv("UTF-8","Windows-1256",$_POST['ext']);
i tried str_replace("\\","/",$file);
i used iconv because i'm using ajax .
Best Regards
Feras Allaou
----
Server IP: 69.147.83.197
Probable Submitter: 66.198.41.2
----
Manual Page -- http://www.php.net/manual/en/function.file-exists.php
Edit -- https://master.php.net/note/edit/79995
Del: integrated -- https://master.php.net/note/delete/79995/integrated
Del: useless -- https://master.php.net/note/delete/79995/useless
Del: bad code -- https://master.php.net/note/delete/79995/bad+code
Del: spam -- https://master.php.net/note/delete/79995/spam
Del: non-english -- https://master.php.net/note/delete/79995/non-english
Del: in docs -- https://master.php.net/note/delete/79995/in+docs
Del: other reasons-- https://master.php.net/note/delete/79995
Reject -- https://master.php.net/note/reject/79995
Search -- https://master.php.net/manage/user-notes.php