- // extract image
$strImg = ”;
if (stripos($item['content'], ‘ $imgsrc_regex = ‘#]*src\s*=\s*(["\'])(.*?)\1#im’;
preg_match($imgsrc_regex, $item['content'], $matches);
if (is_array($matches) && !empty($matches)) {
if (isset($matches[2])) {
$strImg = $matches[2];
}
}
}// replace image
$regex1 = “/\]*>/”;
$item['content'] = trim(preg_replace ( $regex1, ”, $item['content'] ));
?>if (isset($strImg)) {
echo ““;
}
?>
Posted in Uncategorized | Leave a Comment »
In this Article, I would like to introduce, Magento, one would like to consider it as a serious e-commerce framework. Might be many of you aware with that, but I think it’s my chance to glue something for it
since I have been working on it since couple of months.
Continue Reading »
Posted in Magento | 1 Comment »
Below is the link where you would find a very comprehensive guide to install and configure FFMPEG on your linux based system.
http://hubpages.com/hub/Install-ffmpeg-on-CentOS-64-bit-to-convert-3gp-video-files
FFMPEG is the open source project for converting Audio, Video and other media files to different formats. And also it provides lots of other features as well. Complete guide to FFMPEG can be found at http://ffmpeg.org.
Thanks.
Posted in Third party Applications | Leave a Comment »
I have found very cool link where you would find very interesting list of applications for your usage.
http://www.justskins.com/design/free-web-based-applications/2084
Hope you would Enjoy this!!
Posted in Third party Applications | Leave a Comment »
Following are some of the events that are provided by JavaScript
OnChange:
Occurs when user changes values in an input control. In text controls this event fire after user changes focus to other controls
OnClick:
This event occurs when a user clicks on the button control.This event is also occurs when a form is submitted to server.
OnMouseOver:
This events occur when user moves the mouse pointer over a control.
OnMouseOut:
Occurs when the user move mouse pointer over a control.
OnKeyUp:
Occurs when user release a pressed key.
OnSelect:
Occurs when the User selects a portion of a text in a user control.
OnFocus:
Occurs when a control receive focus.
OnBlur:
Occurs when a focus leaves controls.
OnAbort:
Occurs when user cancels image download.
OnError:
Occurs when an image can’t be downloaded
Onload:
Occurs when a new page finishes downloading.
OnUnLoad:
Occurs when a page is unloaded(This typically occurs when a new url has been entered
Posted in Javascript | Leave a Comment »
Definitions Of Object: An object is combination and collection of data and code designed to emulate a physical abstract enmity.You can create number object of class. The properties, Variable and Methods define in class are called Members of class.
Posted in OOPS | Leave a Comment »
It’s really Great to see my Favourite Drupal now supported with Flash.
Packt Publishing is pleased to announce the release of a new Drupal book called Flash with Drupal, authored by Travis Tidwell. Catered for Drupal Developers, this book walks the reader through the evolution of many different Flash applications built around the power and flexibility of Drupal.
Packt Publishing is also pleased to offer a 15% discount to any Drupal.org user. To purchase this book with this discount, simply purchase Flash with Drupal through Packt Publishing, and provide the code FlashDru15. Also, keep in mind that Packt contributes a portion of every book sale right back to Drupal!
Posted in Drupal | Leave a Comment »
Below is very basic example of url rewriting uing Apache and htaccess.
If you want to rewrite url below,
http://www.example.com/category1.htm
to
http://www.example.com/category.php?currentSection=1
Please use follow in your .htaccess..
RewriteEngine on RewriteRule category([0-9]+).htm$ category.php?currentSection=$1
Hope it should work!!
Posted in SEO Tips & Tricks | Leave a Comment »
Abstract
Its different trend nowadays appears in the global market when it comes to the matter of developing web based applications, and it’s CMS, probably the word you heard. And it’s all due to the ability of CMS systems to implement almost any kind of applications effectively, in both ways, by the matter of cost and the variety of features it comes with. And the success of open source CMS systems in the market reflects the evidence of the same. Open-source CMSs have now matured enough to the point where they should be measured side-by-side with commercial alternatives.
Here I just tried to come up with one of most booming one, JOOMLA CMS, probably the word you have heard if you are in the world of open source web development.
I just tried to spotlight on JOOMLA, on which currently I am working, from the point of view of a developer rather than being a non-technical user. Although if you are not a techie and you have a bit idea about the CMS, I am sure I would be able to get your attention up to the end.
Posted in White Papers | Leave a Comment »
I heartly Welcome you all to My Blog site.
You would find some useful and informational articles and post on this website.
Coming Soon!!
Posted in Uncategorized | 1 Comment »