Unzip a file with php

I can only assume your code came from a tutorial somewhere online? In that case, good job trying to figure it out by yourself. On the other hand, the fact that this code could actually be published online somewhere as the correct way to unzip a file is a bit frightening. PHP has built-in extensions … Read more

Error:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

this code working on localhost but when i am testing on my live server it will give me this error Error:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure then i tried this github.com/paypal/TLS-update/tree/master/php this will again work on localhost and on live it gives me this my server have these certificates Server Key and Certificate #1 #2 #3 … Read more

file_get_contents( ) not working

Login to your server via ssh and type in the file, simply press “ctrl + w” and type “allow_url_fopen” and Return, most probably you will come to the explanation first, so repeat the search a couple of times. Now you can change the entry from allow_url_fopen=0 to allow_url_fopen=1 press “ctrl + x” and confirm the … Read more

Just to state the obvious for anyone viewing this discussion…. if you give any of your folders 777 permissions, you are allowing ANYONE to read, write and execute any file in that directory…. what this means is you have given ANYONE (any hacker or malicious person in the entire world) permission to upload ANY file, … Read more

Undefined variable: $_SESSION

Turned out there was some extra code in the AppModel that was messing things up: in beforeFind and afterFind: I don’t know why, but that was what the problem was. Removing those lines fixed the issue I was having.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)