Showing posts with label PHP. Show all posts
Showing posts with label PHP. Show all posts
How to increase the php file upload limits

How to increase the php file upload limits

PHP has several configuration options to limit resources consumed by scripts. By default, PHP is set to allow uploads of files with a size of 2MB or less. Now you can change these configuaration. Follow these steps Step 1: open your server root directory Step 2: open the php directory Step 3: open the php.ini file Try increasing the following values...
How to increase the import file size in phpmyadmin

How to increase the import file size in phpmyadmin

In general phpmyadmin allows to import file size Max: 2,048KiB By default you get a 2mb limit of import size in phpmyadmin.It is impossible to import larger files. You can increase the allowed import size of phpmyadmin by editing your server's php.ini configuration file. Usually it is located at {Server}/Php/php.ini. Here Server is WAMP, XAMPP, VERTRIGO. Step...
How To Write PHP Code In HTML?

How To Write PHP Code In HTML?

For a experience php web developer  it will be a very easy thing. But for a new developer , who recently started learning php programming it will be a questionable thing. So today we will embed php code in regular html code. Embedding PHP code in regular HTML - Lets  create a hello script named hello.php. <html> <head> <title>PHP...
Upload CSV into  Database Using PHP and MYSQL

Upload CSV into Database Using PHP and MYSQL

This script can be use to update data in database from local CSV file on user(admin) computer Create table in users in the reg database CREATE TABLE IF NOT EXISTS `users` (   `id` int(20) NOT NULL,   `name` varchar(25) NOT NULL,   `email` varchar(25) NOT NULL,   `pass` varchar(25) NOT NULL,   `gen` varchar(5) NOT NULL,  ...