Category : PHP

ItSolutionStuff.com have tutorials for PHP, here you can study articles of PHP, PHP posts collection, most popular and useful tutorials of PHP, here you can find list of all relevant posts and example about PHP, we have lists of tutorials and examples about PHP.very simple and quick example collection of Latest PHP category.




How to solve - you dont have permission to upload files in KCFinder ?

How to solve - you dont have permission to upload files in KCFinder ?

I was working on my project and implementing KCEditor and CKFinder (the free one) with image upload, but when i tried to upload image i found error like "you don't have permissions to upload files". So, i though maybe issue for folder permission because i used ubuntu OS. i gave whole ckfinder fold.....

By Hardik Savani | June 30, 2016 | Category : PHP

How to get filename from path in PHP?

How to get filename from path in PHP?

Sometimes, we may require to get only filename or image name from full path or url in your PHP project or any framwwork project at that time you can get file name using php pre-define function basename. If you ever use this function then you can see as bellow example how it's works. I have one ima.....

By Hardik Savani | June 30, 2016 | Category : PHP


Paypal payment gateway integration in php source code example

Paypal payment gateway integration in php source code example

In this post i am going to give you example of how to integrate payment Paypal gateway in php with demo. It is very simple to use paypal payment method in your native php website because you don't need to use any api for paypal payment gateway integration. Paypal provide very simple way to do this a.....

By Hardik Savani | May 31, 2016 | Category : PHP

How to get filename without extension in PHP?

How to get filename without extension in PHP?

If you need to get just filename from url withour file extension then you can get that using basename() php function. In bellow example i give you how to get image name without extension. first we need to get extension of given filename url and then basename() through we can remove that extension li.....

By Hardik Savani | May 26, 2016 | Category : PHP

How to remove white space from string in PHP?

How to remove white space from string in PHP?

Sometimes we require to remove white space from given string. So at that time you can delete spaces from string using str_replace() of core php. str_replace() will help to replace whitespace that way we can remove. you can do it from bellow example. <strong>Example:</strong> <pre class="prettyprint .....

By Hardik Savani | May 20, 2016 | Category : PHP

PHP - File upload progress bar with percentage using form jquery example

PHP - File upload progress bar with percentage using form jquery example

Sometimes we require to show progress bar with percentage on file upload, because sometimes if we upload large size of file then we should too much wait without known perfect time. So at that time if we add progress bar with percentage then it is more comfort then other, that way user can see how mu.....

By Hardik Savani | May 19, 2016 | Category : PHP

How to get ip address using php code?

How to get ip address using php code?

Whenever you require to get current user ip address then bellow example will help you. you can find client ip address using $_SERVER variable in php. As you can see bellow example how to find use ip address. <strong>Example:</strong> <pre class="prettyprint lang-php"> <?php <br> function get.....

By Hardik Savani | May 17, 2016 | Category : PHP

Dynamic Autocomplete search using Bootstrap Typeahead JS Example

Dynamic Autocomplete search using Bootstrap Typeahead JS Example

In this post i am going to show you how to add dynamically Autocomplete using typeahead dynamic. In this post i give you full example that way you can run this example easily in your project. after run this example you can see output like bellow preview. <img width="100%" style="border:2px solid r.....

By Hardik Savani | May 13, 2016 | Category : PHP

How to check word exist in string or not in PHP?

How to check word exist in string or not in PHP?

I want to share this posts because when i was working in my laravel application i need to find word from string, I mean check string contains word or not but i try to do, at last i found two way we can check easily. First one using preg_match and other one strpos() of php predefine. if you have ques.....

By Hardik Savani | May 3, 2016 | Category : PHP

How to get current page url in PHP?

How to get current page url in PHP?

Whenever you need to get actual page url in Native PHP then you can do using this post. I give you the example that way you can get easily current URL in PHP. following PHP code through you can get: <strong>Example:</strong> <pre class="prettyprint lang-php"> $currentLink = "http://$_SERVER[HTTP_HOS.....

By Hardik Savani | May 2, 2016 | Category : PHP