GetDotted Domains

Viewing Thread:
"PHP Help"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Thu 30/01/03 at 17:29
Regular
Posts: 787
Hi all.

Just one question about the addslashes(); and stripslashes(); function.

When I use the addslashes($Message); to look into the String and add the to any " or ' that might be present, instead of getting just the one slash, I get 3.

When using the stripslashes($Message); to remove the from any " or ' that might be present, I am still left with one remaining slash.

Does anyone know why this is the case. I've completly forgoten how to get around this??

Thanks.
Fri 31/01/03 at 00:04
Regular
"It goes so quickly"
Posts: 4,083
Ah, I see. Remove the addslashes() function from the code and it's working :).

Thanks Rob.
Thu 30/01/03 at 18:38
Regular
"Eff, you see, kay?"
Posts: 14,156
Your server has MagicQuotes GPE set in its config, which means it automatically does addslashes() to stuff sent by GET, POST and whatever E stands for. So, in effect, you're doing it twice.
Thu 30/01/03 at 17:29
Regular
"It goes so quickly"
Posts: 4,083
Hi all.

Just one question about the addslashes(); and stripslashes(); function.

When I use the addslashes($Message); to look into the String and add the to any " or ' that might be present, instead of getting just the one slash, I get 3.

When using the stripslashes($Message); to remove the from any " or ' that might be present, I am still left with one remaining slash.

Does anyone know why this is the case. I've completly forgoten how to get around this??

Thanks.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

10/10
Over the years I've become very jaded after many bad experiences with customer services, you have bucked the trend. Polite and efficient from the Freeola team, well done to all involved.
Second to none...
So far the services you provide are second to none. Keep up the good work.
Andy

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.