PHP Classes

File: install.sql

Recommend this page to a friend!
  Classes of Richard Carson   PHP MySQL Image Display   install.sql   Download  
File: install.sql
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP MySQL Image Display
Serve images added to a MySQL database table
Author: By
Last change:
Date: 9 years ago
Size: 2,649 bytes
 

Contents

Class file image Download
CREATE TABLE `sqlimg` ( `id` INTEGER NOT NULL AUTO_INCREMENT DEFAULT NULL, `key` VARCHAR(32) NOT NULL, `type` VARCHAR(25) NOT NULL, `data` MEDIUMBLOB NULL DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY (`key`) ) COMMENT 'Stores image binaries for the sqlimg class'; INSERT INTO `sqlimg` (`id`, `key`, `type`, `data`) VALUES (1, '5kh7s5oq', 'image/png', _binary 0x89504E470D0A1A0A0000000D49484452000000A20000003A0802000000BCA51562000000017352474200AECE1CE90000000467414D410000B18F0BFC6105000000097048597300000EC300000EC301C76FA864000003FC49444154785EED97D1911B4108442F2E05A4782E1A2573C1C8BBAB1D60181A66EDB2E64AF0BE2C0DD00D2DBBCA5FCF220115730A2AE61454CC29A898535031A7A0624E41C59C828A390515730A2AE61454CC29A898535031A7A0624E41C5FC49FC7CDFBE5EDC1FE7572F2AE64FE2713F53863153051770D33C6A7C07FCAD69A0DB01AABC7DFF9C5F998055A2F11BEE117CD5D81C5FC42CE16781A719FF6D264F5CE06E08700FC703DD32B99D1F44FCC399D961EE7018D41FC52CBC69FB912C58F777C41C2E7ED0AFE80D0C52BEE21F199A8979C36C77B7158387E7D838B8CA5FC56C4293BCA4106C0377EBC3623F70A91D752A434F0B99969C75FB7ECFC2D82BDC0D8DD2F9D0798A82A3C08BBC3766E103B6AB7C1C1DC7B21CE22ED465654805EB8A76C784EA154DC654B61E246100DDBE3966B122D0693E6EF77B2084AE282F35732AF7EAE1BAD805780ACC8507F2806EDF1D73B4467BDEA63B07DCC146F890931E9D86705DC7A5F1C4DBA33B73C5A4790974FBF698C51E86527B3C86BB96B00F0E2D5885614F7A5AB42EEE3462666760DA0E17CDFB6F40B7EF8F79DC5ED0DE5E261C4FD8061FFEC295F8B6AA295897FB9C655E6FEC2B30260A912C02BA5D10B35A5FD25E4E0FBCF060AA558E2EF0740756525DCEBA24B4616A492750C0828B4F267A0EA0DB1531C324DA6CFA1A8A61B77CA24B06234B2EE0643453105C973075E3E626A9775F1233106BA3C564A0E698E5FBCC5EF480265E8CD913E199F4BF866B6733C5DD014D5217AD89D9CC82BE940ECCF39B95273CFA92C1FF1BB3FC47FBFAE1680E0147B4525DB02666713D966B0E7A03862F6A36AD52C31583969F037B5D2EDF305DEC2827F4D16971E834D1724D433F2F8AD918D30C68FDD118DAE505D55F392635E999785DD64142C350D1627B8F90519BA24D413FAE8A7998D33E8F63B5B3F6191810A7085661F8FEBAC55B97BB6C2BF4CECFC21CB01F81ADEEB457FDB62C6675049CB2566C7D505F9C723267E774EEBA8152BFE189E899B5D7C1FD9EA47E5B1773AF88FCED7492ED83232F2E3963927C58EAC1BADC6B18A747D5EB0A46B88A9085314BC9F6475B5C683EE29437C421FFB1325A97FBC7027A1B9E84AA7ADB5F80D48EF8055FFA85AC8C99346FB760A638CB49B4A4EAB006AB92F017665BE3C30F152460F48ABC3A65614A1B922DC02E97A8E7A531F7C6BD912A92C8E48E1EEE0295E375858E72E5C5BC6126AA17B50166841555B13466158537B15F7F22E5837E3EC05D64665DF6D6FBA2EF51AF588A4B42CFD8896855456B63EE77729565CEB3293764AF606683A975797EE78CBE9E0A462D65790EF7E671AA94622E3E998A390515730A2AE61454CC29A898535031A7A0624E41C59C828A390515730A2AE61454CC29A898535031A7A0624E41C59C828A3901CFE71FBB6D3B5508CF6C0A0000000049454E44AE426082);