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.

Re: php upload files 80 80

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.

Re: php upload files 80 80
  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.
Re: php upload files 80 80

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

commented: thank you :D +2
Re: php upload files 80 80

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
Re: php upload files 80 80

thankyou! work link a charm :D

Re: php upload files 80 80

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 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.