Jump to content


Photo

Strange fopen problem


  • Please log in to reply
1 reply to this topic

#1 radius

radius
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 28 February 2006 - 06:50 PM

Hi,
I was using latest php5 but as I couldn't find a ffmpeg-php extension for it, I actually swapped to latest php4, and now I'm having a problem when using fopen for urls, when it's used it just stops the script with no error / warning, i tried using the same php.ini used with my php5 too but it changes nothing.
Btw allow_url_fopen is enabled.
Thanks if someone can help.

#2 phpfreakjav

phpfreakjav
  • Members
  • PipPipPip
  • Advanced Member
  • 41 posts

Posted 08 October 2010 - 06:53 PM

<?php
function http_file_exists($url)
{
$f=@fopen($url,"r");
if($f)
{
fclose($f);
return true;
}
return false;
}
?>




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users