You are here: Re: HELP! transferring this short .asp-script to php.... « PHP Programming Language « IT news, forums, messages
Re: HELP! transferring this short .asp-script to php....

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация