所有软件外包项目 Gray arrow bg PHP / mySQL Page Redirection

PHP / mySQL Page Redirection 资金已经托管 线上项目,线下洽谈,智城安排

发包方 : Richard hall 接包方 : Gripwire 状态 :完成
项目编号 : 96912
项目预算 : $1,000-5,000
开发周期 : 7 天
技能 : Access MySQL PHP
发布日期 : 2010-02-10

描述

Our website requires page redirection based on the users IP.

The script must work in 2 steps.

(1) Determine where the user is from, and place it in a cookie.
note: hardcoding country IP ranges is fine, as long as it is editable in PHP.

(2) Using a MySQL table that indexes the pagenames, redirect users to the page most relevant to them based on their location.

eg table:

ID | PAGENAME | US | UK | AUS
1  | page1.php | page1.php | page1-1.php | page1-2.php

So the lookup in this case would be if we have an incoming user trying to access page1.php, and they're from Australia they are redirected to page1-2.php

If for example the user is from a country with no corresponding page then they are sent to the default page for all countries. Or if the page does not exist in the database then the user continues to the page designated.

Note this job does not require to fill out the MySQL database with real values, just writing the PHP code so that it works.

Candidates who have good English skills, especially if that is shown in your job offer will be highly regarded so we can discuss the problem together.

I've estimated this would be almost a full days work for an experienced programmer.

竞标

请您先登录,然后提交此项目的竞标方案。
还不是智城用户? 智城期待您的加入,请注册成为我们的一员吧!
Project ad2