Posts Tagged by php
simple regular expression to search all the emails from a web page.
| April 12, 2010 | Posted by Subikar under email, link, php |
Hi Developers If you want to search all the emails from a web page you can use this simple regular expression to search all the email from any website. (href=["|\'])(mailto:)(.*?)(["|\']) If you are using php script then your code will be like this. preg_match(‘(href=["|\'])(mailto:)(.*?)(["|\'])’, $Your String, $Return the data in Array);
Digital forums resgiter problem for last 10 week.
| June 16, 2009 | Posted by Subikar under forums, myblogplanner |
Last 2 month ago one of my office colleague signed up with digital forums and got error and even not received any email from digital point Fatal error: Existing data passed is not an array Called set_existing in /home/sites/forums.digitalpoint.com/web/register.php on line 385 in /includes/class_dm.php on line 235 I thought it may be they have updated …
Create New joomla password function
| April 27, 2009 | Posted by Subikar under cms, joomla, myblogplanner, subikar |
Let me show you how you can create joomla password function Here is the exmaple how you can create joomla 1.5.x password function. function FnGenerateNewPassword($Password) { jimport(‘joomla.user.helper’); $salt = JUserHelper::genRandomPassword(32); $crypt = JUserHelper::getCryptedPassword($Password, $salt); $password = $crypt.’:’.$salt; return $password; } Hope this will help you in some program.