...

View Full Version : Funky urls with .asp? How's it possible?



AshleyQuick
06-19-2002, 05:39 AM
Is it easy to formulate urls that look similar to this?

/products.asp?blah

Thanks,

Ash

AshleyQuick
06-19-2002, 06:08 AM
No functionality really. Just purely cosmetic. I just want it to look fancy. :)

Zvona
06-19-2002, 08:25 AM
For your information, ? character is used to separate parameter string in URL. These parameters can be processed with scripting (both server- and clientside).

But of course, you're allowed to use parameter string to make your URL fancier, it doesn't affect on functionality in any way.

AshleyQuick
06-19-2002, 09:18 AM
Can you give an example? Also, where would I need to place the files? I know nothing about .asp. :/

Ash

Zvona
06-19-2002, 10:25 AM
Originally posted by AshleyQuick
Can you give an example? Also, where would I need to place the files? I know nothing about .asp. :/

Ash

ASP is a server-side language from Microsoft, which is scripted with VBScript and JScript. To be able to use ASP, your server has to support ASP (Microsoft's PWS, IIS, Apache+additional package..etc).

You can search for tutorials about ASP and ASP.NET from various locations. If you need free webspace with ASP support, visit http://www.brinkster.com .

Tutorials & references I use in problematic cases :
http://www.w3schools.com
http://msdn.microsoft.com/scripting
http://www.google.com :D

QuackHead
06-19-2002, 03:24 PM
Zvona is entirely correct...

for your server to process the ASP Pages, it needs to be able to support it.

Not that I would actually recommend this for cosmetic uses, but if you're really set on that - you can just use your HTML pages like this...

rules.htm?querystring=absolutely+fake+way+of+doing+this

It will make no difference in the funcionality of your pages... but to truly use the QueryString to your full advantage - you'll need to learn some server side language... (ASP, PHP, Perl, Java, etc.)

~Quack

Morgoth
06-24-2002, 04:11 AM
I think all they want is just things on the end for look...

You can do it with any page...


http://www.codingforums.com/showthread.php?s=&threadid=305&shdhhf=sfdsff&shfhhff=485yhg (http://www.codingforums.com/showthread.php?s=&threadid=305&shdhhf=sfdsff&shfhhff=485yhg)

As you can see it will not effect the page...

oracleguy
06-24-2002, 07:54 AM
You could do something like this to make your links look "cool" and complicated:

<a href="page.htm?data=<%=Request.ServerVariables("HTTP_COOKIE")%>>Click Here</a>


Of course make sure your server will parse the page for ASP coding in order for it to work.

whammy
06-25-2002, 03:00 AM
Heck if I was going to append a useless querystring to a URL I would probably make it completely random... just to make it look more l33t! (LOL).

Actually one cool way to try and fool hackers (assuming you're using REAL querystrings) is to figure out your own way of encoding querystrings... ;)

oracleguy
06-26-2002, 06:08 PM
Originally posted by whammy
Heck if I was going to append a useless querystring to a URL I would probably make it completely random... just to make it look more l33t! (LOL).

Actually one cool way to try and fool hackers (assuming you're using REAL querystrings) is to figure out your own way of encoding querystrings... ;)

You could do a simple 'encode' by just pushing each character up above the 128 ASCII table. It would be easy to someone to break if they knew thats what you were doing, but to the uninformed it looks nifty.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum