3.147.103.8 |    

Navigation

Google Advertisement

Folgende Zeilen ermitteln vom Aktuellen Programm das Verzeichnis und wechseln in dieses.

basedir
  1. my $base_dir = rindex ($0, "\\");
  2. $base_dir = rindex ($0, "/") if ($base_dir < 0);
  3. my $script_dir = substr( $0, 0, $base_dir);
  4. chdir( $script_dir );
Parsed in 0.001 seconds at 128.80 KB/s

Search
 
Full text search by name and content of a snippet.

User online
There are 3 users online.

Tags Cloud

Latest snippets
str2seconds
(Bash::Function)
is_integer
(Bash::Function)
file_rotate
(Bash::Function)
confirm
(Bash::Function)
is_workingtime
(Bash::Function)
last day of last month
(Bash::Snippets)
crypt_apr1_md5
(PHP::Function)
crypt_apr1_md5
(Perl::Function)
transparent
(CSS)
rfc2822Toiso8601
(PHP::Function)