|
Author |
Message |
Milchbazi
Junior WebHelper
Joined: 11 Mar 2003
Posts: 15
Location: NH, USA
|
Posted:
Sun Jun 01, 2003 10:31 pm (20 years, 10 months ago) |
|
Hello!
After I parsed my new written script (now with templates) I had a look in the sourcecode, because the output was totally different from the original version. Now I saw that all " were changed into \"
Could anybody say me why? and what do I have to do to fix it?
Thx for your help!
Milchbazi |
________________________________ TS Designs
___________________________ |
|
|
|
adam
Forum Moderator & Developer
Joined: 26 Jul 2002
Posts: 704
Location: UK
|
Posted:
Mon Jun 02, 2003 2:49 pm (20 years, 10 months ago) |
|
you need to turn off magicquotes, you should be able to put the following in a .htaccess file:
Code: | php_value magic_quotes_runtime off |
|
________________________________ It's turtles all the way down... |
|
|
|
Milchbazi
Junior WebHelper
Joined: 11 Mar 2003
Posts: 15
Location: NH, USA
|
Posted:
Tue Jun 03, 2003 12:52 am (20 years, 10 months ago) |
|
Thanks a lot! It works. But I changed your suggestion into:
Code: | <?php
set_magic_quotes_runtime(0); // Disable magic_quotes_runtime
?> |
Thats the function for PHP. Or isn't this so good like .htaccess?
Thx again!
Milchbazi |
________________________________ TS Designs
___________________________ |
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Tue Jun 03, 2003 7:58 am (20 years, 10 months ago) |
|
If you put it in your .htaccess file, it can apply to whatever files/directories you want, whereas if you put it in your PHP code, it will only apply to the files it's included in . |
________________________________
|
|
|
|
|
|
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.
|
Page generation time: 0.275211 seconds :: 19 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |