Wednesday, May 25, 2011

Enhance PHP Memory LIMIT, Upload FILE LIMIT and EXECUTION TIME: PART - 3


In this part, we will learn about how to increase execution time in PHP.

Increase Script Execution Time PHP scripts are only allowed to be executed for a definite period of time, and when it reaches the time limit, it will stop and create the following error: "Fatal error: Maximum execution time of 30 seconds exceeded in yourscript.php" To allow your PHP script to run at a longer time, you'll need to increase the maximum execution time limit of PHP scripts using any of the following methods.

3.1. php.ini configuration - Locate the php.ini file used by your web server. You can use the phpinfo() PHP function to find it. - find and modify next parameter: max_execution_time = 45 Change the value (in second) or set to 0 for infinite time - restart Apache

3.2..htaccess configuration Edit (Create) the.htaccess file in the site root (public) directory or in the directory of your script and add the following line: php_value max_execution_time 45 Change the value (in second) or set to 0 for infinite time

3.3. Configuration in PHP scripts This is probably the best method as the setting applies only to the particular script, and would not allow other poorly written scripts to also consume and waste the system's resource. To do this, call the following function in your PHP script with the maximum execution time in second as the parameter: set_time_limit ( 300 ) You can use 0 as parameter for infinite execution time.


development, apps development india, php developer india

Tuesday, May 24, 2011

Enhance PHP Memory LIMIT, Upload FILE LIMIT and EXECUTION TIME: PART - 2


In this article, we will discuss about Enhancing File UPLOAD LIMIT.

Set Upload File Size Limit your php installation putting limits on upload file size. The default will restrict you to a max 2 MB upload file size. You need to set the following three configuration options: - upload_max_filesize - The maximum size of an uploaded file. - memory_limit - This sets the maximum amount of memory in bytes that a script is allowed to allocate. This helps prevent poorly written scripts for eating up all available memory on a server. Note that to have no memory limit, set this directive to -1. - post_max_size - Sets max size of post data allowed. This setting also affects file upload. To upload large files, this value must be larger than upload_max_filesize. If memory limit is enabled by your configure script, memory_limit also affects file uploading. Generally speaking, memory_limit should be larger than post_max_size.

There are two methods two fix this problem.

2.1. php.ini configuration - Locate the php.ini file used by your web server. You can use the phpinfo() PHP function to find it. - find and modify next parameters: memory_limit = 32M upload_max_filesize = 10M post_max_size = 20M - restart Apache

2.2. .htaccess configuration - This is useful when you do not have access to php.ini file. Edit (Create) the.htaccess file in the site root (public) directory and add the following line: php_value upload_max_filesize 10M php_value post_max_size 20M php_value memory_limit 32M This method will only work if PHP is running as an Apache module.



development, apps development india

Monday, May 23, 2011

Enhance PHP Memory LIMIT, Upload FILE LIMIT and EXECUTION TIME : PART - 1


We know that default memory limit in PHP is 16MB. Sometimes we need more than 32 MB or 64 MB. As well as default file upload limit is 2 MB that is fairly low – and especially when site works on Photos. As script execution time, default time is 30 sec but some times, tasks require more execution time to complete their jobs.  Here are few techniques for enhance PHP memory limit, file upload limit and execution time. These techniques depend on your system configuration.

1. Set Memory Limit

1.1. php.ini configuration This is the suggested approach if you have access to the server's php.ini. This will not be possible in most shared hosting situations, though your host may be able to adjust it for you. Note that this change will affect all websites and PHP scripts on the server. - Locate the php.ini file used by your web server. You can use the phpinfo() PHP function to find it. - Edit the memory_limit parameter in the php.ini file (usually in a section called Resource Limits) memory_limit = 32M; Maximum amount of memory a script may consume (32MB) If there is no section already for this, place the above line at the end of the file. - Restart Apache. Note: If you are using XAMPP/WAMP, there may be two PHP.ini files (one under the PHP directory and the other under Apache/bin). To change your memory limit, edit the file in the XAMPP/Apache/bin directory. The next two solutions are more restricted in scope and, in some cases, may be more appropriate choices than affecting all sites.

1.2..htaccess configuration This is useful when you do not have access to php.ini file. Edit (Create) the.htaccess file in the site root (public) directory and add the following line: php_value memory_limit 32M This method will only work if PHP is running as an Apache module.

1.3. Configuration in PHP scripts Add the following line where you need to give PHP more memory: ini_set('memory_limit', '32M');

1.4. Memory limits on Shared Hostings. In some shared hosting environments, access to the PHP memory limit setting is restricted. If you cannot make the change yourself, please ask your hosting provider to adjust it for you, or look for a new host that allows more flexibility.

In part - 2, we will discuss about File upload limit. 

development, apps development india

Sunday, May 22, 2011

Marketing Tricks of Offshore Web Development


Offshore web development is quickly taking giant pace in the direction of evolving an absolutely essential part of any business. Brands and companies have recognized that there is require for online solutions to boost their web events in the brain of the customer. In this context there is a static demand for cost productive measures and answers for website designing, internet marketing, mobile solutions and even the development of web applications.

The concept behind all of this is to conceive a snare that will draw in the browser and double-check hits on the website of a company. The more the hits, the better the brand visibility and the nearer in the direction of the creation of brand equity. Outsourcing one's obligations to an offshore web developer who boasts the newest expertise connected with comparable rates is the best likely way to go. There are some components that should have in this specific field. Offshore web development needs a task force that is conversant with relentlessly developing and upgrading technologies and accessible software. Global tendencies and market organizations should be recognizable with. Easy accessibility and personalized connection is an essential. Different time zones are being catered to and therefore service should be 24/7.

Keeping in brain the company assets, the web developer is habitually seeking to find modes to best utilize business or brand assets inside granted parameters, to best utilize time and the cheapest likely way to manage so. In detail a web portal that is productive can precede a long way in helping a business investigates and better apply its business processes. With the advent of communal networking into well liked considered, web developers are looking to integrate the identical into their gambit of execution.

Not only does an offshore web development firm hold the base line of your balance sheet looking comfortable, they furthermore convey their international exposure to the table. Working with varied business over the globe adds many of know-how and discovery to the web developer who integrates the best of what he sees into his forthcoming projects. They promise timely deliveries, effectiveness in comprehending purchaser desires and the proficiency to execute workable and customized solutions that will finally help the business design its occurrence on the World Wide Web.

An offshore web developer strives to conceive attention in the minds of the buyer, to supply applicable and revised data to goal assemblies, to structure purchaser sites in order that seek rankings proceed up in well liked search engines and to empower the business by integrating world class conceive and navigation reasoning conforming to W3C standards. Offshore web developers offer expertise answers with business worth at comparable prices.

development, apps development india

Saturday, May 21, 2011

Offshore Software Development Outsourcing


Over the years, the IT industry has glimpsed implementation of newer technologies to automate the business procedures in a bigger way. In this tech-savvy world, most of organizations depend upon utilizing web-based goods for glossy business processing in short span of time and with the assist of limited human resources. From little and intermediate business to large-scale business, most of the work inside the organizations is conveyed out with the productive use of programs designed for exact purposes.

In short, software is utilized to leverage the work method with the assist of technology. But, not all businesses can depend upon widespread computer program or data. Since all the organizations have their own exact obligations, thus goods are evolved in agreement with those obligations to rendezvous the business objectives effectively.

In this cutting-edge competition, every organization examines for the best methods to pace up the work functioning at cost-effective manner. Hence, most of the businesses gaze for applications which can assist their employees to share articles combine with co-workers and work from remote locations. Here arrives the use of customized software with user-friendly applications to assist users know-how so straightforward and protected command on the work method inside the organization.

Addressing the demand of customized software tools, several businesses have arrived up to provide software development services. When looking for software development services to rendezvous your precise business purposes, you might come over dozen of software developers. At times, you might believe about hiring in-house developers to develop software as per your organizational needs. But, this method of getting software solutions might not be money-making in periods of cash and expertise. Moreover, you require elaborating your agency space and supply assets needed in developing customized software. If you desire to bypass such annoyance, then you can address outsourcing product development requirements to offshore software development companies. The cause behind outsourcing your IT-based tasks is that you will find dedicated IT professionals to supply bug-free development services at inexpensive rates.

Generally, software product development cycle encompasses planning software architecture, coding, checking and implementation. Most of the offshore developers employed with offshore businesses are renowned to have years of know-how in developing software for distinct web-based purposes. They are adept to supply high-quality software solutions in smallest likely time.

Outsourcing software product developmental tasks will assist you to aim on the varied localities of your business. Get customized software goods from offshore software development businesses and know-how thriving business procedure in the ever altering market.

development, apps development india

Thursday, May 19, 2011

Conversation of PSD to HTML5


PSD to HTML5 Conversation is very significant and broadly utilized in alignment to alter a document which is conceived in PSD into other languages (markup) like HTML5. The significant thing about the HTML5 markup language is that it is gradually evolving well liked and is effortlessly accessible by numerous internet browsers like Mozilla Firefox, Apple, Microsoft and Google chrome.

Basically, the reason of HTML5 is to aim on advancing the accessibility of the internet, to users all over the world. Apart from accessibility, making websites being understandable to distinct search engine is furthermore a key target of this amazing language. All in all, it would be better to state that HTML5 founded websites are effortlessly accessible by all users in the world with distinct browsers. In supplement, they are search engine friendly too. The significance of being search engine friendly is that they can effortlessly realize the content accessible on the internet which substantially rises the grading of the website. This furthermore presents a big hand in accelerating more traffic to your website. Let us look at the scope of the internet in the year 1990 and 2010 in alignment to realize the notion and scope of the significance of PSD to HTLM5 conversion.

In 1990, websites were being coded in a more scholastic approach. Usage and occurrence of h1-h4, b, i, ul/ol tags, images and photos along with basic methods were prevalent. However, time has altered, and now internet has skilled an entire new modification. A kind of newfangled methods and communal systems are on hand at the present. Coding of the websites which is conveyed out today is solely distinct from the coding which was finished way back in 1990s. Basically, we can call HTML5 expertise as one of qualitative methods and due to this very reason; HTML5 furthermore had a large-scale leverage in PSD to HTLM5 conversion.

HTML5 coding finished today is completely distinct from the coding method which coders opted in the last century. A straightforward inquiry which may originate and distract everyone's considering is that if the start of HTML5 is the extinction of straightforward PSD to HTML Conversation or is it a base of the newest time span of PSD to HTML5 conversion. However, to be dependable, it can only be determined after some time passes but one thing is nearly assured that discovering it is going to be a genuine add-on for coders, designers and programmers who are experts in HTLM. It is because this specific expertise is absolutely going to be farther supportive for financial and world broad web conceiving business.

PSD to HTML5 Conversation has been getting more attractiveness in coders and enterprise proprietors because it presents them a full kind of distinct values and grade of control. If you ever design to change your website from PSD to HTML, in that case, HTML5 is decisively a premium choice for you. However, the Conversation itself is a much mind-numbing work and desires befitting programming data by the programmer. So in a nutshell, we can state that an individual should easily assign a professional coder for Conversation of his project. Proper chartering will double-check that you get a flawless website, where every facet like conceiving, coding and evolving are completely covered.

What are the Benefits of Java Training?


Being adept to discover at your own stride is the major cause why this training is so effective. Using professional trainers, high value video and comprehensive working files, discovering even the most convoluted applications is now actually easy. You can discover from a professional which makes discovering easy. It furthermore works on PC or Mac and a completely self-paced. You can have free certification as you construct genuine functional skills. It let you discover visually through free employed files.

Web development training is perfect for beginners. Easy to pursue videos offer visual clarity. You can select to expert a full application from basics to advance for a part of the cost of classroom based training or online founded education. You may have exclusive educating procedure that boasts accelerated discovering and high retention. Learn at your own pace; training can be stopped, rewound or very fast forwarded as needed and you may furthermore trial to get high value tutorial videos on compact computer disc / storage disc or online and PC / Mac compatible.

If you desire to discover how to design to development, checking to troubleshooting, proficiency with applications and system programs to design the components that make computers work and use computer programs like C, C++, and Java to design packaged programs and customized applications, often employed in groups to design convoluted products; Software technology training is the training for you.

If you desire a professional training and recommendations on everything from the basics to sophisticated methods for open source programs, and every training commitment is customized to double-check that the training content and components align with your enterprise, expertise, and organizational needs; open source training is the training that best matches you.

Whether you are a beginner or a skilled web developer, java training is crucial for you. It let you discover how to compose a stand-alone Java application utilizing the Java programming language and how to compose a stand-along Java application utilizing the Java programming language. It will educate non-programmers how to compose programs utilizing Java as a language and train you how to convert your living programmer's abilities into Java programming skills. Aside from that centre java training is furthermore accessible; it will supply the starting java application development training, Intermediate Java Programming, UML, Advanced JDBC Techniques for Java Programmers training, and construction web applications.

Meanwhile, Advance Java training focuses on evolving programs utilizing the Java 2 Platform, Standard Edition, or J2SE. It is proposed for those with solid know-how in organized and object-oriented Java programming, JSP training, encompassing use of the Collections API and exclusion handling. If you are a skilled Java programmer, adept to construct, check, and debug convoluted applications utilizing organized and object- oriented code concepts, and well renowned with the Collections API and Java exception-handling this training is best for you.

If you are a skilled web sheet developer looking to set up a base in the creation of dynamic web applications by Ajax, Ajax training will insert you to the suite of technologies that are utilized to design an Ajax web application. On the other hand, Html5 training is designed for programs developers involved in conceiving, conceiving, and establishing HTML5 web applications. It is precious to both beginners and sophisticated developers that currently have know-how in evolving web applications. Ruby on rails training is designed for developers who have some web development know-how that desire to discover ruby on rails. Learn the basics of the ruby language, construct a new rails application from rub, setup and organize databases with migrations and realize rails' attitudes and how to adopt or override them.

Learning in these trainings is designed to proceed overhead and after the "what" and "how" of programs industry. After accomplishing these trainings, you will be well versed in the critical responses to "why" and "when", as they concern to the mechanical bases of construction dynamic web applications.