curl-library
Re: How to add value to the base URL
From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Wed, 13 Dec 2006 16:54:48 -0600
Date: Wed, 13 Dec 2006 16:54:48 -0600
> I am developing an application where I have to append the the value with
> the base URL
If you just want to concatenate two strings together, you can just use
the standard library functions like sprintf,snprintf,asprintf...
But maybe you need to derive an absolute URL from a base and relative URL?
For that, you would either need to write your own function,
or use a library like the one from:
http://www.nongnu.org/uri/
( I think Windows has some native function for this, also. )
- Jeff
Received on 2006-12-14