4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 Template problems
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
Milchbazi
Junior WebHelper
Junior WebHelper


Joined: 11 Mar 2003
Posts: 15
Location: NH, USA

PostPosted: Sun Jun 01, 2003 10:31 pm (14 years, 6 months ago) Reply with QuoteBack to Top

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
___________________________
OfflineView User's ProfileFind all posts by MilchbaziSend Personal MessageVisit Poster's Website
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Mon Jun 02, 2003 2:49 pm (14 years, 6 months ago) Reply with QuoteBack to Top

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...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
Milchbazi
Junior WebHelper
Junior WebHelper


Joined: 11 Mar 2003
Posts: 15
Location: NH, USA

PostPosted: Tue Jun 03, 2003 12:52 am (14 years, 6 months ago) Reply with QuoteBack to Top

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
___________________________
OfflineView User's ProfileFind all posts by MilchbaziSend Personal MessageVisit Poster's Website
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Tue Jun 03, 2003 7:58 am (14 years, 6 months ago) Reply with QuoteBack to Top

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 Smile.

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




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.049622 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme