Dear Antonio,
I have a question about hb_urlencode ().
I can't find this function in Harbour.
It is available in mod harbour. Shouldn't it be called
HB_FUNC( AP_URLDECODE )?
Is there also a urlencode function?
Best regards,
Otto
hb_urlencode
- Antonio Linares
- Site Admin
- Posts: 44515
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: hb_urlencode
Dear Otto,
Here it is:
https://github.com/harbour/core/blob/d407898675b14fbf9b10cd2e23723e9a522686e5/contrib/hbtip/encurlc.c
We renamed TIP_URLDECODE() into HB_URLDECODE() in mod_harbour to remember its origin:
https://github.com/FiveTechSoft/mod_harbour/blob/master/source/url.c
Giancarlo also provides a TIP_URLENCODE() but we have not needed it in mod_harbour yet
Here it is:
https://github.com/harbour/core/blob/d407898675b14fbf9b10cd2e23723e9a522686e5/contrib/hbtip/encurlc.c
We renamed TIP_URLDECODE() into HB_URLDECODE() in mod_harbour to remember its origin:
https://github.com/FiveTechSoft/mod_harbour/blob/master/source/url.c
Giancarlo also provides a TIP_URLENCODE() but we have not needed it in mod_harbour yet