note 126990 added to function.file-exists
| From: | ibaguenetcolombia at gmail dot com | Date: | Sat, 16 Apr 2022 01:37:05 +0000 |
| Subject: | note 126990 added to function.file-exists | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-218256@lists.php.net to get a copy of this message | ||
es sencillo, it is easy in php7
with this:
if (fopen($url, "r")) {
// file exists
}
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.135 (proxied: 190.128.108.119)
----
Manual Page -- https://php.net/manual/en/function.file-exists.php
Edit -- https://main.php.net/note/edit/126990
Del: integrated -- https://main.php.net/note/delete/126990/integrated
Del: useless -- https://main.php.net/note/delete/126990/useless
Del: bad code -- https://main.php.net/note/delete/126990/bad+code
Del: spam -- https://main.php.net/note/delete/126990/spam
Del: non-english -- https://main.php.net/note/delete/126990/non-english
Del: in docs -- https://main.php.net/note/delete/126990/in+docs
Del: other reasons-- https://main.php.net/note/delete/126990
Reject -- https://main.php.net/note/reject/126990
Search -- https://main.php.net/manage/user-notes.php