Pario TechnoBlob
About Posts

Tag: PHP

Compare Two Flat E-mail Lists with PHP So here’s how I parsed to flat files with e-mail addresses (nothing special about it) approved_emails.txt has the following emails in it: email1@email.com email2@email.com...
Jul 26, 2007 11:12PM
MySQL via PHP Cheat Sheet Connect to MySQL and to the database // Connect to MySQL $connect = mysql_connect("localhost", "mysqluser", "userpassword") or...
Jul 3, 2007 1:17AM
Script to parse file content from one file to another This is a PHP script that parse file content from a file and writes this to another config file. #!/usr/bin/php -q < ?php if ($_SERVER['argv'][1] == '') { die("Usage:...
Apr 16, 2007 11:28AM
Remove blank / empty lines function removeEmptyLines($string) { return preg_replace("/(^[\r\n]|[\r\n]+)[\s\t][\r\n]+/", "\n", $string); }
Apr 4, 2007 10:32AM
«« « 1 2 3 4 » »»
Posts About
© 2007-2020 Pario TechnoBlob
Powered by Axiom