Home arrow PHP arrow Tips For Making Your PHP Code More Portable
PHP

Tips For Making Your PHP Code More Portable


One of the big causes of errors in PHP scripts is the lack of a portable code standard. In this article, Derek takes a look at a few little things that we can do to help make our PHP scripts more portable. When other developers comes to use them, they will have more of a chance of working successfully the first time, without the need to perform any kind of system configuration modifications, etc.

Author Info:
By: Derek Comartin
Rating: 3 stars3 stars3 stars3 stars3 stars / 7
February 02, 2002
TABLE OF CONTENTS:
  1. · Tips For Making Your PHP Code More Portable
  2. · PHP Tags
  3. · Databases and tables
  4. · Conclusion

print this article
SEARCH DEVARTICLES

Tips For Making Your PHP Code More Portable
(Page 1 of 4 )

Have you ever downloaded a PHP script and tried to run it on your web server, only to receive a bunch of confusing error messages? The odds are that these errors occurred because your PHP initialization file wasn't exactly the same as the initialization file on the machine where the script was created.

In this article we're going to take a look at a few little things that you can do to help make your PHP scripts more portable, so that when other developers buy/download them, they will have more chance of working successfully the first time, without the need to perform any kind of system configuration modifications, etc.

If you'd like to use the tips described in this article to make your PHP code more portable, then you should have the latest version of PHP installed on either an Apache/IIS web server running under Linux, Unix, or Windows.
blog comments powered by Disqus
PHP ARTICLES

- Removing Singletons in PHP
- Singletons in PHP
- Implement Facebook Javascript SDK with PHP
- Making Usage Statistics in PHP
- Installing PHP under Windows: Further Config...
- File Version Management in PHP
- Statistical View of Data in a Clustered Bar ...
- Creating a Multi-File Upload Script in PHP
- Executing Microsoft SQL Server Stored Proced...
- Code 10x More Efficiently Using Data Access ...
- A Few Tips for Speeding Up PHP Code
- The Modular Web Page
- Quick E-Commerce with PHP and PayPal
- Regression Testing With JMeter
- Building an Iterator with PHP

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials