youtube video downloaed succesfully on local, but on server(online) only 0 byte flv is downloading
Posted
by I Like PHP
on Stack Overflow
See other posts from Stack Overflow
or by I Like PHP
Published on 2010-04-10T11:34:00Z
Indexed on
2010/04/10
11:43 UTC
Read the original article
Hit count: 225
youtube-api
|php
i m using php tube class to download youtube video. Video is automatically downloaded in a folder by submitting youtube video url.
everything is working fine on local (XAMPP), but when i upload this to server(online), THEN ONLY 0 byte flv file is saved.
i also debug the code both side( local and global ).
i get the url like this( on local)
http://www.youtube.com/get_video?video_id=1jNWCFwqPvM&=vjVQa1PpcFMyYCECyfmYENWklpwXGyhVgJpSFPgNAEc%3D
whereas on server i got link like this
http://www.youtube.com/
get_video?video_id=1jNWCFwqPvM&t=vjVQa1PpcFNS3SPxIXi8hy-NF4qZFFrScDXCjGLLrLc%3D
when i copy the link getting from local and paste on browser then a download box appear on browser, whereas when i copy the link getting from server and paste on browser then only a blank page appears
- please solve my problem, where is the error???
- how to know that pear is installed or not on server?
on server side sometimes i get link like
http://www.youtube.com/get_video?video_id=1jNWCFwqPvM&t=vjVQa1PpcFNS3SPxIXi8hy-NF4qZFFrScDXCjGLLrLc%3D
but sometimes i get only
http://www.youtube.com/get_video?video_id=&t=
please guide me how to solve these?
Thanks in advance to all my seniors
© Stack Overflow or respective owner