PHP PDO Mysql 101
| | |

PHP PDO Mysql 101

PHP PDO MySQL Needed to make a simple php script with mysql in it, so I decided to use PDO because… well peer pressure 😐 so heres a basic PHP PDO MYsql script. The idea is I have a table called table with a field called field in a database called somedatabase. We have 1000…

secure copy ( SCP ) howto 102
|

secure copy ( SCP ) howto 102

Secure Copy (SCP) provides a secure and authenticated method for copying files between hosts. SCP relies on Secure Shell (SSH). Copy the file “somefile.txt” from a remote host to the local host scp [email protected]:somefile.txt /some/local/directory Copy the file “somefile.txt” from the local host to a remote host scp somefile.txt [email protected]:/some/remote/directory Copy the directory “somedir” from…

Screen start issues
|

Screen start issues

Screen is a tool that allows users to resume a session after they have disconnected. Screen prevents a session from “timing out” or disconnecting SSH connections or local terminal emulators. A single Screen session has the ability to host multiple sessions or “windows.” I just spun up a new ubuntu 12.04 VPS and installed some…