Autor Beitrag
FriFra
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 557

Win XP Prof, Win XP Home,Win Server 2003,Win 98SE,Win 2000,Win NT4,Win 3.11,Suse Linux 7.3 Prof,Suse Linux 8.0 Prof
D2k5 Prof, D7 Prof, D5 Standard, D3 Prof, K3 Prof
BeitragVerfasst: Di 17.06.03 17:41 
Wie kann ich php Seiten mit der php.exe verarbeiten und das Ergebnis ausgeben?

_________________
Michael
(principal certified lotus professional - developer)
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Di 17.06.03 18:38 
du müsstest den quelltext an die exe weiterleiten wenn eine php datei aufgerufen wird.

wie und ob das geht bin ich mir nicht sicher.

_________________
In the beginning was the word.
And the word was content-type: text/plain.
FriFra Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 557

Win XP Prof, Win XP Home,Win Server 2003,Win 98SE,Win 2000,Win NT4,Win 3.11,Suse Linux 7.3 Prof,Suse Linux 8.0 Prof
D2k5 Prof, D7 Prof, D5 Standard, D3 Prof, K3 Prof
BeitragVerfasst: Di 17.06.03 20:08 
matze hat folgendes geschrieben:
du müsstest den quelltext an die exe weiterleiten wenn eine php datei aufgerufen wird.

wie und ob das geht bin ich mir nicht sicher.


das war mir auch klar :roll: ... aber eben das wie ist unklar :( ...

_________________
Michael
(principal certified lotus professional - developer)
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: Di 17.06.03 20:33 
Suchst du Internet: php.net -> Win32-Binary
Suchst du Forum: ShellExecute
Rufst du auf, php.exe mit .php-Datei als 1. Parameter
Suchst du Forum: Wie kriege ich die Ausgabe eines Kommandozeilenprogrammes zurück?

und so geht's ;-)
Die php.exe nimmt nämlich einfach die PHP-Datei, parst sie und spuckt den fertigen HTML-Code wieder aus. Den einfach an den Browser schicken, fertig, um den Rest brauchst du dich nicht mehr kümmern (Datenbankanbindung macht AFAIR auch PHP).

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mi 18.06.03 09:56 
jo so gehts. ich war mir da nicht sicher.

_________________
In the beginning was the word.
And the word was content-type: text/plain.