Chào các bạn, trong quá trình đi phỏng vấn vị trí lập trình viên PHP, JS gần đây tại một số công ty. Mình đã […]
Tag: PHP
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 […]
PHP get type file function
PHP is language for webserver, it support very more functions. With file, PHP also support very more function, full for you can code everything . […]
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, […]