Why is my PHP server adding random characters to a string?

Thomas

New member
I have a form that the user can type in a javascript code, eg "javascript-extension://alert('hi');" (I know that wont work but that's how I need it). This is then saved in a file and accessed in another page. Unfortunately it has lots of / and \ added to it in the save file for some reason, making it unusable.

I am using vistapanel.net
 
Back
Top