Archive: Programming


How do You Automatically Run a Program with Administrator Privileges Upon User Login in Windows?

I am using Windows 8.1 (64-bit) and I would like to automatically run a program with administrator privileges upon user login. I tried to make a shortcut of the program and ticked the run as administrator check box in the properties of the program shortcut itself, then tried placing the shortcut in the two locations […]

Import Data from Excel Using PHP

Import data from Excel using PHP. It is many time we need to import Excel data to your mysql in our most of applications. There is a simple code to Import data from Excel using PHP Here is the attachment which will help you guys to do this. Files: <a href=”http://mobicrumbz.com/downloads/files/excelReadExample.zip”>excelReadExample</a>

Export Data to CSV Using PHP

It is many time we need to export table data to CSV in our most of applications. There is a simple code to export data to CSV using PHP Code: if($_GET[‘action’] == ‘export’) { $titlearr = array(“Heading 1″,”Heading 2″,”Heading 3″,”Heading 3″,”Heading 4″); $q = mysql_query(“select field1, field2, field3. field4 from where table”); $columns = count($titlearr); […]

PHP for Android

It is a good news for PHP guys while most of others are going behind the mobile technologies. There is one good news for PHP people that PHP will be supported in to Android.com PFA (PHP for Android) is one of the project started by Irontec.com, its aims to make PHP development in Android not […]

Optimizing MySQL: Queries and Indexes

The database is just too slow. Queries are queuing up, backlogs growing, users being refused connection. Management is ready to spend millions on “upgrading” to some other system, when the problem is really that MySQL is simply not being used properly. Badly defined or non-existent indexes are one of the primary reasons for poor performance, […]

How to Change The Value of a PHP Setting

You can apply custom PHP settings on a per-folder basis using a local php.ini file. For example, you need register_globals set to Off in a directory. For this purpose you should log in your cPanel and go to the File Manager. There navigate to the directory where you’d like this setting applied. In this directory […]


Page 1 of 41234

PHP How to Upload Large Files

There is always a need to upload large files in our application, With PHP how to upload large files is the main topic here, Initially, PHP have default 2MB file limit for upload, So we have to change that setting to allow application to upload larger files than 2MB. How we change this, there are […]

How to Change PHP Settings

Sometimes while we programming with PHP we require to change some php.ini settings. so how to change php settings, There are several ways. Using php.ini Using .htaccess file Using ini_set() function Using php.ini In this method we should have direct access of php.ini file, in which you can make change in settigs and restart the […]

How to Set .htaccess php_value

There is a simple syntax to that answers how to set htaccess php_value for example if we want to set max_execution_time, php_value max_execution_time 120 Above code put in your apache htaccess file will set the configuration. How about You? Feel Free to comment on this.

How to Learn from Open Source Projects and Frameworks

Many beginners have question, they are new in industry and how to start, open sources which seems bit complex for them to learn, but they can learn basics from that. I have some steps to follow which may help into this. Consider a PHP Programmer wants to learn other Database integration rather than orthodox MySQL, […]

Getting Started with HTML 5

HTML5 is coming quicker than a lot of web designers are probably aware. You’ve probably seen the stories that it won’t actually be usable until 2022 but in reality, you can actually start using it today. Not all web browsers support CSS2.1, not all visitors are using software capable of using JavaScript but that doesn’t […]