Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: May 30, 2024, 1:07 am

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP Locally
#4
RE: PHP Locally
(June 7, 2012 at 3:57 pm)Darwinian Wrote:
(June 7, 2012 at 3:54 pm)Cthulhu Dreaming Wrote: What is it you're trying to do, execute the PHP locally from your app, or convert the code to Delphi to run inside your app?

Ideally convert it to Delphi but anyway to get it to work locally is ok with me.

Well, I would think that you'd be able to install a PHP interpreter locally to get it to work, though I agree with you that getting it to work natively in your app is better.

Unfortunately, I know fuck all about Delphi's APIs - but the PHP code itself is fairly trivial (though is somewhat obtuse in parts). All it's doing is retrieving a given URL, extracting the URL of the FLV video stream, and then downloading that to a file. Assuming Delphi has reasonable APIs for retrieving data by URL, HTTP/XML manipulation and string matching, it shouldn't be too difficult to replicate.
Reply



Messages In This Thread
PHP Locally - by Darwinian - June 7, 2012 at 3:38 pm
RE: PHP Locally - by Jackalope - June 7, 2012 at 3:54 pm
RE: PHP Locally - by Darwinian - June 7, 2012 at 3:57 pm
RE: PHP Locally - by Jackalope - June 7, 2012 at 4:03 pm
RE: PHP Locally - by Darwinian - June 7, 2012 at 4:07 pm
RE: PHP Locally - by Jackalope - June 7, 2012 at 4:20 pm
RE: PHP Locally - by Darwinian - June 7, 2012 at 4:28 pm
RE: PHP Locally - by Tiberius - June 7, 2012 at 4:22 pm
RE: PHP Locally - by Jackalope - June 7, 2012 at 4:26 pm
RE: PHP Locally - by Tiberius - June 7, 2012 at 4:27 pm
RE: PHP Locally - by Jackalope - June 7, 2012 at 4:31 pm
RE: PHP Locally - by Darwinian - June 7, 2012 at 4:32 pm
RE: PHP Locally - by Tiberius - June 7, 2012 at 4:43 pm
RE: PHP Locally - by Darwinian - June 7, 2012 at 4:44 pm
RE: PHP Locally - by Tiberius - June 7, 2012 at 5:01 pm
RE: PHP Locally - by Autumnlicious - June 7, 2012 at 5:29 pm
RE: PHP Locally - by Tiberius - June 7, 2012 at 6:17 pm
RE: PHP Locally - by Autumnlicious - June 7, 2012 at 6:44 pm
RE: PHP Locally - by Jackalope - June 7, 2012 at 7:05 pm
RE: PHP Locally - by Autumnlicious - June 7, 2012 at 8:05 pm
RE: PHP Locally - by Jackalope - June 7, 2012 at 8:15 pm
RE: PHP Locally - by Autumnlicious - June 7, 2012 at 8:31 pm
RE: PHP Locally - by Jackalope - June 7, 2012 at 8:39 pm
RE: PHP Locally - by Autumnlicious - June 7, 2012 at 8:56 pm
RE: PHP Locally - by Jackalope - June 7, 2012 at 9:04 pm
RE: PHP Locally - by Autumnlicious - June 8, 2012 at 1:33 am
RE: PHP Locally - by Jackalope - June 8, 2012 at 1:47 am
RE: PHP Locally - by Darwinian - June 8, 2012 at 2:24 am
RE: PHP Locally - by Autumnlicious - June 8, 2012 at 12:44 pm
RE: PHP Locally - by Colanth - June 15, 2012 at 10:03 pm
RE: PHP Locally - by Jackalope - June 15, 2012 at 11:42 pm
RE: PHP Locally - by Darwinian - June 16, 2012 at 7:30 am
RE: PHP Locally - by Tiberius - June 16, 2012 at 7:37 am
RE: PHP Locally - by Darwinian - June 16, 2012 at 7:41 am
RE: PHP Locally - by Tiberius - June 16, 2012 at 11:09 am



Users browsing this thread: 1 Guest(s)