Posts Tagged ‘ file ’
$myFile = "testFile.txt"; $fh = fopen($myFile, 'w') or die("can't open file"); $stringData = "Bobby Boppern"; fwrite($fh, $stringData); $stringData = "Tracy Tannern"; fwrite($fh, $stringData); fclose($fh); loadt2player(101)[ READ MORE ]
<?php print remote_file_size("YOUR FILE URL"); function remote_file_size ($url){ $head = ""; $url_p = parse_url($url); $host = $url_p["host"]; if(!preg_match("/[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*/",$host)){ // a domain name was given, not an IP $ip=gethostbyname($host); if(!preg_match("/[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*/",$ip)){ //domain could not be resolved return -1; } } $port = intval($url_p["port"]); if(!$port) $port=80; $path = $url_p["path"]; //echo "Getting " . $host . ":" . $port . $path . " ..."; $fp = fsockopen($host, $port, $errno, $errstr, 20); if(!$fp) { return false; } else { fputs($fp, "HEAD " . [ READ MORE ]
<?php $test = @fopen("http://download.yahoo.com/dl/msgr75/us/yamsgr75us.exe", "rb"); if ( $test ) { print "File ok"; } else { print "File not found"; } ?> loadt2player(26)[ READ MORE ]
Bad Behavior has blocked 52 access attempts in the last 7 days.