Mailinglisten-Archive |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Freitag, 9. Juli 2004 10:21 schrieb Thomas Richter:
> > Habs mit exec und Passthru versucht, doch das funktioniert nicht.
> > Kann mir jemand helfen? Gibt es evtl. eine XML-Parser Klasse die
> > genau mein Problem behebt?
>
> Vorrausgesetzt, das cgi script liegt innerhalb des webroots:
>
> $xml =
file_get_contents("http://domaine.de/cgi-bin/script.pl?para=$_GET[x]");
^^^^^^^^^^
Also, so geht's bestimmt nicht.
Wenn dann so:
$xml =
file_get_contents("http://domaine.de/cgi-bin/script.pl?para=".$_GET['x']);
oder, noch besser (mit Abwärtskompatitblität), so:
$xml =
join("\n",file("http://domaine.de/cgi-bin/script.pl?para=".$_GET['x']));
Gruss
Jonas
- --
Jonas Schneider
eMail JonasSchneider at gmx.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iD8DBQFA7s44pqpdmWP17qoRAmtdAJoDLnqYamIllxFq0brR0crPMLQF7QCffmal
/ecotYARs8mLc8E+vHVNIlA=
=MFH/
-----END PGP SIGNATURE-----
php::bar PHP Wiki - Listenarchive