Category : PHP

Image resizing with php exif orientation

I have been working on a project recently that has incorporated an upload mechanic for images uploaded to our website. The images are then resiged and flipped into a different dimension when i used in  ipad. To solve this problem i found EXIF. EXIF is a way of reading an image and returning the information determining the

Read More →

2,114 total views, no views today

How to store array in mysql?

  This is one of the mostly asked question by php programmer because mysql doesn’t has any array data type. So we can not store array directly into mysql database. To do this we have to first convert array into string using php serialize() function then save it into mysql database. php code to store array in

Read More →

1,037 total views, no views today

PHP script to send message

Following steps to send SMS using PHP. Step 1:  Simply register for an account, and you will get username and password. Step 2: When you login using these username and password, you will get an api_id to use. These username , password and api_id details will be used in the code to send sms .   Here is

Read More →

971 total views, no views today

Convert html to wordpress

-> First , create a folder in themes folder of wp-content ->Make following files  : 1) style.css 2) header.php  3) footer.php 4) functions.php  5) sidebar.php 6)  index.php  7) page.php style.css

These comments simply help WordPress properly identify the theme. header.php

line 6 : <?php bloginfo(‘title’); ?>// Show blog title line 8 : <?php

Read More →

1,186 total views, no views today

How can we add menu to Dashboard in WordPress

Admin Menu Editor lets you manually edit the Dashboard menu. -> First ,Install Admin Menu Editor Plugin and Activate it. -> Link for downloading   : https://wordpress.org/plugins/admin-menu-editor/installation/ -> It  appear in Dashoboard menu->Settings->Menu Editor Pro Menu Editor Pro Here, You can reorder the menus, show/hide specific items, change access rights, and more. Features Edit menu title,

Read More →

1,338 total views, no views today

1 2 3 9