hb_urlencode

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

hb_urlencode

Postby Otto » Wed Apr 14, 2021 9:35 am

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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6058
Joined: Fri Oct 07, 2005 7:07 pm

Re: hb_urlencode

Postby Antonio Linares » Wed Apr 14, 2021 10:28 am

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


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 3 guests