Hello,
I have 2 sun servers. We are running Oracle apps. We have to apply patches to both servers whenever a patch needs to be applied for Oracle.
We use the same username eg. applmgr on both servers. We have a shared patch area which we can run the patch from on both boxes.
the uid for... (2 Replies)
Hello gurus,
I have question. I have enabled ssh on the servers.
I am planning to change the oracle user's(os user) password. If I change the password will it affect the authorized_keys? Do I need to regenerate it.
Thanks, (2 Replies)
I have modified the .profile in my profile and I don't see any effect.
Why the changes don't have effect?
I tried both on the account at a server where I have limited permissions as user and to my local pc (as user).
Is it the .profile overridden by some other file? It looks weird because I... (8 Replies)
Hi,
I have a quick question with regards to creating symbolic links. Would creating a symbolic link from one directory to a file in another cause any issues for users that are currently logged into the box. I don't believe it will unless they are using the file in question, but I would like... (2 Replies)
I would like to affect an exploded string into an array.
one:two::fourinto an array:
a => one
a => two
a =>
a => four
Quite simple in other languages with functions like explode() or split().
The best I could come up with was this:
until
do
token=${string%%:*} # takes the... (8 Replies)
Here we have concern. We have a IBM software installed in a server S1 in the location : /opt/IBM.
In this server S1, we have /opt file system in local disk. We don't have any option to increase the file system there.
We have created a separate /opt/IBM_NEW file system with 10GB in S1 server.... (1 Reply)
Hello
I have created next scritpt to do the next: chekp if host is alive. When the host down, launch telnet other equip to do checks.
When execute the script the load average of the machines increase. For example:
Before launch script
top - 11:14:56 up 14 days, 18:06, 3 users, load... (3 Replies)
Good evening, i need your help please
I will try to describe the scenario briefly: In a Telecom Production system application receives a certain files called CDRs(call detail records) to be processed by doing some operating systems operations and then database operations like creating indexes... (4 Replies)
Discussion started by: alexcol
4 Replies
LEARN ABOUT PHP
strval
STRVAL(3) 1 STRVAL(3)strval - Get string value of a variableSYNOPSIS
string strval (mixed $var)
DESCRIPTION
Get the string value of a variable. See the documentation on string for more information on converting to string.
This function performs no formatting on the returned value. If you are looking for a way to format a numeric value as a string, please see
sprintf(3) or number_format(3).
PARAMETERS
o $var
- The variable that is being converted to a string. $var may be any scalar type or an object that implements the __toString()
method. You cannot use strval(3) on arrays or on objects that do not implement the __toString() method.
RETURN VALUES
The string value of $var.
EXAMPLES
Example #1
strval(3) example using PHP 5's magic __toString() method.
<?php
class StrValTest
{
public function __toString()
{
return __CLASS__;
}
}
// Prints 'StrValTest'
echo strval(new StrValTest);
?>
SEE ALSO boolval(3), floatval(3), intval(3), settype(3), sprintf(3), number_format(3), Type juggling, __toString().
PHP Documentation Group STRVAL(3)