0

I need to create a script which will parse some data from a url and then insert it into a database. I was wondering whether a perl cgi script or a php script is more suited for this purpose. I would have to run this script every ten minutes or so.

user1667307
  • 1,961
  • 5
  • 26
  • 31

2 Answers2

1

Anything that gets the job done is "suited" to the purpose. Personally I'd go with PHP but that's just because I know PHP and not Perl. Ultimately it's up to you - if you can do it in Perl, do so. If you prefer PHP, do it in PHP.

Niet the Dark Absol
  • 311,322
  • 76
  • 447
  • 566
1

Either PHP or Perl will do the job just fine. I'd send you in the direction of PHP just because it's easier to use out of the box and has a lot more examples geared toward people just getting started.

Here is an example answer to this question

Community
  • 1
  • 1
tdlm
  • 597
  • 3
  • 13