+ Reply to Thread
Results 1 to 3 of 3

Thread: intermediate (v2) php and file uploads

  1. #1
    moinkhan is offline x10Hosting Member moinkhan is an unknown quantity at this point
    Join Date
    Feb 2009
    Posts
    21

    intermediate (v2) php and file uploads

    Does anyone know if a php script (V2, Intermediate) with free account is able to handle (and eventually store them in a mysql db) user uploaded files (images)?

    By researching in this forum, I am convinced that I won't be able to do it with basic (V1) php, but I am not sure if V2 will be enough. I have finally heard back on my php upgrade request (all php upgrade requests are on hold until the backend ugrade is complete), and trying to figure out if I should stick around.

    So far I have been playing with w3schools' php tutorial, and seem to be stuck around that my script can't access /tmp folder, where uploaded files are supposedly stored.

    I will be glad to post my code, but it does appear to be a script permission issue so far. If someone was able to do it differently (within adfree free hosting account), I will certainly appreciate the knowledge share.

  2. #2
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: intermediate (v2) php and file uploads

    Yes. I upgraded to V2 for this reason specifically.

    I think I used this code:

    http://www.tizag.com/phpT/fileupload.php

    And it worked.
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  3. #3
    moinkhan is offline x10Hosting Member moinkhan is an unknown quantity at this point
    Join Date
    Feb 2009
    Posts
    21

    Re: intermediate (v2) php and file uploads

    Thanks, garrettroyce. I will sit tight then.

+ Reply to Thread

Similar Threads

  1. configuring php on localhost
    By ufclan in forum Scripts & 3rd Party Apps
    Replies: 15
    Last Post: 01-22-2008, 08:34 AM
  2. Unstand PHP?
    By o0slowpaul0o in forum Tutorials
    Replies: 8
    Last Post: 01-07-2008, 09:16 PM
  3. php version
    By loveispoison in forum Free Hosting
    Replies: 10
    Last Post: 11-21-2007, 10:53 AM
  4. Sigo con problemas con phpbb2
    By reciecho in forum Soporte
    Replies: 7
    Last Post: 10-20-2007, 06:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers