|
Posted by Dino on 04/25/06 14:22
On Mon, 24 Apr 2006 16:06:00 +0200, Treefrog wrote
(in message <1145887560.669770.315870@i40g2000cwc.googlegroups.com>):
> Before I reply, I want to say I've never coded ASP in my life before,
> so I can't see why you wouldn't be able to figure it out, but
> nevertheless....
>
> The code seems to be serializing the request object, then returning a
> little bit of XML to the browser, depending on the sucess of the
> request object save operation.
>
> Now, I'm not sure how you can do this in PHP quickly, but if you don't
> need the saved files to be XML, you could use serialize($_REQUEST).
> Otherwise I think you will have to loop through the request elements
> and build the XML yourself, then save the file and return the relevant
> XML depending on it's sucess.
hello treefrog,
thanks for your help! the problem i had with the code was the way the data
was transferred to the server. at fisrt, i tried to recieve the data with the
$_POST and the $_GET array, but both were completely empty after the data was
submitted by the shop system. this was very irritating because i did not
understand how exactly the data was transferred (there was no doucmentation
available, which made the whole thing ending up in try-and-error-sessions).
AFAIK the $_REQUEST array combines $_GET, $_POST, $_COOKIE (and also $_FILES
in PHP versions < 4.3.0). so i'm curious if the data can be found in the
$_REQUEST array.
thanks a lot again,
best regards,
dino
Navigation:
[Reply to this message]
|