FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Escape Characters Galore
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
icon9.gif  Escape Characters Galore [message #8277] Mon, 20 January 2003 17:59 Go to next message
arksin is currently offline  arksin   United States
Messages: 5
Registered: January 2003
Location: Illinois
Karma: 0
Junior Member
I just set up FUDforum a couple days ago and have noticed that it is inserting multiple escape characters in the posts where ever there is a illegal character. The most notable is the ' character which for some reason gets many escapes. Following is a direct quote from our message board:

While you can\\\'t set in stone what \\\"well being\\\" of the network is;

Is there any way to correct this behavior easily?

Thanks in advance for your help! Smile

Greg Phillips
Re: Escape Characters Galore [message #8279 is a reply to message #8277] Mon, 20 January 2003 18:07 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You don't need to manually escape characters, that's already done automatically for you.

\'TEST\'

As you can see here it works just fine on this forum even when you do that. The problem may have to do something with your PHP's magic_quote_gpc setting (is it on?).

Also, which version of FUDforum are you using?


FUDforum Core Developer
Re: Escape Characters Galore [message #8280 is a reply to message #8277] Mon, 20 January 2003 18:19 Go to previous messageGo to next message
arksin is currently offline  arksin   United States
Messages: 5
Registered: January 2003
Location: Illinois
Karma: 0
Junior Member
We aren't escaping the characters ourselfs, it is just comeing out that way.

From my php.ini

magic_quotes_gpc = On

and from our web site

Powered by: FUDforum 2.3.7RC2

Greg
Re: Escape Characters Galore [message #8281 is a reply to message #8277] Mon, 20 January 2003 19:04 Go to previous messageGo to next message
arksin is currently offline  arksin   United States
Messages: 5
Registered: January 2003
Location: Illinois
Karma: 0
Junior Member
Any ways, possibly I should have given some forthought before posting the last message...

I'm going to be recompiling php this evening to add support into it for a couple other things. If there is anything you can think of I should make sure is in the configuration of php please let me know.

Also to give a little more information to help you help me (very kind of you to do so by the way and I do appreciate it) here is the system info page of our forum:

System Configuration

MySQL Version: PostgreSQL 7.3 on i686-pc-linux-gnu, compiled by GCC 2.95.3

PHP Version: 4.2.3

Web Server: Apache/1.3.24 (Unix) PHP/4.2.3

WebServer to PHP interface: apache

Forum Version: 2.3.7RC2

Relavent PHP Settings:
Safe Mode: OFF
Display Errors: ON
File Uploads: ON
Magic Quotes: ON
Register Globals: OFF
Output Buffering: OFF
Disabled Functions: none
PSpell Support: No

Thanks,

Greg
Re: Escape Characters Galore [message #8294 is a reply to message #8281] Mon, 20 January 2003 21:17 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
See if the problem can be solve by either turning off magic_quotes_gpc or turning on register_globals.

FUDforum Core Developer
Re: Escape Characters Galore [message #8301 is a reply to message #8277] Mon, 20 January 2003 22:31 Go to previous message
arksin is currently offline  arksin   United States
Messages: 5
Registered: January 2003
Location: Illinois
Karma: 0
Junior Member
That worked, thank you very much for your help.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Call to undefined function: fud_use() in index.php
Next Topic: Step 2 of install: Call to undefined function pg_query()
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Jun 18 00:54:51 GMT 2024

Total time taken to generate the page: 0.02362 seconds