PHP Developer - December 14th, 2006
In a recent post to his blog, Mike Bernat gets down to basics with one of the key pieces of functionality in PHP data persistence - cookies vs. sessions.
Knowing the basics of cookies and sessions is essential to any successful PHP programmer. It is useful to store pieces information on the users computer for later use. Things like when they last visited, language of choice, age, etc. Cookies and Sessions are the perfect solution to our needs.
He talks about both, including demonstration code to clarify some points and a chart at the end to compare their features, strengths, and weaknesses.
Continue Reading ·
PHP Developer - December 14th, 2006
Working with multiple databases in your scripts can be a pain at times as Ligaya Turmelle found out in getting a PDO connection working to a SQL Server in one of her scripts.
My DSN just was not right and wouldn’t play - my host string was off and any permutation I used wasn’t working. Looked at the PDO docs, the DSN docs in the manual, connectionstrings.com and no love.
Her final fix involved setting up an “instance” of her SQL server to point to the host. Her code is included.
Continue Reading ·
PHP Developer - December 14th, 2006
To set things right about a misquote on Slashdot, Zeev Suraksi has posted this long statement mentioning what he really said and a few more personal opinions.
I’ve just been misquoted on Slashdot, as if I said there are no security problems in PHP itself, and that I instead point my finger only at inexperienced developers. If you read the original article on Heise Security, you’ll see that I have not said anything of the sort. […] I believe this is the belief of most others on the security team, but I’m only speaking on behalf of myself and do not represent them.
He also covers five more points pertaining to the article and the situation:
- Where the bugs/problems lie with problems in PHP
- Why there are security problems in web PHP applications
- Why the current security level can be partially blamed on the language itself
- An admission that yes, there are security problems in PHP
- And the track record the PHP developers have had in fixing these issues
There’s much more than just these brief highlights here, so I encourage you to head on over and check out the full post for yourself.
There are some other opinions on the matter from a few others out there too:
Continue Reading ·
Dev Shed - December 14th, 2006
In this second part of a three-part article you ll learn a few more ways to personalize the user environment in BSD such as adding some fun trivia setting up a trash directory and locking down your screen. It is excerpted from chapter one of the book em BSD Hacks em written by Dru Lavigne Copyright 2 5 O Reilly Media Inc. All rights reserved. Used with permission from the publisher. Available from booksellers or direct from O Reilly Media ISBN 596 6799 ….
Automatically Generate Code to Access Databases Get dynamic access to any relational schema without changing existing data. Evaluation Download.
Continue Reading ·