Page 1 of 1

hi can u help me?!

Posted: Thu Oct 26, 2006 8:51 am
by rex1982
Weirdan | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


hi buddies:
i'm new to here i have a very important quesstion:

Code: Select all

exec("ffmpeg -i /home/zyn/wwwroot/youTube/flvideo/1216a61d423d0.flv -vhook '/home/zyn/approot/ffmpegpip/lib/vhook/pip.so -f /home/zyn/wwwroot/youTube/watermarking/2is.jpg -x 0 -y 0 -w 76 -h 54' /home/zyn/wwwroot/youTube/watermarking/1161869747.flv",$arr);
if i do it on command it is ok but it doesn't work on the php!!!

Code: Select all

print_r($arr);
the restult is null? what is going on? how can i fix it? every one help me thx!


Weirdan | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]

Posted: Thu Oct 26, 2006 10:19 am
by Weirdan
Use a spell checker & proper capitalization please.

Posted: Thu Oct 26, 2006 10:39 am
by Luke
Weirdan wrote:Use a spell checker & proper capitalization please.
If we're going to get into proper written english, the "&" in your sentence should be "and" due to the fact that neither "checker" nor "proper" are proper nouns.

:lol: "proper" is not a proper noun... that's kind of funny... in a nerdy kind of way.

Posted: Thu Oct 26, 2006 12:23 pm
by RobertGonzalez
How about we try to answer this person's question?

Which PHP is your CLI using and which is your web server using?

Posted: Thu Oct 26, 2006 1:08 pm
by feyd
Run in the CLI, PHP will have access to everything your logged in user does. Run through the web server, it will only have access to what that user does. If the web server's user doesn't have execution rights to ffmpeg, you'll get errors.

One more thing rex1982, please don't try to hijack another user's thread.

Posted: Thu Oct 26, 2006 1:18 pm
by Luke
Everah wrote:How about we try to answer this person's question?
What a novel idea!

WHOO! :lol: