file upload problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jmsolyk2
Forum Newbie
Posts: 2
Joined: Fri Jun 08, 2007 4:18 pm

file upload problem

Post by jmsolyk2 »

Hi there.

I have a website via aplus.net, and have otherwise found them to be a very good host. Unfortunately, they're giving me problems related to accepting small files from the user. I want to be able to accept <100KB images, but ran into the following problems:

1. PHP doesn't have access to the temporary Apache folder. (I'm on a shared server.) The upload works, but the file isn't never written, so I can't rename (copy) it and use it.

2. As far as I can tell, they have PHP's FTP functions disabled. (They're running PHP 4.4.6) When I try the ftp_connect() function I get the "undefined function" error.

===

How do I upload? I don't know of any other way...

Thanks a bunch,
-Jason
jmsolyk2
Forum Newbie
Posts: 2
Joined: Fri Jun 08, 2007 4:18 pm

Post by jmsolyk2 »

*bump*

Is it possible? Development of the site is completely on-hold, as this is the key feature of the site. I'm not sure what to do.

I could just accept URL's to images that the person hosts themselves, but that's a PITA and it will drive 75% of people away.

Thanks,
-Jason
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Tell your host to fix the server.
Post Reply