note 127580 added to curl.examples-basic
| From: | wwww at main dot php dot net | Date: | Tue, 06 Sep 2022 03:52:25 +0000 |
| Subject: | note 127580 added to curl.examples-basic | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-219523@lists.php.net to get a copy of this message | ||
$file=public_path().'uplode/'.dirname($name);
$file=str_replace('\\','/',$file);
if (!is_dir($file)){
mkdir($file,0777,true);
}
file_put_contents(public_path().'uplode/'.$name,file_get_contents($url));
$tupianlujing=public_path().'uplode/'.$name;
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.173 (proxied: 223.166.248.226)
----
Manual Page -- https://php.net/manual/en/curl.examples-basic.php
Edit -- https://main.php.net/note/edit/127580
Del: integrated -- https://main.php.net/note/delete/127580/integrated
Del: useless -- https://main.php.net/note/delete/127580/useless
Del: bad code -- https://main.php.net/note/delete/127580/bad+code
Del: spam -- https://main.php.net/note/delete/127580/spam
Del: non-english -- https://main.php.net/note/delete/127580/non-english
Del: in docs -- https://main.php.net/note/delete/127580/in+docs
Del: other reasons-- https://main.php.net/note/delete/127580
Reject -- https://main.php.net/note/reject/127580
Search -- https://main.php.net/manage/user-notes.php