HB_URLDECODE

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!

HB_URLDECODE

Postby Otto » Mon Dec 07, 2020 12:17 am

Harbour equivalent function for PHP UrlEncode()

http://fivetechsupport.com/forums/viewt ... =3&t=32041

From https://www.w3schools.com/tags/ref_urlencode.asp

URL Encoding (Percent Encoding)

URL encoding converts characters into a format that can be transmitted over the Internet.

URLs can only be sent over the Internet using the ASCII character-set.

Since URLs often contain characters outside the ASCII set, the URL has to be converted into a valid ASCII format.

URL encoding replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits.

URLs cannot contain spaces. URL encoding normally replaces a space with a plus (+) sign or with %20.
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 10 guests