
php
Get flash to fully experience Pearltrees
PHP Tutorials
43 Ways to Optimize your PHP Code | OpenJason
43 Must Read PHP Articles and Resources
When it comes to security, remember that in addition to actual platform and operating system security issues, you need to ensure that you write your application to be secure. When you write PHP applications, apply these seven habits to make sure your applications are as secure as possible: Validating data is the most important habit you can possibly adopt when it comes to security. And when it comes to input, it's simple: Don't trust users.
Seven habits for writing secure PHP applications
Getting Snow Leopard built-in MAMP to work smoothly | Bisna Blog
Considering you are here, I can assume you are a desperate folk looking for a possible solution to make built-in MAMP work perfectly using the default packages that comes with clean Snow Leopard installation. Trust me, I was feeling like you are now a few hours before I start this post. Here you’ll see how to enable Apache2, turn PHP 5.3 available on server and also install missing PECL extensions of PHP, such as Imagick ( ImageMagick ), Xdebug , APC and Memcache . This is the first step to be done, which is turn Apache2 ON to make your machine responds to HTTP requests.Installing PEAR on built-in PHP of Snow Leopard | Bisna Blog
PHPBuilder.com, the best resource for PHP tutorials, templates, PHP manuals, content management systems, scripts, classes and more.
The Git-based project hosting service GitHub is certainly the belle of today's technology ball, having attracted more than 1 million registered users and amassed more than 2 million hosted projects in less than three years. In this article we will show you how you can talk to GitHub using PHP. Talking to Facebook's Social Graph with PHP As a Facebook Platform developer, you can use Facebook APIs to bend Facebook's social graph in ways which are limited only by your imagination, accessing and interacting with friends, events, pages, photos, notes, groups, and essentially anything else a Facebook user interacts with on a regular basis. Building RESTful Web Services with the Zend Framework The Zend Framework's Zend_Rest component offers PHP developers with an incredibly straightforward approach to building RESTful Web services.So-called microframeworks such as Sinatra and Camping were created to provide developers with a lightweight alternative to Rails . If your requirements are relatively straightforward, these lightweight solutions can dramatically reduce the learning curve and time required to complete the project. The PHP Limonade framework was created with this goal in mind, providing PHP developers with a low barrier-of-entry to the world of framework driven development without incurring lengthy training overhead.
Building Web Apps with the Limonade PHP Framework
Implementing User Authentication and Session Management with PHP
Outside of installation and configuration issues, reader questions pertaining to user authentication and session management almost certainly rank among the most common I receive on an ongoing basis. The logic itself is pretty straightforward; however, even a simple implementation involves a number of small but important details which aren't always so easy to figure out the first time around. This tutorial serves to dispel much of the confusion by guiding you through the implementation of a simple user authentication feature which will subsequently keep the user logged in via a session . The Login Form Let's start with the easiest part of the feature, creating the login form.There are few Web-related tasks more annoying than registering for a new website account. Providing yet another online entity with various bits of personally identifiable information (did you know that in many cases you can be personally identified simply by providing your age, gender and zip code?) and frustrations surrounding a lengthy and often clumsy registration process are just two of the several aggravations which can arise when creating a new account. In recognition of the widespread reluctance to manage multiple accounts, several decentralized authentication solutions have gained traction, including notably OpenID and Facebook , however such approaches also have problems . So in spite of the availability of these third-party authentication solutions many website developers still choose to go it alone and manage user accounts locally.
Create a Dynamic Username Validator with PHP, MySQL and jQuery
Tracking User Activity in PHP with Cookies and Sessions
When you have more than one page in your PHP-based website and want to keep track of or personalize user activities, or when your application grows to more than just an information board, then it is time to maintain state in the site. The main purpose of maintaining state in PHP applications is to keep track of users and their activities. It can also be used to limit a user's ability to access certain components of a website. Without maintaining state, an e-commerce site would not be able to support shopping on the Internet, because the shopping cart needs to "remember" the products you selected to buy and it needs to maintain state for that. So, why can't you maintain state with HTTP? The main reason is because HTTP is a stateless protocol, meaning that it has no built-in way of maintaining state between transactions.Some applications need to perform several tasks that may take a while to finish. When there are many tasks to execute, it may take a long time to finish all of them if they are executed sequentially, i.e., one after another. A possible solution for this problem is to execute several tasks at the same time using separate processes or threads. PHP has the pcntl extension that can be used to run multiple processes in parallel.
PHP Multithreading with cURL
Getting Started with Jenkins for PHP Developers
One popular continuous integration tool is Jenkins . (Jenkins is a recent fork of another continuous integration project named Hudson.) Although a Java-based solution, an active plugin community has made it possible to use Jenkins for far more than Java-specific projects. More recently it has become much easier for Jenkins' novices to use the project in conjunction with PHP projects thanks to the work of Sebastian Bergmann . Known as Template for Jenkins Jobs for PHP Projects , the project provides a configuration file which you'll use to enable Jenkins/PHP integration, and supports several popular familiar PHP tools such as PHP_CodeSniffer and PHPUnit .PHP er et programmeringsspråk som brukes på veldig mange nettsider. Oppgaven til PHP er å få nettsiden til å utføre forskjellige funksjoner. Dette kan f.eks være å gi en som besøker nettsiden din mulighet til å legge igjen en kommentar til en artikkel du har skrevet (f.eks slik som under denne artikkelen.)
Kom i gang med PHP | MegaMagasin
Jeg har tidligere hevdet at utviklere som ønsker å lære seg et dynamisk programmeringsspråk bør holde seg langt unna PHP . Jeg tviler på at det finnes noe annet språk hvor det er skrevet like mye drittkode. Likevel tok jeg meg selv i å si på et forum nylig at jeg nå faktisk vurderer å anbefale dem som ønsker å begynne med webutvikling å starte med nettopp PHP. Som fersk IT-konsulent ble jeg kastet ut i et webprosjekt som skulle benytte PHP.
PHP ikke djevelens verk likevel
[20-Mar-2012] The migration of the PHP source code from Subversion to Git is complete. You can clone or fork the source from our GitHub mirror , and we also now support pull requests made via GitHub. The source is also available via git.php.net , and full instructions on cloning the php-src tree can be found at php.net/git .

