Welcome to the PHP Knowledge Base and Tutorial
How to identify server IP address in PHP

Read More »
Saving a curl response into a php variable
Saving a curl response into a php variable Here is example to save a curl resonse into a variable inRead More »
get the last 7 characters of a PHP string
get the last 7 characters of a PHP string Use substr() with a negative number for the 2nd argument. $newstring = substr($dynamicstring,Read More »
refresh an iframe in php page
refresh an iframe in php page <script type=”text/javascript”> var timer; function refreshIframe(){ if(timer) clearInterval(timer) timer = setTimeout(refreshIframe,5000) var iframeRead More »
Curl in html forms : Use of curl

Read More »
curl to automate HTTP jobs : Working with Curl command

Read More »
curl api using variable post/get method
HI every one there are lot of confusion about curl may be you understand easily … $url= “phone=$phone&leadid=$leadid”; //initializedRead More »
convert backslash to forward slash vice versa

Read More »
Convert datetime to specific formats in PHP
There are many way to use date time with specific combination with format in PHP.. dd/mm/yyyy 18/04/2016 $userdefine = date("d/m/Y", $datetime); echo $userdefine;Read More »
PHP Video File Upload in Server
Configure The “php.ini” File in local server or Linux ,Centos.for In your “php.ini” file, search for the file_uploads directive, andRead More »
PHP MySQL Database Connection

Read More »
PHP Cron Job: How to Execute PHP file Using Crontab in Linux
There are various method to execute php file via crontab in linux. Here is the details of all the method:Read More »
php ltrim function : php remove left string

Read More »