Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need easy populate files to be automated.


Guest

Recommended Posts

Try something like this with Perl:

 

#!/usr/bin/perl
use LWP::Simple;
$doc = get('http://myurl.com/catalog/easypopulate.php?download=tempfile&dltype=full');

 

This executes a PHP page using Perl. If you want to keep the page output, the output is in $doc. As-is, this will fail if the URL is password protected. Add a cron entry to run the Perl script once it is working.

Link to comment
Share on other sites

  • 4 weeks later...
  • 15 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...