Probleme beim Includen

elme hat gesagt.:
ich hab das Script von hier ---> http://www.code-box.de/
Na dann meld dich schleunigst bei denen und beschwer dich, dass ihr Script nicht funktioniert.
elme hat gesagt.:
was könnte es da für eine Übergangslösung geben
Hm … probier mal folgendes:
PHP:
var_dump($GLOBALS['datafile']);
Und wenn das wieder NULL bringt, dann eben noch so:
PHP:
var_dump($GLOBALS);
 
Jetzt bekomm ich diese Fehlermeldung:


also bei deiner ersten methode ( var_dump($GLOBALS['datafile']); )
PHP:
string(21) "functions/entries.txt"
Warning: array_reverse(): The argument should be an array in /usr/export/www/vhosts/funnetwork/hosting/djlilquize/4/gbook/gb.php on line 103

Warning: Invalid argument supplied for foreach() in /usr/export/www/vhosts/funnetwork/hosting/djlilquize/4/gbook/gb.php on line 107
Ein Fehler ist aufgetreten! - An error occurred!


und bei deiner zweiten methode ( var_dump($GLOBALS); ) bekomm ich den fehler hier
PHP:
array(89) { ["USER"]=> string(4) "root" ["SSH_CLIENT"]=> string(21) "84.59.190.240 3792 22" ["MAIL"]=> string(14) "/var/mail/root" ["LD_LIBRARY_PATH"]=> string(23) "/usr/local/lib/apache2:" ["SHLVL"]=> string(1) "2" ["HOME"]=> string(5) "/root" ["SSH_TTY"]=> string(10) "/dev/ttyp0" ["PAGER"]=> string(4) "more" ["LOGNAME"]=> string(4) "root" ["_"]=> string(25) "/usr/local/sbin/apachectl" ["BLOCKSIZE"]=> string(1) "K" ["TERM"]=> string(5) "xterm" ["PATH"]=> string(75) "/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin" ["SSH_AUTH_SOCK"]=> string(31) "/tmp/ssh-kB5BC54PO4/agent.18707" ["SHELL"]=> string(19) "/usr/local/bin/bash" ["PWD"]=> string(5) "/root" ["SSH_CONNECTION"]=> string(37) "84.59.190.240 3792 213.202.241.106 22" ["FTP_PASSIVE_MODE"]=> string(3) "YES" ["section"]=> string(5) "gbook" ["action"]=> string(2) "gb" ["__utmz"]=> string(70) "208179973.1137218373.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)" ["__utma"]=> string(54) "208179973.921560870.1137218373.1137218373.1138974565.2" ["GEOIP_COUNTRY_CODE"]=> string(2) "DE" ["GEOIP_COUNTRY_NAME"]=> string(7) "Germany" ["HTTP_HOST"]=> string(23) "djlilquize.dj.funpic.de" ["HTTP_USER_AGENT"]=> string(87) "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1" ["HTTP_ACCEPT"]=> string(99) "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"]=> string(35) "de-de,de;q=0.8,en-us;q=0.5,en;q=0.3" ["HTTP_ACCEPT_ENCODING"]=> string(12) "gzip,deflate" ["HTTP_ACCEPT_CHARSET"]=> string(30) "ISO-8859-1,utf-8;q=0.7,*;q=0.7" ["HTTP_KEEP_ALIVE"]=> string(3) "300" ["HTTP_CONNECTION"]=> string(10) "keep-alive" ["HTTP_REFERER"]=> string(73) "http://djlilquize.dj.funpic.de/4/index.php?section=content&action=contact" ["HTTP_COOKIE"]=> string(140) "__utmz=208179973.1137218373.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utma=208179973.921560870.1137218373.1137218373.1138974565.2" ["HTTP_CACHE_CONTROL"]=> string(9) "max-age=0" ["SERVER_SIGNATURE"]=> string(0) "" ["SERVER_SOFTWARE"]=> string(6) "Apache" ["SERVER_NAME"]=> string(23) "djlilquize.dj.funpic.de" ["SERVER_ADDR"]=> string(15) "213.202.241.106" ["SERVER_PORT"]=> string(2) "80" ["REMOTE_ADDR"]=> string(12) "85.181.89.10" ["DOCUMENT_ROOT"]=> string(52) "/usr/export/www/vhosts/funnetwork/hosting/djlilquize" ["SERVER_ADMIN"]=> string(16) "server@funpic.de" ["SCRIPT_FILENAME"]=> string(64) "/usr/export/www/vhosts/funnetwork/hosting/djlilquize/4/index.php" ["REMOTE_PORT"]=> string(4) "4434" ["GATEWAY_INTERFACE"]=> string(7) "CGI/1.1" ["SERVER_PROTOCOL"]=> string(8) "HTTP/1.1" ["REQUEST_METHOD"]=> string(3) "GET" ["QUERY_STRING"]=> string(23) "section=gbook&action=gb" ["REQUEST_URI"]=> string(36) "/4/index.php?section=gbook&action=gb" ["SCRIPT_NAME"]=> string(12) "/4/index.php" ["PHP_SELF"]=> string(12) "/4/index.php" ["PATH_TRANSLATED"]=> string(64) "/usr/export/www/vhosts/funnetwork/hosting/djlilquize/4/index.php" ["argv"]=> array(1) { [0]=> string(23) "section=gbook&action=gb" } ["argc"]=> int(1) ["HTTP_POST_VARS"]=> array(0) { } ["_POST"]=> array(0) { } ["HTTP_GET_VARS"]=> array(2) { ["section"]=> string(5) "gbook" ["action"]=> string(2) "gb" } ["_GET"]=> array(2) { ["section"]=> string(5) "gbook" ["action"]=> string(2) "gb" } ["HTTP_COOKIE_VARS"]=> array(2) { ["__utmz"]=> string(70) "208179973.1137218373.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)" ["__utma"]=> string(54) "208179973.921560870.1137218373.1137218373.1138974565.2" } ["_COOKIE"]=> array(2) { ["__utmz"]=> string(70) "208179973.1137218373.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)" ["__utma"]=> string(54) "208179973.921560870.1137218373.1137218373.1138974565.2" } ["HTTP_SERVER_VARS"]=> array(34) { ["GEOIP_COUNTRY_CODE"]=> string(2) "DE" ["GEOIP_COUNTRY_NAME"]=> string(7) "Germany" ["HTTP_HOST"]=> string(23) "djlilquize.dj.funpic.de" ["HTTP_USER_AGENT"]=> string(87) "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1" ["HTTP_ACCEPT"]=> string(99) "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"]=> string(35) "de-de,de;q=0.8,en-us;q=0.5,en;q=0.3" ["HTTP_ACCEPT_ENCODING"]=> string(12) "gzip,deflate" ["HTTP_ACCEPT_CHARSET"]=> string(30) "ISO-8859-1,utf-8;q=0.7,*;q=0.7" ["HTTP_KEEP_ALIVE"]=> string(3) "300" ["HTTP_CONNECTION"]=> string(10) "keep-alive" ["HTTP_REFERER"]=> string(73) "http://djlilquize.dj.funpic.de/4/index.php?section=content&action=contact" ["HTTP_COOKIE"]=> string(140) "__utmz=208179973.1137218373.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utma=208179973.921560870.1137218373.1137218373.1138974565.2" ["HTTP_CACHE_CONTROL"]=> string(9) "max-age=0" ["PATH"]=> string(75) "/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin" ["SERVER_SIGNATURE"]=> string(0) "" ["SERVER_SOFTWARE"]=> string(6) "Apache" ["SERVER_NAME"]=> string(23) "djlilquize.dj.funpic.de" ["SERVER_ADDR"]=> string(15) "213.202.241.106" ["SERVER_PORT"]=> string(2) "80" ["REMOTE_ADDR"]=> string(12) "85.181.89.10" ["DOCUMENT_ROOT"]=> string(52) "/usr/export/www/vhosts/funnetwork/hosting/djlilquize" ["SERVER_ADMIN"]=> string(16) "server@funpic.de" ["SCRIPT_FILENAME"]=> string(64) "/usr/export/www/vhosts/funnetwork/hosting/djlilquize/4/index.php" ["REMOTE_PORT"]=> string(4) "4434" ["GATEWAY_INTERFACE"]=> string(7) "CGI/1.1" ["SERVER_PROTOCOL"]=> string(8) "HTTP/1.1" ["REQUEST_METHOD"]=> string(3) "GET" ["QUERY_STRING"]=> string(23) "section=gbook&action=gb" ["REQUEST_URI"]=> string(36) "/4/index.php?section=gbook&action=gb" ["SCRIPT_NAME"]=> string(12) "/4/index.php" ["PHP_SELF"]=> string(12) "/4/index.php" ["PATH_TRANSLATED"]=> string(64) "/usr/export/www/vhosts/funnetwork/hosting/djlilquize/4/index.php" ["argv"]=> array(1) { [0]=> string(23) "section=gbook&action=gb" } ["argc"]=> int(1) } ["_SERVER"]=> array(34) { ["GEOIP_COUNTRY_CODE"]=> string(2) "DE" ["GEOIP_COUNTRY_NAME"]=> string(7) "Germany" ["HTTP_HOST"]=> string(23) "djlilquize.dj.funpic.de" ["HTTP_USER_AGENT"]=> string(87) "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1" ["HTTP_ACCEPT"]=> string(99) "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"]=> string(35) "de-de,de;q=0.8,en-us;q=0.5,en;q=0.3" ["HTTP_ACCEPT_ENCODING"]=> string(12) "gzip,deflate" ["HTTP_ACCEPT_CHARSET"]=> string(30) "ISO-8859-1,utf-8;q=0.7,*;q=0.7" ["HTTP_KEEP_ALIVE"]=> string(3) "300" ["HTTP_CONNECTION"]=> string(10) "keep-alive" ["HTTP_REFERER"]=> string(73) "http://djlilquize.dj.funpic.de/4/index.php?section=content&action=contact" ["HTTP_COOKIE"]=> string(140) "__utmz=208179973.1137218373.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utma=208179973.921560870.1137218373.1137218373.1138974565.2" ["HTTP_CACHE_CONTROL"]=> string(9) "max-age=0" ["PATH"]=> string(75) "/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin" ["SERVER_SIGNATURE"]=> string(0) "" ["SERVER_SOFTWARE"]=> string(6) "Apache" ["SERVER_NAME"]=> string(23) "djlilquize.dj.funpic.de" ["SERVER_ADDR"]=> string(15) "213.202.241.106" ["SERVER_PORT"]=> string(2) "80" ["REMOTE_ADDR"]=> string(12) "85.181.89.10" ["DOCUMENT_ROOT"]=> string(52) "/usr/export/www/vhosts/funnetwork/hosting/djlilquize" ["SERVER_ADMIN"]=>  string(16) "server@funpic.de" ["SCRIPT_FILENAME"]=>  string(64) "/usr/export/www/vhosts/funnetwork/hosting/djlilquize/4/index.php" ["REMOTE_PORT"]=>  string(4) "4434" ["GATEWAY_INTERFACE"]=>  string(7) "CGI/1.1" ["SERVER_PROTOCOL"]=>  string(8) "HTTP/1.1" ["REQUEST_METHOD"]=>  string(3) "GET" ["QUERY_STRING"]=>  string(23) "section=gbook&action=gb" ["REQUEST_URI"]=>  string(36) "/4/index.php?section=gbook&action=gb" ["SCRIPT_NAME"]=>  string(12) "/4/index.php" ["PHP_SELF"]=>  string(12) "/4/index.php" ["PATH_TRANSLATED"]=>  string(64) "/usr/export/www/vhosts/funnetwork/hosting/djlilquize/4/index.php" ["argv"]=>  array(1) { [0]=>  string(23) "section=gbook&action=gb" } ["argc"]=>  int(1) } ["HTTP_ENV_VARS"]=>  array(18) { ["USER"]=>  string(4) "root" ["SSH_CLIENT"]=>  string(21) "84.59.190.240 3792 22" ["MAIL"]=>  string(14) "/var/mail/root" ["LD_LIBRARY_PATH"]=>  string(23) "/usr/local/lib/apache2:" ["SHLVL"]=>  string(1) "2" ["HOME"]=>  string(5) "/root" ["SSH_TTY"]=>  string(10) "/dev/ttyp0" ["PAGER"]=>  string(4) "more" ["LOGNAME"]=>  string(4) "root" ["_"]=>  string(25) "/usr/local/sbin/apachectl" ["BLOCKSIZE"]=>  string(1) "K" ["TERM"]=>  string(5) "xterm" ["PATH"]=>  string(75) "/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin" ["SSH_AUTH_SOCK"]=>  string(31) "/tmp/ssh-kB5BC54PO4/agent.18707" ["SHELL"]=>  string(19) "/usr/local/bin/bash" ["PWD"]=>  string(5) "/root" ["SSH_CONNECTION"]=>  string(37) "84.59.190.240 3792 213.202.241.106 22" ["FTP_PASSIVE_MODE"]=>  string(3) "YES" } ["_ENV"]=>  array(18) { ["USER"]=>  string(4) "root" ["SSH_CLIENT"]=>  string(21) "84.59.190.240 3792 22" ["MAIL"]=>  string(14) "/var/mail/root" ["LD_LIBRARY_PATH"]=>  string(23) "/usr/local/lib/apache2:" ["SHLVL"]=>  string(1) "2" ["HOME"]=>  string(5) "/root" ["SSH_TTY"]=>  string(10) "/dev/ttyp0" ["PAGER"]=>  string(4) "more" ["LOGNAME"]=>  string(4) "root" ["_"]=>  string(25) "/usr/local/sbin/apachectl" ["BLOCKSIZE"]=>  string(1) "K" ["TERM"]=>  string(5) "xterm" ["PATH"]=>  string(75) "/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin" ["SSH_AUTH_SOCK"]=>  string(31) "/tmp/ssh-kB5BC54PO4/agent.18707" ["SHELL"]=>  string(19) "/usr/local/bin/bash" ["PWD"]=>  string(5) "/root" ["SSH_CONNECTION"]=>  string(37) "84.59.190.240 3792 213.202.241.106 22" ["FTP_PASSIVE_MODE"]=>  string(3) "YES" } ["HTTP_POST_FILES"]=>  array(0) { } ["_FILES"]=>  array(0) { } ["_REQUEST"]=>  array(4) { ["section"]=>  string(5) "gbook" ["action"]=>  string(2) "gb" ["__utmz"]=>  string(70) "208179973.1137218373.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)" ["__utma"]=>  string(54) "208179973.921560870.1137218373.1137218373.1138974565.2" } ["regs"]=>  array(3) { [0]=>  string(23) "djlilquize.dj.funpic.de" [1]=>  string(10) "djlilquize" [2]=>  string(12) "dj.funpic.de" } ["GLOBALS"]=>  &array(89) { ["USER"]=>  string(4) "root" ["SSH_CLIENT"]=>  string(21) "84.59.190.240 3792 22" ["MAIL"]=>  string(14) "/var/mail/root" ["LD_LIBRARY_PATH"]=>  string(23) "/usr/local/lib/apache2:" ["SHLVL"]=>  string(1) "2" ["HOME"]=>  string(5) "/root" ["SSH_TTY"]=>  string(10) "/dev/ttyp0" ["PAGER"]=>  string(4) "more" ["LOGNAME"]=>  string(4) "root" ["_"]=>  string(25) "/usr/local/sbin/apachectl" ["BLOCKSIZE"]=>  string(1) "K" ["TERM"]=>  string(5) "xterm" ["PATH"]=>  string(75) "/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin" ["SSH_AUTH_SOCK"]=>  string(31) "/tmp/ssh-kB5BC54PO4/agent.18707" ["SHELL"]=>  string(19) "/usr/local/bin/bash" ["PWD"]=> string(5) "/root" ["SSH_CONNECTION"]=> string(37) "84.59.190.240 3792 213.202.241.106 22" ["FTP_PASSIVE_MODE"]=> string(3) "YES" ["section"]=> string(5) "gbook" ["action"]=> string(2) "gb" ["__utmz"]=> string(70) "208179973.1137218373.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)" ["__utma"]=> string(54) "208179973.921560870.1137218373.1137218373.1138974565.2" ["GEOIP_COUNTRY_CODE"]=> string(2) "DE" ["GEOIP_COUNTRY_NAME"]=> string(7) "Germany" ["HTTP_HOST"]=> string(23) "djlilquize.dj.funpic.de" ["HTTP_USER_AGENT"]=> string(87) "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1" ["HTTP_ACCEPT"]=> string(99) "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"]=> string(35) "de-de,de;q=0.8,en-us;q=0.5,en;q=0.3" ["HTTP_ACCEPT_ENCODING"]=> string(12) "gzip,deflate" ["HTTP_ACCEPT_CHARSET"]=> string(30) "ISO-8859-1,utf-8;q=0.7,*;q=0.7" ["HTTP_KEEP_ALIVE"]=> string(3) "300" ["HTTP_CONNECTION"]=> string(10) "keep-alive" ["HTTP_REFERER"]=> string(73) "http://djlilquize.dj.funpic.de/4/index.php?section=content&action=contact" ["HTTP_COOKIE"]=> string(140) "__utmz=208179973.1137218373.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utma=208179973.921560870.1137218373.1137218373.1138974565.2" ["HTTP_CACHE_CONTROL"]=> string(9) "max-age=0" ["SERVER_SIGNATURE"]=> string(0) "" ["SERVER_SOFTWARE"]=> string(6) "Apache" ["SERVER_NAME"]=> string(23) "djlilquize.dj.funpic.de" ["SERVER_ADDR"]=> string(15) "213.202.241.106" ["SERVER_PORT"]=> string(2) "80" ["REMOTE_ADDR"]=> string(12) "85.181.89.10" ["DOCUMENT_ROOT"]=> string(52) "/usr/export/www/vhosts/funnetwork/hosting/djlilquize" ["SERVER_ADMIN"]=> string(16) "server@funpic.de" ["SCRIPT_FILENAME"]=> string(64) "/usr/export/www/vhosts/funnetwork/hosting/djlilquize/4/index.php" ["REMOTE_PORT"]=> string(4) "4434" ["GATEWAY_INTERFACE"]=> string(7) "CGI/1.1" ["SERVER_PROTOCOL"]=> string(8) "HTTP/1.1" ["REQUEST_METHOD"]=> string(3) "GET" ["QUERY_STRING"]=> string(23) "section=gbook&action=gb" ["REQUEST_URI"]=> string(36) "/4/index.php?section=gbook&action=gb" ["SCRIPT_NAME"]=> string(12) "/4/index.php" ["PHP_SELF"]=> string(12) "/4/index.php" ["PATH_TRANSLATED"]=> string(64) "/usr/export/www/vhosts/funnetwork/hosting/djlilquize/4/index.php" ["argv"]=> array(1) { [0]=> string(23) "section=gbook&action=gb" } ["argc"]=> int(1) ["HTTP_POST_VARS"]=> array(0) { } ["_POST"]=> array(0) { } ["HTTP_GET_VARS"]=> array(2) { ["section"]=> string(5) "gbook" ["action"]=> string(2) "gb" } ["_GET"]=> array(2) { ["section"]=> string(5) "gbook" ["action"]=> string(2) "gb" } ["HTTP_COOKIE_VARS"]=> array(2) { ["__utmz"]=> string(70) "208179973.1137218373.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)" ["__utma"]=> string(54) "208179973.921560870.1137218373.1137218373.1138974565.2" } ["_COOKIE"]=> array(2) { ["__utmz"]=> string(70) "208179973.1137218373.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)" ["__utma"]=> string(54) "208179973.921560870.1137218373.1137218373.1138974565.2" } ["HTTP_SERVER_VARS"]=> array(34) { ["GEOIP_COUNTRY_CODE"]=> string(2) "DE" ["GEOIP_COUNTRY_NAME"]=> string(7) "Germany" ["HTTP_HOST"]=> string(23) "djlilquize.dj.funpic.de" ["HTTP_USER_AGENT"]=> string(87) "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1" ["HTTP_ACCEPT"]=> string(99) "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"]=> string(35) "de-de,de;q=0.8,en-us;q=0.5,en;q=0.3" ["HTTP_ACCEPT_ENCODING"]=> string(12) "gzip,deflate" ["HTTP_ACCEPT_CHARSET"]=> string(30) "ISO-8859-1,utf-8;q=0.7,*;q=0.7" ["HTTP_KEEP_ALIVE"]=> string(3) "300" ["HTTP_CONNECTION"]=> string(10) "keep-alive" ["HTTP_REFERER"]=> string(73) "http://djlilquize.dj.funpic.de/4/index.php?section=content&action=contact" ["HTTP_COOKIE"]=> string(140) "__utmz=208179973.1137218373.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utma=208179973.921560870.1137218373.1137218373.1138974565.2" ["HTTP_CACHE_CONTROL"]=> string(9) "max-age=0" ["PATH"]=> string(75) "/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin" ["SERVER_SIGNATURE"]=> string(0) "" ["SERVER_SOFTWARE"]=> string(6) "Apache" ["SERVER_NAME"]=> string(23) "djlilquize.dj.funpic.de" ["SERVER_ADDR"]=> string(15) "213.202.241.106" ["SERVER_PORT"]=> string(2) "80" ["REMOTE_ADDR"]=> string(12) "85.181.89.10" ["DOCUMENT_ROOT"]=> string(52) "/usr/export/www/vhosts/funnetwork/hosting/djlilquize" ["SERVER_ADMIN"]=> string(16) "server@funpic.de" ["SCRIPT_FILENAME"]=> string(64) "/usr/export/www/vhosts/funnetwork/hosting/djlilquize/4/index.php" ["REMOTE_PORT"]=> string(4) "4434" ["GATEWAY_INTERFACE"]=> string(7) "CGI/1.1" ["SERVER_PROTOCOL"]=> string(8) "HTTP/1.1" ["REQUEST_METHOD"]=> string(3) "GET" ["QUERY_STRING"]=> string(23) "section=gbook&action=gb" ["REQUEST_URI"]=> string(36) "/4/index.php?section=gbook&action=gb" ["SCRIPT_NAME"]=> string(12) "/4/index.php" ["PHP_SELF"]=> string(12) "/4/index.php" ["PATH_TRANSLATED"]=> string(64) "/usr/export/www/vhosts/funnetwork/hosting/djlilquize/4/index.php" ["argv"]=> array(1) { [0]=> string(23) "section=gbook&action=gb" } ["argc"]=> int(1) } ["_SERVER"]=> array(34) { ["GEOIP_COUNTRY_CODE"]=> string(2) "DE" ["GEOIP_COUNTRY_NAME"]=> string(7) "Germany" ["HTTP_HOST"]=> string(23) "djlilquize.dj.funpic.de" ["HTTP_USER_AGENT"]=> string(87) "Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1" ["HTTP_ACCEPT"]=> string(99) "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"]=> string(35) "de-de,de;q=0.8,en-us;q=0.5,en;q=0.3" ["HTTP_ACCEPT_ENCODING"]=> string(12) "gzip,deflate" ["HTTP_ACCEPT_CHARSET"]=> string(30) "ISO-8859-1,utf-8;q=0.7,*;q=0.7" ["HTTP_KEEP_ALIVE"]=> string(3) "300" ["HTTP_CONNECTION"]=> string(10) "keep-alive" ["HTTP_REFERER"]=> string(73) "http://djlilquize.dj.funpic.de/4/index.php?section=content&action=contact" ["HTTP_COOKIE"]=> string(140) "__utmz=208179973.1137218373.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); __utma=208179973.921560870.1137218373.1137218373.1138974565.2" ["HTTP_CACHE_CONTROL"]=> string(9) "max-age=0" ["PATH"]=> string(75) "/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin" ["SERVER_SIGNATURE"]=> string(0) "" ["SERVER_SOFTWARE"]=> string(6) "Apache" ["SERVER_NAME"]=> string(23) "djlilquize.dj.funpic.de" ["SERVER_ADDR"]=> string(15) "213.202.241.106" ["SERVER_PORT"]=> string(2) "80" ["REMOTE_ADDR"]=> string(12) "85.181.89.10" ["DOCUMENT_ROOT"]=> string(52) "/usr/export/www/vhosts/funnetwork/hosting/djlilquize" ["SERVER_ADMIN"]=> string(16) "server@funpic.de" ["SCRIPT_FILENAME"]=> string(64) "/usr/export/www/vhosts/funnetwork/hosting/djlilquize/4/index.php" ["REMOTE_PORT"]=> string(4) "4434" ["GATEWAY_INTERFACE"]=> string(7) "CGI/1.1" ["SERVER_PROTOCOL"]=>  string(8) "HTTP/1.1" ["REQUEST_METHOD"]=>  string(3) "GET" ["QUERY_STRING"]=>  string(23) "section=gbook&action=gb" ["REQUEST_URI"]=>  string(36) "/4/index.php?section=gbook&action=gb" ["SCRIPT_NAME"]=>  string(12) "/4/index.php" ["PHP_SELF"]=>  string(12) "/4/index.php" ["PATH_TRANSLATED"]=>  string(64) "/usr/export/www/vhosts/funnetwork/hosting/djlilquize/4/index.php" ["argv"]=>  array(1) { [0]=>  string(23) "section=gbook&action=gb" } ["argc"]=>  int(1) } ["HTTP_ENV_VARS"]=>  array(18) { ["USER"]=>  string(4) "root" ["SSH_CLIENT"]=>  string(21) "84.59.190.240 3792 22" ["MAIL"]=>  string(14) "/var/mail/root" ["LD_LIBRARY_PATH"]=>  string(23) "/usr/local/lib/apache2:" ["SHLVL"]=>  string(1) "2" ["HOME"]=>  string(5) "/root" ["SSH_TTY"]=>  string(10) "/dev/ttyp0" ["PAGER"]=>  string(4) "more" ["LOGNAME"]=>  string(4) "root" ["_"]=>  string(25) "/usr/local/sbin/apachectl" ["BLOCKSIZE"]=>  string(1) "K" ["TERM"]=>  string(5) "xterm" ["PATH"]=>  string(75) "/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin" ["SSH_AUTH_SOCK"]=>  string(31) "/tmp/ssh-kB5BC54PO4/agent.18707" ["SHELL"]=>  string(19) "/usr/local/bin/bash" ["PWD"]=>  string(5) "/root" ["SSH_CONNECTION"]=>  string(37) "84.59.190.240 3792 213.202.241.106 22" ["FTP_PASSIVE_MODE"]=>  string(3) "YES" } ["_ENV"]=>  array(18) { ["USER"]=>  string(4) "root" ["SSH_CLIENT"]=>  string(21) "84.59.190.240 3792 22" ["MAIL"]=>  string(14) "/var/mail/root" ["LD_LIBRARY_PATH"]=>  string(23) "/usr/local/lib/apache2:" ["SHLVL"]=>  string(1) "2" ["HOME"]=>  string(5) "/root" ["SSH_TTY"]=>  string(10) "/dev/ttyp0" ["PAGER"]=>  string(4) "more" ["LOGNAME"]=>  string(4) "root" ["_"]=>  string(25) "/usr/local/sbin/apachectl" ["BLOCKSIZE"]=>  string(1) "K" ["TERM"]=>  string(5) "xterm" ["PATH"]=>  string(75) "/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin" ["SSH_AUTH_SOCK"]=>  string(31) "/tmp/ssh-kB5BC54PO4/agent.18707" ["SHELL"]=>  string(19) "/usr/local/bin/bash" ["PWD"]=>  string(5) "/root" ["SSH_CONNECTION"]=>  string(37) "84.59.190.240 3792 213.202.241.106 22" ["FTP_PASSIVE_MODE"]=>  string(3) "YES" } ["HTTP_POST_FILES"]=>  array(0) { } ["_FILES"]=>  array(0) { } ["_REQUEST"]=>  array(4) { ["section"]=>  string(5) "gbook" ["action"]=>  string(2) "gb" ["__utmz"]=>  string(70) "208179973.1137218373.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)" ["__utma"]=>  string(54) "208179973.921560870.1137218373.1137218373.1138974565.2" } ["regs"]=>  array(3) { [0]=>  string(23) "djlilquize.dj.funpic.de" [1]=>  string(10) "djlilquize" [2]=>  string(12) "dj.funpic.de" } ["GLOBALS"]=>  *RECURSION* ["password"]=>  string(8) "password" ["bbcode"]=>  bool(true) ["html"]=>  bool(false) ["entries"]=>  int(10) ["antispam"]=>  int(30) ["maxlength"]=>  int(0) ["chars"]=>  int(85) ["admincheck"]=>  bool(false) ["encodemails"]=>  bool(true) ["enreplace"]=>  bool(true) ["ensmilies"]=>  bool(true) ["enablemail"]=>  bool(false) ["mail"]=>  string(13) "your@email.de" ["thanks"]=>  bool(false) ["getip"]=>  string(12) "85.181.89.10" ["smilies"]=>  array(11) { [":-)"]=>  string(10) "img/s9.gif" [":-P"]=>  string(10) "img/s1.gif" ["}:-("]=>  string(10) "img/s4.gif" [":-("]=>  string(10) "img/s2.gif" [":)"]=>  string(10) "img/s9.gif" [":("]=>  string(10) "img/s2.gif" [":-O"]=>  string(10) "img/s3.gif" [":-D"]=>  string(10) "img/s5.gif" ["8-)"]=>  string(10) "img/s6.gif" [":-L"]=>  string(10) "img/s7.gif" [";-)"]=>  string(10) "img/s8.gif" } ["badwords"]=>  array(2) { [""]=>  string(6) "f***en" [""]=>  string(5) "a****" } ["ver"]=>  float(1.3) ["datafile"]=>  string(21) "functions/entries.txt" } ["password"]=>  string(8) "password" ["bbcode"]=>  bool(true) ["html"]=>  bool(false) ["entries"]=>  int(10) ["antispam"]=>  int(30) ["maxlength"]=>  int(0) ["chars"]=>  int(85) ["admincheck"]=>  bool(false) ["encodemails"]=>  bool(true) ["enreplace"]=>  bool(true) ["ensmilies"]=>  bool(true) ["enablemail"]=>  bool(false) ["mail"]=>  string(13) "your@email.de" ["thanks"]=>  bool(false) ["getip"]=>  string(12) "85.181.89.10" ["smilies"]=>  array(11) { [":-)"]=>  string(10) "img/s9.gif" [":-P"]=>  string(10) "img/s1.gif" ["}:-("]=>  string(10) "img/s4.gif" [":-("]=>  string(10) "img/s2.gif" [":)"]=>  string(10) "img/s9.gif" [":("]=>  string(10) "img/s2.gif" [":-O"]=>  string(10) "img/s3.gif" [":-D"]=>  string(10) "img/s5.gif" ["8-)"]=>  string(10) "img/s6.gif" [":-L"]=>  string(10) "img/s7.gif" [";-)"]=>  string(10) "img/s8.gif" } ["badwords"]=>  array(2) { [""]=>  string(6) "f***en" [""]=>  string(5) "a****" } ["ver"]=>  float(1.3) ["datafile"]=>  string(21) "functions/entries.txt" }
Warning: array_reverse(): The argument should be an array in /usr/export/www/vhosts/funnetwork/hosting/djlilquize/4/gbook/gb.php on line 103

Warning: Invalid argument supplied for foreach() in /usr/export/www/vhosts/funnetwork/hosting/djlilquize/4/gbook/gb.php on line 107
Ein Fehler ist aufgetreten! - An error occurred!




hab die schon angeschrieben aber die melden sich irgendwie nicht! :(
 
Hallo,

nein das ist kein Fehler. Wenn das Gästebuch von einem anderen
Script includet wird ändert sich auch der Hauptpfad und die
Einträgedatei ist nicht mehr zu finden.
Am besten per IFrame einbinden.

Gruß
Carsten


also das hat, Carsten Hufe von CodeBox gesagt nachdem ich ihn angeschrieben habe :)

und jetzt?

1. ich will keinen iFrame :(
2. müsste man die Einträgedatei (entries.txt) halt direktaufrufen oder? aber wie macht man das?:confused:


Hat jemand eine andere möglichkeit? :confused:

Gruß

Elme
 
Zurück