Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

URL encoding in Classic ASP

Can VBScript escape be used for escaping a post (application/x-www-form-urlencoded) or a multipart post? Is it the equivalent of PHP's urlencode?

like image 422
Eugene Avatar asked Mar 15 '12 18:03

Eugene


2 Answers

You should use Server.URLEncode(string) in place of PHP's urlencode.

like image 153
Nilpo Avatar answered Oct 14 '22 16:10

Nilpo


It isn't the equivalent, however it is perfectly suitable for escaping posts.

like image 42
Nathan Rice Avatar answered Oct 14 '22 15:10

Nathan Rice