| | | | |
| |||||||
| Server, Hosting und Workstations Server-Konfigurationsdateien (.htaccess/httpd.conf) und Arbeiten auf Serverebene |
|
| | LinkBack | Themen-Optionen | Thema bewerten |
| | |
| PHP Code Flüsterer Registriert seit: 21.08.2005 Beiträge: 4682 PHP-Kenntnisse: Fortgeschritten | |
| | |
| Moderator und Wett-König | Lass dir mal das $_REQUEST-Array in PHP ausgeben. Evtl. findest du dort Hinweise.
__________________ Viele Grüße, Dr.E. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1. Think about software design before you start to write code! 2. Discuss and review it together with experts! 3. Choose good tools (-> Adventure PHP Framework (APF))! 4. Write clean and reusable software only! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| | |
| | |
| there's only one psycho | Der Punkt ist nur dazu da, dass dieser in der Rule nicht mitaufgeschnappt wird, also nicht erlaubt oder wie man auch sagen möchte. Ausgaben habe ich mir ausgeben lassen und natürlich analysiert, jedoch nichts auffällliges entdecken können, geschweige denn eine Lösung für das Fehlverhalten entdeckt. Hier mal die Ausgaben beim aufruf von "home.php" Ausgabe » $_REQUEST Code: Array
(
[content] => index
[sid] => a6988a489500121fcb14f89beafb5166
)
Code: Array
(
[HTTP_HOST] => localhost
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
[HTTP_ACCEPT] => application/x-shockwave-flash,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.6,en;q=0.4,pl;q=0.2
[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_REFERER] => http://localhost/_seiten/
[HTTP_COOKIE] => sid=a6988a489500121fcb14f89beafb5166
[HTTP_CACHE_CONTROL] => max-age=0
[PATH] => C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Programme\Sybase\SQL Anywhere 9\Win32;D:\Ultra-Edit32;D:\QuickTime\QTSystem\;C:\Programme\Gemeinsame Dateien\Ulead Systems\MPEG
[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] =>
Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5 Server at localhost Port 80
[SERVER_SOFTWARE] => Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5
[SERVER_NAME] => localhost
[SERVER_ADDR] => 127.0.0.1
[SERVER_PORT] => 80
[REMOTE_ADDR] => 127.0.0.1
[DOCUMENT_ROOT] => D:/xampp/htdocs
[SERVER_ADMIN] => admin@localhost
[SCRIPT_FILENAME] => D:/xampp/htdocs/_seiten/xxx/index.php
[REMOTE_PORT] => 1900
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] => content=index
[REQUEST_URI] => /_seiten/xxx/
[SCRIPT_NAME] => /_seiten/xxx/index.php
[PHP_SELF] => /_seiten/xxx/index.php
[REQUEST_TIME] => 1200558784
[argv] => Array
(
[0] => content=index
)
[argc] => 1
)
Und Mod Rewrite läuft, zumindestens sagt mir das meine liebe PHP Info Noch jemand eine Idee? Danke auf jeden Fall euch auch beiden Dr.e und Brian, vielleicht erkennt ihr noch etwas. Und auch dir Zergling. Stimmt was mit dem Punkt nicht? Grüße Psy Edith sagt: Wenn ich nun die RewriteEngine auf off stelle und "index.php?content=home" aufrufe, gibt REQUEST auch das aus, was ausgegeben werden sollte: Ausgabe » $_REQUEST Code: Array
(
[content] => home
[sid] => a6988a489500121fcb14f89beafb5166
)
__________________ "Weaseling out of things is important to learn. It's what separates us from the animals ... except the weasel." (Homer J. Simpson) Geändert von cycap (29.07.2008 um 10:47 Uhr). |
| | |
| | |
| Moderator und Wett-König |
__________________ Viele Grüße, Dr.E. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1. Think about software design before you start to write code! 2. Discuss and review it together with experts! 3. Choose good tools (-> Adventure PHP Framework (APF))! 4. Write clean and reusable software only! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| | |
|
| Themen-Optionen | |
| Thema bewerten | |
|
|
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Mod Rewrite Allgemeinplätzchen | nikosch | Server, Hosting und Workstations | 2 | 10.05.2008 01:35 |
| Mod Rewrite unter IIS | Plague | PHP Tipps 2008 | 7 | 02.05.2008 22:18 |
| Mod Rewrite in Shop Software einbauen | Pseiko | Beitragsarchiv | 17 | 18.03.2008 14:48 |
| Mod Rewrite - nur für Adressen größer als ? | tayke | Server, Hosting und Workstations | 9 | 02.05.2007 14:30 |
| Mod Rewrite Problem mit PUNKT | becks123 | Server, Hosting und Workstations | 1 | 31.01.2007 21:48 |
| rewrite von .php - Möglich? | tayke | Server, Hosting und Workstations | 8 | 29.11.2006 17:02 |
| rewrite | Marc | Server, Hosting und Workstations | 5 | 29.04.2006 12:15 |
| Neuer Strato Server apache 2 Mod Rewrite & htaccess Prob | Stemmi | Server, Hosting und Workstations | 4 | 02.05.2005 00:29 |
| domain umleiten mit rewrite | wurtzel | Server, Hosting und Workstations | 2 | 05.03.2005 02:09 |
| Free Webspace mit Mod Rewrite | peng | Beitragsarchiv | 6 | 15.02.2005 11:44 |
| [Erledigt] URL Rewrite | PHP-Fortgeschrittene | 3 | 06.02.2005 16:54 | |
| [Erledigt] rewrite mod | Server, Hosting und Workstations | 1 | 12.01.2005 16:37 | |
| [Erledigt] mode rewrite, was ist möglich? | Server, Hosting und Workstations | 3 | 13.12.2004 09:34 | |
| [Erledigt] mod rewrite problem | Server, Hosting und Workstations | 0 | 20.07.2004 11:58 | |

Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.