PHP/MySQL

How to redirect page using PHP with values?

How to redirect page using PHP with values?

Here is the code for simple PHP page redirect. The search engine friendly way of redirecting is the 301 redirect. 1 2 3 4 <?php Header("HTTP/1.1 301 Moved Permanently"); header( ‘Location: http://www.yoursite.com/page.html’ ) ; ?> Note that if you do not include the first Header line above, the redirect still works. But, instead of a […]

Share on FacebookTweet about this on TwitterDigg thisPin on PinterestShare on LinkedInShare on StumbleUponShare on TumblrShare on Google+Email this to someone

How to upload image to database using PHP/MySQL

How to upload image to database using PHP/MySQL

Here is the simple code to upload files to a particular folder also this will make an entry in database. For example if you are making user registration, this code can be used to store user photo. Use the same user table to store user image. In this code we have used “file_tbl” table to […]

Share on FacebookTweet about this on TwitterDigg thisPin on PinterestShare on LinkedInShare on StumbleUponShare on TumblrShare on Google+Email this to someone