php test

  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6250
  • Loc: Seattle, WA

Post 3+ Months Ago

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) --> );
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Posts: 6230
  • Loc: South-Africa

Post 3+ Months Ago

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);
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

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.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6250
  • Loc: Seattle, WA

Post 3+ Months Ago

Well, in any case, it looks like things get screwed up when you have open-parenthesis-eight in PHP code.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6250
  • Loc: Seattle, WA

Post 3+ Months Ago

lol thanks ATNO, I was going to move this topic here just now but you beat me to it.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

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...
  • Mr OBrien
  • Graduate
  • Graduate
  • User avatar
  • Posts: 182
  • Loc: down a creek without a paddle

Post 3+ Months Ago

[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?
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

del
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6250
  • Loc: Seattle, WA

Post 3+ Months Ago

The problem remains: if we use eight-parenthesis within a PHP block, the parser still tries to convert it to a smiley.
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

Code: [ Select ]
var test = "what about in a code block ? 8)";
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Posts: 6250
  • Loc: Seattle, WA

Post 3+ Months Ago

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
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

8)
Code: [ Select ]
8)

Post Information

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

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.