Our Blog

Our Blog

Welcome to our blog. Here you will find news, articles, as well as some development tips for web design.

Our Blog


New Shopping Cart Software

by Thomas J. Allen
Posted on Oct 29, 2018 at 04:42:14 PM



A New Shopping Cart This has been an interesting month to say the least. This month I was hired to build up a new website for a local Italian restaurant with an online order area. As I normally do, is to build an order area and link it up to our Advanced Cart (PHP) software. But as I was contemplating this, something hit me! If they are ordering food, will it be really annoying to have the cart popup for every add to cart click. The answer, yes! it would. If I were ordering Pizza, or other food dishes I would want the process to go smooth and everything happening on one page with no page refresh or popups. So my solution was to build a brand new shopping cart from scratch using nothing other than JavaScript. Yes of course the processing part uses PHP to link to the merchant processor, but the over all functionality that will be on the order page would be designed in JavaScript and the data is stored in cookies. Now for the hard part! As with PHP we can store all items in sessions on the...


Read More

BSM Store Now On This Website...

by Thomas J. Allen
Posted on May 30, 2018 at 04:23:47 PM



We have now moved the main BSM Store (bsmstore.com) website to our main site BrainScanMedia.com. Here you can purchase our Advanced Cart Shopping Cart as well as new utilities and items we will be putting up. Click Here To Visit The Store ...


Read More

Push JavaScript Values To PHP

by Thomas J. Allen
Posted on May 25, 2018 at 01:23:50 PM



I was working on a timezone counter to show when the next Sabbath starts based on the visitors location. My time calculations were all done in PHP to calculate the remaining time till the Sabbath starts. So I was trying to figure out how to grab the visitors TimeZone info without needing to link to a service to determine their location by IP Address. Then it hit me! JavaScript would be the best way to grab this info from the client side browser and set the correct info, but then how would I send this info to PHP? I tried many different steps to accomplish this, without success. Then it hit me, why not just set a cookie with JavaScript and grab it in PHP! This approach turned out to be a success. JavaScript To Set Initial Cookie <script type="text/javascript">   function setCookie(cname, cvalue, exdays) {    var d = new Date();    d.setTime(d.getTime() + (exdays*24*60*60*1000));    var expires = "expires="+...


Read More
Showing Page 2 to 3 of 8 Blog Posts

Blog Search

Archive

Site By BrainScanMedia.com, Inc. - A Web Solutions Company. Advanced Cart, Parker Colorado Web Design, Parker Colorado Web Design, Parker Colorado Web Hosting, Parker Colorado Web Hosting, Parker Colorado eCommerce, Parker Colorado SEO, Parker Colorado Search Engine Optimization, Parker Colorado Graphic Designer, Parker Colorado Programmer, Parker Colorado Business Card Design, Staten Island New York Web Design, Staten Island New York Web Design, Staten Island New York Web Design, Staten Island New York Web Designer, Staten Island New York Website Design, Staten Island New York Web Hosting, Staten Island New York Web Hosting, Staten Island New York eCommerce, Staten Island New York SEO, Staten Island New York Graphic Designer, Staten Island New York Programmer, Staten Island New York Business Card Design