this piece of code will stop people from writing dodgy email addresses in a form…
“/^[a-zA-Z0-9._-]+@[a-zA-Z0-9-.]+\.[a-zA-Z]{2,5}$/”
php preg_match
Reply
this piece of code will stop people from writing dodgy email addresses in a form…
“/^[a-zA-Z0-9._-]+@[a-zA-Z0-9-.]+\.[a-zA-Z]{2,5}$/”
tar — Tape File Archiver
% /usr/sbin/tar – [key] [files]
stdin read if no files specified
++++++++++++++++++++++++++++++
tar tvf ~/scr150.tar
tar cvf archivename.tar ____________ ____________ ____________
recursiveness is implied
txt
directories – leave off the slash
++++++++++++++++++++++++++++++
compress:
% tar -cf – FOLDER | gzip > FOLDER.tgz
++++++++++++++++++++++++++++++
decompress:
% gzcat FOLDER.tgz | tar -xf -
Beshrew me, but I love her heartily,
For she is wise if I can judge of her,
And fair she is if that mine eyes be true,
And true she is as she hath proved herself,
Therefore, like herself fair, wise, and true,
Shall she be placed in my constant soul….
What play is that from?