Wednesday, August 20, 2008

@font-face CSS tip

this is a great way to make a font face available.

This can help eliminate some headaches on choosing type for a website.

Found it here: Link

/* A font by Jos Buivenga (exljbris) -> www.exljbris.nl */
@font-face {
font-family: “Fertigo”;
src: url(http://www.taptaptap.com/Fertigo.otf)
format(”opentype”);
}

Labels: , , ,

Monday, July 7, 2008

Things to check when setting up uploading for PHP

max_execution_time = 60 ; Maximum execution time of each script, in seconds
max_input_time = 90 ; Maximum amount of time each script may spend parsing request data
memory_limit = 30M ; Maximum amount of memory a script may consume (16MB)

; Maximum size of POST data that PHP will accept.
post_max_size = 100M

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =

; Maximum allowed size for uploaded files.
upload_max_filesize = 100M

Labels: , , ,