× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2011-05-04 20:30, Jim Franz wrote:
Need to receive orders produced from a shopping cart on another server.
Each will have name/address order & shipto info, plus 1 to many detail records.
No CC stuff. No $$ for edi software.
I'd like to sound halfway intelligent talking to a php developer on the other end as
to how we could handle this (web service pgm?) or simple ftp...
Many orders a day but we a not talking huge volumes. Currently getting it via email.
This then will feed into an inhouse entry system, v6r1 & strictly a RPG shop.
Jim Franz

Here's a php script that I use to submit a request to a copy of the w3c
html validator that I host on a local server. I use it for validating
all of the html pages in a local directory.

#!/usr/bin/php
<?php
$page = "http://validator.invalid/check?uri=$argv[1]";;
if ($fp = fopen($page, 'r')) {
$contents = fread($fp, 100000);
// Find 'Passed validation' or 'Failed validation'
if (preg_match("/\bPassed validation/",$contents)) {
echo(1);
} else {
if (preg_match("/\bFailed validation/",$contents)) {
echo(0);
} else {
echo(-1);
}
}
fclose($fp);
} else {
echo(-1);
}
?>

You could also check out the examples at paypal.com. They have an html
interface, and examples of how to use it from php.

hth

- --
Pete Hall
pete@xxxxxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk3CB/8ACgkQXczQcKdXKg4hCACfVE32b8kUxEoFFDhEcBmK8pKZ
JvIAnAzJb7t+vqcofMqqiMyjSzNdXu9r
=BerM
-----END PGP SIGNATURE-----

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.