News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
feed this:

DevShed:
Reading, Writing and Creating Files in PHP
August 23, 2006 @ 08:59:30

DevShed has a new tutorial posted today with a look at one of the more common tasks performed with PHP (second to generating web pages, of course) - working with files. It can be a little tricky for a budding PHP programmer, but they've got the info you need to get started.

Reading and writing to files can be useful if you do not require the storing of important data, such as a web counter. I must warn you though, that this method of storage should not be used to store passwords and other critical information, as it is not safe. Here we will discuss how to handle files and directories in PHP, specifically, how to create, read and write them.

They start off with a look at file permissions on both Unix and Windows systems ot give you an idea of what problems they could cause. Then, it's on to the actual files themselves - for this part, though, they only look at reading them in and working with their contents.

0 comments voice your opinion now!
tutorial reading writing creating files part1 permissions tutorial reading writing creating files part1 permissions



Sara Golemon's Blog:
The government will disavow any knowledge of your existence.
July 25, 2006 @ 05:35:47

If you were planning on attending the php|works conference in the fall and getting to hear Sara Golemon talk on extensions, you might just have to wait. According to her latest post, things haven't gone well with her passport situation.

So awhile ago I announced that I'd be speaking at php|works including a 3-hour workshop on extension writing. Knowing that the conference was outside of the US I made sure to apply for my passport well in advance (four months to be precise).

Well, long story short, the lovely folks at the state department must have confused 'Sara' with 'Syria' because I've been fighting them over the issuance of my passport ever since.

All is not lost, though - since the show must go on, Sara has found two people to take over her two talks (the extension talk and one on PDO_User).

0 comments voice your opinion now!
passport issues phpworks2006 extension writing pdo_user passport issues phpworks2006 extension writing pdo_user


Marcus Whitney's Blog:
A/R/T Is Seeking Columnists
June 19, 2006 @ 13:44:58

Marcus Whitney has a quick note today on his blog about php|architect's search for columnists to write for their A/R/T article repository.

Just a heads up to all you incredible PHP writers out there. I am actively looking for columnists to contribute to A/R/T on a weekly, bi-weekly and monthly basis. If you want to get lots of paid experience as a technical writer, contact me at marcus-AT-phparch.com. Thanks.

Check out some of the current articles already posted there to get an idea of what they're looking for - things like Writing an Ajax-based Visual Rating System with PHP and An Overview of the CakePHP Framework.

0 comments voice your opinion now!
a/r/t columnists writing paid article repository a/r/t columnists writing paid article repository


Zend:
Extension Writing Tutorials - Resources (Part 3)
May 12, 2006 @ 16:30:46

The Zend site has published part three of their "Extension Writing" tutorials, this time focusing on the management of resources in your extensions.

Up until now, you've worked with concepts that are familiar and map easily to userspace analogies. In this tutorial, you'll dig into the inner workings of a more alien data type - completely opaque in userspace, but with behavior that should ultimately inspire a sense of deja vu.

They start things off by describing what resources are in the Zend Engine, initializing your resources, using them, and destroying them. They mention different kinds of resources, including normal and persistent resources. There's code for each step of the way, including a sanity check at the end.

1 comment voice your opinion now!
php extension writing tutorial resources management part3 php extension writing tutorial resources management part3


IBM developerWorks:
Reading and writing the XML DOM with PHP
December 08, 2005 @ 08:18:57

On the IBM developerWorks page today, there's this new tutorial dealing with reading and writing XML with the DOM functionality in PHP.

Myriad techniques are available for reading and writing XML in PHP. This article presents three methods for reading XML: using the DOM library, using the SAX parser, and using regular expressions. Writing XML using DOM and PHP text templating will also be covered.

They look at what XML is, how to read it into PHP (with examples of DOM, SAX parsers, and regular expression methods), and writing out XML. The DOM functionality that they use for the examples is the newer, PHP5-compatable methods...

0 comments voice your opinion now!
php xml reading writing dom php5 php xml reading writing dom php5



Community Events







Don't see your event here?
Let us know!


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

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