note 128416 added to function.copy

From: Date: Fri, 21 Apr 2023 02:36:08 +0000
Subject: note 128416 added to function.copy
Groups: php.notes 
Request: Send a blank email to php-notes+get-220370@lists.php.net to get a copy of this message
If you get ssl errors for apps running on an unproperly configured server and have no way to fix the server configuration, this would be a temproraly workaround. //Disable ssl verification in order to avoid ssl error $contextOptions = array( "ssl" => array( "verify_peer" => false, "verify_peer_name" => false, ),); copy($filename, $attachFileName,stream_context_create($contextOptions)); ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.13.130 (proxied: 162.248.94.5) ---- Manual Page -- https://php.net/manual/en/function.copy.php Edit -- https://main.php.net/note/edit/128416 Del: integrated -- https://main.php.net/note/delete/128416/integrated Del: useless -- https://main.php.net/note/delete/128416/useless Del: bad code -- https://main.php.net/note/delete/128416/bad+code Del: spam -- https://main.php.net/note/delete/128416/spam Del: non-english -- https://main.php.net/note/delete/128416/non-english Del: in docs -- https://main.php.net/note/delete/128416/in+docs Del: other reasons-- https://main.php.net/note/delete/128416 Reject -- https://main.php.net/note/reject/128416 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220370) next »