![]() |
Coder needed - PHP to ASP
Hello,
I need 2 simple redirect script in PHP converted into ASP. Under a Windows Server, they take 3-5 seconds to load... that's obviously way too slow. The other PHP scripts seem to be OK, but not those one. So either I try to convert them into ASP and see how it does, otherwise I will need to switch the domain to a linux server. Please contact me at theindigo2k $at$ yahoo $dot$ com or leave your info here. Thanks. |
Asp?You mad ?
|
Quote:
|
Quote:
Response.Redirect "http://url_to_redirect_to.com" %> I'll send you the invoice later :thumbsup |
Quote:
<% Response.Redirect "http://www.google.com" %> in index.asp Not Found The requested document was not found on this server. Web Server at xxx.com Plus, I have another one that does 2 redirects... via two .php files. Link located on www.flowers.com Script redirect to $site1, then $site2 Referral shows the traffic comes from $site1 (first .php file) |
Quote:
Hmm, well, the "Not Found" would be a 404 error meaning that the server could not find the index.asp page I think, not that the redirect didn't work. So, first check and make sure you got the index.asp in the right place and then check to see that asp is actually running. What server are you running under windows, I know on server 2003, ASP had to be enabled, on server 2008 and Win7 it needs to be installed I think. The last version that it was enabled automatically (that I am aware of) was server 2000. For index.asp try a simple hello world first to see if it finds the page and asp is running. <% Response.Write "Hello World" %> . . . |
Quote:
|
my advice is to avoid widows as webserver by any means...
|
Going to asp and iis is a step backward from Linux and PHP. Why would you do that?
|
Quote:
|
Quote:
|
I tend to work with whatever environment my client, or employer, has on their server.
My own stuff I run off of linux with php. . |
Quote:
|
Quote:
|
All times are GMT -7. The time now is 04:06 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc