06-05-2009
Quote:
Originally Posted by
_R3d
do you have gnome_enable="YES" in your rc.conf?
yes .
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
First off, I know this isn't a LINUX board, but I figured it was close enough that no one would get upset.
Anyway, I have Windows2000 and Linux running dual-boot. That works fine, but when I boot into Linux all I get is a command prompt. How do I start gnome or kde? I read the manual, but I... (2 Replies)
Discussion started by: jimmy
2 Replies
2. UNIX Desktop Questions & Answers
I was finally able to get FreeBSD working with X-windows and KDE. I installed Gnome also. However am not given the chance to run Gnome when I type: startx at the command line. KDE seems to be default
How can I run Gnome too? (1 Reply)
Discussion started by: lancest
1 Replies
3. UNIX for Advanced & Expert Users
Hi expert ,
When i trying to start sendmail i getting the following error : pls help me
# ./sendmail start
# 451 4.0.0 /etc/mail/sendmail.cf: line 77: fileclass: cannot open /etc/mail/local-host-names: World writable directory
451 4.0.0 /etc/mail/sendmail.cf: line 472: fileclass: cannot... (6 Replies)
Discussion started by: saisivakumar
6 Replies
4. Programming
Hi,
I have installed MySql version 5.0.67 in RedHat LINUX version 5. The installation completed successfully.
When I am trying to start the service an error occured the error shown below
".......Manager of pid-file quit without updating file"
Can anyone help me to fix the problem.... (4 Replies)
Discussion started by: saravanakumar
4 Replies
5. AIX
Hi, I've installed AIX 5.1 but Gnome does not start by default. I've tried gnome-session and it's not power it up... what should I do? (3 Replies)
Discussion started by: aixn00b
3 Replies
6. Linux
Hi all,
I installed vncserver on fedora core 10.
I am able to start vncserver and access it via vncviewer but i am not getting gnome display. I am getting the following errors.
1) The panel has encountered a fatal error: the panel could not register with bonobo activation server (error... (6 Replies)
Discussion started by: lramsb4u
6 Replies
7. UNIX for Advanced & Expert Users
Hi Guys,
I am trying to configure DNS on ESX server.
Everything done but when I am trying to start the DNS, it gives me an error
# service named restart
Stopping named:
Starting named:
Error in named configuration:
/etc/named.conf:42: when using 'view' statements, all zones must be... (7 Replies)
Discussion started by: Srvesh
7 Replies
8. Shell Programming and Scripting
Hi
I'm looking for scripts to backup & restore Gnome Desktop and all settings in Gnome. (0 Replies)
Discussion started by: ccc
0 Replies
9. Red Hat
I have a new server, installed everything and tried to get it all up and running.
Got the following issue:
# /usr/local/apache/bin/apachectl start
httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server:... (0 Replies)
Discussion started by: Tommyk
0 Replies
LEARN ABOUT PHP
db2_escape_string
DB2_ESCAPE_STRING(3) 1 DB2_ESCAPE_STRING(3)
db2_escape_string - Used to escape certain characters
SYNOPSIS
string db2_escape_string (string $string_literal)
DESCRIPTION
Prepends backslashes to special characters in the string argument.
PARAMETERS
o $string_literal
- The string that contains special characters that need to be modified. Characters that are prepended with a backslash are x00,
,
, , ', " and x1a.
RETURN VALUES
Returns $string_literal with the special characters noted above prepended with backslashes.
EXAMPLES
Example #1
A db2_escape_string(3) example
Result of using the db2_escape_string(3) function
<?php
$conn = db2_connect($database, $user, $password);
if ($conn) {
$str[0] = "All characters: x00 ,
,
, , ' , " , x1a .";
$str[1] = "Backslash (). Single quote ('). Double quote (")";
$str[2] = "The NULL character must be quoted as well";
$str[3] = "Intersting characters: x1a , x00 .";
$str[4] = "Nothing to quote";
$str[5] = 200676;
$str[6] = "";
foreach( $str as $string ) {
echo "db2_escape_string: " . db2_escape_string($string). "
";
}
}
?>
The above example will output:
db2_escape_string: All characters: ,
,
, \ , ' , " , .
db2_escape_string: Backslash (\). Single quote ('). Double quote (")
db2_escape_string: The NULL character must be quoted as well
db2_escape_string: Intersting characters: , .
db2_escape_string: Nothing to quote
db2_escape_string: 200676
db2_escape_string:
SEE ALSO
db2_prepare(3).
PHP Documentation Group DB2_ESCAPE_STRING(3)