Posts

Showing posts from August, 2015

vsftpd normal Configure

Image
Configure vsftpd about User local user directory when ftp
and change connection timeout




11 # Allow anonymous FTP? (Beware - allowed by default if you comment this out).
12 anonymous_enable=NO

14 # Uncomment this to allow local users to log in.
15 local_enable=YES

17 # Uncomment this to enable any form of FTP write command.
18 write_enable=YES

20 # Default umask for local users is 077. You may wish to change this to 022,
21 # if your users expect that (022 is used by most other ftpd's)
22 local_umask=022

33 # Activate directory messages - messages given to remote users when they
34 # go into a certain directory.
35 dirmessage_enable=YES

bin2hex insert onto

$query = "INSERT INTO table_name (blobfield) VALUES ('".bin2hex($blobfield)."')";mysql_query($query);