Logo

רד-בורד: ארכיון

ראשי > תיכנות > יש לי בעיה בפקודה אחת שאני כותב בהגדרות ב php.ini

22/05/2006 09:58:11 Keyboard_C
לא יודע אם אתם מכירים אותי הכינוי שלי זה Keyboard_Criminal.
יש לי בעיה בהגדרות בPHP.INI



הפקודה היא:

auto_prepend_file

ויש עוד פקודה שבאה איתה רק כדי לאמת את האבטחה:

auto_append_file

נסיתי לכוון לקובץ וזה לא הצליח..

ניסיתי לכתוב את זה בכל צורה:

auto_prepend_file="C:\\Program Files\\apache//Sec.php"
auto_append_file="C:\\Program Files\\apache//Sec.php"



auto_prepend_file ".;C:\\Program Files\\apache//Sec.php"
auto_append_file ".;C:\\Program Files\\apache//Sec.php"



auto_prepend_file = ".;C:\\Program Files\\apache//Sec.php"
auto_append_file = ".;C:\\Program Files\\apache//Sec.php"



auto_prepend_file .;C:\\Program Files\\apache//Sec.php
auto_append_file .;C:\\Program Files\\apache//Sec.php





ואפ’ בלי דאבל סלאש למרות שבווינדוס חייבים דאבל סלאש..

אני לא מבין מה לא טוב בפקודה ומדוע היא לא פועלת.
26/05/2006 18:50:12 Ratinho
ניסית סלאש הפוך יחיד?
כי באמצע יש לך \\ ואז // שזה קצת מוזר..
30/05/2006 13:49:11 C4$p3r
קוד:auto_prepend_file=".;c:\Program Files\apache\Sec.php"
נסה ככה
14/07/2006 00:10:42 Pr0T3cT10n
אני מאמין שזה אמור ליהיות ככה

auto_prepend_file=".;c:\\Program Files\\apache\\Sec.php"
עמודים: 1