Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8193391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T04:28:02+00:00 2026-06-07T04:28:02+00:00

I have this form <table class=table> <div class=error><?php if(!empty($errors))echo output_errors($errors);?></div> <form action = upload_music.php

  • 0

I have this form

<table class="table">
        <div class="error"><?php if(!empty($errors))echo output_errors($errors);?></div>
        <form action = "upload_music.php" method = "POST" enctype = "multipart/form-data">
        <tr>
            <td>Artist:</td>
            <td><input type="text" name="artist" value=""></td>
        </tr>
        <tr>
            <td>Track Name:</td>
            <td><input type="text" name="track_name" value=""></td>
        </tr><?php print_r($_FILES);?>
        <tr>
            <td>Genre:</td>
            <td>
            <?php  
                $genres = Genre:: getAllGenre();
            ?>
                <select name = "genre">
                    <?php 
                        for($i = 0  ; $i<count($genres);$i++){
                        ?>
                        <option value = "<?php echo "{$i}"?>"><?php echo "{$genres[$i]['genre']}";?> </option>
                    <?php   }

                    ?>
                </select>
            </td>
        </tr>
        </tr>
            <td>Track:</td>
            <td><input type='file' name='file_path'></td>
        </tr>

        <tr>
            <td>Track Description:</td>
            <td><textarea name="track_desc" rows ="5"></textarea></td>
        </tr>
        <tr>
            <td><input class="btn btn-success" type="submit" name = "submit" value="Upload"></td>
        </tr>
        <form>
    </table>

Where the user will have to upload a track. every time I upload a file that is larger than 7mb the print_r($_FILES); prints an empty array. but when I upload a file that is below 8mb or an mp3 the print_r($_FILES); prints an array with values.

I am guessing that the some file is not being read by $_FILES because their size is larger than 8mb? if that’s the case How would I upload files that is larger than 8mb? also my php.ini settings with regards to POSt and FILE uploads looks like this

post_max_size = 128M
upload_max_filesize = 128M

if you guys needed an extra information I am using XAMPP.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T04:28:04+00:00Added an answer on June 7, 2026 at 4:28 am

    It looks like you are looking into wrong php.ini because the default post_max_size is generally 8M.

    Restart the web server and look into phpInfo()

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a form like this: <form action=form_send.php method=post> <table> <tr> <td><label for=address>address</label></td> <td><input
I have this form:- <form action=> <table border=0> <td colspan=2 class=instruction>Select your desired option
i have been trying to validate This Form: <table> <form action=test.html method=post id=contactform name=contactform>
I have the following form <form id=myform method=post action=#> <div class=fields> <fieldset class=ui-widget ui-widget-content
I have this form: <%= form_tag posts_path, :method => :get, :class => search_nav do
I have this login form. This form is a grouped table view where the
I have my form in a table and I use this code to add
i have this form to serialize once i click the submit button, <form class=cashier_forms
I have a small section of code. When the table is empty this code
Does this code contain anything invalid. I have a form with a table inside.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.