On Saturday 18 September 2004 21:23, Henri Marc wrote:

> Ok, it is like I thought, but if it is made in PHP is
> there a way to catch all the ID sent to the main page
> of tinyurl.com and then query the database?

If your webserver is apache you could use its rewrite engine to ensure that 
all requests to http://example.com/ gets processed by php (see apache docs). 

> Like I said before, when someone type in its browser
> the url tinyurl.com/h4599 how tinyurl (or other
> similar services), are able to get the ID, what is the
> command?

Then in php process the request (look in $_SERVER).

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
panic("esp_handle: current_SC == penguin within interrupt!");
        2.2.16 /usr/src/linux/drivers/scsi/esp.c
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to