PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 1 to 20 of 214

Mark Hamlin's Blog: Debugging xdebug (tcp, dns, ubuntu, osx, vmware) ((all at once))

Mark Hamlin's Blog: Debugging xdebug (tcp, dns, ubuntu, osx, vmware) ((all at once))
In a recent post to his blog Mark Hamlin talks about some of his difficulties in getting XDebug and Netbeans working together from an OSX machine hitting a Ubuntu server.For the past 18 months working with PHP, i've primarily used alternatives, not out of preference, but because netbeans xdebug integration consistently failed me. It would (might) work with a remote apache, but would not play with scripts executed remotely from the command line. I could be fairly sure my xdebug config was sound as I no...

Reddit.com: How do you test email when in development?

Reddit.com: How do you test email when in development?
In this recent post to Reddit, a question is asked that's an issue for many developers testing the email sending abilities of their applications - how can it be tested effectively without outside services flagging you as a possible spammer.So how do you guys do it? My current solution is to just output the email template HTML straight to the browser, but this doesn't always work. [...] I have considered sending emails through to my GMail, but I run my tests quite often and I'm not sure Google would be...

How PHP is Broken and How It Can Be Fixed

How PHP is Broken and How It Can Be Fixed
PHP's development process has been broken for a long time, and the failures of that process have swelled since the first ripples began to appear many years ago. The process didn't necessarily take a downward turn at any point; rather, it seems there was never really a sufficient or sustainable workflow from the start. This is no surprise given the very fluid history of PHP though, and the lack of any sustainable processes may have even been one of the key things that allowed PHP to evolve so quickly into...

VentureBeat.com: Exclusive: Facebook opens up about open-source software

VentureBeat.com: Exclusive: Facebook opens up about open-source software
On VentureBeat today there's a post (the first of two parts) looking at Facebook's involvement in Open Source software, including their work on HipHop and XHP for PHP (an interview with David Recordon and Amir Michael).The social media company has, without question, taken the time to work on those projects. The hackers at Facebook have done perhaps more than any other single entity to advance and optimize PHP, the programming language on which the network is primarily built.They talk about some of the...

Tutorialzine.com: AJAX-enabled Sticky Notes With PHP & jQuery

Tutorialzine.com: AJAX-enabled Sticky Notes With PHP & jQuery
On the Tutorialzine.com site there's an interesting (though a bit older) tutorial showing you how to combine jQuery, PHP and some CSS+HTML to make a simple sticky note application complete with multiple note support and drag-and-drop abilities.Today we are making an AJAX-enabled Sticky Note management system. It will give visitors the ability to create notes with a live preview, and move them around on the screen. Every movement is going to be sent to the back-end via AJAX and saved in the database.They...

Liip Blog: 2-Step Verification with Google Authenticator and PHP

Liip Blog: 2-Step Verification with Google Authenticator and PHP
On the Liip blog there's a recent post talking about a tool Google offers to help you authenticate your users, a one-time passcode generator called Google Authenticator. The post talks about a PHP port of the same idea.The main point about 2-step verification is that something else than your computer provides that token. If it's on your computer and that one gets stolen (or hacked into), it won't help much for the additional security. That's why you need a second device for those tokens. Some banks do...

Chris Jones' Blog: PHP 5.3.8 RPMs are on oss.oracle.com

Chris Jones' Blog: PHP 5.3.8 RPMs are on oss.oracle.com
Chris Jones has posted a quick note to his blog today about some new PHP packages that are available from Oracle of 5.3.8 (RPM) with one of the latest OCI8 extensions already included.I've built PHP 5.3.8 RPM packages with various common extensions (and the latest OCI8 1.4.6) for Linux x64. They are downloadable at oss.oracle.com/projects/php/. These binaries might be useful for quick testing. They are unsupported.He points to packages on the ULN site if you're looking for something a bit more stable....

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Auth Class REG_template Namecheap PHP Wrapper SWFUpload Class Page Crawler xss police Ace Media Image Inlinks Imagedit Pro CAPTCHA IMG Zodeken - Code generator for Zend Framework

User Group: South Florida PHP Users Group (Boca Raton, FL)

User Group: South Florida PHP Users Group (Boca Raton, FL)
Adam Culp has written in to tell us about the South Florida PHP Users Group that's been formed for the area. They're going on about a year's worth of meetings now and show no signs of stopping.The South Florida PHP Users Group is geared toward uniting and growing the PHP community of South Florida. With monthly events in the Palm Beach, Boca Raton, and Ft. Lauderdale areas.The group currently meets at the Revelex Corporation offices and holds their meetings on the second Wednesday of every month. The...

Matthew Wells' Blog: Kohana and Gearman - Practical Multitasking

Matthew Wells' Blog: Kohana and Gearman - Practical Multitasking
Matthew Wells has a new post that looks at combining Kohana and Gearman to create a system to handle large data processing without slowing down the rest of the application.A commonly identified bottleneck arises when dealing with large, 'expensive' data. This is commonly seen when an application posts a large volume of well structured data to the API (that some process must be carried out upon), before some form of structured receipt is then returned as a request response. [...] Analysing such a request...

Fake Google SSL Certificate

Fake Google SSL Certificate
When I heard the news that a root CA named DigiNotar had issued a fradulent Google SSL certificate, the first thing I wanted to do was make sure my computer was safe. This is a quick post to help you do the same. Since I use a Mac, my first stop was Keychain Access. I quickly found the DigiNotar root certificate.Next, I removed all trust.This takes care of Safari and Chrome. I went through a similar process for Firefox, and have since discovered a detailed post from Mozilla showing you how to do exactly...

VXTIndia Blog: How to setup your new VPS Ubuntu server

VXTIndia Blog: How to setup your new VPS Ubuntu server
On the VXTIndia blog there's a recent post that gives you a very complete guide to setting up a VPS server running Ubunut with all of the software you'd need to get a (more than) complete server up and running.Every time you purchase a new Linux VPS, you need to go ahead and set it up for use. Even though we manage to do one server a month, we always seem to forget one thing or the other. So we decided to write down the things that we do. I thought it would be a good thing to share it with everybody as...

Alessandro Nadalin's Blog: Behaviour what?

Alessandro Nadalin's Blog: Behaviour what?
In a recent post to his blog Alessandro Nadalin looks at a different approach to development than the usual code-first, ask questions later style, behavior-driven development, and a tool that can help you follow this method - Behat.Although this requirement is not mandatory, BDD's power is leveraged by using stories. It basically assumes that instead of focusing on tests, we should start our development process writing down a story that a parser can translate into a test (a customer cares about features,...

Lorna Mitchell' Blog: PHP OAuth Provider: Access Tokens

Lorna Mitchell' Blog: PHP OAuth Provider: Access Tokens
Lorna Mitchell has posted the latest in her look at OAuth in PHP to her blog today, an introduction to access tokens - generating and handling them in your application.I've been working with OAuth, as a provider and consumer, and there isn't a lot of documentation around it for PHP at the moment so I thought I'd share my experience in this series of articles. [...] This entry follows on from the ones about the initial requirements, how to how to handle request tokens, and authenticating users.In this...

Community News: Latest PECL Releases for 08.30.2011

Community News: Latest PECL Releases for 08.30.2011
Latest PECL Releases: mongo 1.2.4 varnish 0.3 ibm_db2 1.9.2 varnish 0.4 varnish 0.4.1 varnish 0.6 timezonedb 2011.9

PHP OAuth Provider: Access Tokens

PHP OAuth Provider: Access Tokens
I've been working with OAuth, as a provider and consumer, and there isn't a lot of documentation around it for PHP at the moment so I thought I'd share my experience in this series of articles. This relates to the stable OAuth 1.0a spec, however OAuth2 has already started to be adopted (and differs greatly). This article uses the pecl_oauth extension and builds on Rasmus' OAuth Provider post. This entry follows on from the ones about the initial requirements, how to how to handle request tokens, and...

Why do I ask you to rate Fox_captcha?

Why do I ask you to rate Fox_captcha?
Why do I ask you to rate Fox_captcha? By Said Bakr In this article I am asking you to that found Fox_captcha package useful to rate it.

Fake *.google.com SSL certificate in the wild

Fake *.google.com SSL certificate in the wild
Interesting news passed by today, apparently a fraudelent SSL was issued by Diginotar, effectively allowing wrong-doers to perform MITM attacks for all google services. Normally fake certificates will clearly error up in the browser, but because Diginotar is a trusted CA (certificate authority) it won't. This says something about how much we can trust SSL. All it takes is one corrupt employee at a trusted CA and it falls down. CNET has pretty good coverage of the story.

Gonzalo Ayuso's Blog: Building a small microframework with PHP (Part 2). Command line interface

Gonzalo Ayuso's Blog: Building a small microframework with PHP (Part 2). Command line interface
Continuing on with his previous investigations into microframworks and what it takes to create them, Gonzalo Ayuso has posted his second part of the series - a look at working on the command line.In my last post we spoke about building a small microframework with PHP. The main goal of this kind of framework was to be able to map urls to plain PHP classes and become those classes easily testeable with PHPUnit. Now we're going to take a step forward. [...] It's pretty straightforward to create a command...

The basics of having successful remote team members

The basics of having successful remote team members
aoSo how did you find a job with Sugar?a This is one of the first set of questions that always comes out when people ask me about what I do (alongside aoWhat's SugarCRM?a, aoWhat is CRM?a, andAaWhere's Ohio?a). I can actually see how this is a pretty relevant question; SugarCRM has no presence in Ohio other than me (although now just recently another fellow just joined us). And it's not like SugarCRM was doing some sort of hiring campaign in Ohio at the time; heck, Northeast Ohio isn't exactly what I'd...