Logging via HTTP POST

Hi there,

I am experimenting with the HTTP POST logging option, and noticed that there seems to be a problem with song titles including the “&” character. If the ampersand character is present in a song title (or artist name as I would predict), the POST variable containing the title is split at the position where character occurs. It is therefore impossible in PHP to get the actual title… as $_POST[‘title’] would only contain the title up to the “&” character.

Is there any way to circumvent this? Can the string be escaped properly somehow? Or should I better use a script instead?

Thanks :smiley:

Marcus

Check b1220 please, uploading right now.

Hi Torben,

This has solved the problem for me… had to modify my script to urldecode($_POST[‘title’]), but now the full title is logged.

Excellent.

Thanks :slight_smile:

Marcus