Posted by Ankur Gandhi on October 23, 2010 ·
Hi Friends , yesterday I was working with email attachment and I wanted to send pdf file as email attachment but It was giving me so many problems. I have searched so many code for PDF attachment but no one was working So I start tp debug code and finally made working pdf attachment code by pdf attachment in email worked successfully
Read More →
Posted by Ankur Gandhi on October 23, 2010 ·
Hi Friends , Custom post types is one of the main feature of wordpress 3.0. By custom post types you can create any section like post and pages, means you can creat any section exists in your site. Just for example if you have section in your site News then you can create News section by putting a simple code in theme function file and it will create News Section in admin. So in this example I am showing you how we can create custom post types Products in your wordpress.
Read More →
Posted by Ankur Gandhi on October 23, 2010 ·
Hi Friends, Today I am going to explain you how to connect to FTP or how can we connect to FTP via PHP functions to perform some manipulations on files like copy file exists in one server to local server etc. My requirements was I have to connect to one FTP program via php functions and copy one file exists in one folder to my server and I have to do this via PHP script because this process will run every day via cron job. So I have searched about it found inbuilt PHP functions which helps me a lot in this
Read More →
Posted by Ankur Gandhi on October 22, 2010 ·
Hello Friends, In this post I will explain you how to load data file which data is separated by one separator (, or | or -) in database table by only single mysql query. Some days ago I was working on one project in which I have to fetch one data feed from other server to website server via FTP functions of PHP then load that file in my sql database table and show that data in website. So because of this feature I need one query by which I can load data in database table by one query
Read More →
Posted by Ankur Gandhi on October 22, 2010 ·
Hello Friends, In this article I am showing you that how can you find that cURL is installed / enabled on your server or not. First of all some words about cURL. cURL a library created by Daniel Stenberg, that allows you to connect and communicate to many different types of servers with many different types of protocols. It is required for the Paypal IPN system and many other system and it is more reliable than using sockets
Read More →
Posted by Ankur Gandhi on October 18, 2010 ·
Hi Friends, As I told you that in my last post that I will share some post about open cart. In this post I am sharing you how to show a count of added items in your cart. means you can show at top or anywhere on your page that you have number of items in your cart. I have searched about this if open cart have this function already but I didn’t find anything, So I used my technique to do this. So if you are interested to do this then you can follow steps shown below
Read More →
Posted by Ankur Gandhi on October 18, 2010 ·
Hi Friends, I am PHP freelancer So I am mostly working on all types of PHP projects and also all types of open sources. So some days ago I got opportunity to work with shopping cart open source project. Now it was my choice that what I should use Open Cart , Zen Cart or WordPress Shopping Cart. So I have searched all things and finally I selected Open cart for my project because it was matching perfectly with my client requirements. So when I started working on it, I done so much customization in it, So I will share all things one by one after this article. In this article I just explain you how you can start SEF Urls (Search Engine Friendly Urls) in open cart. It is very easy but little bit tricky. So checkout...
Posted by Ankur Gandhi on October 1, 2010 ·
Hello Friends, There are so many good hosting services on internet and DreamHost is one of the best hosting service of them. On internet you will found so many coupon codes having 50$ off on hosting of dreamhost or 40$ off on dreamhost hosting but today hacking ethics brings you coupon code for dreamhost which is having 65$ off on one year hosting and one domain for one year absolutely free
Read More →
Posted by Ankur Gandhi on October 1, 2010 ·
Hi Friends, In this post I will explain how to get post link by post id, I know this is not too much difficult things and also it is very small things but some time small things are hard to find so I thought to share it on my blog. Sometime while working with wordpress we need some code by which we can find post link by post id , So below I explain how we can get link of post by post id
Read More →
Posted by Dharmik on September 24, 2010 ·
Have you ever saved a post on your blog only to realize later that you accidentally erased a critical paragraph?No right? but in wordpress this is possible.wordpress automatically save that post whenever that post is edited.A new row will be created in wp_posts table. Hence if your posts or pages got edited 10 times, you will have 10 new rows in wp_posts table.so post revision feature of word press is very useful.but they also increase the size of your MySQL database.At this time You can surely delete the post revision one by one manually but it tends very long and boring work
Read More →
Recent Comments