Before asking, I would like to clarify, youtube-dl is not available to me as I'm on shared web hosting. Is there any way to download a Youtube video using PHP WITHOUT youtube-dl?
Jump to Post
Yes you can use curl to do this. If it is a very large video then you will probably have to increase memory on your PHP installation or you can crash the server
if your php locks and can't close the connection. Being on shared hosting I would not attempt …
All 7 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.