Hello,
I've just updated my PHP from 5.2 to 5.3.2 and got the following error:
Parse error: syntax error, unexpected T_STRING in /home/serendipity/include/functions_entries.inc.php on line 1433
On line 1433, the DELETE FROM lines have double quotes on four lines for $serendipity["dbPrefix"] where ...
Search found 2 matches
- Sat Jul 24, 2010 10:29 pm
- Forum: Bugs
- Topic: Parse error: syntax error, unexpected T_STRING
- Replies: 2
- Views: 6690
- Sat Dec 20, 2008 2:16 pm
- Forum: Plugins
- Topic: shoutbox spam - quick and dirty hack
- Replies: 0
- Views: 2186
shoutbox spam - quick and dirty hack
Hello,
I've just started using s9y and installed the shoutbox plugin.
I next login and find someone has spammed it with 60 different website adverts for junk so I've modified the stock code as follows:
Line 101, inserted:
if (!preg_match("/^http/",$_REQUEST['serendipity']['shouttext'])) {
Line ...
I've just started using s9y and installed the shoutbox plugin.
I next login and find someone has spammed it with 60 different website adverts for junk so I've modified the stock code as follows:
Line 101, inserted:
if (!preg_match("/^http/",$_REQUEST['serendipity']['shouttext'])) {
Line ...