Based on 4 Image Gallery Management System
 
Beim nächsten Besuch automatisch anmelden?
Projekte
4images Versionen (14)
 4images1.7.1
 4images1.7.2
 4images1.7.3
 4images1.7.4
 4images1.7.5
 4images1.7.6
 4images1.7.7
 4images1.7.8
 4images1.7.9
 4images1.7.10
 4images1.7.11
 4images1.7.12
 4images1.7.13
 4images1.7.0
4i Modification (0)
 Test_4
Misc (0)
 Test_5


Difference


4images1.7.6 
Display the Differences Side by Side, or Inline     Context    
  4images1.7.8   

4images1.7.7 /includes/functions.php
5*   ----------------------------------------------------------------   *
6*                                                                       *
7*            File: functions.php                                       *
8*       Copyright: (C) 2002-2009 Jan Sorgalla                          *
9*           Email: jan@4homepages.de                                   *
10*             Web: http://www.4homepages.de                            *
11*   Scriptversion: 1.7.7                                               *
12*                                                                       *
13*   Never released without support from: Nicky (http://www.nicky.net)  *
14*                                                                       *
... 
98
99function get_basefile($path) {
100 $basename = get_basename($path);
101 ereg("(.+)\?(.+)", $basename, $regs);
102 return isset($regs[1]) ? $regs[1] : $basename;
103}
104
... 
138}
139
140function check_remote_thumb($remote_thumb_file) {
141 return is_remote($remote_thumb_file) && preg_match("#\.[gif|jpg|jpeg|png]+$#is", $remote_thumb_file) ? 1 : 0;
142}
143
144function check_local_thumb($local_thumb_file) {
145 return !is_remote($local_thumb_file) && get_basefile($local_thumb_file) != $local_thumb_file && preg_match("#\.[gif|jpg|jpeg|png]+$#i", $local_thumb_file) ? 1 : 0;
146}
147
148function get_file_extension($file_name) {
149 ereg("(.+)\.(.+)", get_basefile($file_name), $regs);
150 return strtolower($regs[2]);
  
  
151}
152
153function get_file_name($file_name) {
154 ereg("(.+)\.(.+)", get_basefile($file_name), $regs);
155 return $regs[1];
  
  
156}
157
158function check_media_type($file_name) {
... 
161}
162
163function check_thumb_type($file_name) {
164 return (preg_match("#(gif|jpg|jpeg|png)$#is", $file_name)) ? 1 : 0;
165}
166
167function check_executable($file_name) {
168 if (substr(PHP_OS, 0, 3) == "WIN" && !eregi("\.exe$", $file_name)) {
169   $file_name .= ".exe";
170 }
171 elseif (substr(PHP_OS, 0, 3) != "WIN") {
172   $file_name = eregi_replace("\.exe$", "", $file_name);
173 }
174 return $file_name;
175}
... 
181 }
182 if (is_remote($file_name)) {
183   $check_handle = "check_remote_".$image_type;
184   return ($check_handle($file_name) && remote_file_exists($file_name, $check_remote)) ? (($in_admin && !preg_match("#(gif|jpg|jpeg|png)$#is", $file_name)) ? ICON_PATH."/".get_file_extension($file_name).".gif" : $file_name) : $return_code;
185 }
186 elseif (is_local_file($file_name)) {
187   $check_handle = "check_local_".$image_type;
188   $file_name = ($in_admin && preg_match("/^([\.]+|[^\/])/", $file_name)) ? "../".$file_name : $file_name;
189   if (!file_exists($file_name)) {
190     $file_path = preg_replace("/\/{2,}/", "/", get_document_root()."/".$file_name);
191     return ($check_handle($file_name) && file_exists($file_path)) ? (($in_admin && !preg_match("#(gif|jpg|jpeg|png)$#is", $file_name)) ? ICON_PATH."/".get_file_extension($file_name).".gif" : $file_name) : $return_code;
192   }
193   else {
194     return $file_name;
... 
197 else {
198   $check_handle = "check_".$image_type."_type";
199   $path = (($image_type == "media") ? (($cat_id) ? MEDIA_PATH."/".$cat_id : MEDIA_TEMP_PATH) : (($cat_id) ? THUMB_PATH."/".$cat_id : THUMB_TEMP_PATH))."/".$file_name;
200   return ($check_handle($file_name) && file_exists($path)) ? (($in_admin && !preg_match("#(gif|jpg|jpeg|png)$#is", $file_name)) ? ICON_PATH."/".get_file_extension($file_name).".gif" : $path) : $return_code;
201 }
202}
203
... 
285       if ($key == "DateTimeOriginal") {
286         $exif_array[$exif_match[$key]] = preg_replace("/([0-9]{4}):([0-9]{2}):([0-9]{2})/", "\\3.\\2.\\1", $exif_info);
287       }
288       elseif ($key == "ExposureTime") {
289         $exposure = explode("/", $exif_info);
290         $exif_array[$exif_match[$key]] = "1/" . ($exposure[1] / $exposure[0]);
  
  
  
  
  
  
  
  
291       }
292       elseif ($key == "FNumber") {
293         $aperture = explode("/", $exif_info);
... 
313 $description = (!empty($image_row['image_description'])) ? format_text($image_row['image_description'], 1, 0, 1) : REPLACE_EMPTY;
314
315 if (!empty($image_row['image_keywords'])) {
316   $split_keywords = explode(" ", $image_row['image_keywords']);
317   $keywords = "";
318   foreach ($split_keywords as $key => $val) {
319     $keywords .= (($keywords != "" ) ? ", " : "")."<a href=\"".$site_sess->url(ROOT_PATH."search.php?search_keywords=".urlencode($val))."\">".format_text($val, 2)."</a>";
... 
423   "url_download" => $site_sess->url(ROOT_PATH."download.php?".URL_IMAGE_ID."=".$image_row['image_id']),
424   "image_file_size" => $file_size,
425   "image_url" => ($show_link) ? $site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_row['image_id'].((!empty($mode)) ? "&amp;mode=".$mode : "")) : "",
426   "image" => get_media_code($image_row['image_media_file'], $image_row['image_id'], $image_row['cat_id'], $image_row['image_name'], $mode, $show_link, $detailed_view),
427   "thumbnail" => get_thumbnail_code($image_row['image_media_file'], $image_row['image_thumb_file'], $image_row['image_id'], $image_row['cat_id'], $image_row['image_name'], $mode, $show_link),
428   "thumbnail_openwindow" => get_thumbnail_code($image_row['image_media_file'], $image_row['image_thumb_file'], $image_row['image_id'], $image_row['cat_id'], $image_row['image_name'], $mode, $show_link, 1),
429   "image_file_name" => $image_row['image_media_file'],
... 
447   $rate_form = $site_template->parse_template("rate_form");
448 }
449 $site_template->register_vars("rate_form", $rate_form);
  
  
  
450 return true;
451}
452
... 
461     $file_src = ICON_PATH."/".get_file_extension($media_file_name).".gif";
462     $image_info = @getimagesize($file_src);
463     $width_height = (!empty($image_info[3])) ? " ".$image_info[3] : "";
464     $thumb = "<img src=\"".$file_src."\" border=\"0\"".$width_height." alt=\"".format_text($image_name, 2)."\" />";
465   }
466   else {
467     $file_src = get_file_path($thumb_file_name, "thumb", $cat_id, 0, 1);
468     $image_info = @getimagesize($file_src);
469     $width_height = (!empty($image_info[3])) ? " ".$image_info[3] : "";
470     $thumb = "<img src=\"".$file_src."\" border=\"".$config['image_border']."\"".$width_height." alt=\"".format_text($image_name, 2)."\" />";
471   }
472 }
473
... 
1414 elseif (empty($HTTP_USER_AGENT)) {
1415   $HTTP_USER_AGENT = "";
1416 }
1417 if (eregi("Win", $HTTP_USER_AGENT)) {
1418   $global_info['user_os'] = "WIN";
1419 }
1420 elseif (eregi("Mac", $HTTP_USER_AGENT)) {
1421   $global_info['user_os'] = "MAC";
1422 }
1423 else {
... 
1440 elseif (empty($HTTP_USER_AGENT)) {
1441   $HTTP_USER_AGENT = "";
1442 }
1443 if (eregi("MSIE ([0-9].[0-9]{1,2})", $HTTP_USER_AGENT, $regs)) {
1444   $global_info['browser_agent'] = "MSIE";
1445   $global_info['browser_version'] = $regs[1];
1446 }
1447 elseif (eregi("Mozilla/([0-9].[0-9]{1,2})", $HTTP_USER_AGENT, $regs)) {
1448   $global_info['browser_agent'] = "MOZILLA";
1449   $global_info['browser_version'] = $regs[1];
1450 }
1451 elseif (eregi("Opera(/| )([0-9].[0-9]{1,2})", $HTTP_USER_AGENT, $regs)) {
1452   $global_info['browser_agent'] = "OPERA";
1453   $global_info['browser_version'] = $regs[2];
1454 }
... 
1485 if (!($url = @parse_url($url))) {
1486   return false;
1487 }
1488 if (!eregi("http", $url['scheme'])) {
1489   return false;
1490 }
1491 $url['port'] = (!isset($url['port'])) ? 80 : $url['port'];
... 
1726   return 'application/octet-stream';
1727}
1728
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
1729?>
4images1.7.8 /includes/functions.php
5*   ----------------------------------------------------------------   *
6*                                                                       *
7*            File: functions.php                                       *
8*       Copyright: (C) 2002-2010 Jan Sorgalla                          *
9*           Email: jan@4homepages.de                                   *
10*             Web: http://www.4homepages.de                            *
11*   Scriptversion: 1.7.8                                               *
12*                                                                       *
13*   Never released without support from: Nicky (http://www.nicky.net)  *
14*                                                                       *
... 
98
99function get_basefile($path) {
100 $basename = get_basename($path);
101 preg_match("#(.+)\?(.+)#", $basename, $regs);
102 return isset($regs[1]) ? $regs[1] : $basename;
103}
104
... 
138}
139
140function check_remote_thumb($remote_thumb_file) {
141 return is_remote($remote_thumb_file) && preg_match("#\.(gif|jpg|jpeg|png)$#is", $remote_thumb_file) ? 1 : 0;
142}
143
144function check_local_thumb($local_thumb_file) {
145 return !is_remote($local_thumb_file) && get_basefile($local_thumb_file) != $local_thumb_file && preg_match("#\.(gif|jpg|jpeg|png)$#i", $local_thumb_file) ? 1 : 0;
146}
147
148function get_file_extension($file_name) {
149 if (preg_match("#(.+)\.(.+)#", get_basefile($file_name), $regs)) {
150   return strtolower($regs[2]);
151 }
152 return false;
153}
154
155function get_file_name($file_name) {
156 if (preg_match("#(.+)\.(.+)#", get_basefile($file_name), $regs)) {
157   return $regs[1];
158 }
159 return false;
160}
161
162function check_media_type($file_name) {
... 
165}
166
167function check_thumb_type($file_name) {
168 return (preg_match("#\.(gif|jpg|jpeg|png)$#is", $file_name)) ? 1 : 0;
169}
170
171function check_executable($file_name) {
172 if (substr(PHP_OS, 0, 3) == "WIN" && !preg_match("#\.exe$#i", $file_name)) {
173   $file_name .= ".exe";
174 }
175 elseif (substr(PHP_OS, 0, 3) != "WIN") {
176   $file_name = preg_replace("#\.exe$#i", "", $file_name);
177 }
178 return $file_name;
179}
... 
185 }
186 if (is_remote($file_name)) {
187   $check_handle = "check_remote_".$image_type;
188   return ($check_handle($file_name) && remote_file_exists($file_name, $check_remote)) ? (($in_admin && !preg_match("#\.(gif|jpg|jpeg|png)$#is", $file_name)) ? ICON_PATH."/".get_file_extension($file_name).".gif" : $file_name) : $return_code;
189 }
190 elseif (is_local_file($file_name)) {
191   $check_handle = "check_local_".$image_type;
192   $file_name = ($in_admin && preg_match("/^([\.]+|[^\/])/", $file_name)) ? "../".$file_name : $file_name;
193   if (!file_exists($file_name)) {
194     $file_path = preg_replace("/\/{2,}/", "/", get_document_root()."/".$file_name);
195     return ($check_handle($file_name) && file_exists($file_path)) ? (($in_admin && !preg_match("#\.(gif|jpg|jpeg|png)$#is", $file_name)) ? ICON_PATH."/".get_file_extension($file_name).".gif" : $file_name) : $return_code;
196   }
197   else {
198     return $file_name;
... 
201 else {
202   $check_handle = "check_".$image_type."_type";
203   $path = (($image_type == "media") ? (($cat_id) ? MEDIA_PATH."/".$cat_id : MEDIA_TEMP_PATH) : (($cat_id) ? THUMB_PATH."/".$cat_id : THUMB_TEMP_PATH))."/".$file_name;
204   return ($check_handle($file_name) && file_exists($path)) ? (($in_admin && !preg_match("#\.(gif|jpg|jpeg|png)$#is", $file_name)) ? ICON_PATH."/".get_file_extension($file_name).".gif" : $path) : $return_code;
205 }
206}
207
... 
289       if ($key == "DateTimeOriginal") {
290         $exif_array[$exif_match[$key]] = preg_replace("/([0-9]{4}):([0-9]{2}):([0-9]{2})/", "\\3.\\2.\\1", $exif_info);
291       }
292       elseif ( $key == "ExposureTime" ) {
293           $ExposureTime = explode("/", $exif_info);
294           if ( $ExposureTime[0] == 1 && $ExposureTime[1] == 1 ){
295               $exif_array[$exif_match[$key]] = $ExposureTime[1]." sec(s)";
296           } elseif ( $ExposureTime[0] == 1 ) {
297               $exif_array[$exif_match[$key]] = "1/".($ExposureTime[1] * $ExposureTime[0])." sec(s)";
298           } elseif ( $ExposureTime[1] > 1 ) {
299               $exif_array[$exif_match[$key]] = ($ExposureTime[0]/$ExposureTime[1])." sec(s)";
300           } elseif( $ExposureTime[1] == 1 ) {
301               $exif_array[$exif_match[$key]] = ($ExposureTime[0] * $ExposureTime[1])." sec(s)";
302           }
303       }
304       elseif ($key == "FNumber") {
305         $aperture = explode("/", $exif_info);
... 
325 $description = (!empty($image_row['image_description'])) ? format_text($image_row['image_description'], 1, 0, 1) : REPLACE_EMPTY;
326
327 if (!empty($image_row['image_keywords'])) {
328   $split_keywords = explode(",", $image_row['image_keywords']);
329   $keywords = "";
330   foreach ($split_keywords as $key => $val) {
331     $keywords .= (($keywords != "" ) ? ", " : "")."<a href=\"".$site_sess->url(ROOT_PATH."search.php?search_keywords=".urlencode($val))."\">".format_text($val, 2)."</a>";
... 
435   "url_download" => $site_sess->url(ROOT_PATH."download.php?".URL_IMAGE_ID."=".$image_row['image_id']),
436   "image_file_size" => $file_size,
437   "image_url" => ($show_link) ? $site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_row['image_id'].((!empty($mode)) ? "&amp;mode=".$mode : "")) : "",
  
438   "thumbnail" => get_thumbnail_code($image_row['image_media_file'], $image_row['image_thumb_file'], $image_row['image_id'], $image_row['cat_id'], $image_row['image_name'], $mode, $show_link),
439   "thumbnail_openwindow" => get_thumbnail_code($image_row['image_media_file'], $image_row['image_thumb_file'], $image_row['image_id'], $image_row['cat_id'], $image_row['image_name'], $mode, $show_link, 1),
440   "image_file_name" => $image_row['image_media_file'],
... 
458   $rate_form = $site_template->parse_template("rate_form");
459 }
460 $site_template->register_vars("rate_form", $rate_form);
461 $site_template->register_vars(array(
462   "image" => get_media_code($image_row['image_media_file'], $image_row['image_id'], $image_row['cat_id'], $image_row['image_name'], $mode, $show_link, $detailed_view),
463 ));
464 return true;
465}
466
... 
475     $file_src = ICON_PATH."/".get_file_extension($media_file_name).".gif";
476     $image_info = @getimagesize($file_src);
477     $width_height = (!empty($image_info[3])) ? " ".$image_info[3] : "";
478     $thumb = "<img src=\"".$file_src."\" border=\"0\"".$width_height." alt=\"".format_text($image_name, 2)."\" title=\"".format_text($image_name, 2)."\" />";
479   }
480   else {
481     $file_src = get_file_path($thumb_file_name, "thumb", $cat_id, 0, 1);
482     $image_info = @getimagesize($file_src);
483     $width_height = (!empty($image_info[3])) ? " ".$image_info[3] : "";
484     $thumb = "<img src=\"".$file_src."\" border=\"".$config['image_border']."\"".$width_height." alt=\"".format_text($image_name, 2)."\" title=\"".format_text($image_name, 2)."\" />";
485   }
486 }
487
... 
1428 elseif (empty($HTTP_USER_AGENT)) {
1429   $HTTP_USER_AGENT = "";
1430 }
1431 if (preg_match("#Win#i", $HTTP_USER_AGENT)) {
1432   $global_info['user_os'] = "WIN";
1433 }
1434 elseif (preg_match("#Mac#i", $HTTP_USER_AGENT)) {
1435   $global_info['user_os'] = "MAC";
1436 }
1437 else {
... 
1454 elseif (empty($HTTP_USER_AGENT)) {
1455   $HTTP_USER_AGENT = "";
1456 }
1457 if (preg_match("#MSIE ([0-9].[0-9]{1,2})#i", $HTTP_USER_AGENT, $regs)) {
1458   $global_info['browser_agent'] = "MSIE";
1459   $global_info['browser_version'] = $regs[1];
1460 }
1461 elseif (preg_match("#Mozilla/([0-9].[0-9]{1,2})#i", $HTTP_USER_AGENT, $regs)) {
1462   $global_info['browser_agent'] = "MOZILLA";
1463   $global_info['browser_version'] = $regs[1];
1464 }
1465 elseif (preg_match("#Opera(/| )([0-9].[0-9]{1,2})#i", $HTTP_USER_AGENT, $regs)) {
1466   $global_info['browser_agent'] = "OPERA";
1467   $global_info['browser_version'] = $regs[2];
1468 }
... 
1499 if (!($url = @parse_url($url))) {
1500   return false;
1501 }
1502 if (!preg_match("#http#i", $url['scheme'])) {
1503   return false;
1504 }
1505 $url['port'] = (!isset($url['port'])) ? 80 : $url['port'];
... 
1740   return 'application/octet-stream';
1741}
1742
1743function trim_value(&$value)
1744{
1745   $value = trim($value);
1746}
1747
1748/*
1749   create directory tree recursively
1750   backward compatibility for php4
1751*/
1752function _mkdir($dir, $chmod = CHMOD_DIRS)
1753{
1754   if (is_dir($dir) || @mkdir($dir, $chmod)) return true;
1755   if (!_mkdir(dirname($dir), $chmod)) return false;
1756   return @mkdir($dir, $chmod);
1757}
1758
1759function filterFileName($text, $tolower = 1, $transl = null)
1760{
1761   global $translit;
1762   $transl = ($transl !== null) ? $transl : @$translit;
1763   if ($transl)
1764       $text = strtr(
1765           $text,
1766            array(
1767               // russian Windows-1251
1768               "\xc0" => "a",
1769               "\xc1" => "b",
1770               "\xc2" => "v",
1771               "\xc3" => "g",
1772               "\xc4" => "d",
1773               "\xc5" => "e",
1774               "\xa8" => "e",
1775               "\xc6" => "zh",
1776               "\xc7" => "z",
1777               "\xc8" => "i",
1778               "\xc9" => "j",
1779               "\xca" => "k",
1780               "\xcb" => "l",
1781               "\xcc" => "m",
1782               "\xcd" => "n",
1783               "\xce" => "o",
1784               "\xcf" => "p",
1785               "\xd0" => "r",
1786               "\xd1" => "s",
1787               "\xd2" => "t",
1788               "\xd3" => "u",
1789               "\xd4" => "f",
1790               "\xd5" => "h",
1791               "\xd6" => "c",
1792               "\xd7" => "ch",
1793               "\xd8" => "sh",
1794               "\xd9" => "sch",
1795               "\xda" => "",
1796               "\xdb" => "i",
1797               "\xdc" => "",
1798               "\xdd" => "e",
1799               "\xde" => "yu",
1800               "\xdf" => "ya",
1801               "\xe0" => "a",
1802               "\xe1" => "b",
1803               "\xe2" => "v",
1804               "\xe3" => "g",
1805               "\xe4" => "d",
1806               "\xe5" => "e",
1807               "\xb8" => "e",
1808               "\xe6" => "zh",
1809               "\xe7" => "z",
1810               "\xe8" => "i",
1811               "\xe9" => "j",
1812               "\xea" => "k",
1813               "\xeb" => "l",
1814               "\xec" => "m",
1815               "\xed" => "n",
1816               "\xee" => "o",
1817               "\xef" => "p",
1818               "\xf0" => "r",
1819               "\xf1" => "s",
1820               "\xf2" => "t",
1821               "\xf3" => "u",
1822               "\xf4" => "f",
1823               "\xf5" => "h",
1824               "\xf6" => "c",
1825               "\xf7" => "ch",
1826               "\xf8" => "sh",
1827               "\xf9" => "sch",
1828               "\xfa" => "",
1829               "\xfb" => "i",
1830               "\xfc" => "",
1831               "\xfd" => "e",
1832               "\xfe" => "yu",
1833               "\xff" => "ya",
1834               // russian KOI8
1835/*
1836               "\xe1" => "a",
1837               "\xe2" => "b",
1838               "\xf7" => "v",
1839               "\xe7" => "g",
1840               "\xe4" => "d",
1841               "\xe5" => "e",
1842               "\xb3" => "e",
1843               "\xf6" => "zh",
1844               "\xfa" => "z",
1845               "\xe9" => "i",
1846               "\xea" => "j",
1847               "\xeb" => "k",
1848               "\xec" => "l",
1849               "\xed" => "m",
1850               "\xee" => "n",
1851               "\xef" => "o",
1852               "\xf0" => "p",
1853               "\xf2" => "r",
1854               "\xf3" => "s",
1855               "\xf4" => "t",
1856               "\xf5" => "u",
1857               "\xe6" => "f",
1858               "\xe8" => "h",
1859               "\xe3" => "c",
1860               "\xfe" => "ch",
1861               "\xfb" => "sh",
1862               "\xfd" => "sch",
1863               "\xff" => "",
1864               "\xf9" => "i",
1865               "\xf8" => "",
1866               "\xfc" => "e",
1867               "\xe0" => "yu",
1868               "\xf1" => "ya",
1869               "\xc1" => "a",
1870               "\xc2" => "b",
1871               "\xd7" => "v",
1872               "\xc7" => "g",
1873               "\xc4" => "d",
1874               "\xc5" => "e",
1875               "\xa3" => "e",
1876               "\xd6" => "zh",
1877               "\xda" => "z",
1878               "\xc9" => "i",
1879               "\xca" => "j",
1880               "\xcb" => "k",
1881               "\xcc" => "l",
1882               "\xcd" => "m",
1883               "\xce" => "n",
1884               "\xcf" => "o",
1885               "\xd0" => "p",
1886               "\xd2" => "r",
1887               "\xd3" => "s",
1888               "\xd4" => "t",
1889               "\xd5" => "u",
1890               "\xc6" => "f",
1891               "\xc8" => "h",
1892               "\xc3" => "c",
1893               "\xde" => "ch",
1894               "\xdb" => "sh",
1895               "\xdd" => "sch",
1896               "\xdf" => "",
1897               "\xd9" => "i",
1898               "\xd8" => "",
1899               "\xdc" => "e",
1900               "\xc0" => "yu",
1901               "\xd1" => "ya",
1902*/
1903       ));
1904
1905   if ($tolower)
1906     $text = strtolower($text);
1907
1908   $text = str_replace(" ", "_", $text);
1909   $text = str_replace("%20", "_", $text);
1910   $text = preg_replace("/[^\-\._a-z0-9]/i", "_", $text);
1911   return $text;
1912}
1913
1914?>





Bilder pro Seite: 

 

RSS Feed: 4images1.7.7 (Neue Bilder)