Is there a way to import php in a mysql and export it?
Is there a way to import php in a mysql and export it?
Yes, you can store it as a string then eval() it.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Hello Twey,
Hey can u give me an example for the same.
Thanx in advance.
Code:$code = '<?php echo("Hello!"); ?>'; $code = mysql_real_escape_string($code); mysql_query('insert into table (code) values ("' . $code . '");'); $row = mysql_fetch_array(mysql_query('select code from table where code="' . $code . '" limit 1;')); eval($row['code']);
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Bookmarks