10-14-2008
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
how do i get a mod_perl for apache on a win98 box ? (1 Reply)
Discussion started by: perleo
1 Replies
2. UNIX for Advanced & Expert Users
has anyone used these?
i am useing Apache 2 and mod_perl 1.99_12. (the latest for both)
<Location /test>
PerlAuthenHandler Apache::AuthenNTLM
AuthType ntlm
require valid-user
PerlAddVar ntdomain "CONWAY QGATS006 CNFQS022"
PerlSetVar defaultdomain CONWAY
PerlSetVar ntlmdegub 2... (1 Reply)
Discussion started by: Optimus_P
1 Replies
3. Solaris
Hi friends,
i down loaded the gcc*.gz file and i am getting the following error when i am trying to install it on solaris 8
=======================================================
Processing package instance <SMCgcc342> from </export/gcc-3.4.2-sol8-sparc-local>
gcc
(sparc) 3.4.2
FSF... (1 Reply)
Discussion started by: sveera
1 Replies
4. BSD
Hello I need somebody help me! for mod_perl installation
i cant even get configuration over yet till now
error message is "aborted line 36 in Makefile.PL"
my OS is freebsd4.6 and apache2.2,perl5.8.8 is installed
i use mod_perl-2.0.2 and move directory then type below
$ perl Makefile.PL... (2 Replies)
Discussion started by: antoniozacca
2 Replies
5. UNIX for Advanced & Expert Users
Hello,
I'm trying to install mod_perl on solaris 9, but I get an error. It seems to complain about my c compiler, but I may be wrong. If it is, I already defined the path to my c complier, which is gcc. Please advise.
#cd /usr/src/mod_perl-1.29
#perl Makefile.PL... (3 Replies)
Discussion started by: xnightcrawl
3 Replies
6. UNIX for Advanced & Expert Users
I am running FreeBsd 6.1 and I installed mod_perl2 using ports but it still isn't loading into apache. What do I have to do to get mod_perl to load in apache??????????? (1 Reply)
Discussion started by: rbizzell
1 Replies
7. UNIX for Dummies Questions & Answers
I have installed the packages for SFTP when I am trying to start the sshd I am getting the below error.Can you help me in resolving this issue.
# ./sshd start
starting SSHD daemon
ld.so.1: /usr/local/sbin/sshd: fatal: libcrypto.so.0.9.8: open failed: No such file or directory
1333 Killed (4 Replies)
Discussion started by: csreenivas
4 Replies
8. UNIX and Linux Applications
I think this is more of a application question than a scripting question.
On a solaris 8 server with Apache 2.6 and perl 5.8.8, we have an html/javascript file that uses HTTP Post to a perl script. The perl script sends data back via HTTP get to a redirected HTML file. The HTML file strips off... (0 Replies)
Discussion started by: csgonan
0 Replies
9. Web Development
only happens with mod_perl (AddHandler perl-script)
with AddHandler cgi-script all is fine
for some reason it adds this html-code on my error page:
it's just like php-error report
it happens when user does a mistake in form he gets error page
when i use cgi-method there's just error... (0 Replies)
Discussion started by: tip78
0 Replies
10. Red Hat
Hi guys,
I am trying to install redhat Linux 6 for the first time. I bought a server which has Linux previously installed. When I try to create a custom layout, I get the following error " Could not allocate requested partitions: not enough free space on disks. " How can I free the disk so I can... (2 Replies)
Discussion started by: cjashu
2 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)