54.196.72.162 |    

Navigation

Google Advertisement

All snippets of the tag files

1-10 of 11 Entries Next 10 Entries

isDir
(PHP::Check)
Created by Marko Schulz at 2010-01-26 00:10:47
function isDir( &$file, $writable = False ) { clearstatcache(); // clear the status chache if ( is_dir($file) && ( $writable ? is_writable($file) : is_readable($file) ) ) return True; else return False; }

isFile
(PHP::Check)
Created by Marko Schulz at 2010-01-26 00:09:50
function isFile( &$file, $writable = False ) { clearstatcache(); // clear the status chache if ( is_file($file) && ( $writable ? is_writable($file) : is_readable($file) ) ) return True; else return False; }

get_template
(PHP::Snippets)
Created by Marko Schulz at 2010-01-20 12:48:07
// $template = get_template ( './template/header.tpl' ); // $template = str_replace( '[%PHP_SELF%]', $_SERVER['PHP_SELF'], $template ); // echo $template; // // *************************************************************** // get_template -- load cu...

upload.class.php
(PHP::Class)
Created by Marko Schulz at 2009-01-11 17:28:50
<?php /*************************************************************** * http://wiki.tuxnet24.de/ * Copyright (c) 2008 Marko Schulz <info@tuxnet24.de> * All Rights Reserved. * * --LICENSE NOTICE-- * This program is free software; you ...

return_template
(PHP::Function)
Created by Marko Schulz at 2008-12-27 03:09:07
// ************************************************************* // This function load the current defined template file. If the // template file not exists, the function dies with an error message. // // (string) string return_template( (string) ...

filename
(PHP::Function)
Created by Marko Schulz at 2008-12-27 03:08:09
// ************************************************************** // filename -- extract the filename from file path // // string filename( string $str ) function filename ( $str ) { if ( preg_match( '@([^\\\/]+)\?@', $str, $match ) or pr...

return_template
(Python::Function)
Created by Marko Schulz at 2008-12-27 03:04:02
def return_template( file ): """return_template --- This function load the current defined template file. If the template file not exists, the function dies with an error message. (string) string return_template( (string) file )""" ...

config
(Python::Function)
Created by Marko Schulz at 2008-12-27 03:00:07
def config( file ): """config --- Read a config file in cfg format. (dict) dict config( (string) file )""" import re """_checktype --- Help function to get the right data type. (bool) bool _checktype( (string) Type,...

filename
(Python::Function)
Created by Marko Schulz at 2008-12-27 02:45:18
def filename( file ): """filename -- extract the filename from file path (string) filename( (string) file )""" from re import compile, findall if file.find('?') == -1: regexp = compile('([^\\\\/]+)$') else: ...

filename
(Perl::Function)
Created by Marko Schulz at 2008-12-27 02:41:55
# ************************************************************** # filename -- extract the filename from file path # # string filename( string string ) sub filename { my $str=shift; $str = $1 if ( $str =~ m!([^\\/]+)\?! || $str =~ m!([^\\/]+)...

1-10 of 11 Entries Next 10 Entries
Search
 
Full text search by name and content of a snippet.

User online
There are 2 users online.

Tags Cloud

Latest snippets
last day of last month
(Bash::Snippets)
crypt_apr1_md5
(PHP::Function)
crypt_apr1_md5
(Perl::Function)
transparent
(CSS)
rfc2822Toiso8601
(PHP::Function)
STDERR
(Bash::Function)
radius
(CSS)
shadow
(CSS)
rotate
(CSS)
create_function
(JavaScript::Snippets)