php.de

Zurück   php.de > Webentwicklung > PHP Einsteiger > PHP Tipps 2006

 
 
LinkBack Themen-Optionen Bewertung: Bewertung: 2 Stimmen, 1,00 durchschnittlich.
Alt 26.01.2006, 23:51  
Neuer Benutzer
 
Registriert seit: 25.10.2005
Beiträge: 23
DerN8WaechterX
Standard PHP-Safe-Mode Configuration mit Xampp - Scripts laufen nicht

So, eigentlich sollte mir das nicht passieren aber in meiner Configuration von PHP stimmt was nicht(das Skript ist warscheinlich nicht das problem).

Hier mal die Facts: PC mit Win XP
XAMPP Control v2.1
Mysql ist als root per pw geschützt(funktioniert perfekt)
Apache funktioniert einwandfrei (funktioniert perfekt)
PHP läuft im Safe Mode (müsste der Fehler sein aber wie ändern, da manche befehle nicht gehen?)

Dazu noch eine weitere Frage weil ich gerade dabei bin(weis gehört in Apache Forum):
Ipv6 gibt bei mir unter SuSE Linux extreme Probleme mit der Namensauflösung. Ist IPV6 für Windows relevant oder kann ich es auch auf off setzen wgn. Performance?


hier mal die PHPinfo():

PHP Logo
PHP Version 5.1.1

System Windows NT MANUEL 5.1 build 2600
Build Date Nov 29 2005 01:14:17
Configure Command cscript /nologo configure.js "--enable-snapshot-build"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\Programme\xampp\apache\bin\php.ini
PHP API 20041225
PHP Extension 20050922
Zend Extension 220051025
Debug Build no
Thread Safety enabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, http, ftp, compress.zlib, https, ftps
Registered Stream Socket Transports tcp, udp, ssl, sslv3, sslv2, tls
Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, zlib.*

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.1.0-dev, Copyright (c) 1998-2005 Zend Technologies

PHP Credits
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap C:\Programme\xampp\php\browscap\browscap.ini C:\Programme\xampp\php\browscap\browscap.ini
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 2039 2039
expose_php On On
extension_dir C:\Programme\xampp\php\ext\ C:\Programme\xampp\php\ext\
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .;C:\Programme\xampp\php\pear\ .;C:\Programme\xampp\php\pear\
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 60 60
max_input_time 60 60
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 16M 16M
precision 12 12
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv On On
register_globals Off Off
register_long_arrays On On
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path no value no value
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 16M 16M
upload_tmp_dir C:\Programme\xampp\tmp C:\Programme\xampp\tmp
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off

apache2handler
Apache Version Apache/2.2.0 (Win32) DAV/2 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_autoindex_color PHP/5.1.1
Apache API Version 20051115
Server Administrator Webmaster@DerN8WaechterxE
Hostname:Port 192.168.100.208:80
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Virtual Server No
Server Root C:/Programme/xampp/apache
Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_cgi mod_dav mod_dav_fs mod_dir mod_env mod_include mod_info mod_isapi util_ldap mod_log_config mod_mime mod_negotiation mod_setenvif mod_status mod_ssl mod_autoindex_color mod_php5

Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0

Apache Environment
Variable Value
HTTP_HOST 192.168.100.208
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1. Gecko/20051111 Firefox/1.5
HTTP_ACCEPT text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_LANGUAGE de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_KEEP_ALIVE 300
HTTP_CONNECTION keep-alive
HTTP_COOKIE PHPSESSID=66fd43831b4c5f059eed14b395f56fe1
HTTP_CACHE_CONTROL max-age=0
PATH C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32 \Wbem;C:\Programme\QuickTime Alternative\QTSystem\
SystemRoot C:\WINDOWS
COMSPEC C:\WINDOWS\system32\cmd.exe
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
WINDIR C:\WINDOWS
SERVER_SIGNATURE <address>Apache/2.2.0 (Win32) DAV/2 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_autoindex_color PHP/5.1.1 Server at 192.168.100.208 Port 80</address>
SERVER_SOFTWARE Apache/2.2.0 (Win32) DAV/2 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_autoindex_color PHP/5.1.1
SERVER_NAME 192.168.100.208
SERVER_ADDR 192.168.100.208
SERVER_PORT 80
REMOTE_ADDR 192.168.100.208
DOCUMENT_ROOT C:/www
SERVER_ADMIN Webmaster@DerN8WaechterxE
SCRIPT_FILENAME C:/www/php_info.php
REMOTE_PORT 1699
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /php_info.php
SCRIPT_NAME /php_info.php

HTTP Headers Information
HTTP Request Headers
HTTP Request GET /php_info.php HTTP/1.1
Host 192.168.100.208
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1. Gecko/20051111 Firefox/1.5
Accept text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
Cookie PHPSESSID=66fd43831b4c5f059eed14b395f56fe1
Cache-Control max-age=0
HTTP Response Headers
X-Powered-By PHP/5.1.1
Keep-Alive timeout=5, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html

bcmath
BCMath support enabled

calendar
Calendar support enabled

com_dotnet
COM support enabled
DCOM support disabled
.Net support not present in this build

Directive Local Value Master Value
com.allow_dcom 0 0
com.autoregister_casesensitive 1 1
com.autoregister_typelib 0 0
com.autoregister_verbose 0 0
com.code_page no value no value
com.typelib_file no value no value

ctype
ctype functions enabled

date
date/time support enabled
Timezone Database Version 2005.14
Timezone Database internal
Default timezone Europe/Paris

Directive Local Value Master Value
date.timezone no value no value

dom
DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.22
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled

exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.173.2.2 2005/10/10 06:09:25 helly Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF

ftp
FTP support enabled

gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.7
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

gettext
GetText Support enabled

iconv
iconv support enabled
iconv implementation "libiconv"
iconv library version 1.9

Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1

imap
IMAP c-Client Version 2004
SSL Support enabled

libxml
libXML support active
libXML Version 2.6.22
libXML streams enabled

mbstring
Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 3.7.1

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.substitute_character no value no value

mime_magic
mime_magic support

Directive Local Value Master Value
mime_magic.debug Off Off
mime_magic.magicfile C:\Programme\xampp\php\extras\magic.mime C:\Programme\xampp\php\extras\magic.mime

ming
Ming SWF output library enabled
Version 0.3beta1

mssql
MSSQL Support enabled
Active Persistent Links 0
Active Links 0
Library version 7.0

Directive Local Value Master Value
mssql.allow_persistent On On
mssql.batchsize 0 0
mssql.compatability_mode Off Off
mssql.connect_timeout 5 5
mssql.datetimeconvert On On
mssql.max_links Unlimited Unlimited
mssql.max_persistent Unlimited Unlimited
mssql.max_procs Unlimited Unlimited
mssql.min_error_severity 10 10
mssql.min_message_severity 10 10
mssql.secure_connection Off Off
mssql.textlimit Server default Server default
mssql.textsize Server default Server default
mssql.timeout 60 60

mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.18

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off

mysqli
MysqlI Support enabled
Client API version 5.0.18
MYSQLI_SOCKET /tmp/mysql.sock

Directive Local Value Master Value
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.reconnect Off Off

odbc
ODBC Support enabled
Active Persistent Links 0
Active Links 0
ODBC library Win32

Directive Local Value Master Value
odbc.allow_persistent On On
odbc.check_persistent On On
odbc.default_db no value no value
odbc.default_pw no value no value
odbc.default_user no value no value
odbc.defaultbinmode return as is return as is
odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes
odbc.max_links Unlimited Unlimited
odbc.max_persistent Unlimited Unlimited

openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.8a 11 Oct 2005

pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 6.2 01-Aug-2005

pdf
PDF Support enabled
PDFlib GmbH Version 6.0.2
PECL Version 2.0.3
Revision $Revision: 1.143 $

PDO
PDO support enabled
PDO drivers mssql, mysql, sqlite2

pdo_mssql
PDO Driver for MSSQL DB-lib enabled
Flavour MSSQL_70

pdo_mysql
PDO Driver for MySQL, client library version 5.0.18

session
Session Support enabled
Registered save handlers files user sqlite
Registered serializer handlers php php_binary wddx

Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 4 4
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path C:\Programme\xampp\tmp C:\Programme\xampp\tmp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0

SimpleXML
Simplexml support enabled
Revision $Revision: 1.151.2.7 $
Schema support enabled

soap
Soap Client enabled
Soap Server enabled

Directive Local Value Master Value
soap.wsdl_cache_dir C:\Programme\xampp\tmp C:\Programme\xampp\tmp
soap.wsdl_cache_enabled 1 1
soap.wsdl_cache_ttl 86400 86400

sockets
Sockets Support enabled

SPL
SPL support enabled
Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RuntimeException, SimpleXMLIterator, SplFileObject, SplObjectStorage, UnderflowException, UnexpectedValueException

SQLite
SQLite support enabled
PECL Module version 2.0-dev $Id: sqlite.c,v 1.166.2.7 2005/11/25 16:01:41 sniper Exp $
SQLite Library 2.8.16
SQLite Encoding iso8859

Directive Local Value Master Value
sqlite.assoc_case 0 0

standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Internal Sendmail Support for Windows enabled

Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.83 90.83
date.sunset_zenith 90.83 90.83
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldse t= a=href,area=href,frame=src,input=src,form=,fieldse t=
user_agent no value no value

tokenizer
Tokenizer Support enabled

wddx
WDDX Support enabled
WDDX Session Serializer enabled

xml
XML Support active
XML Namespace Support active
libxml2 Version 2.6.22

xmlrpc
core library version xmlrpc-epi v. 0.51
php extension version 0.51
author Dan Libby
homepage http://xmlrpc-epi.sourceforge.net
open sourced by Epinions.com

xsl
XSL enabled
libxslt Version 1.1.15
libxslt compiled against libxml Version 2.6.22
EXSLT enabled
libexslt Version 0.8.12

zip
Zip support enabled

zlib
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3

Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value

Additional Modules
Module Name

Environment
Variable Value
ALLUSERSPROFILE C:\Dokumente und Einstellungen\All Users
CLASSPATH C:\Programme\Java\j2re1.4.2_01\lib\ext\QTJava.zip
CommonProgramFiles C:\Programme\Gemeinsame Dateien
COMPUTERNAME MANUEL
ComSpec C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK NO
NUMBER_OF_PROCESSORS 1
OS Windows_NT
Path C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32 \Wbem;C:\Programme\QuickTime Alternative\QTSystem\
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE x86
PROCESSOR_IDENTIFIER x86 Family 6 Model 11 Stepping 1, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 0b01
ProgramFiles C:\Programme
QTJAVA C:\Programme\Java\j2re1.4.2_01\lib\ext\QTJava.zip
SystemDrive C:
SystemRoot C:\WINDOWS
TEMP C:\WINDOWS\TEMP
TMP C:\WINDOWS\TEMP
USERPROFILE C:\Dokumente und Einstellungen\LocalService
windir C:\WINDOWS
AP_PARENT_PID 1176

PHP Variables
Variable Value
_REQUEST["PHPSESSID"] 66fd43831b4c5f059eed14b395f56fe1
_COOKIE["PHPSESSID"] 66fd43831b4c5f059eed14b395f56fe1
_SERVER["HTTP_HOST"] 192.168.100.208
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1. Gecko/20051111 Firefox/1.5
_SERVER["HTTP_ACCEPT"] text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
_SERVER["HTTP_ACCEPT_LANGUAGE"] de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"] 300
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["HTTP_COOKIE"] PHPSESSID=66fd43831b4c5f059eed14b395f56fe1
_SERVER["HTTP_CACHE_CONTROL"] max-age=0
_SERVER["PATH"] C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32 \Wbem;C:\Programme\QuickTime Alternative\QTSystem\
_SERVER["SystemRoot"] C:\WINDOWS
_SERVER["COMSPEC"] C:\WINDOWS\system32\cmd.exe
_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
_SERVER["WINDIR"] C:\WINDOWS
_SERVER["SERVER_SIGNATURE"] <address>Apache/2.2.0 (Win32) DAV/2 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_autoindex_color PHP/5.1.1 Server at 192.168.100.208 Port 80</address>
_SERVER["SERVER_SOFTWARE"] Apache/2.2.0 (Win32) DAV/2 mod_ssl/2.2.0 OpenSSL/0.9.8a mod_autoindex_color PHP/5.1.1
_SERVER["SERVER_NAME"] 192.168.100.208
_SERVER["SERVER_ADDR"] 192.168.100.208
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 192.168.100.208
_SERVER["DOCUMENT_ROOT"] C:/www
_SERVER["SERVER_ADMIN"] Webmaster@DerN8WaechterxE
_SERVER["SCRIPT_FILENAME"] C:/www/php_info.php
_SERVER["REMOTE_PORT"] 1699
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /php_info.php
_SERVER["SCRIPT_NAME"] /php_info.php
_SERVER["PHP_SELF"] /php_info.php
_SERVER["REQUEST_TIME"] 1138315175
_SERVER["argv"]

Array
(
)

_SERVER["argc"] 0
_ENV["ALLUSERSPROFILE"] C:\Dokumente und Einstellungen\All Users
_ENV["CLASSPATH"] C:\Programme\Java\j2re1.4.2_01\lib\ext\QTJava.zip
_ENV["CommonProgramFiles"] C:\Programme\Gemeinsame Dateien
_ENV["COMPUTERNAME"] MANUEL
_ENV["ComSpec"] C:\WINDOWS\system32\cmd.exe
_ENV["FP_NO_HOST_CHECK"] NO
_ENV["NUMBER_OF_PROCESSORS"] 1
_ENV["OS"] Windows_NT
_ENV["Path"] C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32 \Wbem;C:\Programme\QuickTime Alternative\QTSystem\
_ENV["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
_ENV["PROCESSOR_ARCHITECTURE"] x86
_ENV["PROCESSOR_IDENTIFIER"] x86 Family 6 Model 11 Stepping 1, GenuineIntel
_ENV["PROCESSOR_LEVEL"] 6
_ENV["PROCESSOR_REVISION"] 0b01
_ENV["ProgramFiles"] C:\Programme
_ENV["QTJAVA"] C:\Programme\Java\j2re1.4.2_01\lib\ext\QTJava.zip
_ENV["SystemDrive"] C:
_ENV["SystemRoot"] C:\WINDOWS
_ENV["TEMP"] C:\WINDOWS\TEMP
_ENV["TMP"] C:\WINDOWS\TEMP
_ENV["USERPROFILE"] C:\Dokumente und Einstellungen\LocalService
_ENV["windir"] C:\WINDOWS
_ENV["AP_PARENT_PID"] 1176

PHP License

This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.
DerN8WaechterX ist offline  
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 26.01.2006, 23:53  
Erfahrener Benutzer
 
Registriert seit: 21.05.2008
Beiträge: 646
Magic befindet sich auf einem aufstrebenden Ast
Standard

Zitat:
safe_mode Off Off
Magic ist offline  
Alt 27.01.2006, 00:07  
Neuer Benutzer
 
Registriert seit: 25.10.2005
Beiträge: 23
DerN8WaechterX
Standard

jo, das steht zwar in der config ist aber obskurer weise nicht möglich.
Ebenfalls scripts mit mkdir,etc eben die Befehle die im safe mode nicht gehen.
siehste ja oben das safe mode off ---> off ist oder muss es on sein (?Häh voll nix mehr raffe jetzt

Mein Hauptproblem als Beispiel:

script 1, login_form.php

.....

echo "Melden sie sich bitte mit ihrem Nick und Passwort an


<form action='".$dir['modul']."/login/login_check.php' method='post' target='dnw_master'>
<input type='text' name='login_nick' size='30' maxlength='30'>

<input type='submit' value='Anmelden' name='sub_login'>
</form>

";
.........



und dann script 2 login_check.php:
if (isset($sub_login))
{


echo "Sie wurden gerade als ".$login_nick." angemeldet.

Hier geht es weiter zur Homepage.
";
exit;
}


.....
so jetzt zeigt login_check.php aber nichts im Browser an (Bis auf Header in der Quelltextansicht)
__________________
Das Leben ist ein Binäres Sytem
.... Alles nur Nullen und Einser!
DerN8WaechterX ist offline  
Alt 27.01.2006, 00:11  
Erfahrener Benutzer
 
Registriert seit: 21.05.2008
Beiträge: 646
Magic befindet sich auf einem aufstrebenden Ast
Standard

<input type='submit' value='Anmelden' name='sub_login'>
if (isset($sub_login))

Das sieht mir sehr nach register_globals aus - pfui! Da das bei dir deaktiviert ist gibt das Script auch nix aus, schliesslich ist $sub_login nicht definiert. Und komm nicht auf die Idee register_globals auf On zu schalten, programmier lieber mit $_POST['sub_login']

http://de.php.net/manual/de/security.globals.php
http://de.php.net/manual/de/language...predefined.php
Magic ist offline  
Alt 27.01.2006, 00:24  
Neuer Benutzer
 
Registriert seit: 25.10.2005
Beiträge: 23
DerN8WaechterX
Standard

in der Config (oben) steht: register_globals Off Off heist also standartmäßig installiert xampp globale variablen und safe_mode ist an. versteh ich das richtig? wenn ja müsste das problem schon gelöst sein!?!
__________________
Das Leben ist ein Binäres Sytem
.... Alles nur Nullen und Einser!
DerN8WaechterX ist offline  
Alt 27.01.2006, 00:28  
Erfahrener Benutzer
 
Registriert seit: 21.05.2008
Beiträge: 646
Magic befindet sich auf einem aufstrebenden Ast
Standard

Hö?
Dein safe_mode ist ausgeschaltet, deine register_globals auch. Ersteres tut in diesem Fall eigentlich nichts zur Sache, ich habs auch abgeschaltet. Register_globals sollten immer abgeschaltet sein, da das ein Sicherheitsrisiko darstellt - das ist seit PHP 4.2.0 (?) standardmäßig aus.

Die globalen Variablen sind immer dabei, egal ob register_globals on oder off sind. Wenn du sauber programmierst, könntest du theoretisch auch register_globals einschalten, aber wozu? Lass das aus
Magic ist offline  
Alt 27.01.2006, 00:36  
Neuer Benutzer
 
Registriert seit: 25.10.2005
Beiträge: 23
DerN8WaechterX
Standard

jo, register_globals umzuchalten in der ini? nenenen, keine Angst.
probiers mal aus per $POST.....
__________________
Das Leben ist ein Binäres Sytem
.... Alles nur Nullen und Einser!
DerN8WaechterX ist offline  
Alt 27.01.2006, 00:41  
Neuer Benutzer
 
Registriert seit: 25.10.2005
Beiträge: 23
DerN8WaechterX
Standard

Zitat:
Zitat von DerN8WaechterX
jo, register_globals umzuchalten in der ini? nenenen, keine Angst.
probiers mal aus per $POST.....
jo,hattest vollkommen recht und in diesem Sinne fettes THX war noch meinen unvernetzten TestPC gewöhnt, da hat register_globals keine Rolle gespielt
Leichtsinnsfehler nach 6 Monaten PHP

Nochmals THX und somit Thread down :wink:
__________________
Das Leben ist ein Binäres Sytem
.... Alles nur Nullen und Einser!
DerN8WaechterX ist offline  
 


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
php safe mode und shell_exec Fraylman PHP Tipps 2006 8 20.06.2006 04:10
php safe mode! PHP Tipps 2006 4 24.01.2006 23:12
PHP Safe Mode PHP Tipps 2006 1 09.01.2006 22:18
Generelles zu SAFE MODE Cosmo PHP Tipps 2007 2 23.11.2005 10:14
Safe Mode [erledigt] dethlef14 PHP Tipps 2005-2 1 16.10.2005 13:33
Safe mode?! Calli PHP Tipps 2005-2 6 02.08.2005 16:11
Problem mit mail() bei SAFE MODE Stinger PHP Tipps 2005 1 23.03.2005 23:59
Backquotes in Safe Mode bei PHP PHP Tipps 2005 1 27.02.2005 21:32
Safe mode PHP Tipps 2005 10 23.02.2005 12:50
Warning: SAFE MODE Restriction in effect. The script whose u Soese PHP Tipps 2005 14 07.02.2005 13:15
Mail bei Safe Mode Mano PHP Tipps 2004-2 1 30.12.2004 13:29
Safe Mode auf Kommandozeile umgehen wurtzel PHP-Fortgeschrittene 3 28.11.2004 15:37
[Erledigt] komischer safe mode fehler PHP-Fortgeschrittene 4 28.09.2004 20:02
disabled in SAFE MODE PHP Tipps 2004 4 19.09.2004 11:14
php im Safe Mode und dennoch override erlauben. Möglich? Server, Hosting und Workstations 3 17.08.2004 18:03

Besucher kamen über folgende Suchanfragen bei Google auf diese Seite
xampp safe mode, php läuft nicht im \safe mode\, xampp safe mode ausschalten, xampp php safe mode, safe mode xampp, xampp safe_mode, xampp additional scripts, xampp safe mode einstellen, http://www.php.de/php-tipps-2006/36346-php-safe-mode-configuration-mit-xampp-scripts-laufen-nicht.html, xampp safe mode off, xampp php safe mode ausschalten, \xampp cache\, php safe mode xampp, php safe mode ausschalten xampp, xampp dom, safe mode ausschalten xampp, xampp safe mode ändern, xampp safemode, php safe mode, xampp php safe mode aktivieren

Alle Zeitangaben in WEZ +1. Es ist jetzt 22:25 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum

Creative Commons License
Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.