Mar 30

Pentru a loga in aplicatia wiki fara a intra in pagina de login, din alta aplicatia trebuie setat cookie cu username si parola care exista in wiki, si path URL catre wiki.

ex:
$expire = time() + 30*24*60*60;
$credentials = serialize(array(“test”,”test”));
setcookie(“gloobal_user”, $credentials, $expire, “/wiki/”);

in pagina \inc\auth.php
functia auth_login

dupa instructiunea list($user,$sticky,$pass) = auth_getCookie();
citim din cookie username si parola utilizatorului care exista deja in wiki

$credentials = unserialize(str_replace(“\\”,”",$_COOKIE["gloobal_user"]));
$user = $credentials[0];
$pass = PMA_blowfish_encrypt($credentials[1],auth_cookiesalt());

Mar 2

Daca aveti un Apple iPod Touch mai vechi (prima generatie), care au 1.xx versiunea de firmware ca sa puteti face upgrade la Firmware 2.xx este necesar sa platiti o taxa de 9.95$, prin intermediul iTunes Store, dar ………mai exista o varianta :) .

Atentie! update-ul va sterge toate datele de pe ipod-ul dvs.

1. Descarcati si instalati cea mai recenta versiune de iTunes.
2. Descarcati si salvati iPod Touch Firmware iPod1,1_2.0_5A347_Restore.ipsw (aici gasiti cam toate firmware-urile http://www.felixbruns.de/iPod/firmware/ ).
3. Conecteaza iPod touch la calculator si lanseaza iTunes, versiunea dvs. de firmware va fi afisata in feastra de iTunes.
4. Cu Shift+butonul restore selectati versiunea salvata anterior, si da-ti open.
5. iTunes va porni procesul de restore.
6. Nu deconectati în timp ce iTunes face restore aparatului dvs. iTunes va reporni aparatul dvs si noua versiune de firmware va fi afisata in iTunes cat si in meniul Settings-General-About.

Mar 1

Data security is important and often undervalued by designers, developers, and clients alike. Since PHP 5.2.0, data sanitization and validation has been made significantly easier with the introduction of data filtering. Today, we’re going to take a closer look at these filters, how to use them, and build a few custom functions.

Source : here

Mar 1

In this article I will explain how to create a PHP Class that will encrypt and decrypt any data with a given password. It is object programmed and uses existing PHP algorithms.

Excerpt :

Think about what we might need a class like this for? We want to encrypt important data with a password for security reasons. We also want, as already mentioned, to be able to decrypt that data when necessary. Why should you use symmetric algorithms? It’s easy; when you’re offering a password sent via email or something like that, you need the password to be sent in plaintext. The hash algorithms are not reversible. Once you have hashed a string you can’t decipher the original text from the hash.

Source : here

Mar 1

One crucial part of PHP development practice is always keeping in mind that security is not something you can simply buy off the shelf at your local convenient store. Ensuring the security of your web applications is a process, which over time, needs to be constantly evaluated, monitored, and hardened.

Source : here

Mar 1

cURL is a tool for transferring files and data with URL syntax, supporting many protocols including HTTP, FTP, TELNET and more. Initially, cURL was designed to be a command line tool. Lucky for us, the cURL library is also supported by PHP. In this article, we will look at some of the advanced features of cURL, and how we can use them in our PHP scripts.

Source : here

Powered By Wordpress - Theme Provided By Wordpress Theme - Credit Loan