News Feed
Jobs Feed
Sections




News Archive
feed this:

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

PHPMagazine.net:
Hello PHPUG ?!
September 29, 2010 @ 12:02:47

On the PHPMagazine.net site there's a new article about PHP user groups and some of the resources that can be used to help find one in your area.

Part of this community a lot of core developers, documentation editors, web application developers, hackers, Quality assurance team, tons of open source projects, PHP UG around the world, and many many other people contributing each one in its category, and even friends and family! Users Group are an active element of the PHP ecosystem, and I believe that everyone should be involved to contribute and keep these UG active around the world.

Some of the efforts that he's pointed out from the past are the phpgroups.org site, phpusergroups.com as well as the sharemymap.com effort to map the groups out. Unfortunately there's no single resource that you can point to that has a full listing.

0 comments voice your opinion now!
usergroup resource locate map


Eran Galperin's Blog:
On the pitfalls of date validation with the Zend Framework
June 22, 2010 @ 12:58:43

On his techfounder.net blog today Eran Galperin talks about one of the issues you might currently see with the date validation in your Zend Framework application - a problem in the Zend_Validation_Date component related to its use of Zend_Locale.

Zend_Date tries to validate dates according to a given format (with a default fallback). The dangerous behavior is that it tries to convert the given format to a localized format using Zend_Locale. Zend_Locale attempts to detect automatically the locale of the requesting client, and it appears that on the machines that were exhibiting the bug, a different locale was determined than those I was testing it on.

His problem was when the method tried to parse a non-localized date format and ended up converting it based on the local machine's locale settings. To correct the issue, since he didn't really need the autodetect local feature anyway, he just manually set the locale in his bootstrap via a registry setting.

0 comments voice your opinion now!
zendframework zenddate validation locate issue


LifeHacker.com:
Synchronize Google Voice with Your GPS Location
March 01, 2010 @ 13:28:49

On LifeHacker.com there's a tutorial on how you can use a simple PHP script running on a remote server to tell Google Voice which is the best phone to forward your calls to. The method requires the use of an Android phone, though.

I figure the only way Google Voice could be improved is if it magically knew where I am and made my phones ring accordingly'"so that's exactly what I made it do. You can, too, with an Android phone, the Locale app, and a web server. The overall goal: have Google Voice know which phones to ring, based on your current location or situation.

You'll need a Google Voice account (obviously), some software for your phone and a remote web server running PHP 5 (with cURL and json functionality). You can then use the PHP script by passing parameters as to which phones to turn off and on and use the Locale tool to create the "situations" where it needs to make the switch.

1 comment voice your opinion now!
syncronize googlevoice gps location tutorial locate


Douglas Brown's Blog:
Quick Methods Used for Solving PHP Errors
December 30, 2008 @ 07:57:21

Douglas Brown has posted some hints to help you find errors in your PHP scripts all centered around error reporting settings.

There are several methods to solve errors in PHP code. Sometimes when the user waits to see an output a blank page will be shown if there is an error. To show the errors E_ALL^E_STRICT is used for the PHP 5 version. Contrarily, remaining versions just use E_ALL.

He talks about the log_errors and display_errors settings in your php.ini, the error_reporting function call or a custom error handler as shown in this example from the PHP manual.

0 comments voice your opinion now!
solve locate error errorreporting logerrors displayerrors fatal


IBM developerWorks:
Command-line PHP? Yes, you can!
March 19, 2007 @ 09:54:00

On the IBM developerWorks website, there's a new article that works to show some of the benefits of working with PHP code on the command line and some helpful ways to debug the code.

Of course, just the fact that you can use PHP on the command line isn't necessarily the best reason for doing so. However, you might quickly find several pleasant surprises when you first begin to experiment with PHP in this way. [...] In fact, there's really nothing stopping you from using PHP as your Swiss Army knife for almost any given programming project.

They walk through the installation and a sample of the debugging before getting into the more complex methods of finding and fixing errors, using the PHP I/O channels and the creation of your first command-line script (including the use of arguments).

0 comments voice your opinion now!
commandline install debug error locate inputoutput channel commandline install debug error locate inputoutput channel


David Coallier's Blog:
PEAR now mapping developers!
December 12, 2006 @ 09:37:00

David Coallier has an update today on the effort to get PEAR developers all over the world mapped out to a Google map to show their locations - one that's finally been launched.

Over the past weeks we have had many people asking around if it would be possible to have a place to see the pear developers around the world. Well now Christian Weiske and I (With the help of Arnaud Limbourg) have put up a nice little map system on pear.php.net. You can see it at http://pear.php.net/map/

David also links to images of some of the administration panels for the application (one, two, three) and the connection information for a web service (REST) that allows access to all of the data.

0 comments voice your opinion now!
pear map developer google locate administration pear map developer google locate administration


Etienne Kneuss' Blog:
PHPT Generator used to discover documentation problems
December 07, 2006 @ 16:08:25

Etienne Kneuss has an update on the PHPT Generator project posted to his blog, mentioning specifically how it was used to discover documentation problems in the generated phpt files.

The main use of those phpt files was to have an easy way to check examples used in the documentation. Along with a php script analyzing the results and Hannes' great testing environment, I was able to generate a summary of the examples failing.

The results show that over 50% of the documents passed the test, with the rest split between failing because of missing extensions (9%) and because of an error in the example (41%).

0 comments voice your opinion now!
phpt generator documentation problem locate results phpt generator documentation problem locate results


PHP-GTK Community Site:
Locating PHP-GTK developers
December 04, 2006 @ 09:58:00

In true tech fashion, the PHP-GTK Community Site is offering a new feature for the users (and viewers) of their site - a geolocation web service that helps you see locations of other site members.

The site offers "geo-nick", a simplistic API to obtain this [latitude and longitude] information coupled with the optional IRC nick field, to allow any developer to create mashups showing community PHP-GTK developers, as identified by nickname (no actual name information is made available through this API) on a map.

The post includes an example of how to use the API - what package to call and what the message should contain. The results are passed back in an array of nickname, lataitude, longitude.

Piggybacking on this new service, they also have a new tutorial showing how to access and use this service from a simple PHP-GTK2 application. It just grabs the results and dumps them into a simple text area in a window.

0 comments voice your opinion now!
locate developer phpgtk2 longitude latitude web service api locate developer phpgtk2 longitude latitude web service api


Ilia Alshanetsky's Blog:
Reliably locating phpinfo()
October 23, 2006 @ 11:26:00

In his latest post, Ilia Alshanetsky shares a handy (and a little scary) tip on finding the location of a phpinfo page reliably to help figure out the common PHP settings developers out there are using.

The problem with finding a reliable pool of such pages is that basic search often contaisn many blog, forum, bugs.php.net and alike entries which area copy & paste outputs from users. This maybe fine in some instances, but what if you just want the real phpinfo() pages. The answer is surprisingly simple.

His solution? To search for an element always in the page, but unique to it - usually the term you're looking for (like his suggestion of "Zend Scripting Language Engine"). He links to two result sets, one from Google and the other from Yahoo.

Besides the phpinfo information, Ilia also mentions the other handy data you can find with similar searches to major search engines like Apache header information.

0 comments voice your opinion now!
phpinfo locate statistics search engine term keyword apache header phpinfo locate statistics search engine term keyword apache header



Community Events











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


release facebook podcast introduction overview hhvm language framework unittest component application performance security install symfony2 database opinion package composer hack

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