Wie is er bekend met PHPnewsmanager en PHPwebzine ??

Status
Niet open voor verdere reacties.
hoop het ook

ziet er veel belovend uit !!!
strak / eennvoudig / tot nu toe erg stabiel

prettige verandering prettige verandering



Nu nog dat fotogebeuren onder de knie krijgen ( en een front-end designen :confused: )
maar dan heb je ook nog wat :)
 
here we go again ###sigh###

gaan we weer,
het lukt absoluut niet om de fotos te uploaden

mijn systeem.php is zo ingesteld
Code:
// BASIC SETTINGS:
$server="www.music-insite.nl"; // Server name (domain name), i.e. [url]www.yoursite.com[/url]
$path="/absolut/"; // Path from domain root to engine, finish by slash "/"; Empty if root (!)
// Path to image upload directory; Start by "../", finish by slash "/":
$pathimages="../absolut/images/articles/";
// Path to file upload directory; Start by "../", finish by slash "/":
$pathfiles="../absolut/files/articles/";
// If there hasn't been any activity for this time, user is promted to relogin:
$timeout=900; // In seconds 

// OTHER SETTINGS:
$emailwebmaster="webmaster@music-insite.nl"; // Webmaster's (Admin's) email
$sizemaximages=250000; // Limits maximal size of uploaded images (in bytes)
$thumbwidth=80; // Desired width of thumbnails (could vary - depends on image)
$thumbheight=80; // Desired height of thumbnails (could vary - depends on image)
$jpegquality=80; // Quality of JPEG image thumbnails (JPEG quality)
$sizemaxfiles=150000; // Limits maximal size of uploaded files (in bytes)
// Filetypes that are forbidden to be uploaded (file extensions):
$uploadforbid="php,php3,phtml,html,htm,shtml,asp,cgi"; // Separate by commas
// User is forbidden to vote in survey again for this time:
$surveyblocktime=3600; // In seconds
// Date format and delimiter - engine checks for DD, MM and YYYY only
$dateformat="DD.MM.YYYY"; // e.g. 02.07.1980, US style MM/DD/YYYY: 07/02/1980


niets mis mee dacht ik zo
Alle directories voor fotos en files liggen direct onder de map absolut op mijn webserver
deze 2 mappen hebben de status 777
echter uploaden slaagt niet

Ligt het aan deze instellingen, zo niet dat moet ik het script doornemen :8-0:

dit is trouwens het script wat de upload moet regelen

PHP:
<?
require("coreclass.php");
$ae=new CEngine();
$ae->EngineInitialize();
$ae->RequestVariables();
$ae->UserVerifySession();
if ($ae->command=="edit")
{
$ae->DBQuery("SELECT * FROM ".$ae->table[1]." WHERE ID=".$ae->imagesetID);
$ae->DBAccess();
$description=$ae->access["description"];
for ($i=0;$i<=9;$i++)
{
$file[$i]=$ae->access["file".($i+1)];
$thumbnail[$i]=$ae->GetThumbnail($file[$i]);
$filedescription[$i]=$ae->access["filedescription".($i+1)];
}
}
require ("header.php");
require ("feature3.php");
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="left">
          <form method="post" action="modify.php?command=10" name="oneform">
    <input type="hidden" name="username" value="<? echo $ae->username ?>">
    <input type="hidden" name="session" value="<? echo $ae->session ?>">
<strong><? echo $ae->textbasic[74] ?></strong><br>
            <select name="imagesetID[]" size="10" multiple>
<?
if ($ae->currentuserposition>2) @$ae->DBQuery("SELECT * FROM ".$ae->table[1]." WHERE authorID='".$ae->currentuserID."' ORDER BY description");
else @$ae->DBQuery("SELECT * FROM ".$ae->table[1]." ORDER BY description");
while ($ae->DBAccess())
{
$optionvalue=$ae->access["ID"];
$optiontext=$ae->access["description"];
echo '<option value="',$optionvalue,'">',$optiontext,'</option>';
}
?>
            </select>
            <p>
<input type="hidden" name="action" value="">
<input type="button" value="<? echo $ae->textbasic[110] ?>" onClick="send_form(1,1);" class="button">
<input type="button" value="<? echo $ae->textbasic[106] ?>" onClick="send_form(2,1);" class="button">
            </p>
          </form>
        </td>
        <td class="right">
          <form method="post" action="modify.php?<? if (!$ae->command) echo "command=11"; else echo "command=12"; ?>" enctype="multipart/form-data">
          <input type="hidden" name="username" value="<? echo $ae->username ?>">
    <input type="hidden" name="session" value="<? echo $ae->session ?>">
              <input type="hidden" name="MAX_FILE_SIZE" value="<? echo $ae->sizemaximages ?>">
              <input type="hidden" name="imagesetID" value="<? echo $ae->imagesetID ?>">
            <strong><? echo $ae->textbasic[77] ?></strong><br>
              <input type="text" name="description" size="50" maxlength="255" value="<? echo $description ?>">
<?
for ($i=0;$i<=9;$i++):
?>
              <br>
              <strong>
<?
echo '#',$i+1,' ',$ae->textbasic[75];
if ($file[$i])
{
echo ' <a href="',$ae->pathimages,$file[$i],'"><img src="',$ae->pathimages,$thumbnail[$i],'"></a> ';
echo ' <input type="checkbox" name="delete[',$i,']" value="1"> ',$ae->textbasic[110],' ',$file[$i];
}
?></strong><br>
              <? echo $ae->textbasic[76] ?>
              <input type="text" name="filedescription[]" size="29" maxlength="255" value="<? echo $filedescription[$i] ?>" class="description">
              <br>
              <input type="file" name="file[]" size="50" maxlength="255">
<?
endfor;
?>
<p>
<input type="submit" name="Submit" value="<? echo $ae->textbasic[103] ?>" class="button">
            </p>
          </form>
        </td>
      </tr>
    </table>
<? require("footer.php"); ?>
 
Laatst bewerkt:
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan