If you want build an easy chat site, user to user. You can use server send javascript event. Your chat site will be completed in a […]
Tag: code
JavaScript get the location browser
The browser support the Navigator object. We can get location of browser by the Geolocation property in Navigator object. The Geolocation property supported in browser: […]
Magento code add pictures to the product
To add pictures to the product, put them into the according folder. With this code, I used to build a module have import product function […]
Magento code change password user admin
Magento code change password user admin In anyday, you unable to log in to Magento system. Don’t worry, you don’t remember but you still can […]
Magento rename table
Magento rename table Rename database tables could make manually through a tool like phpMyAdmin or softwares, but because a default Magento install counts over 200 […]
Magento rewrite controllers Enterprise_ImportExport
Magento rewrite controllers Enterprise_ImportExport All project I was joined are using rewrite block, model, helper or controllers. We need to change something, to add something […]
Magento send mail attach file
Hi everyone, Today I share code to send mail attach file in Magento. Magento supported functions about mail for user and coder can easy to […]
Logs one machine at a time
Logs one machine at a time Guide and demo one machine time: Set a key in your session that you store in the database in […]
Code get number day in month
Share for everyone code get number day of a month. Below, I code with PHP. Format number of the day: start from 0 -> Sunday, […]
Add Git to Console 2
I was used Console2. Not only can it display a regular command prompt and PowerShell in tabs (as he describes), any console process can be […]