Alhazred's Profile
Reputation: 9
Worker
- Group:
- Active Members
- Active Posts:
- 171 (0.08 per day)
- Joined:
- 25-July 07
- Profile Views:
- 4,189
- Last Active:
Mar 18 2013 03:34 PM- Currently:
- Offline
Previous Fields
- Country:
- IT
- OS Preference:
- Windows
- Favorite Browser:
- FireFox
- Favorite Processor:
- AMD
- Favorite Gaming Platform:
- PC
- Your Car:
- Ford
- Dream Kudos:
- 0
Latest Visitors
-
mostyfriedman 
06 Jul 2012 - 03:35 -
modi123_1 
14 Jun 2012 - 10:54 -
Rico Diesel 
13 Mar 2012 - 07:44 -
macosxnerd101 
07 Oct 2011 - 17:23 -
digitalsoularts 
10 May 2011 - 11:41
Posts I've Made
-
In Topic: [codeigniter] The resize function doesn't work properly
Posted 5 Feb 2013
Same problem, I've written a my own function to resize the images and it works. -
In Topic: [codeigniter] The resize function doesn't work properly
Posted 5 Feb 2013
The sizes provided are the limits to decide on which side to calculate the resize.
In example the source image is 200x80, the function should see that the side which exceeds the dimensions is the height and then it should calculate the new sizes according to the height maintaing the aspect ratio, it doesn't have to create a 300x70 image (in the code I made a mistake, the $config['height'] is 70, not 80) -
In Topic: CSS menu and problem with IE7
Posted 4 Feb 2013
I don't yet have the page online.
HTML validator says: This document was successfully checked as HTML5!
CSS Validator says: Congratulation! No error found.
A real example for the HTML of the menu is
<div id='top-menu-nav'> <ul> <li><a href="http://www.newsite.com/">Home</a></li> <li><a href='#'>Modifica dati</a> <ul> <li><a href="http://www.newsite.com/users/modifica/user_data.html">Modifica dati personali</a><div class='submenu-divider'></div></li> <li><a href="http://www.newsite.com/users/modifica/password.html">Modifica password</a><div class='submenu-divider'></div></li> <li><a href="http://www.newsite.com/users/modifica/email.html">Modifica email</a><div class='submenu-divider'></div></li> </ul> </li> <li><a href="http://www.newsite.com/users/ordini.html">I miei ordini</a></li> <li><a href="http://www.newsite.com/users/preferiti.html">Shop preferiti</a></li> </ul> </div>
Where the submenu-divider class
is
.submenu-divider { width: 15px; height: 30px; float: right; background-image: url('/static/images/submenu_divider.png'); background-repeat:no-repeat; background-position:right top; } -
In Topic: I need some explanation about transactions and concurrent accesses
Posted 21 Aug 2012
Solved using SELECT ... FOR UPDATE -
In Topic: How to round downward a decimal number keeping 2 decimal digits?
Posted 18 Aug 2012
CTphpnwb, on 18 August 2012 - 05:25 PM, said:if you want to truncate you could multiply the number by 10 to the number of digits desired, force type to an integer, and then divide by 10 to the number of digits desired.
Other options include number_format() and sprintf().
Thanks, I'd solved in this way
echo (int) ($decimal_number * pow(10, 2)) / pow(10, 2);
My Information
- Member Title:
- D.I.C Head
- Age:
- 36 years old
- Birthday:
- September 30, 1976
- Gender:
-
- Location:
- Italy
- Programming Languages:
- C, Java, php
Contact Information
- E-mail:
- Private
- Website URL:
-
http://
Friends
Alhazred hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
Alhazred has no profile comments yet. Why not say hello?