Output of " as \"

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Tory
Forum Newbie
Posts: 3
Joined: Wed Apr 30, 2003 12:39 pm

Output of " as \"

Post by Tory »

When I do

include ("page.html") and it prints it.. all the " are automatically shown on the screen as \" .

How can I make the script print the contents of page.html and leave the " as " ?

Many thanks!

Tory
User avatar
Sevengraff
Forum Contributor
Posts: 232
Joined: Thu Apr 25, 2002 9:34 pm
Location: California USA
Contact:

Post by Sevengraff »

what version of php are you using? I've never had this problem. You would need to use the stripslashes() function, but that can't really be used with an include()...
Bebi Vegeta
Forum Newbie
Posts: 4
Joined: Thu May 01, 2003 3:17 pm

Post by Bebi Vegeta »

How can a make super Moderator
User avatar
Sevengraff
Forum Contributor
Posts: 232
Joined: Thu Apr 25, 2002 9:34 pm
Location: California USA
Contact:

Post by Sevengraff »

Bebi Vegeta, stop posting that everywhere!
I assume your still talking about phpBB. If you need help with your forum, goto http://www.phpbb.com and use their support forum.
User avatar
mikusan
Forum Contributor
Posts: 247
Joined: Thu May 01, 2003 1:48 pm

geez

Post by mikusan »

That person needs some SERIOUS help and advice on how to use forums in the first place..let alone making one!!
Post Reply