I’m sending a rather long URL with cURL and I’m almost positive that it’s too long for cURL to handle. The URL is http://hiscore.runescape.com/index_lite.ws?player= and after the ?player= paramter, there can be up to 12 numbers/letters/symbols.
Is there an alternative to cURL which would support long URLs like that, or could I use cURL with that long of a URL somehow?
symbols could be the possible cause
use some thing like
urlencode
base64-encode
function getStats($username) { echo $username // to see if username is being sent to this function
just run this code as a standalone to see if it works