Pure PHP Upload 2 Support Product Page

insert the form on another page

Reported 04 Apr 2012 12:13:11
2
have this problem
04 Apr 2012 12:13:11 mrb drm posted:
Hi
i have the form on page1 and the insering to db on page2
the upload only works if the insert is on the same page , is there a solution ?
thank you

Replies

Replied 04 Apr 2012 12:18:15
04 Apr 2012 12:18:15 Teodor Kuduschiev replied:
Hello,

Please check the following article: www.dmxzone.com/go?4544
It shows some possible solutions on storing the filename into a session variable that you can use pass to the next page.
Replied 04 Apr 2012 12:32:51
04 Apr 2012 12:32:51 mrb drm replied:
so what im doing right now is using
here is the code with php upload
<form action="<?php echo $GP_uploadAction;?> "

what i used to have before

<form action="paage2.php "

my questions :
can i get the uploaded file informations with the form POST ?
and use the session solution (and replace the session with post)?
and keep my form redirection code in the form action ?

Reply to this topic