![]() |
![]() |
|
![]() |
![]() |
|
Registrieren | Hilfe/Forumregeln | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
Programmierung Rat & Tat für Programmierer |
![]() |
|
Themen-Optionen | Ansicht |
![]() |
#1 |
Master
![]() |
![]() hi leute!
habt ihr eine ahnung, warum ich unter php4 linux kein popen machen kann. folgendes skript z.b. $fp = popen('/bin/ls','r'); while(!feof($fp)) { $inhalt = fgets($fp,300); echo $inhalt; echo " "; } pclose($fp); gibt nix aus auch alle befehle die das popen verwenden, wie z.b. mail (...) funktionieren nicht. bitte um tips lg mrw |
![]() |
![]() |
![]() |
#2 | |
Elite
![]() |
![]() Zitat:
|
|
![]() |
![]() |
![]() |
#3 |
Master
![]() |
![]() das hängt glaub ich mit den magic quotes einstellungen in der php.ini zusammen. müsste eigentlich egal sein. mit " gehts auch nicht.
|
![]() |
![]() |
![]() |
#4 |
Master
![]() Registriert seit: 27.12.2000
Beiträge: 589
|
![]() vielleicht ist das popen command gesperrt? save mode?
____________________________________
ALEA IACTA EST mfg, zend |
![]() |
![]() |
![]() |
#5 |
Master
![]() |
![]() save_mode ist auf off
hier zum vergleich die phpinfo: allow_call_time_pass_reference On On allow_url_fopen 1 1 always_populate_raw_post_data 0 0 arg_separator.input & & arg_separator.output & & asp_tags Off Off auto_append_file no value no value auto_prepend_file no value no value browscap no value no value default_charset no value no value default_mimetype text/html text/html define_syslog_variables Off Off disable_functions no value no value display_errors On On display_startup_errors Off Off doc_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 no value no value expose_php On On extension_dir /usr/local/lib/php/extensions/no-debug-non-zts-20010901 /usr/local/lib/php/extensions/no-debug-non-zts-20010901 file_uploads 1 1 gpc_order GPC GPC 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_user_abort Off Off implicit_flush Off Off include_path .:/usr/local/lib/php .:/usr/local/lib/php log_errors Off Off magic_quotes_gpc On On magic_quotes_runtime Off Off magic_quotes_sybase Off Off max_execution_time 30 30 open_basedir no value no value output_buffering 0 0 output_handler no value no value post_max_size 8M 8M precision 14 14 register_argc_argv On On register_globals On On safe_mode Off Off safe_mode_exec_dir 1 1 safe_mode_gid Off Off safe_mode_include_dir no value no value sendmail_from no value no value sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i short_open_tag On On SMTP localhost localhost sql.safe_mode Off Off track_errors Off Off upload_max_filesize 2M 2M upload_tmp_dir no value no value user_dir no value no value variables_order no value no value xmlrpc_error_number 0 0 xmlrpc_errors Off Off y2k_compliance Off Off |
![]() |
![]() |
![]() |
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
Themen-Optionen | |
Ansicht | |
|
|