Gossamer Forum
Home : Products : Links 2.0 : Customization :

Re: [PerlFlunkie] Here's a working image upload mod!

Quote Reply
Re: [PerlFlunkie] Here's a working image upload mod! In reply to
Argh, the edit time ran out while I was editing! Mad

OK, a bit more...

6. Make a directory under your www/links directory named upload.

7. Add this in links.cfg:

# PATH and URL of Upload (image) Folder
$build_upload_path = "$build_root_path/upload";
$build_upload_url = "$build_root_url/upload";


and at the bottom of the file, under Extra Paths

# image upload mod >
# Upload
$upload_path = "$build_root_path/upload";
$upload_url = "$build_root_url/upload";
# Uploaded Image Delete
$html = "$build_root_path"; # path to html pages
$imagedir = "$html/upload"; #dir containing archive
$image = "$html/"; #current image
$script = "upload_delete.pl"; #filename of script
$imageurl = "$upload_url"; #URL of $imagedir
# < image upload mod



Leonard
aka PerlFlunkie
Subject Author Views Date
Thread Here's a working image upload mod! PerlFlunkie 22253 Feb 17, 2005, 9:55 PM
Thread Re: [PerlFlunkie] Here's a working image upload mod!
PerlFlunkie 21893 Feb 17, 2005, 11:11 PM
Thread Re: [PerlFlunkie] Here's a working image upload mod!
jayman 21623 Nov 4, 2005, 5:57 AM
Thread Re: [jayman] Here's a working image upload mod!
PerlFlunkie 21633 Nov 4, 2005, 2:40 PM
Thread Re: Here's a working image upload mod!
LILHOMIE 20963 Nov 8, 2009, 4:50 PM
Post Re: [LILHOMIE] Here's a working image upload mod!
LILHOMIE 20958 Nov 8, 2009, 7:50 PM
Thread Re: [LILHOMIE] Here's a working image upload mod!
PerlFlunkie 20979 Nov 8, 2009, 8:01 PM
Post Re: [PerlFlunkie] Here's a working image upload mod!
LILHOMIE 20985 Nov 8, 2009, 9:13 PM
Thread Re: [PerlFlunkie] Here's a working image upload mod!
LILHOMIE 21014 Nov 8, 2009, 10:16 PM
Thread Re: [LILHOMIE] Here's a working image upload mod!
PerlFlunkie 20949 Nov 9, 2009, 9:50 AM
Thread Re: [PerlFlunkie] Here's a working image upload mod!
LILHOMIE 20895 Nov 11, 2009, 6:53 AM
Thread Re: [LILHOMIE] Here's a working image upload mod!
PerlFlunkie 20884 Nov 11, 2009, 8:58 AM
Thread Re: [PerlFlunkie] Here's a working image upload mod!
LILHOMIE 20915 Nov 11, 2009, 3:40 PM
Thread Re: [LILHOMIE] Here's a working image upload mod!
LILHOMIE 20872 Nov 11, 2009, 3:53 PM
Thread Re: [LILHOMIE] Here's a working image upload mod!
PerlFlunkie 20856 Nov 11, 2009, 5:15 PM
Thread Re: [PerlFlunkie] Here's a working image upload mod!
LILHOMIE 20821 Nov 12, 2009, 9:13 PM
Thread Re: [LILHOMIE] Here's a working image upload mod!
PerlFlunkie 20752 Nov 14, 2009, 3:06 PM
Post Re: [PerlFlunkie] Here's a working image upload mod!
PerlFlunkie 20457 Nov 24, 2009, 5:38 PM
Post Re: [LILHOMIE] Here's a working image upload mod!
LILHOMIE 20909 Nov 11, 2009, 5:12 PM