Hello,
per FTP kein Problem, aber ich kann nur per HTTP auf die Datei zugreifen.
- copy("http://example.org/test_xml.php", "lokal.xml")
- include "http://example.org/test_xml.php" //allow_url_include ist On
sehe ich das richtig, dass auf dem fremden Server eine Datei liegt, die von PHP geparsed wird, aber an deren Rohform du rankommen willst? Mittels HTTP praktisch ausgeschlossen, sofern du sie genauso aufrufst wie jemand, der das Ergebnis des Parsens sehen will. Wenn es kein Sicherheitsrisiko ist, versehe das Skript mit einem Parameter, der den Rohzustand explizit ausliefert.
MfG
Rouven
--
-------------------
Computer programming is tremendous fun. Like music, it is a skill that derives from an unknown blend of innate talent and constant practice. Like drawing, it can be shaped to a variety of ends: commercial, artistic, and pure entertainment. Programmers have a well-deserved reputation for working long hours but are rarely credited with being driven by creative fevers. Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination, but because their imagination reveals worlds that others cannot see. -- Larry OBrien and Bruce Eckel in Thinking in C#
-------------------
Computer programming is tremendous fun. Like music, it is a skill that derives from an unknown blend of innate talent and constant practice. Like drawing, it can be shaped to a variety of ends: commercial, artistic, and pure entertainment. Programmers have a well-deserved reputation for working long hours but are rarely credited with being driven by creative fevers. Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination, but because their imagination reveals worlds that others cannot see. -- Larry OBrien and Bruce Eckel in Thinking in C#