Archive

Posts Tagged ‘programming’

Get current AUTO_INCREMENT value – MySQL query

January 29th, 2009 No comments
Get current AUTO_INCREMENT value – MySQL query Solution is simple, use mysql_insert_id() php function. mysql_insert_id() returns the value generated for an AUTO_INCREMENT column by the previous INSERT or UPDATE statement. Use this function after you have performed an INSERT statement into a table that contains an AUTO_INCREMENT field, ...

Reading a Remote File in PHP usin fopen()

January 26th, 2009 No comments
Reading a Remote File in PHP usin fopen() You can only use fopen() and file_get_contents() when fopen wrappers is enabled. This parameter is specified in the php.ini file and cannot be changed at run time using ini_set(), To know whether you can use these two function (fopen and ...

WOR-KING – WORDPRESS VIDEO THEME

December 20th, 2008 2 comments
WOR-KING – WORDPRESS VIDEO THEME [caption id="attachment_6997" align="alignright" width="150" caption="maxxal"][/caption] YAP ... ceva mai absent prin zona... pentru ca PHP+PHP+PHP = tot PHP ;) ... lucrez la o tema pentru site-uri care folosesc clipuri video (youtube, trilulilu, etc). Deja am prea multe astfel de bloguri si ...

single_cat_title deprecated in wordpress 2.7

December 15th, 2008 No comments
single_cat_title deprecated in wordpress 2.7 Function single_cat_title() displays or returns the category title for the current page. For pages displaying WordPress tags rather than categories ("/tag/geek") the name of the tag is displayed instead of the category. Usage (only outside The Loop): <?php single_cat_title('prefix', 'display'); ?> Next example ...

Digg This button with Submit Capability – Wordpress

December 12th, 2008 No comments
Digg This button with Submit Capability – Wordpress Example Digg This button: Simple usage for a web page you want to enable digg button. Just inset the following code onto the page: (so easy) <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script> Example: When the URL you wish dugg differs from the current permalink: <script type="text/javascript"> digg_url ...
GoCache - ByREV-Cache v1.0 - live served in : 0.400227 sec (gzip)