Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 9th, 2005, 11:36 AM
Registered User
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default PHP IIS5 listener

We have an eCommerce solution which sends XML data to suppliers.
I'm trying to setup a simple listener using PHP on a small IIS5 web server to receive these messages.
I maybe nieve but I assumed it would use an Http POST abd I could pickup the data using he $_REQUEST ARRAY. I then want to put the data into an SQL table.
The URL setup directs the XML message to a php page but nothing happens. The PHP page has the following script:

$db_host = "******";
$username = "******";
$password = "******";
$DB_name = "******";

$SQLconnection = mssql_connect($db_host, $username, $password);
mssql_select_db($DB_name, $SQLconnection);

foreach($_REQUEST as $key => $value)

    $querystring="insert into TBL_PO_XML (XMLData) VALUES ('".$value."')";


I've removed the SQL credentials for this posting.

Am I over simplifying the situation when XML is transmitted from a website to another

I've tried to search around for standard listeners for XML data and can't find any info anywhere.:(
Any ideas would be greatly appreciated.

Similar Threads
Thread Thread Starter Forum Replies Last Post
IIS5 Win2K Sessions being dropped (apparently) BrianWren Internet Information Services 3 January 22nd, 2007 03:48 PM
Using scripting under IIS5.1 for WinXP pro khinlau Classic ASP Components 0 November 26th, 2005 06:03 AM
Webservice listener dcrooks .NET Web Services 0 February 18th, 2005 05:33 PM
IE6 or IIS5 settings MGerlachJr Dreamweaver (all versions) 11 December 5th, 2004 12:48 PM
Does IIS5/6 support MDTM command? kalunalan Dreamweaver (all versions) 0 November 15th, 2004 05:13 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.