04-20-2004
8 More Discussions You Might Find Interesting
1. Solaris
Hi all,
i just purchased Sun Ultra Enterprise 3000,
but they did not include with keyboard/mouse .
i am very new with this box.
could you give me which type of keyboard i can use and video connector to my monitor since serial connectors for keyboard and video is different with my PC.
... (5 Replies)
Discussion started by: waterbear
5 Replies
2. Solaris
Hi,
I have a brand new SUN T5140 machine. I am trying to install Solaris 10 on the box. When I go to the machine using a KVM session I can see a blank screen , how can I get to the OK prompt to start the installation.
Thanks,
Suresh (10 Replies)
Discussion started by: gunnervarma
10 Replies
3. Solaris
Hello all
rather new to diagnosing hardware issues on SUN platforms (still new to Sol 10 also). Sorry if this is not a great question. I have searched the forums and have not found an answer to my specific issue.
Ok, I have a SUN V215 hooked up to a Thinklogical KVM extender. There are 2... (3 Replies)
Discussion started by: caddyjoe77
3 Replies
4. Hardware
Hello,
I have a sun blade 1000 machine, it passes post, has 2 750mhz sparc 3 cpus and has 4GB of ram.
I have setup a TIP connection and did everything i could to figure what the hell is going on, but I cannot it seems to me that the usb ports are not giving out any power.
I've tried all... (0 Replies)
Discussion started by: binary0x01
0 Replies
5. Solaris
Hi, I've got an issue here: After I logon to the xscf prompt of this Sun M5000 and did 'XSCF> version -c xcp', the xscf prompt disappeared. I can't get it back and can't log out.
exit
rebootxscf
logout
#.
#>
#>
~#
~#
exit
sendbreak
exit
I tried to set the Mode Switch to the service... (3 Replies)
Discussion started by: aixlover
3 Replies
6. Solaris
Hi, I have a Sun Ultra 5 workstation with Sun Keyboard Type 6.
My problem is the workstation recognize the keyboard as Keyboard Type 4 instead of type 6. How can I change the workstation to recognize sun keyboard type 6. Any idea?
# kbd -t
Type 4 Sun keyboard
:wall::wall::wall: (2 Replies)
Discussion started by: fairus
2 Replies
7. UNIX for Dummies Questions & Answers
Hi, I've got a bit of a ridiculous problem and wasn't sure where to post it.
I need to use the vertical bar for piping in Bash but, as per the title, am using a UK layout on a US (physical) keyboard which doesn't have a key for it in the place I'd expect. I've tried using xbindkeys and Unicode... (7 Replies)
Discussion started by: crunchgargoyle
7 Replies
8. Solaris
I am having a problem when booting my Sun V445 machine with Solaris 10 installed on it. Machine hangs at boot at following step :
0>Copyright 2007 Sun Microsystems, Inc. All rights reserved
0>OBP->POST Call with %o0=00000800.01014000.
0>Diag level set to MAX.
0>Verbosity level set to... (21 Replies)
Discussion started by: usmanijaz101
21 Replies
LEARN ABOUT PHP
bbcode_create
BBCODE_CREATE(3) 1 BBCODE_CREATE(3)
bbcode_create - Create a BBCode Resource
SYNOPSIS
resource bbcode_create ([array $bbcode_initial_tags = NULL])
DESCRIPTION
This function returns a new BBCode Resource used to parse BBCode strings.
PARAMETERS
o $bbcode_initial_tags
- An associative array containing the tag names as keys and parameters required to correctly parse BBCode as their value. The fol-
lowing key/value pairs are supported:
o$flags optional - a flag set based on the BBCODE_FLAGS_* constants.
o$type required - an int indicating the type of tag. Use the BBCODE_TYPE_* constants.
o$open_tag required - the HTML replacement string for the open tag.
o$close_tag required - the HTML replacement string for the close tag.
o$default_arg optional - use this value as the default argument if none is provided and tag_type is of type OPTARG.
o$content_handling optional - Gives the callback used for modification of the content. Object Oriented Notation supported
only since 0.10.1 callback prototype is string name
(string $content, string $argument)
o$param_handling optional - Gives the callback used for modification of the argument. Object Oriented Notation supported only
since 0.10.1 callback prototype is string name
(string $content, string $argument)
o$childs optional - List of accepted children for the tag. The format of the list is a comma separated string. If the list
starts with ! it will be the list of rejected children for the tag.
o$parent optional - List of accepted parents for the tag. The format of the list is a comma separated string.
RETURN VALUES
Returns a BBCode_Container
EXAMPLES
Example #1
bbcode_create(3) example
<?php
$arrayBBCode=array(
''=> array('type'=>BBCODE_TYPE_ROOT, 'childs'=>'!i'),
'i'=> array('type'=>BBCODE_TYPE_NOARG, 'open_tag'=>'<i>',
'close_tag'=>'</i>', 'childs'=>'b'),
'url'=> array('type'=>BBCODE_TYPE_OPTARG,
'open_tag'=>'<a href="{PARAM}">', 'close_tag'=>'</a>',
'default_arg'=>'{CONTENT}',
'childs'=>'b,i'),
'img'=> array('type'=>BBCODE_TYPE_NOARG,
'open_tag'=>'<img src="', 'close_tag'=>'" />',
'childs'=>''),
'b'=> array('type'=>BBCODE_TYPE_NOARG, 'open_tag'=>'<b>',
'close_tag'=>'</b>'),
);
$text=<<<EOF
[b]Bold Text[/b]
[i]Italic Text[/i]
[url]http://www.php.net/[/url]
[url=http://pecl.php.net/][b]Content Text[/b][/url]
[img]http://static.php.net/www.php.net/images/php.gif[/img]
[url=http://www.php.net/]
[img]http://static.php.net/www.php.net/images/php.gif[/img]
[/url]
EOF;
$BBHandler=bbcode_create($arrayBBCode);
echo bbcode_parse($BBHandler,$text);
?>
The above example will output:
<b>Bold Text</b>
[i]Italic Text[/i]
<a href="http://www.php.net/">http://www.php.net/</a>
<a href="http://pecl.php.net/"><b>Content Text</b></a>
<img src="http://static.php.net/www.php.net/images/php.gif" />
<a href="http://www.php.net/">
[img]http://static.php.net/www.php.net/images/php.gif[/img]
</a>
PHP Documentation Group BBCODE_CREATE(3)