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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-27-2011, 10:16 AM   #1
the indigo
Confirmed User
 
the indigo's Avatar
 
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

Last edited by the indigo; 04-27-2011 at 10:31 AM..
the indigo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2011, 10:36 AM   #2
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,234
Asp?You mad ?
__________________
For GFY administration inquiries- email info at gfy.com or send PM.
For advertising inquiries - email marketing at gfy.com

Inquiries which are not related to administration or advertising on GFY wont be processed.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2011, 11:03 AM   #3
the indigo
Confirmed User
 
the indigo's Avatar
 
Industry Role:
Join Date: Sep 2001
Location: North America
Posts: 2,016
Quote:
Originally Posted by KlenTelaris View Post
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
__________________
"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
the indigo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2011, 11:07 AM   #4
sarettah
l8r
 
Industry Role:
Join Date: Oct 2002
Posts: 13,582
Quote:
Originally Posted by the indigo View Post
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
sarettah is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2011, 11:36 AM   #5
the indigo
Confirmed User
 
the indigo's Avatar
 
Industry Role:
Join Date: Sep 2001
Location: North America
Posts: 2,016
Quote:
Originally Posted by sarettah View Post
<%
Response.Redirect "http://url_to_redirect_to.com"
%>

I'll send you the invoice later
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)
__________________
"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
the indigo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2011, 11:46 AM   #6
sarettah
l8r
 
Industry Role:
Join Date: Oct 2002
Posts: 13,582
Quote:
Originally Posted by the indigo View Post
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"

%>


.

.




.

Last edited by sarettah; 04-27-2011 at 11:49 AM..
sarettah is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2011, 12:11 PM   #7
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,234
Quote:
Originally Posted by the indigo View Post
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.
__________________
For GFY administration inquiries- email info at gfy.com or send PM.
For advertising inquiries - email marketing at gfy.com

Inquiries which are not related to administration or advertising on GFY wont be processed.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2011, 12:22 PM   #8
HomerSimpson
Too lazy to set a custom title
 
HomerSimpson's Avatar
 
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:
HomerSimpson is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2011, 01:24 PM   #9
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
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?
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2011, 01:41 PM   #10
Eldon Hoke
Confirmed User
 
Eldon Hoke's Avatar
 
Industry Role:
Join Date: Mar 2011
Posts: 323
Quote:
Originally Posted by Babaganoosh View Post
Going to asp and iis is a step backward from Linux and PHP. Why would you do that?
Exactly. Microsoft technology is for morons.
Eldon Hoke is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2011, 01:44 PM   #11
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,234
Quote:
Originally Posted by Eldon Hoke View Post
Exactly. Microsoft technology is for morons.
Not really,i had once windows and didnt had clue how to install/run anything so i requested to reinstall with linux.
__________________
For GFY administration inquiries- email info at gfy.com or send PM.
For advertising inquiries - email marketing at gfy.com

Inquiries which are not related to administration or advertising on GFY wont be processed.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2011, 01:48 PM   #12
sarettah
l8r
 
Industry Role:
Join Date: Oct 2002
Posts: 13,582
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.





.
sarettah is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2011, 01:52 PM   #13
Eldon Hoke
Confirmed User
 
Eldon Hoke's Avatar
 
Industry Role:
Join Date: Mar 2011
Posts: 323
Quote:
Originally Posted by KlenTelaris View Post
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.
Eldon Hoke is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-27-2011, 01:53 PM   #14
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
Quote:
Originally Posted by Eldon Hoke View Post
Exactly. Microsoft technology is for morons.
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.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.