RSS

Tag Archive | "page"

Pagerank Checker Script PHP

Saturday, November 8, 2008

2 Comments

Ive got a Pagerank checking script to share with you. Its written in PHP. From the outside its very simple, however the insides are quite complicated. There are some comments on it but if you are not an experianced PHP programmer you will not understand most of it. To change the site it checks you have [...]

Continue reading...

Page Redirection Using a URL Variable - PHP

Friday, September 12, 2008

5 Comments

A note for the copy and pasters - a full source code is available at the bottom if you dont want to read it all. You wont learn anything though ;) In this tutorial I will show you how to redirect your page using a URL variable. So you will be able to do something like: http://www.yoursite.com/redirect.php?url=http://www.redirectedsite.com To  [...]

Continue reading...

How To Show The URL Of The Page

Friday, September 5, 2008

2 Comments

For what ever reason you may need to show the URL of a page. For example mabey in a social bookmarking situation. Firstly you need to put this code on your page: function selfURL() { $s = empty($_SERVER["HTTPS"]) ? ” : ($_SERVER["HTTPS"] == “on”) ? “s” : “”; $protocol = strleft(strtolower($_SERVER["SERVER_PROTOCOL"]), “/”).$s; $port = ($_SERVER["SERVER_PORT"] == “80″) ? “” : [...]

Continue reading...