Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > MISCELLANEOUS > Archives > Bug Report 1.4.x

Post Reply
 
Thread Tools
  #1  
Old 09-26-2005, 05:01 AM
filipp Offline
forum loafer
 
Join Date: Sep 2005
Location: Finland
Posts: 4
SQL Error when using ' in blog title

pixelpost produces an error when using an ellipse in the site title (like "flip's blog")
The fix is simply:
In index.php, line 573:
$_POST['new_site_title']) -> addslashes ($_POST['new_site_title'])

Shouldn't this be done to practically every query? If so, wouldn't it make sense to rewrite sql_query ()?

Or am I missing something?
Reply With Quote
  #2  
Old 09-28-2005, 04:15 AM
Nemesis Offline
pp veteran
 
Join Date: Sep 2005
Posts: 52
Send a message via AIM to Nemesis Send a message via MSN to Nemesis
Hmmm not sure why you were getting that.
I have no problems with using " ' " in the title.
Reply With Quote
  #3  
Old 09-28-2005, 07:43 AM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
That can be a reason of well working:
http://pl2.php.net/magic_quotes/
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 05:48 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs