Actually if you want a very simple way, with a little JS, you can b64 encode
the file and fill in the file field in the form with it (you can hide it or
dynamically tack it on or something), so that you get everything when you
submit the form including the file (you just gotta make a file back out of
it, but thats simple :) )...? I think that would be by far the easiest
solution, then you can do the shiny ajax stuff later if you feel like it.

The trouble with programmers is that you can never tell what a programmer is
doing until it’s too late.  ~Seymour Cray

On Thu, Jun 9, 2011 at 11:10 AM, Jim Lucas <> wrote:

> On 6/9/2011 8:07 AM, matty jones wrote:
> > The two forms work fine by themselves, my issue is getting to two of them
> to
> > work with together, I don't even care if you need to upload the image
> > seperately from submitting the text data as long as it is all on the same
> > page.  Thanks for the thoughts on jQuerry, I will look into it.
> >
> > On Thu, Jun 9, 2011 at 10:53 AM, Jim Lucas <> wrote:
> >
> >> On 6/9/2011 5:37 AM, matty jones wrote:
> >>>         formEl.action += '&title=' + formEl['_title'].value;
> >>
> >> The only thing I see inconsistent is the above line.  But then again, it
> >> could
> >> be right.  You might be looking for $_GET['title'] in your processing
> page
> >> instead of $_GET['_title']
> >>
> >
> Can you show the PHP code that you use to process the form data text
> fields?
> --
> PHP General Mailing List (
> To unsubscribe, visit:

Reply via email to