Citat:
Ursprungligen postat av phattrance
ok såhär har jag gjort nu, skapade en text.php file med detta i:
<?php include("upload.class.php");
$foo->new upload($_FILES['photo']);
if ($foo->uploaded) {
$foo->image_unsharp = true;
$foo->image_border = '0 0 16 0';
$foo->image_border_color = '#000000';
$foo->image_text = "funnypicturesblog";
$foo->image_text_font = 2;
$foo->image_text_position = 'B';
$foo->image_text_padding_y = 2;
$foo->Process($avatar_dir);
}
sen när jag försöker ansluta till http://localhost/class.upload_0.31/text.php så får jag detta felmeddelande: ( ! ) Parse error: syntax error, unexpected T_STRING in C:\wamp\www\class.upload_0.31\text.php on line 3
|
ah sry
klippte fel
$foo = new upload($_FILES['photo']);