| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #2 (permalink) | ||||
| NamePros Regular Join Date: Jun 2004 Location: Iowa City
Posts: 703
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Example: switch($_COOKIE['location']) { case "uk": header("Location: http://blah.com/uk"); break; case "us": header("Location: http://blah.com/us"); break; default: // ask the user what location he is...and set a cookie according to that break; }
__________________ formally ninedogger ------ Want to talk to a stranger? -->| Click Here | TalkToAStranger.com | <-- Meet New Friends | ||||
| |
| | #3 (permalink) |
| NamePros Member Join Date: Apr 2005 Location: Canada
Posts: 108
![]() | I sell a tool that shows you the country a visitor is coming from and if you like displays a flag of that country on my site. It is called AddressTrackerIP It has been built to help determine Credit Card fraud, but once you know where they are from, you can decide what to do with that information. It is written in ASP and PHP. www.dlss.ca/products.html
__________________ Web Application Development ASP / PHP Ecommerce Templates and Shopping Cart Software www.dlss.ca Name Brand Clothes www.ClothesAndThings.com |
| |
| | #4 (permalink) |
| Eating Pie Join Date: Nov 2004 Location: Canada
Posts: 2,267
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Hello, ????: NamePros.com http://www.namepros.com/showthread.php?t=81648 I have copyed a tutorial from a site this script redirects based on country they are from.. You can edit it to do what ever you like. First go to http://trialware.techrepublic.com/ab...px?docid=89130 and get a copy of it. PHP Code:
__________________ I feel old. |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Script for Total Download Limit per/day. Also, to hide file location. | Jed K | Website Development | 4 | 04-07-2005 08:35 PM |
| apache server and SQL location | RickyG | Web Hosting Discussion | 2 | 03-26-2005 12:30 PM |
| Free link exchange with 400+ visitor a day Harley Davidson website! | selfmindead | PPC / CPC / CPM Programs | 0 | 03-08-2005 03:27 PM |
| How to make a page accessible only after visitor forwarded my site to 10 friends? | iecwillow | Marketing Techniques | 1 | 10-19-2004 02:39 PM |
| Geographical Location & Real Estate Domains On Sale | Duke | Domains For Sale - Make Offer | 0 | 09-22-2003 02:57 PM |