Hi,
Please help.
I created a ZFS pool on Solaris 11.3 (thunder) and shared it using NFS (storage).
But when I connect from my Mac without credentials I can't write to the share,I assume I have to make the share public but can't figure out the syntax,please help.
Also the pool is for... (6 Replies)
AudioScope.sh has now had 2 votes of 5 stars.
It has also been thanked in the latest upload...
Although I know who thanked this kids project, and I have personally thanked that person,
this is a public thank you to the two anonymous people who have voted it 5 stars.
Thank you.
It has... (0 Replies)
Hi
I do use this line to find my public IP.
Is there other way I can do this?
Maybe create the script some shorter?
wget -q -O - http://minip.no | grep "<b>" | head -n1 | cut -d'<' -f3 | cut -d'>' -f2
Thanks (1 Reply)
I guys, I have a compute at home and I want access it from outside with a public IP, and the problem is that my ISP distributed private IP addresses and to access the Internet is through NAT and. I want to access that computer via SSH from other network, how can I do that? (1 Reply)
Hi All,
I am having knowledge on some basics of ssh and wanted to know what are the public keys and how can we create and implement it in connecting server.
Please provide the information for the above, it would be helpful for me.
Thanks,
Ravindra (1 Reply)
SPLOBJECTSTORAGE(3) 1 SPLOBJECTSTORAGE(3)The SplObjectStorage classINTRODUCTION
The SplObjectStorage class provides a map from objects to data or, by ignoring data, an object set. This dual purpose can be useful in
many cases involving the need to uniquely identify objects.
CLASS SYNOPSIS
SplObjectStorage
SplObjectStorageCountableIteratorSerializableArrayAccess
Methods
o public void SplObjectStorage::addAll (SplObjectStorage $storage)
o public void SplObjectStorage::attach NULL (object $object, [mixed $data])
o public bool SplObjectStorage::contains (object $object)
o public int SplObjectStorage::count (void )
o public object SplObjectStorage::current (void )
o public void SplObjectStorage::detach (object $object)
o public string SplObjectStorage::getHash (object $object)
o public mixed SplObjectStorage::getInfo (void )
o public int SplObjectStorage::key (void )
o public void SplObjectStorage::next (void )
o public bool SplObjectStorage::offsetExists (object $object)
o public mixed SplObjectStorage::offsetGet (object $object)
o public void SplObjectStorage::offsetSet NULL (object $object, [mixed $data])
o public void SplObjectStorage::offsetUnset (object $object)
o public void SplObjectStorage::removeAll (SplObjectStorage $storage)
o public void SplObjectStorage::removeAllExcept (SplObjectStorage $storage)
o public void SplObjectStorage::rewind (void )
o public string SplObjectStorage::serialize (void )
o public void SplObjectStorage::setInfo (mixed $data)
o public void SplObjectStorage::unserialize (string $serialized)
o public bool SplObjectStorage::valid (void )
EXAMPLES
Example #1
SplObjectStorage as a set
<?php
// As an object set
$s = new SplObjectStorage();
$o1 = new StdClass;
$o2 = new StdClass;
$o3 = new StdClass;
$s->attach($o1);
$s->attach($o2);
var_dump($s->contains($o1));
var_dump($s->contains($o2));
var_dump($s->contains($o3));
$s->detach($o2);
var_dump($s->contains($o1));
var_dump($s->contains($o2));
var_dump($s->contains($o3));
?>
The above example will output:
bool(true)
bool(true)
bool(false)
bool(true)
bool(false)
bool(false)
Example #2
SplObjectStorage as a map
<?php
// As a map from objects to data
$s = new SplObjectStorage();
$o1 = new StdClass;
$o2 = new StdClass;
$o3 = new StdClass;
$s[$o1] = "data for object 1";
$s[$o2] = array(1,2,3);
if (isset($s[$o2])) {
var_dump($s[$o2]);
}
?>
The above example will output:
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
PHP Documentation Group SPLOBJECTSTORAGE(3)