منو
فیلتر شهر انتخاب مکان فیلتر شهر
مکان را جهت فیلتر محصولات انتخاب کنید

upload

کد اپلود مستقیم لینک در هاست

				
					<?php
set_time_limit(0); // No script timeout, if expecting large download

if (isset($_POST['btnUpload'])) {
    $url = $_POST['file'];

    // Extract filename from URL
    $filename = basename($url);

    // Check if the file already exists
    if (!file_exists($filename)) {
        // Open a file handle for the downloaded file
        $fp = fopen($filename, 'w');

        // Download the file and save it to the file handle using cURL
        $ch = curl_init($url);
        curl_setopt($ch, CURLOPT_TIMEOUT, 0);
        curl_setopt($ch, CURLOPT_FILE, $fp);
        curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

        if (curl_exec($ch) === false) {
            echo 'Error downloading the file.';
        } else {
            // Generate a random string for the saved file name
            $ext = pathinfo($filename, PATHINFO_EXTENSION);
            $newFilename = pathinfo($filename, PATHINFO_FILENAME) . '_' . uniqid() . '.' . $ext;

            // Move the downloaded file to the new filename
            rename($filename, $newFilename);

            // Display the download link to the user
            echo 'File downloaded successfully.';
            echo '<br>';
            echo 'Your download link: ';
            echo "<a href='" . $newFilename . "'>Download Link</a>";
        }

        curl_close($ch);
        fclose($fp);
    } else {
        echo 'File already exists.';
    }
}
?>
<!DOCTYPE html>
<html>
<head>
    <title>File Upload Using PHP and cURL</title>
    <style type="text/css">
        body {
            font-family: Verdana, Geneva, sans-serif;
            font-size: 12px;
        }
    </style>
</head>
<body>
<table border="1" cellspacing="0" cellpadding="3" style="border-collapse:collapse;" bordercolor="#CCCCCC">
  <form action="" method="post" name="frmUpload" enctype="multipart/form-data">
    <tr>
      <td>Upload</td>
      <td align="center">:</td>
      <td><input name="file" type="text" id="file"/></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td align="center">&nbsp;</td>
      <td><input name="btnUpload" type="submit" value="Upload" /></td>
    </tr>
  </form>
</table>
<script>class RocketElementorAnimation{constructor(){this.deviceMode=document.createElement("span"),this.deviceMode.id="elementor-device-mode-wpr",this.deviceMode.setAttribute("class","elementor-screen-only"),document.body.appendChild(this.deviceMode)}_detectAnimations(){let t=getComputedStyle(this.deviceMode,":after").content.replace(/"/g,"");this.animationSettingKeys=this._listAnimationSettingsKeys(t),document.querySelectorAll(".elementor-invisible[data-settings]").forEach(t=>{const e=t.getBoundingClientRect();if(e.bottom>=0&&e.top<=window.innerHeight)try{this._animateElement(t)}catch(t){}})}_animateElement(t){const e=JSON.parse(t.dataset.settings),i=e._animation_delay||e.animation_delay||0,n=e[this.animationSettingKeys.find(t=>e[t])];if("none"===n)return void t.classList.remove("elementor-invisible");t.classList.remove(n),this.currentAnimation&&t.classList.remove(this.currentAnimation),this.currentAnimation=n;let s=setTimeout(()=>{t.classList.remove("elementor-invisible"),t.classList.add("animated",n),this._removeAnimationSettings(t,e)},i);window.addEventListener("rocket-startLoading",function(){clearTimeout(s)})}_listAnimationSettingsKeys(t="mobile"){const e=[""];switch(t){case"mobile":e.unshift("_mobile");case"tablet":e.unshift("_tablet");case"desktop":e.unshift("_desktop")}const i=[];return["animation","_animation"].forEach(t=>{e.forEach(e=>{i.push(t+e)})}),i}_removeAnimationSettings(t,e){this._listAnimationSettingsKeys().forEach(t=>delete e[t]),t.dataset.settings=JSON.stringify(e)}static run(){const t=new RocketElementorAnimation;requestAnimationFrame(t._detectAnimations.bind(t))}}document.addEventListener("DOMContentLoaded",RocketElementorAnimation.run);</script></body>
</html>
				
			

کالا هایی که دیده ایید !
فیلتر بر اساس شهر محصول
آذربایجان شرقی
آذربایجان غربی
اردبیل
اصفهان
البرز
ایلام
بوشهر
تهران
چهارمحال و بختیاری
خراسان رضوی
خوزستان
راما استور
فیلتر بر اساس شهر محصول
آذربایجان شرقی
آذربایجان غربی
اردبیل
اصفهان
البرز
ایلام
بوشهر
تهران
چهارمحال و بختیاری
خراسان رضوی
خوزستان
فیلتر بر اساس شهر محصول
آذربایجان شرقی
آذربایجان غربی
اردبیل
اصفهان
البرز
ایلام
بوشهر
تهران
چهارمحال و بختیاری
خراسان رضوی
خوزستان
تماس با ما
شما این محصولات را انتخاب کرده اید0
empty-cart

هیچ محصولی در سبد خرید نیست.

جهت مشاهده محصولات بیشتر به صفحات زیر مراجعه نمایید.
consectetur efficitur. felis Praesent sed libero id consequat. mattis Praesent venenatis
راما استور