MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completelly customizable, expandable and suitable for all needs.
Moderators: Moderators
Page 2/3 < 1 2 3 >
Forum RSS feedReply
How can I upload any file to "Download area" ?
AuthorText
freaky
Crazy Member
Avatar

Posts: 635
Contributes: 487

Gender: _MALE_
Online: No
Date: 24/04/2008 16:57
Re: How can I upload any file to "Download area" ?
#post6524
i m at 5% hihi

Did you do:

if (URL!=""Smile{
URL
}
else if (file_upload!=""Smile{
File upload
}
else{
ERROR
}

I think it's a stupid like i am doing it Smile
?? Smile
Edited: 24/04/2008 16:59
"Don't Talk about It, Be about it! PEACE" - Mos Def

vote -- here
View Image resized (Original file: 468x60)
Thumb
Delete Edit Quote
 
paulo89
Moderator
Developer

Avatar

Posts: 1286
Contributes: 523

Gender: _MALE_
Online: No

Version: 3.8.1
Country: Portugal
Languages: Portuguese, Portuguese and little english ^^
Date: 24/04/2008 20:26
Re: How can I upload any file to "Download area" ?
#post6528
And if the 2 fields are filled? lol
Delete Edit Quote
 
freaky
Crazy Member
Avatar

Posts: 635
Contributes: 487

Gender: _MALE_
Online: No
Date: 24/04/2008 21:44
Re: How can I upload any file to "Download area" ?
#post6531
ahh lol mm yes sorry forgot about that one Smile
Edited: 24/04/2008 21:50
"Don't Talk about It, Be about it! PEACE" - Mos Def

vote -- here
View Image resized (Original file: 468x60)
Thumb
Delete Edit Quote
 
paulo89
Moderator
Developer

Avatar

Posts: 1286
Contributes: 523

Gender: _MALE_
Online: No

Version: 3.8.1
Country: Portugal
Languages: Portuguese, Portuguese and little english ^^
Date: 24/04/2008 21:52
Re: How can I upload any file to "Download area" ?
#post6532
see the idea:
- if url emply => check file (if emply save=false else save=true
- url and file (emply) save=false
- url and file (filled) save=false
^^
Delete Edit Quote
 
freaky
Crazy Member
Avatar

Posts: 635
Contributes: 487

Gender: _MALE_
Online: No
Date: 24/04/2008 22:27
Re: How can I upload any file to "Download area" ?
#post6533
exactly what i mean Smile
"Don't Talk about It, Be about it! PEACE" - Mos Def

vote -- here
View Image resized (Original file: 468x60)
Thumb
Delete Edit Quote
 
paulo89
Moderator
Developer

Avatar

Posts: 1286
Contributes: 523

Gender: _MALE_
Online: No

Version: 3.8.1
Country: Portugal
Languages: Portuguese, Portuguese and little english ^^
Date: 26/04/2008 11:50
Re: How can I upload any file to "Download area" ?
#post6606
I need 2 people (beta test) with time today to test this addon.
Contact by PM.
Delete Edit Quote
 
HkDng
Suspended
Avatar

Posts: 47
Contributes: 7

Gender: _MALE_
Online: No
Date: 26/04/2008 13:17
Re: How can I upload any file to "Download area" ?
#post6615
Dear paulo89

I report to you some errors here, first I want to ask you a question: the file will be attached will locate in some folder on the server or in database??

1./When I finish uploading the file and back to ACP, there still show 0 (zero) file in download category.

2./When I download an attached file, the file description show the capacity is always "20byte" and can not download to my computer.

(update more)

(Of course I run the install_downloads.php as the instruction)
Edited: 26/04/2008 13:20
Delete Edit Quote
 
paulo89
Moderator
Developer

Avatar

Posts: 1286
Contributes: 523

Gender: _MALE_
Online: No

Version: 3.8.1
Country: Portugal
Languages: Portuguese, Portuguese and little english ^^
Date: 26/04/2008 13:18
Re: How can I upload any file to "Download area" ?
#post6616
Do you run the install_downloads.php?
Delete Edit Quote
 
HkDng
Suspended
Avatar

Posts: 47
Contributes: 7

Gender: _MALE_
Online: No
Date: 26/04/2008 13:22
Re: How can I upload any file to "Download area" ?
#post6617
quote
paulo89:
Do you run the install_downloads.php?


of course, I run as instruction file.
Delete Edit Quote
 
paulo89
Moderator
Developer

Avatar

Posts: 1286
Contributes: 523

Gender: _MALE_
Online: No

Version: 3.8.1
Country: Portugal
Languages: Portuguese, Portuguese and little english ^^
Date: 26/04/2008 13:25
Re: How can I upload any file to "Download area" ?
#post6618
Check if folders downloads and downloads/imagens exist (root site)
Delete Edit Quote
 
Reply
Page 2/3 < 1 2 3 >
Tags Cloud
Advertising
News Archive
Language
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.103.63.59

Username
Password
New files
MemHT Wiki
Friends
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo