| | | | |
| |||||||
| PHP-Fortgeschrittene Arbeiten mit PHP ohne Einschränkungen |
|
| | LinkBack | Themen-Optionen | Thema bewerten |
| | |
| PHP Code Flüsterer Registriert seit: 21.08.2005 Beiträge: 4682 PHP-Kenntnisse: Fortgeschritten | |
| | ||
| Gast
Beiträge: n/a
| Zitat:
Ausserdem - ist doch schön die tollen Sicherheitslücken von PHP 4.1.1 auszunutzen, wie sonst könnte man den IIS kompromitieren, das System übernehmen und dann von dort aus die Welt mit Viagra-Werbung zuspammen? *schmunzel* | |
|
| | |
| Neuer Benutzer Registriert seit: 15.01.2004
Beiträge: 22
![]() | leider kann ich bei dem Provider kein neues PHP installieren. Bei mir laufen auf Linux und Windows jeweils neue XAMPP mit php 5.0 Ich weis auch nicht was bei dem Provider los ist. Griechisch kann ich nicht. Z.Zt. wird auch wieder kein PHP ausgeführt. D.h. ich bekomme wieder php im Klartext zurückgeliefert. Gruß papalangi |
| | |
| | |
| Neuer Benutzer Registriert seit: 15.01.2004
Beiträge: 22
![]() | ich habe jetzt mal count.inc.php aus /de herausgenommen und nur in /root/include/ gespeichert. Code: Warning: Failed opening 'count.inc.php' for inclusion (include_path='.;..\include;\include') in \\xxxxx.hosting.forth\virtual\delphinusftp\de\mission_ger.php on line 24
Fatal error: Call to undefined function: zaehlen() in \\xxxxx.hosting.forth\virtual\delphinusftp\de\mission_ger.php on line 36
ini_set('include_path', '.;..\include;\include'); // mit / und \ probiert
include("count.inc.php");
// include("../include/count.inc.php"); // klappt auch nicht
error_reporting(E_ERROR);
include("../include/menu_ger.inc.php") ;
zaehlen("..","de_mission"); // ok, Count access to this Webpage
Nachdem ich mehrere Versionen probiert habe, kann ich wieder kein php ausführen. Mozilla fragt dann ob er die Datei downloaden soll. Kann das sein, dass die mich dann blocken? Gruß papalangi |
| | |
| | |
| Gast
Beiträge: n/a
| machs so: PHP-Code: z.B.: test.php vorher: PHP-Code: PHP-Code: |
|
| | |
| Neuer Benutzer Registriert seit: 15.01.2004
Beiträge: 22
![]() | meikel , natürlich gibt es set_include_path(), da ich aber Manuals lese und im Internet suche, bevor ich im Forum poste, habe ich dort folgndes gefunden Code: set_include_path
(PHP 4 >= 4.3.0, PHP 5)
Beispiel 1. set_include_path() example
<?php
// Works as of PHP 4.3.0
set_include_path('/inc');
// Works in all PHP versions
ini_set('include_path', '/inc');
?>
You can emulate this function with ini_set('include_path', $value) using the PHP built-in constant PATH_SEPERATOR for the path seperator. The path seprator is different on Windows and *nix, as detailed in the php.ini comments
Deshalb habe ich ; verwendet, da der Server unter NT läuft.
Das Beispiel verstehe ich so, dass include files automatisch in /root/inc gesucht werden. Ich werde jetzt mal versuchen drumrum zu programmieren und die includes in /de/include ablegen. Danke papalangi |
| | |
|
| Themen-Optionen | |
| Thema bewerten | |
|
|
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Include Probleme | meici | PHP Tipps 2008 | 3 | 10.02.2008 09:37 |
| hinter include wird eine 1 angezeigt | |~Râdîant~| | PHP Tipps 2008 | 8 | 19.09.2007 13:52 |
| include problem | Canni | PHP Tipps 2006 | 26 | 14.11.2006 14:24 |
| Probleme mit Switch und Include | Fishup | PHP Tipps 2006 | 8 | 23.05.2006 10:45 |
| Probleme mit include | PHP Tipps 2005-2 | 5 | 24.10.2005 15:50 | |
| Probleme mit header() und include() und relativen Pfaden | PHP Tipps 2005-2 | 3 | 08.10.2005 16:00 | |
| Probleme mit include | PHP Tipps 2005-2 | 20 | 16.08.2005 09:13 | |
| probleme mit include() + form + db | PHP Tipps 2005 | 12 | 24.03.2005 13:40 | |
| Probleme mit include oder Variablen | PHP Tipps 2005 | 11 | 16.03.2005 22:30 | |
| include probleme | imported_dirk | PHP Tipps 2005 | 10 | 13.03.2005 15:38 |
| [Erledigt] Sessions auch bei include aktiv? | PHP Tipps 2005 | 1 | 28.02.2005 19:58 | |
| probleme mit include und header | Rotti | PHP Tipps 2004-2 | 18 | 27.12.2004 09:20 |
| Probleme mit include | PHP Tipps 2004-2 | 2 | 23.12.2004 19:19 | |
| HTTP_GET_VARS + Include = Array leer | PHP Tipps 2004-2 | 3 | 24.11.2004 15:12 | |
| Include() probleme | PHP Tipps 2004 | 8 | 22.07.2004 14:36 | |
| Besucher kamen über folgende Suchanfragen bei Google auf diese Seite |
| pathseperator php, <?php ini_set(\include_path\,\', include count, php include root, path_seperator php |

Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.