this is selected by the user so if the user wanted to select catagory x, then data would only be sent to directory x, or if catagory y was selected, then data would be sent to directory y.$catagory
This only sends data to the specified location...only one directory, I was hoping that I could some how change it to write to a user selected directory(1 out of 27 directories) The original code was from a friend who modified Matt Wright's WWWboard code a little to have seperate output from being clumped together. I thought if that was possible, I could modify it further by sending data to a selected directory by the user. If no one can help me, then please say so, but if someone can help, then let me know what I can do. I have some books on perl and cgi but they are dated 97 or eairler and I can't seem to wrap my head around them. Please forgive me, I am frustrated and cannot seem to understand scripting, let alone learn it or even afford to have someone to write it for me. Maybe I shouldn't even be here since I have no understanding of scripting.# Define Variables $basedir = "$ENV{'DOCUMENT_ROOT_OLD'}/www/myfile"; $baseurl = "http://www.whatever.com/myfile"; $cgi_url = "http://www.whatever.com/cgi-bin/perl.pl"; $mesgdir = "messages"; $datafile = "data.txt"; $mesgfile = "myfile.html"; $ext = "html"; $title = "My File"; # Done
In reply to Re^5: Will this work?
by saffron
in thread Will this work?
by saffron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |