Recent

Author Topic: how can i use php into lazarus, have a way?  (Read 5119 times)

starcraftm

  • Newbie
  • Posts: 4
how can i use php into lazarus, have a way?
« on: May 30, 2008, 03:51:35 am »
Hi friends,

Have a way to use PHP into Lazarus? Have some way?

I want to use the lenguage PHP to program codes like a chat and put this inside my lazarus project.

How can I do this?

Thanks ando sorry for my English!

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1927
RE: how can i use php into lazarus, have a way?
« Reply #1 on: May 30, 2008, 10:37:58 am »
That doesn't make sense to me.

You can probably execute php and read the results back using TProcess:
http://wiki.lazarus.freepascal.org/Executing_External_Programs
But PHP won't run in a server environment then.

Code your chat in Freepascal/Lazarus.

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: how can i use php into lazarus, have a way?
« Reply #2 on: May 30, 2008, 03:52:15 pm »
Quote from: "starcraftm"
Hi friends,

Have a way to use PHP into Lazarus? Have some way?

I want to use the lenguage PHP to program codes like a chat and put this inside my lazarus project.

How can I do this?

Thanks ando sorry for my English!


Yes, you can probably do that with Serge's project:

http://www.php4delphi.net/

Thanks.

-Phil

 

TinyPortal © 2005-2018