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
I believe this is it. It is part of the mediawiki extension that I used as
a starting point for what I need it to do. I am slowly getting better at
PHP, this was dropped into my lap and I don't have much experience yet with
PHP, I come from bash/sed/awk land. This file is structuredinput.php, th
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
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
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']
--
PHP Gener
On Thu, Jun 9, 2011 at 8:37 AM, matty jones wrote:
> I have a mediawiki extension that allows me to design a form in the wiki to
> facilitate data entry into the wiki and it works good except that I also
> want to be able to up load images and take the file location/name and enter
> that into the
I have a mediawiki extension that allows me to design a form in the wiki to
facilitate data entry into the wiki and it works good except that I also
want to be able to up load images and take the file location/name and enter
that into the wiki so that the image displays on the page as well. I foun
7 matches
Mail list logo