1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

php.ini

Discussion in 'White Hat SEO' started by heretolearn, Jul 15, 2009.

  1. heretolearn

    heretolearn Registered Member

    Joined:
    Jul 1, 2008
    Messages:
    97
    Likes Received:
    8
    I have a 140 MB file that is not downloading correctly with my php script. It downloads 1.1 MB. But the file downloads fine when I point my browser to it (i.e. http://myd0ma1ncom/filename.zip). I contacted the script writer and he said it's probably the php.ini limit on my host. I'm on shared hosting I don't have access to the php.ini. How can I solve this problem?
     
    • Thanks Thanks x 1
  2. nossie

    nossie Regular Member

    Joined:
    Nov 13, 2008
    Messages:
    442
    Likes Received:
    235
    Contact the support of your webhosting company and ask if they can increase the limits. What is your hosting Company?
     
  3. lexmark

    lexmark Junior Member

    Joined:
    Jul 30, 2009
    Messages:
    197
    Likes Received:
    89
    Location:
    Miami Florida
    interesting post, buy why use your site when you can have it hosted on media fire for example??

    there are tons of services you can actually use even for paid products no real marketer is using a hosting acct for hosting sensitive files.

    Dave
     
  4. jimbobo2779

    jimbobo2779 Jr. VIP Jr. VIP Premium Member

    Joined:
    Sep 17, 2008
    Messages:
    3,239
    Likes Received:
    2,394
    Occupation:
    Software Engineer
    Location:
    UK
    Home Page:
    Is it timing out or is there a file size limit? If its a file size limit you will need to contact your admin / web host to ask if they can upgrade your account.

    If the script is simply timing out you could be able to remove the time limit by inserting a line of code such as below just after your first <?php tag:
    Code:
    set_time_limit(0);
    Hope you get it sorted.