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 …
November 2010 archive
Permanent link to this article: https://blog.openshell.in/2010/11/increase-php-script-execution-time-limit/
Nov 22
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 …
Permanent link to this article: https://blog.openshell.in/2010/11/best-linux-desktop/
Nov 22
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 …
Permanent link to this article: https://blog.openshell.in/2010/11/linux-and-its-advantages/
Nov 22
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 …
Permanent link to this article: https://blog.openshell.in/2010/11/refresh-redirection/
Nov 22
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 …
Permanent link to this article: https://blog.openshell.in/2010/11/curl-function/
Nov 21
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 …
Permanent link to this article: https://blog.openshell.in/2010/11/php-sessions-problem/
Nov 21
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 …
Permanent link to this article: https://blog.openshell.in/2010/11/set-error/
Nov 21
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 …
Permanent link to this article: https://blog.openshell.in/2010/11/sql-injection-php/
Nov 17
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 …
Permanent link to this article: https://blog.openshell.in/2010/11/who-we-are/