How to use Ajax using jQuery in PHP? Firstly, you have to include the <script src=”https://code.jquery.com/jquery-1.12.0.min.js”></script> before </head> Or use the latest jQuery version as required. Then, use the main content of the page as below code: <div id=”content”> <ul> ...
phpsupport | phpsupportdesk Latest Articles
How to integrate Paypal Payment Gate way?
pHpSupportFor simple PayPal integration we just have to send the user to the PayPal site with the required information to process the order. Here is the code to use that it in a simple manner. First of all you have ...
How to produce forget password recovery method with PHP?
pHpSupportHere we need to create two pages connect.php forgotpassword.php file 1:-connect.php <?php $connection = mysql_connect(‘localhost’, ‘root’, ”); if (!$connection){ die(“Database Connection Failed” . mysql_error()); } $select_db = mysql_select_db(‘test’); if (!$select_db){ die(“Database Selection Failed” . mysql_error()); } file 2:- forgotpassword.php <?php ...
How to upload zip file in php?
pHpSupportIn this post you will learn how to upload zip file into a folder using HTML form in PHP. Firstly you have to create simple HTML form. HTML Code <form action=“upload.php” enctype=“multipart/form-data” method=”post”> <input type=“file” name=“zipFile” accept=“zip/*”> <input type=“submit” name=“Submit” ...
How can we check current date & time of PHP server?
pHpSupportWe can check the PHP server time by using the following code date(“Y-m-d H:i:s”);
Tips to remove file from server – PHP
pHpSupportIn this post you will learn some basics to remove file from server. Please check the code given below. This will help. You just need to use the following function Unlink(FILENAME); Here FILENAME will be the path of file with ...
How can we start the session in core php?
pHpSupportIn this post you will learn how to start the session in core php. Please check the code given below. This will help. PHP Code To start a session, you need to add the following code at the top of ...
What is the difference between include and require in PHP?
pHpSupportWhat is the difference between include and require in PHP? Require – If the file is not found, then it will return fatal error and will put a halt on execution. Include – If the file is not found, then ...