News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
How I Faked Scheduled Database Dumps Without Cron
March 27, 2012 @ 11:06:05

On PHPMaster.com today there's a new tutorial about a way to simulate cron jobs to dump the contents of a database with a simple script that fires off based on the last login time of a certain user (using the MySqlDumper tool).

My program required a accurate username and password to present its features to the user, and there is one predefined user who is idle most of the time and does just two things: wipe stale database entries and restore the database when needed. According to my login procedure, each time a user successfully logs in the system automatically updates the last login date to the current date. And that was the hint I desperately needed.

A brief snippet of code is included showing how he implemented the solution - MySQL commands and parameters defined in constants and called only when the last login time is less than "today".

0 comments voice your opinion now!
cron mysqldumper tutorial last login


Symfony Blog:
3 years after symfony 1.0 Last release!
January 28, 2010 @ 09:16:38

As announced on the Symfony project's blog today, they are officially announcing the last release of the 1.0 series in favor of the 1.4 releases.

The 27th of January is kind of an important date in mankind history. Of course, everybody know it is the birthday of Wolfgang Amadeus Mozart and the date of the invention of the light-bulb by Thomas Edison. To this list, the core team is proud to add the last release of the symfony 1.0 branch: symfony 1.0.22.

It's been three years since the first release in the 1.0.x series was made and a lot of progress has come along since then (including a few other branches) including over 163,000 lines of code, 22 stable releases and more than 300 plugins. You can grab the latest from their 1.4.x series (currently 1.4.1) from thier download page either as a package or as a checkout from their Subversion repository.

0 comments voice your opinion now!
release endoflife last branch


Zend Developer Zone:
It's Framework Roundup Time!
April 10, 2006 @ 07:46:36

With all of the flurry going around on the mailing lists for the Zend Framework development, it's easy to see how one could get lost. So, to help make sense of all of it, the Zend Developer Zone presents their second weekly roundup of all things Framework for the last week.

Wow, after 2 weeks of steady growth and activity, the mailing list traffic took a pause early this week. It looked like I was going to get a vacation but apparently last night everybody discovered the "Send" button and things kinda got out of hand. C'mon people, help me out here, I get paid by the word on these things. Post often, daddy needs a new Mac!

There's mention last week of: an Ajax extension, authorization/access control lists, the Zend_Registry extensions, a Japanese translation of the ZF manual, and the proposal of a Zend_Tree extension, and a large discussion on the integration of web services functionality into the framework.

0 comments voice your opinion now!
framework zend roundup last week framework zend roundup last week



Community Events





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


install api community laravel framework interview deployment tips language list release podcast bugfix opinion voicesoftheelephpant library package introduction series symfony

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