Gossamer Forum
Home : Products : DBMan : Installation :

JPDeni's upload2 mod

Quote Reply
JPDeni's upload2 mod
First of all I apologize for the first 3 posting. I was not sure about the procedures. Unfortunately I did not get AntroRules reply on time. I know you probably want to strangle me right now :-I
Here are the following urls:
http://www.activitypost.com/db.txt
http://www.activitypost.com/default.txt
http://www.activitypost.com/html.txt

While am here I may as well mention the other problem I am having AnthroRules made a reply to before. (Hope AnthroRules will get this one, since he has seen the "messy scripting"). I think I confused him in the biggest way.
As you view the file. Note: <option value="http://www.activitypost.com/heart.htm">Matters of the Heart </option> That link works! It goes to another page. To see what I am actually talking about go to www.activitypost.com.
My desire is to run a search using the menu list which will bypass the loggin function and give me a list all of the records under that category(in this case, "matters of the Heart").
The other part of that search engine consist of type the name of those in the database (last name first).
How can I implement this using dbman.
I hope this is clearer.
:-)
This is the site where the form is written:
http://www.activitypost.com/index.txt

There was one thing the really made me confuse when following the instruction in fileupload2. It was the following script (Don't worry it's short) that was added to html.pl:
######################################################################
# file: html.pl #
# sub html_record #
# #
# after #
# my (%rec) = @_; #
# #
# add #
# #
######################################################################

$rec{$db_key} =~ s/<.?B>//g;

### Wherever you want your graphic to print out, use the following:

|; # to close off a previous print qq| statement
opendir (GRAPHIC, "$SAVE_DIRECTORY") or &cgierr("unable to open directory in delete records: $SAVE_DIRECTORY. Reason: $!");
@files = readdir(GRAPHIC);
closedir (GRAPHIC);
$file_test = $rec{$db_key};
foreach $file (@files) {
if ($file =~ /^$file_test\./) {
print qq|<img src= "$SAVE_DIRECTORY_URL/$file">|;
$graphic_found=1;
}
}
print qq|

I am not sure if I put it in the right position.




Always on a mission!!