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

Leonid Mamchenkov's Blog:
Perl vs. PHP variable scoping
December 12, 2008 @ 08:49:14

Leonid Mamchenkov has compared Perl versus PHP in this new blog post - specifically how they handle variable scoping.

I've mentioned quite a few times that I am a big fan of Perl programming language. However, most of my programming time these days is spent in PHP. The languages are often similar, with PHP having its roots in Perl, and Perl being such a influence in the world of programming languages. This similarity is often very helpful. However there are a few difference, some of which are obvious and others are not.

His example compares looping (a foreach in both) and how, after the Perl loop the $value variable is no longer accessible. In PHP, however, it's passed back out into the current scope and can be read just like any other variable. While this can be useful, it can also cause headaches when trying to track down elusive bugs.

1 comment voice your opinion now!
variable scope foreach loop local outside compare


Melvin Rivera's Blog:
Approving comments outside WordPress
November 28, 2008 @ 09:43:22

Melvin Rivera has come up with a quick script that allows you approve comments outside of your WordPress installation:

The job of approving comments sometimes falls on a person who does/should not have access to the WordPress admin. By design WordPress only allows a user with admin privileges to do this job. I wrote an an External Web Interface for approving pending WordPress comments via XMLRPC.

You can download the source from the Google Code site for the project and check out a screencast in his blog post.

1 comment voice your opinion now!
approve comment outside wordpress blog xmlrpc


Zend Developer Zone:
PHP Security Tip #19 (Securing Your Connection)
March 29, 2007 @ 12:36:00

The Zend Developer Zone has posted their latest security tip today - this time dealing with the actual connection your application sits on (from Chris Hartjes).

The most secure application is one with no connection to the outside world.

As we've covered, you can't really disconnect the network from your web server if you are building web applications. You can however, carefully consider which servers need to be connected to the outside world and which can be inside your firewall. Beyond that, you can also evaluate how those servers that have to remain outside your firewall communicate with the ones inside.

No, his suggestion is not to take your application "off the grip" but more to limit access to things like database servers to help protect the data that lives inside it.

0 comments voice your opinion now!
securitytip application secure outside database firewall server securitytip application secure outside database firewall server



Community Events





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


conference library series opinion laravel release deployment interview bugfix podcast zendserver developer language list community api introduction tips framework symfony

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