Learn how to use php curl to initiate http requests in PHP. First we load a simple page in a browser and output it. We then load search results at amazon.com using php cURL and match every image in the results and store it in array variable. We then loop through the array containing image urls and output the images in a browser using HTML IMG tag. This is a fun example so you can see what’s possible with a PHP cURL library.
Download source code here:
http://clevertechie.com/code/php-curl-tutorial.txt
*********************************************
( New Video! ) How to Create Transparent Drop Down Navigation Menu with CSS and HTML
*********************************************
“““““““““““““““““““““““““““““““““““““““““““““““
( Website ) https://clevertechie.com – PHP, JavaScript, WordPress, CSS, and HTML tutorials in video and text format with cool looking graphics and diagrams.
( YouTube Channel ) https://www.youtube.com/c/CleverTechieTube
( Google Plus ) https://goo.gl/J71p6f – clever techie video tutorials.
( Facebook ) https://www.facebook.com/CleverTechie/
( Twitter ) https://twitter.com/theclevertechie
“““““““““““““““““““““““““““““““““““““““““““““““
Amazon Auto Links: No products found.
you’re a sick guy!
That is w/o a doubt one of the most good curl videos out there .. showing how to make something useful… such a pain to have to type all the code from the screen.. is any of your code available on your site as a courtesy download?
So other than his video…where does one learn about things like this? Books?
I’m trying to become a developer but everything out there is just basics. Should I bother paying for courses or are free resources enough to gain enough knowledge for a jr position?
Hello sir please make a tutorial on ‘how to get json array data through curl?’.
Before I watch this, I thought CURL is such a complicated one. Thanks,, this is very easy to understand.
You sir, are a freggen beast! Well explanation. Direct and to the point! All the best sir.
great video
but i want to know how can i use CURL to get data from another website’s database
if the two websites on different VPSs / hosts
Create a tutorial on how to make a database abstraction class on top of either PDO or MySQLi !!
Thanks a lot !, that’s very clear and instructive
One of the best videos.
Wow!! That was a good and straightforward video!! Thanks a lot!
<3
without user agent curl should not work on amazon.
for user agent we can use:
$agent = “Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13”;
curl_setopt($ch, CURLOPT_USERAGENT, $agent);
subscribe <3
Great video. It helped me a lot to learn php faster.
Great video mate. Just discovering php, but videos like these make me want to learn much more 😉
I’m just getting directed to a CAPTCHA page of Amazon’s.. =/
Hello, is there any CURLOPT used to ignore robot check?
wow that’s really useful