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

Jonathan Street's Blog:
MSN contact grab script included in 'meta' contact grabber
May 14, 2007 @ 12:38:00

In his search for "contact grabber" classes, Jonathan Street came across one posted to the PHPClasses.org website recently, the Contact Grabber class, and decided to give it a shot and report back his findings.

I haven't tried it yet but apparently it can connect to hotmail, yahoo, gmail, orkut, rediff and myspace. It is an impressive collection of scripts. [...] Generally speaking I wouldn't have a problem with the script being included in another project. In fact I would encourage it. In this instance though there are a few problems.

He breaks it up into a few different kinds of issues: inaccuracies, updates, licensing problems, and that the author wouldn't make contact back to Jonathan about some of his problems.

1 comment voice your opinion now!
meta contact grabber phpclasses script issues meta contact grabber phpclasses script issues


WaxJelly Blog:
The easiest way to scrape details from a MySpace profile page with PHP
March 20, 2007 @ 10:41:00

From the WaxJelly blog today comes a handy bit of code for anyone out there looking to scrape details from just about any MySpace page out there (quick and easy).

It's amazing how just a little optimization on the part of myspace makes crawling their site so much easier. We're going to scrape the user detail (name, age, sex, etc..) from a profile, using the header info...

The script grabs the contents of the given URL, loops through, pulls out the meta tag information and uses that as a key to grab the rest of the user's information (including name, age, city, state, etc).

0 comments voice your opinion now!
scrape myspace details meta city state country name scrape myspace details meta city state country name


Jonnay's Blog:
PHP vs. Javascript A shit vs. poo fight.
October 13, 2006 @ 07:38:00

Responding to this commentary from the SitePoint PHP Blog the other day, Jonnay has come up with some of his own thoughts on each of the topics mentioned.

Apparently there was some kind of PHP vs. Javascript fight, to see which language sucked the most. The results? Amazingly Banal, if not downright wrong.

Topics in each round of the fight included:

  • Syntax
  • Standard Libraries
  • Meta Programming
  • Error Handling
  • Garbage Collection
Jonnay comes back with his (differing) perspectives on a few of the items - syntax, scope/namespaces/packaging, meta programming, AOP, and an overall commentary in which he reminds readers that defending either side isn't easy when the voting audience might not fully understand one language or the other.

0 comments voice your opinion now!
javascript versus fight comments problems syntax scope meta javascript versus fight comments problems syntax scope meta


SitePoint PHP Blog:
The Joy of Regular Expressions [2]
September 27, 2006 @ 09:20:00

Harry Fuecks is back today on the SitePoint PHP Blog with part two of his "joy of regular expressions" series, continuing on from this previous entry.

He jumps right in, summarizing the first part in a small section before getting back into the examples:

  • Hunting for .jp(e)gs
  • Escaping Meta-Characters
  • Search and Replace
  • preg_quote()
  • preg_replace()
  • Word Boundaries, Word Characters...and everything else
  • Sub patterns
  • Spot the XSS Hole
  • eval() is evil!
  • preg_replace_callback()
As you can see, it's crammed with just as much infromation as the first part and covers a wide range of topics to help you get more in tune with your inner regular expression guru.

0 comments voice your opinion now!
regular expressions joy example tutorial part2 preg eval meta regular expressions joy example tutorial part2 preg eval meta


Experts Round Table:
HTTP Headers and the PHP header() Function
June 23, 2006 @ 06:16:18

From the Experts Round Table, there's this extended reference with an overview of HTTP headers (format and what raw HTTP connections look like) and what that means for PHP's header() function.

Many beginning and intermediate PHP programmers seem to think the header() function is some kind of strange voodoo. They work from examples and code snippets and are able to get things done with it, but they don't know quite how it works. That was certainly the way I regarded header() the first time I saw it.

In reality, it's quite simple. In this tutorial, I'll explain a little about how HTTP headers work, how they relate to PHP, and a little about their meta tag equivalents.

They go on to talk about what the HTTP protocol/headers are and how to "see the whole conversation" by telneting into a server on port 80. They explain what role the headers play in this. The rest of the tutorial goes into detail on PHP's header function. They mention redirection, refreshing the page after a few seconds, preventing page caching, and sending along the Content-type header to correctly identify the contents of your page (including things like dynamic images).

They also include (too) brief section covering the fact that some of the $_SERVER variables influenced by the HTTP headers should not be trusted. They specifically mention HTTP_REFERER.

0 comments voice your opinion now!
tutorial header function http meta tag telnet tutorial header function http meta tag telnet



Community Events





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


library version framework security voicesoftheelephpant symfony introduction laravel release podcast tool composer update series community language interview opinion mvc package

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