Commit Graph

11 Commits

Author SHA1 Message Date
Chris Morgan
9df7154d04 Fix some php bugs in the last modified patch that are breaking screenshots 2005-07-10 02:55:03 +00:00
David Lee Lambert
4ddd5dc8c0 Send last modified information for images so the browser can use the cached version instead of re-downloading images each page refresh. 2005-07-10 02:22:21 +00:00
Jonathan Ernst
2083bf521b - OO version of user class
- no more duplicated functions
- improved performances (much less duplicated mysql queries)
- less code and better error handling
2005-01-30 23:12:48 +00:00
Jonathan Ernst
d5a50ecec4 * new screenshot and image classes 2005-01-27 15:42:53 +00:00
Jonathan Ernst
e0da13cc44 imagedestroy() is called only if the ressource still exists
----------------------------------------------------------------------
2005-01-14 05:37:07 +00:00
Jonathan Ernst
d3ad0dba41 - replaced mysql_query() with query_appdb()
- removed opendb()
- removed query_userdb()
- removed error handling from the code as it is done with query_appdb()
2005-01-12 16:22:55 +00:00
Jonathan Ernst
dfec5cb9b0 Replaced mysql_query() with query_appdb() 2005-01-10 22:24:15 +00:00
Jonathan Ernst
d3d9e853d9 - replaced tons of tabs with spaces
- replaced <? with <?php for compatibility sake (see TODO and CODING_STANDARD to know more)
- improved overall code lisibility
2004-12-12 03:51:51 +00:00
Paul van Schayck
764ce13533 Check $width $height input. Display full image if no $width $height given 2004-03-25 16:23:42 +00:00
Paul van Schayck
5953434a6f Get imagetype from getimagesize(). Switched to $_GET. Clearing memory. 2004-03-24 15:49:39 +00:00
Jeremy Newman
8f28ae10c4 Initial revision 2004-03-15 16:22:00 +00:00