 |
| ::: T4VN Statistics ::: |
PHP Scripts : 65 |
PHP Example : 67 |
PHP Tutorials : 21 |
PHP News : 93 |
Total Coupon : 36 |
Other Tutorials : |
Member : 266 |
|
 |
 |
DevShed: Working with Prepared Queries with PDO Objects in PHP 5[2007-06-12 23:08:03]
DevShed concludes their series looking at the use of PDO objects in PHP5 with this last tutorial focusing on the use of prepared queries in your PHP application.
In this last tutorial in the series I'm going to show you how to run prepared queries, but in this case we're going to include named parameters into them. Additionally, I'm going to take a quick look at some additional methods bundled with this extension. These new methods can be really useful for working with transactions, in case you want to use this feature with the database system of your choice.
They start with a simple approach to using prepared queries before moving on to an alternate method - binding parameters to the query via bindParam. They wrap up the article with a look at using transactions, both commits and rollbacks.
|
PHPBuilder.com: Installing Apache and PHP under Win32[2007-06-12 23:06:52]
PHPBuilder.com has a quick tutorial posted today about getting Apache and PHP installed on your Windows machine easily.
If you are on this site, we're sure that you already know that PHP is a server side web programming language. Its purpose is very similar to ASP, but in my opinion, it's better. There are more databases available to use with it and ASP can only communicate with Access and SQL servers. PHP can communicate with SQL Server, MySQL, mSQL, and several others, but that is not the topic of this tutorial.
The tutorial is broken up into a few simple steps:
+ Installing and configuring Apache
+ Installing PHP
+ Configuring Apache to work with PHP
And you're done - test it by making a sample PHP page (like a phpinfo() one) and see if everything's up and working.
|
PHPBuilder.com: PHP and Regular Expressions 101[2007-06-05 09:47:35]
On PHPBuilder.com today, there's a new tutorial covering one of the more powerful things you can use in PHP to manipulate strings (and similar data) - regular expressions.
A regular expression is a specially formatted pattern that can be used to find instances of one string in another. Several programming languages including Visual Basic, Perl, JavaScript and PHP support regular expressions, and hopefully by the end of this primer you should be able to implement some basic regular expression functionality into your PHP pages.
They start with the basics of what they are and take a brief look at the two different types of functions that PHP has to offer for their use (the ereg* group and the preg* group).
|
Community News: phpAspect Project Revived[2007-06-05 09:46:53]
If you've been looking for more information on the phpAspect project but have been sad to note it having fallen by the wayside, you'll be happy to know that Willliam Candillon is alive and well and so is the project!
The first news concerns the windows developers, the windows build of PHP_Parse_Tree is finally available (click here to download)! [...] The second news is that my proposal "phpAspect eclipse plugin" for the Google Summer of Code 2007 under the mentoring of Gilles Vanwormhoudt has been accepted!
Be sure to keep an eye on the project's website and their Summer of Code page to keep up with the latest.
|
SitePoint PHP Blog: Good and Bad PHP Code[2007-05-29 01:02:14]
On the SitePoint PHP blog today, Kevin Yank shares his thoughts in the form of a list for what makes for "good" and "bad" PHP code.
When interviewing a PHP developer candidate for a job at SitePoint, there is one question that I almost always ask, because their answer tells me so much about the kind of programmer they are. Here's the question: "In your mind, what are the differences between good PHP code and bad PHP code?"
Among the items on the list for the good side are things like: structure, consistency, security, and portability. He gives a bit of example code that shows the three levels of "goodness" in a script (using $_GET variables).
|
Secunia.com: SUSE update for PHP[2007-05-26 21:21:13]
Secunia has release a new advisory for SUSE linux users to point them to the update of the PHP packages on their system to correct a highly critical issue.
SUSE has issued an update for php. This fixes some vulnerabilities, where some have unknown impacts and others can be exploited by malicious people to disclose potentially sensitive information, to bypass certain security restrictions, to cause a DoS (Denial of Service) and potentially to compromise a vulnerable system.
Operating systems included in the advisory are systems running SUSE Linux, UnitesLinux, and openSUSE linux. Package updates are linked from the advisory so you can quickly and easily update your packages.
|
Stefan Esser's Blog: PHP 4 - Reference Counter Overflow Fix[2007-05-21 10:49:04]
Stefan Esser has a new post mentioning a new patch that he's created to help correct an issue with the ZVAL Reference Counter that could cause a buffer overflow in an application.
When a PHP application is run in PHP 4 it can overflow the variable reference counter because it is only 16 bit wide. Whenever this happens it will result in a double destruction of the underlying variable. A local attacker can easily create PHP code that uses such a double destruction to execute arbitrary code within the process executing PHP (e.g. webserver process). This allows bypassing restrictions enforced by disable_functions, open_basedir, SAFE_MODE or to launch direct local root exploits against the target system.
The patch [tar.gz] fixes the issue and keeps from breaking anything from the past (backwards compatibility). You can either grab it now and apply it to your distribution (the sooner the better) or wait until it gets merged into the PHP CVS version and released with the next bug fix release.
|
Community News: Dutch PHP Conference Announced[2007-05-19 21:01:57]
As mentioned by Ivo Jansch today, a new conference has sprung up to somewhat take the place of the canceled Int't PHP Conference among the Dutch PHP community - the Dutch PHP Conference.
The conference is organized by Ibuildings with the help of Zend, and is targeted at a Dutch audience. We are still finalizing the program but we already have quite a lineup, with speakers such as Cal Evans, Lukas Smith, Kevlin Henney and Gaylord Aulke (all present in the PHP card deck ;-)).
In total there will be 12 presentations divided over 3 parallel tracks. The Dutch PHP Usergroup will arrange an exhibition area where open source PHP project can show off their projects.
You can get complete information on the conference, including the location and some of the topics to be covered/tracks from their website. The conference will be a one-day event happening June 16th, 2007.
|
Previous 123456 7 89101112 Next
|
|

|
 |
| ::: Resources ::: |
|
|
| ::: New Templates ::: |
|
| ::: Other Tutorials ::: |
|
 |