News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

Tiffany Brown's Blog:
Debugging tip "Disallowed Key Character" error in CodeIgniter
0 comments :: posted Wednesday May 07, 2008 @ 12:09:29
voice your opinion now!

CodeIgniter fans might want to take note of this tip from Tiffany Brown concerning "disallowed key character" error messages.

After 6 hours of massive anxiety, stress, near tears, one pound on my desk, and some hair pulling, I tracked down the source of a nagging Disallowed Key Character error that I received while using CodeIgniter: an extra line break.

She eventually figured out that the newline and carriage return characters are not allowed as a part of the framework. Unfortunately, it was a random newline after a controller's code that did it for her.

tagged with: codeigniter framework debug tip newline carriagereturn


PHPBuilder.com:
Validating PHP User Sessions
0 comments :: posted Monday April 07, 2008 @ 11:12:33
voice your opinion now!

On PHPBuilder.com, there's a new tutorial about validating user sessions - ensuring that data in your user's sessions is valid and isn't an attack trying to sneak in.

In a nutshell, sessions are the way that we "maintain state" from one page to the next, that is, how we identify specific users across multiple page requests. The ability to track users as they go from one page to the next using sessions allows us a number of options, such as tracking where they are going (web statistics) or to verify credentials for a specific section of the site.

First, there's a little mini-intro to sessions for those unsure on their use. It's followed by a look at some session vulnerabilities that could be introduces by malicious users looking to break things on your site (including HTML/Javascript injection, as their example shows).

They recommend a three step plan to get started with the validation of your user's sessions - making it easy for users to log out when they want to, use unique aspects of the remote machine to define the session and to validate all user input, especially things that will be put into a session variable.

tagged with: tutorial session security tip vulnerabilities injection validate

PHPClasses.org:
Top 10 tips to get better PHP jobs
0 comments :: posted Thursday April 03, 2008 @ 12:58:01
voice your opinion now!

On the PHPClasses.org blog, there's an article from Manuel Lemos that gives ten tips trying to help you get a better PHP job (they're all the way at the bottom, just scroll down).

The list of tips include things like:

  • Qualify yourself to stand out from the crowd
  • Get more exposure to yourself in the PHP community
  • Do well on job interviews
  • Evolve in your career making your employer profit more

Check out the post for more great tips.

tagged with: better tip job employment phpclasses

Matthew Weir O'Phinney's Blog:
Vim Productivity Tips for PHP Developers
0 comments :: posted Monday March 24, 2008 @ 07:58:31
voice your opinion now!

Matthew Weir O'Phinney has posted a few handy tips for PHP developers fond of working in one of the most powerful command-line editors, Vim.

I use Vim for all my editing needs -- TODO lists, email, presentation outlines, coding in any language... everything. So, I thought I'd start sharing some of my vim habits and tools with others, particularly those that pertain to using Vim with PHP.

He includes tips for things like mapping keystrokes (to the PHP interpreter and linter), using the Project plugin to make setting up projects easier and a mention (again) of ctags.

tagged with: vim editor productivity tip developer project keystroke ctag

The Bakery:
10 New CakePHP Articles, Tutorials and Helpers
0 comments :: posted Thursday February 21, 2008 @ 08:42:00
voice your opinion now!

The Bakery (the CakePHP repository) has posted lost of great new content to their site recently. Here's just a taste:

Also be sure to check out the rest of The Bakery for more great CakePHP-related articles, tutorials and helpful hints.

tagged with: thebakery cakephp framework tutorial tip article helper

Developer Tutorials Blog:
And the winner of the most important security tip competition is...
0 comments :: posted Friday February 15, 2008 @ 09:31:00
voice your opinion now!

The Developer Tutorials blog has posted their "winner" of a list of things to do to keep you and your website secure:

When it comes to PHP security, you often think of input filtering, SQL injection prevention, XSS in user submitted content and so on. Well, forget about that. They're all pretty trivial compared to what I feel is by far the most important security issue of any web application. Read on to find out why.

Their number one thing to do to keep safe and secure? "Keep your systems updated." They point out that security a web site is one thing but securing the system that it runs on/has been developed on is another (and improperly patched, it could cause some huge problems).

Now, the best way to keep on top of potential vulnerabilities in your underlying systems is with updates. Sometimes, however, you need to go a little further. [...] Watching the web is also a good idea; major security vulnerabilities generally make it to the front page of Digg.
tagged with: security tip important system update patch development

Gennady Feldman's Blog:
Performance tips, APC vs Eaccelerator
0 comments :: posted Tuesday February 12, 2008 @ 10:27:34
voice your opinion now!

Gennady Feldman, in light of some of the recent talk about enhancing the performance of your PHP applications, has written up this new post comparing two of the more favored software packages - APC and Eaccelerator.

Some websites use other technologies like Java and face the exact same problems. There are different variables involved here and the most common one is database. So I thought i would post a couple of articles related to performance and tuning.

This this post of the series focuses on the first of the two - APC - and talks about places it's used and includes some general performance recommendations. These include "Don't try to throw everything at your poor database" and the importance of XDebug.

tagged with: apc eaccelerator performance tip database xdebug

Nick Halstead's Blog:
Programming Tips #9 "debug_backtrace"
0 comments :: posted Monday February 11, 2008 @ 10:33:00
voice your opinion now!

Nick Halstead continues the "Programming Tips" series on his blog today with tip number nine (a very handy tip indeed) - using debug_backtrace from Larry Garfield.

Despite the proliferation of debugging tools, especially real-time debuggers, "debugging by print statement" remains the most common form of debugging in most programming languages.

An example of its use is included by way of a debug() function that returns the message it a bit friendlier format.

tagged with: debugbacktrace error debug programming tip


framework database releases code zendframework pecl package conference cakephp job zend mysql ajax developer PEAR security release PHP5 book application

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework