Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: Local Files - Firefox

  1. #21
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    5,489

    Default

    Quote Originally Posted by rlhanson View Post
    okay in my ftp I chmod the directory "incoming" to 777 - which I thought was a BAD thing. But when I do that, the image path works and you can browse to the directory and see all the files there now.
    Index of /incoming
    I set it back to 755 for now. Guess what:

    http://www.rlhanson-online.com/incoming/dali-lahma.jpg works fine in both IE and FF.

    Whatever you had in your htaccess file was the problem, per the error that you got as far as the image not loading. I see the file is gone now, and so is the problem.

    As for your filesize limits, I have made a file in your /incoming directory called php.in and put this in it:

    upload_max_filesize = 100M
    post_max_size = 100M

    Which will override the global php.ini settings which are probably set at 8 megs. if this folder needs 777 to work you might consider moving outside of your web root e.g. /home/yoususername/incoming then have your scripts in your web root load the files from there so that your folder that is set 777 does not let the whole world have access to writing to whatever you have in there, without explicit permission form your scripts/user.

    Why you dont get upload confirmation in Firefox, thats an issue for you and JMV.
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | GlowHost's Facebook | Follow us on Twitter | GlowHost on Google+

  2. #22
    rlhanson's Avatar
    rlhanson is offline Master Glow Jedi
    Join Date
    Aug 2007
    Location
    Chapman, Kansas
    Posts
    531

    Default

    As for your filesize limits, I have made a file in your /incoming directory called php.in and put this in it:

    upload_max_filesize = 100M
    post_max_size = 100M
    Thanks for doing that Matt. I don't think it needs 777, as it shows now with it 755. I never did have an .htaccess file in there though.

    BTW - as John Marc will tell me, my validation doesn't work yet....
    Thank you,
    Lynne Hanson
    RL Hanson-Online

  3. #23
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    5,489

    Default

    Good luck with that! I won't even attempt to pretend that I know how to build form validation scripts. From the server standpoint though, you should now be good to go. Now to your application....
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | GlowHost's Facebook | Follow us on Twitter | GlowHost on Google+

Page 3 of 3 FirstFirst 123

Similar Threads

  1. Can't delete files -- re-install prevented
    By JohnMorris in forum General Support
    Replies: 1
    Last Post: 04-30-2008, 10:54 PM
  2. extension_dir does not exists /usr/local/bin/php
    By trondsbr in forum General Support
    Replies: 3
    Last Post: 03-20-2008, 02:09 PM
  3. Can't delete files in cPanel and I am over quota
    By Matt in forum Knowledge Base
    Replies: 2
    Last Post: 06-15-2006, 11:51 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16