GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Coder needed - PHP to ASP (https://gfy.com/showthread.php?t=1020154)

the indigo 04-27-2011 10:16 AM

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.

Klen 04-27-2011 10:36 AM

Asp?You mad ?

the indigo 04-27-2011 11:03 AM

Quote:

Originally Posted by KlenTelaris (Post 18091118)
Asp?You mad ?

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

sarettah 04-27-2011 11:07 AM

Quote:

Originally Posted by the indigo (Post 18091072)
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.

<%
Response.Redirect "http://url_to_redirect_to.com"
%>

I'll send you the invoice later :thumbsup

the indigo 04-27-2011 11:36 AM

Quote:

Originally Posted by sarettah (Post 18091208)
<%
Response.Redirect "http://url_to_redirect_to.com"
%>

I'll send you the invoice later :thumbsup

Thanks Sarettah! Tried it though but it did not work;

<%
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)

sarettah 04-27-2011 11:46 AM

Quote:

Originally Posted by the indigo (Post 18091309)
Thanks Sarettah! Tried it though but it did not work;

<%
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)


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"

%>


.

.




.

Klen 04-27-2011 12:11 PM

Quote:

Originally Posted by the indigo (Post 18091200)
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

Yes,especially since you can run php on windows without problem.

HomerSimpson 04-27-2011 12:22 PM

my advice is to avoid widows as webserver by any means...

Babaganoosh 04-27-2011 01:24 PM

Going to asp and iis is a step backward from Linux and PHP. Why would you do that?

Eldon Hoke 04-27-2011 01:41 PM

Quote:

Originally Posted by Babaganoosh (Post 18091579)
Going to asp and iis is a step backward from Linux and PHP. Why would you do that?

Exactly. Microsoft technology is for morons. :2 cents:

Klen 04-27-2011 01:44 PM

Quote:

Originally Posted by Eldon Hoke (Post 18091618)
Exactly. Microsoft technology is for morons. :2 cents:

Not really,i had once windows and didnt had clue how to install/run anything so i requested to reinstall with linux.

sarettah 04-27-2011 01:48 PM

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.





.

Eldon Hoke 04-27-2011 01:52 PM

Quote:

Originally Posted by KlenTelaris (Post 18091635)
Not really,i had once windows and didnt had clue how to install/run anything so i requested to reinstall with linux.

You're excused. Windows is only good for a server environment if you enjoy installing updates daily and restarting servers hourly.

Babaganoosh 04-27-2011 01:53 PM

Quote:

Originally Posted by Eldon Hoke (Post 18091618)
Exactly. Microsoft technology is for morons. :2 cents:

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.


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