XUpload - Displaying posted parameters on html/php page

Message
Author
jimrws
Posts: 21
Joined: Feb 05, 2008 8:29 am

Displaying posted parameters on html/php page

#1 Postby jimrws » Mar 31, 2008 2:37 pm

Hi,

I want to be able to display all posted form parameters to a thank you page of my choosing and preferably an html or php page. By default Xupload displays these on the post.cgi page which isn't much good for me as it doesn't fit in with the rest of my website and its structure. I also want to have some control over how they're displayed so injecting them into variables and being able to display them separately instead of in a loop would be great.

E.g.

Thank you <name> from <company>.... blah blah

Here's your details:

Name <name>
Company <company>
Phone <pnumber>

etc
etc

Is there any way I can do this?

Thanks.

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Apr 01, 2008 1:07 pm

In post.php you can use plain HTML after

Code: Select all

?>
but add code like <?print $_POST['variable_name']?>
e.g.:

Code: Select all

Thank you <?print $_POST['name']?> from <?print $_POST['company']?>