+ Reply to Thread
Results 1 to 2 of 2

Thread: 2 PHP Questions!!

  1. #1
    A Freaking Expert! sandhya is just really nice sandhya is just really nice sandhya's Avatar
    Join Date
    Feb 2010
    Location
    Bangalore
    Age
    25
    Posts
    143

    2 PHP Questions!!

    Hey all..

    1- How can I display the php.ini max. file upload limit on my page?
    2- Is there a way to change that limit without having to directly accessing the php.ini, or using htaccess?

    Cheers!

  2.    Sponsored Content


  3. #2
    A Freaking Expert! bobmore is a splendid one to behold bobmore is a splendid one to behold bobmore is a splendid one to behold bobmore is a splendid one to behold bobmore's Avatar
    Join Date
    Feb 2010
    Location
    South California
    Age
    31
    Posts
    151

    Re: 2 PHP Questions!!

    How can I display the php.ini max. file upload limit on my page?
    Code:
    <?php echo ini_get('upload_max_filesize'); ?>
    To change the limit
    create a php.ini file in the root folder and add a line in it :
    Code:
    memory_limit=40
    hope that helped.
    Cheers
    Bob

+ Reply to Thread

Posting Permissions

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