PhpTips.im - Everything about php - Download CMS, find tips and tricks, code snippetz, classes and more and more...
Bookmark this page !
   

Articles

    Home » Articles » PHP Snippets
Browsing PHP Snippets RSS RSS

   Pages :   0     1     2     3     4     5     6     7     8     9     10     11     12     13     14     15     16     17     18     19     20     21     22     23     24     25     26     27     28     29     30     31     32     33     34     35     36     37     38     39     40     41     42     43     44     45     46     47     48     49     50     51     52     53     54     55     56     57     58     59     60     61     62     63     64     65     66     67     68     69     70     71     72     73     74     75     76     77     78     79     80     81     82     83     84     85     86     87     88     89     90     91     92     93  
Prestashop 1.2.5 Access cookies
Published on : 09.05.2010 Category : PHP Snippets Viewed : 46 times.
[code] /* SSL Management */$useSSL = true; include('../config/config.inc.php'...
Read More »

Get 3 random objects for display on a Silverstrip template
Published on : 09.05.2010 Category : PHP Snippets Viewed : 33 times.
[code] In the CONTROLLER   function DiveSites() { $DiveSites = DataObject::get("DiveSitePage", "", "RAND()",...
Read More »

Prestashop 1.2.5 Remove Caps for Last Name
Published on : 09.05.2010 Category : PHP Snippets Viewed : 38 times.
[code] admin/tabs/AdminAddresses.php=> remove «style="text-transform: uppercase;"» on:<input typ...
Read More »

Custom Loop/Query Based on Custom Fields
Published on : 09.05.2010 Category : PHP Snippets Viewed : 27 times.
[code] <?php  $querydetails = " SELECT wposts.* FROM $wpdb->posts wp...
Read More »

Drupal - Devel
Published on : 09.05.2010 Category : PHP Snippets Viewed : 29 times.
The Drupal Devel module includes some invaluable functions that make working with Drupal much much easier. A short list of these functions can be found at this post. One of these is the dpm() command (which I would guess stands for “Drupal Print Message,” or at least that’s how I remember it). Given an array or object, this function will output a div structure at the top of your page that you can use to visually walk through the contents of either of these sets of data...
Read More »

IF/Else shortform
Published on : 09.05.2010 Category : PHP Snippets Viewed : 28 times.
[code] if($_POST['visible']==1) { $visible = ...
Read More »

Close unclosed tags
Published on : 09.05.2010 Category : PHP Snippets Viewed : 60 times.
[code] <?php/*** Find and close unclosed xml tags**/function close_tags(...
Read More »

Call ping-o-matic service with PHP
Published on : 09.05.2010 Category : PHP Snippets Viewed : 72 times.
[code] function pingomatic($title,$url,$debug=false) { $content='<?xml version="1.0"?>'. '<methodCall>'. ' <methodName>weblogUpdates.ping</methodNa...
Read More »

Check search engine bot
Published on : 09.05.2010 Category : PHP Snippets Viewed : 26 times.
[code] //first example $moteurs = array("bot", "search"...
Read More »

getTimeDiff
Published on : 09.05.2010 Category : PHP Snippets Viewed : 50 times.
[code] function getTimeDiff($timestamp=false, $loop=false) { ...
Read More »

 

 Members
Log In !
Email Address :

Password :


Change my passowrd !
Sign Up !
We have : 3 members.
Latest member : albans
 
 Last Posts
 
 Advertising
 
©PhpTips.im 2010
Powered by PikaCMS.
Quick Links :
Home | Browse all articles | Downloads | Terms of Use
RSS RSS 2.0 : Articles | Downloads ATOM : Articles | Downloads