php test

  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6130
  • Loc: Seattle, WA
  • Status: Offline

Post August 28th, 2008, 10:00 pm

PHP Code: [ Select ]
$here_is_some_code = (containing("The number eight, followed by a parenthesis", <!-- s8) --><img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8)\" title=\"Cool\"><!-- s8) --> );
The Beer Monocle. Classy.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post August 28th, 2008, 10:00 pm

  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Joined: Mar 12, 2007
  • Posts: 6228
  • Loc: South-Africa
  • Status: Offline

Post August 29th, 2008, 1:14 am

didn't ozzu used to have code colouring ... ? what happened to that ... ?

PHP Code: [ Select ]
$some_variable = "some value";
$one = 1;
$two = 2;
$three = ($one + $two);
  1. $some_variable = "some value";
  2. $one = 1;
  3. $two = 2;
  4. $three = ($one + $two);
Let's leave all our *plum* where it is and go live in the jungle ...
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post August 29th, 2008, 6:04 am

It was a separate MOD that was available for phpbb2. Not sure if it has been revised for phpbb3 yet or not, but Bigweb clearly hasn't tried to install one yet.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6130
  • Loc: Seattle, WA
  • Status: Offline

Post August 29th, 2008, 8:05 am

Well, in any case, it looks like things get screwed up when you have open-parenthesis-eight in PHP code.
The Beer Monocle. Classy.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6130
  • Loc: Seattle, WA
  • Status: Offline

Post August 29th, 2008, 12:50 pm

lol thanks ATNO, I was going to move this topic here just now but you beat me to it.
The Beer Monocle. Classy.
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post September 2nd, 2008, 1:42 pm

Doesn't phpBB3 comes with a default code highlighter? Anyways, my forum came already with it, but I got a stable release, not an RC...
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • Mr OBrien
  • Graduate
  • Graduate
  • User avatar
  • Joined: Aug 05, 2008
  • Posts: 154
  • Loc: down a creek without a paddle
  • Status: Offline

Post September 5th, 2008, 10:12 pm

[center]does this work?[/center]
[right]does this work?[/right]
[left]does this work?[/left]
[justify]does this work?[/justify]
does this work?
[sub]does this work?[/sub]
[sup]does this work?[/sup]
does this work?
A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila.
AIM ME Screenname=BLAKECORYOBRIEN
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post September 5th, 2008, 10:29 pm

del
Strong with this one, the sudo is.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6130
  • Loc: Seattle, WA
  • Status: Offline

Post September 5th, 2008, 11:09 pm

The problem remains: if we use eight-parenthesis within a PHP block, the parser still tries to convert it to a smiley.
The Beer Monocle. Classy.
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post September 5th, 2008, 11:13 pm

Code: [ Select ]
var test = "what about in a code block ? 8)";
Strong with this one, the sudo is.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6130
  • Loc: Seattle, WA
  • Status: Offline

Post September 5th, 2008, 11:16 pm

PHP Code: [ Select ]
$var = "only with PHP?";
func($hello, <!-- s8) --><img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8)\" title=\"Cool\"><!-- s8); -->;
  1. $var = "only with PHP?";
  2. func($hello, <!-- s8) --><img src=\"{SMILIES_PATH}/icon_cool.gif\" alt=\"8)\" title=\"Cool\"><!-- s8); -->;


//edit: yup
The Beer Monocle. Classy.
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post September 7th, 2008, 3:32 pm

8)
Code: [ Select ]
8)
"Bring forth therefore fruits meet for repentance:" Matthew 3:8

Post Information

  • Total Posts in this topic: 12 posts
  • Users browsing this forum: No registered users and 37 guests
  • 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 post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.