Archive for the ‘Free downloads’ Category


April 23, 2008 by Alex Polski | No Comments »

How to check Alexa Rank in PHP

It’s more simpler than you think! Just use my SEO helper for CodeIgniter like in this example:

$this->load->helper('seo');
echo alexarank('alexpolski.com');

Note that SEO helper requires Curl library.

You can download SEO helper 1.1 for CodeIgniter here.

Share and Enjoy:
  • del.icio.us
  • Digg
  • Reddit
  • Ma.gnolia
  • Technorati
  • Propeller
  • Facebook
  • StumbleUpon
  • Furl
  • blogmarks
  • Google
  • YahooMyWeb
  • E-mail this story to a friend!


April 20, 2008 by Alex Polski | 3 Comments »

Curl library 1.1 for CodeIgniter

I continue to develop Curl library for CodeIgniter and today’s blog post is about the new version. What’s new in this release?

First of all, request and response headers are supported now. You may specify your own request header in http_get and http_post methods:

$headers = array(
  'Authorization: AuthSub token="' . $_POST['token'] . '"',
  'X-Google-Key: key=' . $developerKey,
  'Content-Type: application/atom+xml'
);
$this->curl->http_post($url, $postfields, $headers);

As for response headers, you have an access to them now through the $headers variable:

echo $this->curl->headers;

One more feature that I want to tell you is automatic redirect support. Look at this code:

$this->curl->http_get('http://google.com');

Curl library will parse headers (or use CURLOPT_FOLLOWLOCATION curl option if possible) and automatically redirect to http://www.google.com.

To know what’s the final URL of HTTP GET/POST operation you can use $url variable:

echo $this->curl->url;

If for some reasons you do not want to use automatic redirect feature, use this code:

$this->curl->open(array('follow_location' => false)); // during initialization
// or
$this->curl->follow_location = false;

And the last thing I want to tell is a small bonus: abs_url function which will help you to convert relative URL to absolute one.

$absolute_url = $this->curl->abs_url('../test.html', 'http://example.com/path/to');

Download Curl library 1.1 for CodeIgniter

Share and Enjoy:
  • del.icio.us
  • Digg
  • Reddit
  • Ma.gnolia
  • Technorati
  • Propeller
  • Facebook
  • StumbleUpon
  • Furl
  • blogmarks
  • Google
  • YahooMyWeb
  • E-mail this story to a friend!


April 18, 2008 by Alex Polski | 8 Comments »

Finally, Mass PageRank Checker tool!

Ladies and gentlemen! Let me to tell you good news - Mass PageRank Checker tool is complete and free to download (174 kb)! If you don’t know what is Mass PageRank Checker tool, please read this to learn more.

Requirements:

  1. PHP 4.3.2+
  2. MySQL (4.1+), MySQLi, MS SQL, Postgre, Oracle, SQLite, or ODBC

Installation steps are completely described in INSTALL file.

Feel free to post your comments and suggestions.

Visit Mass PageRank Checker page

Share and Enjoy:
  • del.icio.us
  • Digg
  • Reddit
  • Ma.gnolia
  • Technorati
  • Propeller
  • Facebook
  • StumbleUpon
  • Furl
  • blogmarks
  • Google
  • YahooMyWeb
  • E-mail this story to a friend!


Newer Entries »