Hello
Is there an equivalent for the following java code in php:
URI uri = URIUtils.createURI("http", serveur, -1, makeCall, URLEncodedUtils.format(qparams, "UTF-8"), null);
Cheers...
Hello
Is there an equivalent for the following java code in php:
URI uri = URIUtils.createURI("http", serveur, -1, makeCall, URLEncodedUtils.format(qparams, "UTF-8"), null);
Cheers...
Ok, so we're dealing with this:
public static URI createURI(String scheme,
String host,
int port,
String path,
String query,
String fragment)
Are we to assume that serveur
and makeCall
are variables?
Try this: http://php.net/manual/en/function.http-build-url.php
hello diafol, will give the link a try.
"serveur", "makeCall" and "qparams" are indeed the variables which need to be used in the url
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.