Annulleret

URGENT - converting simple asp pages to php pages (but keeping .asp extensions)

Dear Developers,

We need to change our old Windows server to Apache server and some of our old .asp pages need to be converted to php but we still need to keep .asp extensions. All these asp pages are currently 301 redirecting to new static html files. The asp script uses id=xxx querystring as an input, gets the appropriate url from the database and 301 redirects to that new url.

for example: [[url removed, login to view]][1] page redirects to [[url removed, login to view]][2]

Also we need an instruction for simple redirects (without accessing the database) from asp pages to new html pages.

Please see detailed requirements for ASP code and the database structure.

Thank you.

## Deliverables

ASP code:

-----------------------

<%@ Language=VBScript %>

<!--#include file="[url removed, login to view]"-->

<%

[url removed, login to view] = true

[url removed, login to view] = -1441

on error resume next

dim id

id = [url removed, login to view] ("id")

dim NewURL

if id<>"" then

dim rs

dim strSQL

openConnection

set rs = [url removed, login to view] ("[url removed, login to view]")

strSQL = "SELECT New_URL FROM NewURL WHERE Type=1 AND OldID='" & id & "'"

[url removed, login to view] strSQL, conn, 3, 1

NewURL = [url removed, login to view]("New_URL")

set rs = nothing

closeConnection

else

NewURL = "newspapers"

end if

Response.Status="301 Moved Permanently"

[url removed, login to view] "Location", "/" & NewURL & "/"

%>

-------------------------------------------

Database strusture

Database Name: New_URL

Columns

OldID (varchar(50)

Type (int)

New_URL (varchar(max)

Sample data

OldID Type New URL

| C153 | 1 | algerian-newspapers |

| C154 | 1 | paraguay-newspapers |

| C155 | 1 | peru-newspapers |

| C156 | 1 | suriname-newspapers |

| C157 | 1 | uruguay-newspapers |

| C158 | 1 | venezuela-newspapers |

| C159 | 1 | uk-newspapers |

Evner: ASP, PHP, Software Arkitektur, Software Testning, Web Hosting, Hjemmeside Management, Hjemmeside Testning

Se mere: www peru com, www .peru.com, uses of data structure, simple data structure, php developers uk, int-rs, data strusture, data structure uses, data structure type, 1 page resume, uruguay, type some pages, suriname, php pages, open all pages, HTML TO PHP, extensions, canada php, c# to php, c to php

Om arbejdsgiveren:
( 19 bedømmelser ) Mississauga, Canada

Projekt ID: #3316804

6 freelancere byder i gennemsnit $64 på dette job

pr0digysl

See private message.

$76.5 USD in 2 dage
(166 bedømmelser)
6.8
blirding

See private message.

$84.15 USD in 2 dage
(69 bedømmelser)
5.1
Gida

See private message.

$12.75 USD in 2 dage
(14 bedømmelser)
4.2
crazenators

See private message.

$76.5 USD in 2 dage
(13 bedømmelser)
4.8
MaherSakka

See private message.

$68 USD in 2 dage
(5 bedømmelser)
2.0
cpliviuvw

See private message.

$68 USD in 2 dage
(1 bedømmelse)
0.0