Parse and display data from a CSV file

No Comments »

Many a times while building ecommerce, directory or other database oriented web applications, it is required to upload the data in a csv file to the database rather than having to manually enter every single record. In such cases, you need to be able to parse the data from the CSV file.

For this, you can either use the PHP class that can parse and display data from a CSV file. (Click here for the Link)

Or you could just use the PHP function fgetcsv (Click here for the Link)

Basically, it opens and parses the lines of a provided CSV file. The data is then stored in an array class variable.

OrderMotion Integration

No Comments »

Our SSecom Ecommerce Suite is fully compatible with OrderMotion! Moreover, we are experts with OrderMotion API integration with any PHP ecommerce suites or shopping cart.

OrderMotion delivers an on-demand direct retail platform that enables merchants to achieve unprecedented growth. By automating back-office operations, OrderMotion allows multi-channel merchants to focus on running and growing their businesses.

This award-winning application features an intuitive user interface that has contributed to the rapid growth of known brands including Ronco, Zabar’s, Wolfgang Puck and Goldspeed.com—and is the backbone of thousands of retail businesses that will become tomorrow’s name brands.

If you are looking for OrderMotion API integration with ecommerce solution, please contact us or request for quote.

ABOUT SSecom

SSecom is an extremely powerful php shopping cart and web site builder application. Designed from a marketing perspective, this ecommerce application is feature-packed, robust, scalable and easy to use. SSecom is the clear choice for serious merchants focused on rapidly and cost effectively deploying, managing and growing a successful web-based business.

View the complete set of features SSecom has to offer »

Unlike most other shopping cart software providers, SSecom is in constant development… always expanding and upgrading. It’s the reason why we’re the fastest growing e-commerce solution available. SSecom provides you with an unrivaled toolkit – from promotion and marketing, storefront design, order processing, shipping options, statistics & reporting, and product management – we are simply unrivaled in the industry.

Microsoft Web Platform- friendly with PHP

No Comments »

Microsoft has released the Microsoft Web Platform which is an interoperable Platform that combines a rich and powerful web application framework with a supporting cast of tools, servers, and technologies including a complete eco-system of products, technologies, communities, and partners.

Make Web, Not War.

With this title, Microsoft presented the release of Microsoft Web Platform. It has now optimized Windows Server to support PHP applications through a new component: FastCGI. FastCGI works as an interface between PHP engine and IIS, and it ensures that PHP runs much faster than with CGI and way more reliable than PHP ISAPI. It also allows users to download PHP and even install a bunch of PHP applications, such as Drupal and phpBB. Finally, Microsoft has started identifying PHP as a viable alternative to .Net. Trully, Meet the Happy Family. For more on this platform, visit http://www.microsoft.com/web/platform.

Undoubtedly, PHP is the most pervasive Web development language in the world, spanning tens of millions of Web sites and millions of developers. Not just small to medium scale applications but PHP has enabled large scale, high quality sites like Facebook and Wikipedia to deliver critical and enormously-loaded applications.

301 redirect (permanent redirection)

No Comments »

If you are planning to redirect your site page or main site to some other urls, 301 redirect method is the choice as it is easy to implement and is very search engine friendly. I am penning down few methods for setting up 301 redirect on linux servers using .htaccess. The pre-condition here is that the Apache Mod-Rewrite module should be enabled.

Redirect to www (htaccess redirect)

This method is applicable if you want all requests coming in to domain.com should get redirected to www.domain.com. For example if the site www.sakshay.in is being accessible by both http://sakshay.in and http://www.sakshay.in, the search engine will see this as two separate urls and may mark one as duplicate content. So this method shall redirect the url http://sakshay.in and all pages to http://www.sakshay.in.

The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)

Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domainname.com [nc]
rewriterule ^(.*)$ http://www.domainname.com/$1 [r=301,nc]

Please REPLACE domainname.com and www.newdomainname.com with your actual domain name.

Again this method requires Apache Mod-Rewrite module should be enabled on the server for the domain.

 

Redirect Old domain to New domain (htaccess redirect)

This method is applicable if you want that all your directories and pages of your old domain should get correctly redirected to your new domain. Again this method shall prevent from marking the pages as duplicate content by search engines.
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomainname.com/$1 [R=301,L]

Please REPLACE www.newdomainname.com in the above code with your actual domain name.

This would take care of the all the old links to be redirected to the new urls. Still it is preferred that in addition to this, your backlinks from other sites be directed to the new urls.

Again this method requires Apache Mod-Rewrite module should be enabled on the server for the domain.