Author's posts

Increase PHP Script Execution Time Limit

Every once in a while we need to process a HUGE file. Though PHP probably isn’t the most efficient way of processing the file, we usually use PHP because it makes coding the processing script much faster. To prevent the script from timing out, I need to increase the execution time of the specific processing …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/11/increase-php-script-execution-time-limit/

UBUNTU the Best Linux Desktop Distribution

There are a lot of Linux distributions that have the primary focus of becoming the next best desktop replacement for Windows or OS X. Canonical’s UBUNTU is the great and most contentious group of distro which offers 4 kinds of desktop and special edition for laptops and Live Distros. you can download ubuntu from the …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/11/best-linux-desktop/

Linux and its Advantages

Linux is an operating system that was initially created as a hobby by a young student, Linus Torvalds, at the University of Helsinki in Finland. Linus had an interest in Minix, a small UNIX system, and decided to develop a system that exceeded the Minix standards. He began his work in 1991 when he released …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/11/linux-and-its-advantages/

Refresh / Redirection

When you need your web page automatic refresh in 5 second or any second, use this meta tag.  It’s a simple code, put it between HEAD tag in your web page. This script easy but powerful. <HEAD> <meta http-equiv=’refresh’ content=’2;url=’file_name or URL’> </HEAD> // content = time (second) // file_name = name of file you …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/11/refresh-redirection/

cURL Function

cURL is a library which allows you to connect and communicate to many different types of servers with many different types of protocols. Using cURL you can: Implement payment gateways’ payment notification scripts. Download and upload files from remote servers. Login to other websites and access members only sections. PHP cURL library is definitely the …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/11/curl-function/

PHP sessions problem

Below are some of the common problems faced by beginners while using sessions in PHP. Headers already sent This is the most commonly faced error is also the easiest to fix. Lets first see what a typical HTTP response looks like. As can see from the image headers always precede (come before) the content. The …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/11/php-sessions-problem/

Set error reporting level to maximum

Configure your development environment to display all PHP warnings, notices and errors. This will help you code better and also help in catching potential bugs early in development phase. You can change the error reporting level at runtime by adding the following code at the top of your PHP script: <?php // Report all PHP …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/11/set-error/

SQL injections / Escape special characters like ‘,”,

In the simplest case, special characters may simply break your query. In a more extreme case, a hacker might use SQL injections to gain access to your application. So it is important that we escape these special characters with a (backslash). That is, insert a backslash before each special character. We can escape special characters …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/11/sql-injection-php/

Who we are?

Openshell brings up a wide range of web solutions required by different kind of organizations and provides full-range of high class web site development for your complex business problems using PHP, Ruby on Rails, J2EE, .NET, MySQL, PostgreSQL, etc. We proud to offer the best web hosting and domain web hosting services for all kind …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/11/who-we-are/