Autor Beitrag
pk910
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 74

Win VISTA, Win 98, Win XP, Linux
Delphi 5.0
BeitragVerfasst: Di 03.04.07 20:15 
wie kann ich ein Bild mit der endung .php vom Internet anzeigen?

z.B.
meinewebseite.de/bild.php

mit nem normalen Image sagt er: unbekannte endung
Hack Gott
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 409

Windows Vista
Delphi 2005 Personal, Delphi 7
BeitragVerfasst: Di 03.04.07 20:18 
In Delphi oder wo?

_________________
"Je mehr Käse, desto mehr Löcher; Je mehr Löcher, desto weniger Käse. Daraus folgt: Je mehr Käse desto weniger Käse!"
pk910 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 74

Win VISTA, Win 98, Win XP, Linux
Delphi 5.0
BeitragVerfasst: Di 03.04.07 20:20 
jo ^^

hätte ich dazu schreiben sollen... ist mir auch aufgefallen
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Di 03.04.07 20:23 
-TWebBrowser/TMozillaBrowser oder andere Webfähige Komponente
-Download des Bildes

_________________
Markus Kinzler.
pk910 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 74

Win VISTA, Win 98, Win XP, Linux
Delphi 5.0
BeitragVerfasst: Di 03.04.07 20:25 
wie umständlich...

geht des ned einfacher?

will des bild dann in delphi weiter bearbeiten
Hack Gott
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 409

Windows Vista
Delphi 2005 Personal, Delphi 7
BeitragVerfasst: Di 03.04.07 20:27 
Also dann würd ich des über ne Website komponente aufrufen (weiß grad net wie die heißt, ist aber bei Delphi dabei muss man aber noch hinzufügen). Denn die Grafik wird ja von php erzeugt. Deswegen brauchst du einen Server der deinen PHP Code ausführt. Mit der Image Komponente kannst du aber nur lokale Dateien öffnen. localhost/bild.php zählt aber schon nicht mehr als lokal.
Deswegen den Websiten Komponenten einbinden. Weiß bestimmt jemand wie der heißt!?

//EDIT: Verdammt zu spät

_________________
"Je mehr Käse, desto mehr Löcher; Je mehr Löcher, desto weniger Käse. Daraus folgt: Je mehr Käse desto weniger Käse!"
Hack Gott
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 409

Windows Vista
Delphi 2005 Personal, Delphi 7
BeitragVerfasst: Di 03.04.07 20:29 
user profile iconpk910 hat folgendes geschrieben:
wie umständlich...

geht des ned einfacher?

will des bild dann in delphi weiter bearbeiten


Dann musst du es runterladen. Du kannst es aber nicht einfach so öffnen. Wie schon gesagt, du führst ja PHP Code aus. Und das klappt nunmal nur auf einem Server, dadurch ist die Datei aber schon nicht mehr lokal.

_________________
"Je mehr Käse, desto mehr Löcher; Je mehr Löcher, desto weniger Käse. Daraus folgt: Je mehr Käse desto weniger Käse!"