[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phptest-users] Re: add question issue
From: |
Kathleen Ferraro |
Subject: |
[Phptest-users] Re: add question issue |
Date: |
Wed, 17 Jul 2002 15:08:14 -0400 |
Hi John,
Thanks for following up. After quite a bit of testing, I've come to
suspect that this is a
browser issue primarily. I had been using OmniWeb, a really nice looking
browser
that runs under Mac OS X. I tried adding a question using Internet
Explorer 5.1 for the
Mac and had no problem.
Just to clarify, the problem is not with uploading an image. The problem
was that
in OmniWeb, I found the following:
If I did not upload an image, a got the "unknown file upload
message and
my question text was not loaded.
If I did upload an image, everything (image and text) was loaded twice.
I suppose I should pass this on to the folks at OMNI. Have not tried it
systematically
with any of the other browsers I experiement with.
Best,
Kathie
On Wednesday, July 17, 2002, at 08:46 AM, John Lacey wrote:
Hi Kathie,
I happened to run across your post and was wondering if you were still
experiencing a problem. If so, just send along some additional info
that
may help, such as the file type (.gif, .jpg, etc) and file size.
thanks,
John
There appears to be some conditional statement missing or misplaced in
add_multiple.php and add_truefalse.php, causing both "INSERT INTO
questions" queries to fire if an image is uploaded and neither to fire
if an image is not uploaded.
If I enter question text and don't upload an image, I get the message
"Unknown file upload error"; if I enter text and upload an image, the
text and image are loaded twice. I've been sorting through the code but
haven't been able to get it to work yet. If someone has already fixed
it, can you please post the corrected versions of these two files.
Everything else is working very nicely.
Best,
Kathie
--------------------------------------------------------------------------------------------------
Kathleen A. Ferraro |
address@hidden
Senior Curriculum Specialist | 412.648.1099
(direct)
Office of Medical Education (Scaife M211) | 412.648.8714 (main
office)
University of Pittsburgh |
412.958.0057 (pager)
Pittsburgh, PA 15261 USA | 412.383.7477
(fax)
---------------------------------------------------------------------------------------------------
I am pleased that history recognizes the first to invent something, but
I am more concerned with the first person to make it work.
--Commodore Grace Murray Hopper, Computing Pioneer