Jump to content

memphis.rayy

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

memphis.rayy's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Any one? ??? ??? ??? ??? I need some answers, that's all. any ideas are more than welcome. Memphis
  2. Hi, Have you seen progress bar? I don't want to make one, because I won't be able to get the total size of the file before the file is completely uploaded. I want to make some progress number, like what's your current upload speed and how many bytes have you sent so far. I look all over the net and it brings one thing. You have to ether patch php or use perl in order to get file handler. Right now because of my server I can not access to PECL libraries. they don't want to install it on their servers. So basically I have to do it without it. The only thing that I wanted to know was, Is it possible to make tmp_name or get it before uploading. that's all. memphis
  3. Hello dannyb785, Thanks for your replay. My problem is, I want to upload a file to server and get the size of that file while is being uplaoded. I know I have to patch my PHP, use PECL, use perl and balah blah blah.... The thing is you can get the size of that file while is being uploaded, if you know the tmp_name before uploading the file. You have to know that, once your script gets to $FILE, it starts to get the file and it won't give tmp_name value until the whole file is uploaded. (you can write a PHP script to check the temp folder and return the name of tmp_name but imagine that multiple users are sending their files to your server. How would you know which file is belong to who...?????? ??? ??? ??? ???) I also change the tmp directory for every single user, it works actually but I want to know if there is another way of doing this. Please don't tell me I have to patch it. I can not do it because of my server. So Does any one know how to set tmp_name or get the value of tmp_name before uploading the file? I hope I've made myself clear as a Cristal. So I'm asking again, Is it possible to generate tmp_name before uploading? can we change it? Thanks, Memphis
  4. Hi guys, I've been doing all kinds of things for about 3 weeks to find out how on earth does php generate tmp_name for $_FILE? I have many questions about it... For example, Is it possible to change tmp_name before uploading files? If not, is it possible to generate or calculate tmp_name before reaching $_FILE['<your file field>']['tmp_name']. I hope someone can answer my questions. Thanks Memphis
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.