PDA

View Full Version : HTTP.Submit return vars


seanmoloney
01-22-2006, 07:38 PM
Hi there,

I am using the HTTP.Submit function to talk to a php page located on our server. The PHP page checks data sent to it from a SUF7 installer and returns variables to the installer depending on the data it receives.

My question is, what is the best format for the php page to return the variables to SUF7? At the moment I'm having the php page return a single line of URL-encoded variables.

eg:

name="gary"&last_name="Numan"&id=12345

But this requires some hefty string manipulation in SUF7 to break into the indiviual vars. Are there any better ways to return vars to SUF7?

Worm
01-23-2006, 09:35 AM
I've played with this a bit too, the easiest way I've found is to use a delimiter, then use the DelimitedStringToTable function written by IR to put the results in table.