I created a php form processor that takes the contents
of a text field and writes a [filename]_desc.txt file
in the correct location in relation to the file you
were viewing.
Now, the problem here is that there needs to be a way
to go into "admin mode" or something. The workflow
I've created is view an image as normal, and when I
get to one that doesn't have a _desc.txt file created
for it yet, I go to the http address bar in my browser
and change it from xxxx\view.php?xxxx to
xxx\view_admin.php?xxx
which isn't secure, so... I dunno what to say. it
works, but what can be done about the lack of
security? I don't know php that well to answer that
question. maybe a password that is set in config
file, and then along with the submit button, you need
to put in the password as well for the input to be
written to a file? Maybe...
Please pardon my icky code. it works, but it ain't
pretty.
-Steve
Nobody/Anonymous
None
None
Public
|
Date: 2004-06-17 21:25 Logged In: YES |
|
Date: 2001-11-19 02:16 Logged In: NO |
| Filename | Description | Download |
|---|---|---|
| phpix2-mod_create_desc.zip | mod to the view.php to create _desc.txt files. | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2004-06-17 21:25 | bkilian |
| close_date | - | 2004-06-17 21:25 | bkilian |
| File Added | 13031: phpix2-mod_create_desc.zip | 2001-11-08 19:47 | stevecooley |