Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
1 + 7 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: WF-DOWNLOADS uploads problem
by ricketno on 2005/8/3 10:01:17

The problem was due to the installed php version : 4.3.11 dev:

for developers using php version 4.3.11 and 4.3.11dev:

add these lines in submit.php after line 47 (global $_FILES)

# Hacked --- uploads problems php 4.3.11 and 4.3.11dev #

$numeric_php_version = substr(phpversion(),0,6);

if($numeric_php_version == "4.3.11")
{
$_FILES['userfile']['name'] = end(explode("\\",$_FILES['userfile']['name']));
}

# ---- END of added lines ---- #
Hope it will be useful...

Bye
WF-DOWNLOADS uploads problem
by ricketno on 2005/8/3 8:36:33

We have a problem with uploads in module wf-downloads 2.05.
When we upload a file through the "submit.php" page a file is created with complete local path :

C:/document&settings/appserv/www/filename.zip

we tried to install the module on another apache server and the file is saved correctly without entire path but only with his name. (filename.zip)

Does it depend from the php.ini or apache configuration?

why the same server var " $_FILES['name'] " has a type of value on server 1 and another on server 2?


thanks

Who's Online

196 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 196


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits