gud day! why my upload files not really uploading in my online server? im using this ref. http://www.tizag.com/phpT/fileupload.php

but in offline its working the file upload was move to my localhost folder.

Recommended Answers

Can you provide more info? It's diffacult to say with the limited info you've given.

Are there any error messages displayed on screen or in the server's error logs? What kind of file are you trying to upload? What is the size of the file you're trying to upload? Also …

Jump to Post

also, you can try running this

<?php
    echo '<br/>'.ini_get('upload_max_filesize').'<br/>';
    echo (ini_get('post_max_size'));
    echo '<br/>'.ini_get('max_execution_time').'<br/>';

    ?>

post back your output...

Jump to Post

All 7 Replies

Can you provide more info? It's diffacult to say with the limited info you've given.

Are there any error messages displayed on screen or in the server's error logs? What kind of file are you trying to upload? What is the size of the file you're trying to upload? Also posting your code may be helpful.

  1. no error message.
  2. error logs is not availble for my hosting plan, but its working when in offline, localhost...
  3. just or any form for resume. 4.2mb max.

Check the directory permissions on your online server to make sure the folder is writeable

commented: thank you :D +2

also, you can try running this

<?php
    echo '<br/>'.ini_get('upload_max_filesize').'<br/>';
    echo (ini_get('post_max_size'));
    echo '<br/>'.ini_get('max_execution_time').'<br/>';

    ?>

post back your output...

commented: thank you :D +2

thankyou! work link a charm :D

Is the any way we can convert other pic files to jpeg only?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.