hb_urlencode

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!
Post Reply
User avatar
Otto
Posts: 7020
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

hb_urlencode

Post by Otto »

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
User avatar
Antonio Linares
Site Admin
Posts: 44515
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: hb_urlencode

Post by Antonio Linares »

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
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply