Jump to content


Freddy Sidauruk

Member Since 20 Oct 2014
Offline Last Active Aug 29 2015 03:06 AM
-----

Topics I've Started

How can i only allow spesific width and height when upload images

06 August 2015 - 01:24 AM

Hi all this is my first post,

 

i have been working well in my project all about CRUD but feel bored then looking for another way, but my problem use grocery only when users upload images, i want some setting validations for it, if in php codeignter i use this 

$image_info = getimagesize($_FILES["foto"]["tmp_name"]);      //get size images

$image_width = $image_info[0];                               //get width images

$image_height = $image_info[1];                             //get height images


if (($image_height=='350') and ($image_width=='600'))  
{
    //do uploading
}	
			

the only thing hards allow spesific width=350 and height=600

 

 

Thanks for any respond and some tutorial or links

 

 

Thanks freddy


What Max rows to execute Mysql when website hosting

30 October 2014 - 07:27 AM

hello there i have try it with data more than 100 row in localhost, after try it there is no problem but trying hosting my website why it take so long ? what should i do ? i'm new bie at codeigniter and grocery, big thanks for respon :D

 

 


Can i make new css but still grocery work

20 October 2014 - 03:33 AM

hey dear, i'm sorry for posted stupid question to be honestly i'm new bie about 3 month work as junior developer, well i have second project that i supposed to move using frame work, oke just to the point

 

after look design dummy, i try search crud generator and found grocery,

is it possible tha i change css or it must default css grocery ?

 

i hope there is nice disscusion here, 

 

Big Thanks 

(Junior Dev)