Server : Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6 System : Windows NT USER-PC 6.1 build 7601 (Windows 7 Professional Edition Service Pack 1) AMD64 User : User ( 0) PHP Version : 7.4.6 Disable Function : NONE Directory : C:/xampp/install/ |
<?php /* #### Installer PHP 1.5 #### #### Author: Kay Vogelgesang & Carsten Wiedmann for www.apachefriends.org 2005 #### */ /// Where I stand? /// $curdir = getcwd(); list($partition, $nonpartition) = preg_split ("/:/", $curdir); //Fix by Wiedmann $partwampp = substr(realpath(__FILE__), 0, strrpos(dirname(realpath(__FILE__)), '\\')); $directorwampp = NULL; $awkpart = str_replace("&", "\\\\&", eregi_replace ("\\\\", "\\\\", $partwampp)); //Fix by Wiedmann $awkpartslash = str_replace("&", "\\\\&", ereg_replace ("\\\\", "/", $partwampp)); //Fix by Wiedmann $phpdir = $partwampp; $dir = ereg_replace("\\\\", "/", $partwampp); $ppartition = "$partition:"; /// I need the install.sys + update.sys for more xampp informations $installsys = "install.sys"; $installsysroot = $partwampp."\install\\".$installsys; /// Some addon|update.sys files $perlupdatesys = "perlupdate.sys"; $pythonupdatesys = "pythonupdate.sys"; $serverupdatesys = "serverupdate.sys"; $utilsupdatesys = "utilsupdate.sys"; $javaupdatesys = "javaupdate.sys"; $otherupdatesys = "otherupdate.sys"; /// XAMPP main directrory is ... $substit = "\\\\\\\\xampp"; $substitslash = "/xampp"; /// Globale variables $BS = 0; $CS = 0; $slashi = 1; $bslashi = 1; $awkexe = ".\install\awk.exe"; $awk = ".\install\config.awk"; $awknewdir = "\"".$awkpart."\""; $awkslashdir = "\"".$awkpartslash."\""; if (file_exists("$partwampp\htdocs\\xampp\.version")) { $handle = fopen("$partwampp\htdocs\\xampp\.version","r"); $xamppversion = fgets($handle); fclose($handle); } else { $xamppversion = ""; // include_once "$partwampp\install\.version"; } echo "\r\n ########################################################################\n"; echo " # ApacheFriends XAMPP setup win32 Version #\r\n"; echo " #----------------------------------------------------------------------#\r\n"; echo " # Copyright (c) 2002-2009 Apachefriends $xamppversion #\r\n"; echo " #----------------------------------------------------------------------#\r\n"; echo " # Authors: Kay Vogelgesang <kvo@apachefriends.org> #\r\n"; echo " # Carsten Wiedmann <webmaster@wiedmann-online.de> #\r\n"; echo " ########################################################################\r\n\r\n"; ?>