int urlencode(char *ib, int il, char *ob);
int urldecode(char *ib, int il, char *ob);
char * str_replace(const char * s, const char * f, const char * r);
#endif
/* normal to url */
/* ascii no deal, ' ' to '+', others to %XY, X is high, Y is lower */
int urlencode(char *ib, int il, char *ob)
{
int i=0;
int j=0;
/* url to normal */
/* ascii no deal, '+' to ' ', others to normal, %XY->X is high, Y is lower */
int urldecode(char *ib, int il, char *ob)
{
int i=0;
int j=0;