Jump to content

subzuk

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

subzuk's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi roopurt18, Yes I did look at the link that was given earlier and did try to fix the code but to no avail. I am pretty much completely new to php. I will however be sure to start reading the big fat book on my desk and learning it soon. The first mention of $mov was in the lines that I posted. I have uploaded the file here for you to see: [url=http://www.sachie.co.uk/function.txt]http://www.sachie.co.uk/function.txt[/url] Thanks Sachie
  2. Hi thorpe, Its the same error that boostboards had. The error code I get is: Fatal error: Call to a member function on a non-object in /home/user/public_html/videos/include/function.php on line 151 I have highlighted the line in red. function video_to_frame($fpath,$name,$mov,$chnl) {         global $config;       [b][color=red] $frcount=$mov->getFrameCount();[/color][/b] if ($frcount > 0) {         $ff_frame[1]= $mov->getFrame(rand(3,$frcount));         $ff_frame[2]= $mov->getFrame(rand(5,$frcount));         $ff_frame[3]= $mov->getFrame(rand(7,$frcount));     for($i=1;$i<=3;$i++)     { while (!$ff_frame[$i]) {     $ff_frame[$i]= $mov->getFrame(rand((2*$i+1),$frcount)); }     }     } I know that a link was posted to another site but as I am so new to this it doesn't really help me. Any help would be most appreciated. Thanks Sachie
  3. Could anyone help me out with this one if boostboards isn't around? Thanks in advance Subzuk
  4. Hi boostboards, it looks like you are using the same script as me. Can you tell me how you fixed the problem? Sorry I'm a complete newbie!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.