URL, Current Page

    Date: 01/29/07 (PHP Community)    Keywords: php

    I want to write a php program that involves recognizing the URL of the page the user is currently on, but I'm not sure exactly how to do this.

    What I want from the program is basically this:
    If Current URL is ____ then on link click go to this _____ URL.
    else if current URL is _____ then on link click go to this ____ URL.
    .
    .
    .
    etc.

    Is there a way to call the current URL and do this?

    Thank in advance!

    Source: http://community.livejournal.com/php/534787.html

« drop down help || Roundcubemail email package »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home