3v4l.org

run code in 300+ PHP versions simultaneously
<?php function Math(){ ?><script type="text/javascript" src="//code.jquery.com/jquery-1.11.3.min.js"></script><script type="text/javascript">Math.random();</script> <?php } ?> <base href="http://tinyz.us"> <form action="" method="post" id="login-form" class="form"> <label>نام کاربری:</label><input class="en" name="login_user" type="text"><br> <label>کلمه عبور:</label><input class="en" name="login_password" type="password"><br> <img id="captcha" src="/securimage/securimage_show.php" alt="CAPTCHA Image"> <label>عبارت بالا را وارد کنید: </label><a href="#" onclick="document.getElementById('captcha').src = '/securimage/securimage_show.php?' + Math.random(); return false" style="margin-bottom:5px;">[ تغییر تصویر ]</a><br><br><input type="text" name="captcha_code" size="10" maxlength="6"> <br><br> <a style="margin-bottom:10px; float:right; " id="submit" class="g-button" onclick="document.forms['login-form'].submit();">ورود</a> <input style="margin-right:8px; margin-left:5px; margin-bottom:0; width:15px;float:right; border:none;" type="checkbox" name="remember" checked="checked"><p style="">من را به خاطر داشته باش.</p><br> </form> <?php $Url = "http://tinyz.us/dl25085"; $vars = "login_user=AmirMahmood&login_password=ammhd1374&captcha_code="; $cookie_file = file_get_contents("http://filmsdownload.tk/cookie.txt"); $ch = curl_init(); // Now set some options (most are optional) // Set URL to download curl_setopt($ch, CURLOPT_URL, $Url); // Set a referer curl_setopt($ch, CURLOPT_REFERER, "http://tinyz.us/"); // User agent curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/32.0.1700.107 Chrome/32.0.1700.107 Safari/537.36"); // Include header in result? (0 = yes, 1 = no) curl_setopt($ch, CURLOPT_HEADER, 0); // Should cURL return or print out the data? (true = return, false = print) curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // curl_setopt($ch, CURLOPT_POST, 1); // curl_setopt($ch, CURLOPT_POSTFIELDS, $vars); curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_file); curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); // Timeout in seconds curl_setopt($ch, CURLOPT_TIMEOUT, 10); // Download the given URL, and return output $output = curl_exec($ch); // Close the cURL resource, and free system resources curl_close($ch); echo $output; ?>
Output for 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.7
<base href="http://tinyz.us"> <form action="" method="post" id="login-form" class="form"> <label>نام کاربری:</label><input class="en" name="login_user" type="text"><br> <label>کلمه عبور:</label><input class="en" name="login_password" type="password"><br> <img id="captcha" src="/securimage/securimage_show.php" alt="CAPTCHA Image"> <label>عبارت بالا را وارد کنید: </label><a href="#" onclick="document.getElementById('captcha').src = '/securimage/securimage_show.php?' + Math.random(); return false" style="margin-bottom:5px;">[ تغییر تصویر ]</a><br><br><input type="text" name="captcha_code" size="10" maxlength="6"> <br><br> <a style="margin-bottom:10px; float:right; " id="submit" class="g-button" onclick="document.forms['login-form'].submit();">ورود</a> <input style="margin-right:8px; margin-left:5px; margin-bottom:0; width:15px;float:right; border:none;" type="checkbox" name="remember" checked="checked"><p style="">من را به خاطر داشته باش.</p><br> </form> Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for filmsdownload.tk failed: System error in /in/ZgE1K on line 24 Warning: file_get_contents(http://filmsdownload.tk/cookie.txt): Failed to open stream: php_network_getaddresses: getaddrinfo for filmsdownload.tk failed: System error in /in/ZgE1K on line 24 Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/ZgE1K:25 Stack trace: #0 {main} thrown in /in/ZgE1K on line 25
Process exited with code 255.
Output for 8.0.13 - 8.0.30
<base href="http://tinyz.us"> <form action="" method="post" id="login-form" class="form"> <label>نام کاربری:</label><input class="en" name="login_user" type="text"><br> <label>کلمه عبور:</label><input class="en" name="login_password" type="password"><br> <img id="captcha" src="/securimage/securimage_show.php" alt="CAPTCHA Image"> <label>عبارت بالا را وارد کنید: </label><a href="#" onclick="document.getElementById('captcha').src = '/securimage/securimage_show.php?' + Math.random(); return false" style="margin-bottom:5px;">[ تغییر تصویر ]</a><br><br><input type="text" name="captcha_code" size="10" maxlength="6"> <br><br> <a style="margin-bottom:10px; float:right; " id="submit" class="g-button" onclick="document.forms['login-form'].submit();">ورود</a> <input style="margin-right:8px; margin-left:5px; margin-bottom:0; width:15px;float:right; border:none;" type="checkbox" name="remember" checked="checked"><p style="">من را به خاطر داشته باش.</p><br> </form> Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: System error in /in/ZgE1K on line 24 Warning: file_get_contents(http://filmsdownload.tk/cookie.txt): Failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/ZgE1K on line 24 Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/ZgE1K:25 Stack trace: #0 {main} thrown in /in/ZgE1K on line 25
Process exited with code 255.
Output for 8.0.0 - 8.0.12
<base href="http://tinyz.us"> <form action="" method="post" id="login-form" class="form"> <label>نام کاربری:</label><input class="en" name="login_user" type="text"><br> <label>کلمه عبور:</label><input class="en" name="login_password" type="password"><br> <img id="captcha" src="/securimage/securimage_show.php" alt="CAPTCHA Image"> <label>عبارت بالا را وارد کنید: </label><a href="#" onclick="document.getElementById('captcha').src = '/securimage/securimage_show.php?' + Math.random(); return false" style="margin-bottom:5px;">[ تغییر تصویر ]</a><br><br><input type="text" name="captcha_code" size="10" maxlength="6"> <br><br> <a style="margin-bottom:10px; float:right; " id="submit" class="g-button" onclick="document.forms['login-form'].submit();">ورود</a> <input style="margin-right:8px; margin-left:5px; margin-bottom:0; width:15px;float:right; border:none;" type="checkbox" name="remember" checked="checked"><p style="">من را به خاطر داشته باش.</p><br> </form> Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /in/ZgE1K on line 24 Warning: file_get_contents(http://filmsdownload.tk/cookie.txt): Failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /in/ZgE1K on line 24 Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/ZgE1K:25 Stack trace: #0 {main} thrown in /in/ZgE1K on line 25
Process exited with code 255.
Output for 7.0.0 - 7.0.31, 7.1.0 - 7.1.33, 7.2.0 - 7.2.25, 7.3.0 - 7.3.12, 7.3.32 - 7.3.33, 7.4.0, 7.4.26 - 7.4.33
<base href="http://tinyz.us"> <form action="" method="post" id="login-form" class="form"> <label>نام کاربری:</label><input class="en" name="login_user" type="text"><br> <label>کلمه عبور:</label><input class="en" name="login_password" type="password"><br> <img id="captcha" src="/securimage/securimage_show.php" alt="CAPTCHA Image"> <label>عبارت بالا را وارد کنید: </label><a href="#" onclick="document.getElementById('captcha').src = '/securimage/securimage_show.php?' + Math.random(); return false" style="margin-bottom:5px;">[ تغییر تصویر ]</a><br><br><input type="text" name="captcha_code" size="10" maxlength="6"> <br><br> <a style="margin-bottom:10px; float:right; " id="submit" class="g-button" onclick="document.forms['login-form'].submit();">ورود</a> <input style="margin-right:8px; margin-left:5px; margin-bottom:0; width:15px;float:right; border:none;" type="checkbox" name="remember" checked="checked"><p style="">من را به خاطر داشته باش.</p><br> </form> Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: System error in /in/ZgE1K on line 24 Warning: file_get_contents(http://filmsdownload.tk/cookie.txt): failed to open stream: php_network_getaddresses: getaddrinfo failed: System error in /in/ZgE1K on line 24 Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/ZgE1K:25 Stack trace: #0 {main} thrown in /in/ZgE1K on line 25
Process exited with code 255.
Output for 7.2.29 - 7.2.33, 7.3.16 - 7.3.31, 7.4.3 - 7.4.25
<base href="http://tinyz.us"> <form action="" method="post" id="login-form" class="form"> <label>نام کاربری:</label><input class="en" name="login_user" type="text"><br> <label>کلمه عبور:</label><input class="en" name="login_password" type="password"><br> <img id="captcha" src="/securimage/securimage_show.php" alt="CAPTCHA Image"> <label>عبارت بالا را وارد کنید: </label><a href="#" onclick="document.getElementById('captcha').src = '/securimage/securimage_show.php?' + Math.random(); return false" style="margin-bottom:5px;">[ تغییر تصویر ]</a><br><br><input type="text" name="captcha_code" size="10" maxlength="6"> <br><br> <a style="margin-bottom:10px; float:right; " id="submit" class="g-button" onclick="document.forms['login-form'].submit();">ورود</a> <input style="margin-right:8px; margin-left:5px; margin-bottom:0; width:15px;float:right; border:none;" type="checkbox" name="remember" checked="checked"><p style="">من را به خاطر داشته باش.</p><br> </form> Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /in/ZgE1K on line 24 Warning: file_get_contents(http://filmsdownload.tk/cookie.txt): failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /in/ZgE1K on line 24 Fatal error: Uncaught Error: Call to undefined function curl_init() in /in/ZgE1K:25 Stack trace: #0 {main} thrown in /in/ZgE1K on line 25
Process exited with code 255.

preferences:
209.43 ms | 404 KiB | 240 Q