Search found 4 matches

by seba22
Fri Feb 19, 2010 11:26 am
Forum: PHP - Code
Topic: Youtube download'er in highest possible format
Replies: 0
Views: 40

Youtube download'er in highest possible format

Welcome, I'm looking for youtube api what allow me to download youtube video in highest possible format. Few years ago this job was more simple because url had information about quality like "fmt=22" or "fmt=6" right now we are live in future and that information is embed in play...
by seba22
Tue Feb 16, 2010 4:52 am
Forum: PHP - Code
Topic: How execute software from php as some user ?
Replies: 4
Views: 312

Re: How execute software from php as some user ?

The error output is:

Code: Select all

Could not find "/var/www/virtual/xxx/phptmp/audiodump.wav".  
As i suppose it don't create files... but truth question is why...
by seba22
Tue Feb 16, 2010 4:26 am
Forum: PHP - Code
Topic: How execute software from php as some user ?
Replies: 4
Views: 312

Re: How execute software from php as some user ?

From Apache it's simply don't work. Actually i have no idea why! I try this: $output=shell_exec('mplayer -vc null -vo null -ao pcm:fast:waveheader /var/www/virtual/xxx/phptmp/php9uaL06 && lame -v -q 2 /var/www/virtual/xxx/phptmp/audiodump.wav /var/www/virtual/xxx/phptmp/input-file.mp3'); It ...
by seba22
Tue Feb 16, 2010 3:47 am
Forum: PHP - Code
Topic: How execute software from php as some user ?
Replies: 4
Views: 312

How execute software from php as some user ?

Welcome, From few months my users want me to write script for conversion of audio files to mp3... Right now, everyday i got e-mail with subject "change it for me to mp3, thank you bye bye :*". I don't want do it anymore so i decided to write a PHP front end for command line conversion... I...