![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Sep 2001
Location: North America
Posts: 2,016
|
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.
__________________
"There he goes. One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die." -Hunter S. Thompson |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
Asp?You mad ?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Sep 2001
Location: North America
Posts: 2,016
|
Why? Does it suck that much? I have no idea... this is the first time I have to use a windows server (always been using linux in the past 10 years). I don't know asp
__________________
"There he goes. One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die." -Hunter S. Thompson |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
Quote:
Response.Redirect "http://url_to_redirect_to.com" %> I'll send you the invoice later ![]()
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Industry Role:
Join Date: Sep 2001
Location: North America
Posts: 2,016
|
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)
__________________
"There he goes. One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die." -Hunter S. Thompson |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
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" %> . . .
__________________
All cookies cleared! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Too lazy to set a custom title
Industry Role:
Join Date: Sep 2005
Location: Springfield
Posts: 13,826
|
my advice is to avoid widows as webserver by any means...
__________________
Make a bank with Chaturbate - the best selling webcam program ![]() ![]() ![]() Ads that can't be block with AdBlockers !!! /// Best paying popup program (Bitcoin payouts) !!! PHP, MySql, Smarty, CodeIgniter, Laravel, WordPress, NATS... fixing stuff, server migrations & optimizations... My ICQ: 27429884 | Email: ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
♥♥♥ Likes Hugs ♥♥♥
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
|
Going to asp and iis is a step backward from Linux and PHP. Why would you do that?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Industry Role:
Join Date: Mar 2011
Posts: 323
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
see you later, I'm gone
Industry Role:
Join Date: Oct 2002
Posts: 14,053
|
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. .
__________________
All cookies cleared! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Industry Role:
Join Date: Mar 2011
Posts: 323
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
♥♥♥ Likes Hugs ♥♥♥
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
|
Yep. I had my Microsoft Certified Systems Engineer (MCSE) back in the NT4 days. It was only when I had dealt with MS crap professionally that I realized how vastly superior Linux was. MS makes a great desktop OS though. Linux hasn't figured that out yet.
|
![]() |
![]() ![]() ![]() ![]() ![]() |