Jump to content

Problems uploading images to PHP image gallery PLEASE HELP


waferdave

Recommended Posts

 

Hi.

 

I'm created a simple website for a friend who wants people to log in and upload images. I purchased this PHP image uploader --> http://activeden.net/item/php-image-gallery-with-uploader-so-no-need-for-xml-editing/32832

 

there is a link on the page on how it should work.

 

Within the files downloaded, their included a help file, which stated:

 

*****

When uploading to your site you must include the following:

 

-centerLoader.as

-getimages.php

-upload.php

-photoAlbumFlashCS3_v2.swf or photoAlbumFlash_v2_8.swf

-Images Folder

*****

the getimages.php file was this.

 

<?

function getFiles($dir,$rep){

$dp=@opendir("./".$dir."/".$rep);

$file="";

$tag="";

while($file= readdir($dp)){

if($file!="." && $file!=".."){

$tag.=".".$dir."/".$rep."/".$file.",";

}

}

return $tag;

}

$tag=getFiles("","images");

echo "&tag=$tag";

?>

 

 

When i created the website, which is here. http://www.chickenboyhouseteapotcat.com/ (password is 'kate')

the user can select their image however it doesn't upload, but goes blank. but when i go into my file manager on my go daddy hosting, the images which have been attempted to upload are in the images folder. 

 

any help would be great. thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.