Featured
-
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Best 5 Lightweight PHP Frameworks for REST APIs Development
Are you ready to develop the Rest AP
by ankur.kumar -
PHP: Full-Stack Framework vs Micro Framework
A web framework can be described as a software fra
by ankit.bhatia -
How to get facebook profile picture by Facebook App
If you would like to get your profile picture in f
by vivek.rastogi -
Creating RESTful API in cakephp
This tutorial will help you to learn how to create
by pushpendra.rawat
Tags
How to enable CURL in PHP ?
This tutorial will guide you about "How to enable CURL in PHP". CURL is one the most basic and essential requirement as it allows you to connect different protocols such as HTTP, HTTPS, FTP etc. By default CURL is not enable in php.ini ...
Discussion on download file from ftp using curl
Hi Reader's,
Welcome to FindNerd, today we are going to discuss on download file from FTP using curl.
If you want to download files from FTP using curl then you have to follow below code.
Suppose you want to download "file...
How to send emails in sendgrid in php.
Hello Readers ,
For sending emails in sendgrid initially we need two things.
Sendgrid API key : To configure API keys, visit https://sendgrid.com/beta/settings/api_key or you may create sendgrid account to have the API keys.
Sendgrid L...
CURL: How to download file from ftp using curl?
This blog will let you download files from ftp using curl. Ftp url is given below. From this url we need to download this file filename.gz
ftp://ftp.example.se/filename.gz
Following is the working example:
$curl = curl_init();
$file...
PHP CURL: How to Crawl multiples pages in a loop
How to crawl many pages at one page hit:
I was facing issues for getting the data from multiple urls by loop. The problem is that in the first loop I was getting the data by function Cron, but when second page was called by Cron function then ...
How do I get a YouTube video thumbnail from the YouTube API?
Hello Readers!
We can use YouTube Data API to retrieve video thumbnails, caption, description, rating, statistics and more. API version 3 requires a key*. Obtain the key and create a videos: list request.
Example PHP Code
$data = file_ge...
Paypal: Create Recurring Payments Profile Working Code
This code use to deduct amount automatically from paypal buyers account. It is something like advance payment mode. If user agree with automatically deduction when he / she paying through paypal then amount will deduct according to billing period...
Submitting a form via curl
Hers's is the tutorial to submit form via curl.
I am taking example of log in form for say xyz.com site.
$ch = curl_init();
if($ch){
$url = 'http://www.xyz.com/logmein.php';
$postdata = array('LoginButton' => "Logon",
...
WAMP 2.2 configuration problem with php_curl
I installed new wamp on windows 7. It has some dependency on some microsoft tool "vcredist_x64.exe".
My installation was successful and I enabled php_curl extension from php settings but I was still getting :
Call to undefined function curl_ini...
Scrapping - get Select option values and text via simple html dom
Here is the working example to get select box option value and text via Simple html dom.
I assume that you have already included simple_html_dom file and have html content in $content variable
$html = new simple_html_dom(); // Creating htm...
Sending xml data in post using curl
$xmldata ='
<mail>
<receive>you</receive>
<sender>Surit</sender>
<subject>Call me</subject>
<message>XYZ</message>
</mail>
';
$url = "your url";
$curlConn = curl_init($url)...