Create Facebook applications with CodeIgniter
Learn how to incorporate the Facebook SDK into the CodeIgniter framework, using the available functions to create applications. …
Learn how to incorporate the Facebook SDK into the CodeIgniter framework, using the available functions to create applications. …
These are way above and beyond the level of any other “CSS3 buttons” I’ve seen. Multiple backgrounds combining gradients and images, uneven border-radius, pseudo elements, HSL coloring, @font-face icons, transitions, box shadows, text shadows, hover and active states… the list goes on. Every trick in the book masterfully employed.They make my buttons …
Para aquellos que quieran desarrollar una aplicación que tenga acceso mediante SSH, le vendrá bien esta librería, aunque con la limitación de que sólo admite SSH1. Esto puede ser un impedimento, pero la librería que hay para SSH2 es PECL, lo cual también puede ser un impedimento a la hora de instalar.
require_once ('ssh_in_php.php');
$host = "127.0.0.1";
$port = 22;
$user = "user";
$password = "pass";
try {
$ssh = new SSH_in_PHP($host,$port);
$ssh->connect($user,$password);
$cycle = true;
while ($cycle) {
$data = $ssh->read();
echo $data;
if (ereg('\$',$data)) {
$cycle = false;
}
}
$ssh->write("ls -al\n");
$cycle = true;
while ($cycle) {
$data = $ssh->read();
echo $data;
if (ereg('\$',$data)) {
$cycle = false;
}
}
$ssh->disconnect();
} catch (SSHException $e) {
echo "An Exception Occured: {$e->getMessage()} ({$e->getCode()})\n";
echo "Trace: \n";
echo print_r($e->getTrace());
echo "\n";
}
In object oriented programming, polymorphism is a powerful and fundamental tool. It can be used to create a more organic flow in your application. This tutorial will describe the general concept of polymorphism, and how it can easily be deployed in PHP. What is Polymorphism? Polymorphism is a long word for a very simple concept. Polymorphism descri…