Click here to Skip to main content
15,921,840 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
AnswerGot It Working Pin
NickBogi10-Jun-13 8:29
NickBogi10-Jun-13 8:29 
QuestionUrgent !!! Looking for the best solution Pin
MacAriel15-May-13 8:43
MacAriel15-May-13 8:43 
AnswerRe: Urgent !!! Looking for the best solution Pin
herlon21423-Jul-13 9:59
herlon21423-Jul-13 9:59 
QuestionVideo Gallery for wordpress site. Pin
Neha Pandal12-May-13 10:03
professionalNeha Pandal12-May-13 10:03 
AnswerRe: Video Gallery for wordpress site. Pin
Archie22is30-Jun-13 21:07
Archie22is30-Jun-13 21:07 
Questionhow to store QR Code image in mysql with php Pin
blertaaa2-May-13 22:43
blertaaa2-May-13 22:43 
AnswerRe: how to store QR Code image in mysql with php Pin
Prasad Khandekar21-May-13 4:56
professionalPrasad Khandekar21-May-13 4:56 
AnswerRe: how to store QR Code image in mysql with php Pin
Resalat Haque Prodhan27-Jun-13 2:02
Resalat Haque Prodhan27-Jun-13 2:02 
if you want to store images to MySQL data base you need to encode image to base64 format. For storing base64 encoded data you need to design you DB for long text. Here is an simple example.
PHP
$data = file_get_contents("http://qrickit.com/api/qr?d=&addtext=Data&txtcolor=111133&fgdcolor=111133&bgdcolor=BBBBBB&qrsize=200&t=p&e=m");
$base64 = base64_encode($data);
mysql_query("INSERT INTO images values ('{$base64}')");

Hope you got it. For more see base64 encoding
AnswerRe: how to store QR Code image in mysql with php Pin
Rony Sur2-Jul-13 0:04
professionalRony Sur2-Jul-13 0:04 
QuestionHow to install xampp or Lamp in Ubuntu 8 Pin
Member 992947820-Mar-13 20:55
Member 992947820-Mar-13 20:55 
AnswerRe: How to install xampp or Lamp in Ubuntu 8 Pin
Richard MacCutchan20-Mar-13 22:54
mveRichard MacCutchan20-Mar-13 22:54 
AnswerRe: How to install xampp or Lamp in Ubuntu 8 Pin
Mohibur Rashid30-Apr-13 17:19
professionalMohibur Rashid30-Apr-13 17:19 
GeneralRe: How to install xampp or Lamp in Ubuntu 8 Pin
Rony Sur2-Jul-13 0:09
professionalRony Sur2-Jul-13 0:09 
AnswerRe: How to install xampp or Lamp in Ubuntu 8 Pin
Tushar Guru8-Sep-14 22:17
Tushar Guru8-Sep-14 22:17 
QuestionHow to get data from the other website in php Pin
surendra4u20-Mar-13 1:04
surendra4u20-Mar-13 1:04 
AnswerRe: How to get data from the other website in php Pin
dusty_dex20-Mar-13 3:21
dusty_dex20-Mar-13 3:21 
QuestionIRDA without IR Pin
lukeer25-Feb-13 22:30
lukeer25-Feb-13 22:30 
AnswerRe: IRDA without IR Pin
Richard MacCutchan25-Feb-13 23:52
mveRichard MacCutchan25-Feb-13 23:52 
QuestionRecord insertion error in php Pin
maniedru7-Feb-13 0:59
maniedru7-Feb-13 0:59 
AnswerRe: Record insertion error in php Pin
Graham Breach7-Feb-13 2:32
Graham Breach7-Feb-13 2:32 
GeneralRe: Record insertion error in php Pin
maniedru7-Feb-13 5:08
maniedru7-Feb-13 5:08 
GeneralRe: Record insertion error in php Pin
Graham Breach7-Feb-13 7:10
Graham Breach7-Feb-13 7:10 
GeneralRe: Record insertion error in php Pin
maniedru28-Feb-13 3:14
maniedru28-Feb-13 3:14 
Questionrevenue, tax and shipping not working in google analytics tracking code! how to do it working? Pin
Lê Đình Thanh Hải28-Jan-13 20:17
Lê Đình Thanh Hải28-Jan-13 20:17 
Questionsum of all the fields in columns. where columns are dynamic Pin
Indudhara28-Jan-13 3:22
Indudhara28-Jan-13 3:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.