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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.