I am doing one web application for my client. We have one issue. Right now we have dicom image viewer of nagoya tech dicom viewer. We have integrated that viewer in our PHP web application.
When we upload that file. File uploads successfully but we not able to see anything screen seems blank.
I don't know what specification is missing with my application. I am not able to see this .DCM image in my dicom viewer.
I am searching this for long time what is the issue but I am not able to do this.
Please help me to load image in this with all things.
Here is the image.
There seem to be two variables here to me:
Does the viewer work at all?
Is the upload successfully transferring the file?
The best way to troubleshoot this would be to put a file on the server to test with the PHP viewer IMO. If this image is viewed successfully, we can rule out a problem with the viewer itself. At this point, try uploading that same known good file through the client to then be displayed. If this fails, compare the uploaded file with the known good file for differences. If the file is 0 KB, then the uploading has failed.
If you cannot find any good file to test with, then you should verify the parsing of the file to figure out why that is failing.
Related
I use a jQuery upload script with PHP. It works fine. Users can upload files of up to 2GB. I have one user struggling to upload files. I tested it remotely on his computer, and anything over 500KB does not even make it to my PHP script. The same file uploads fine from my computer, using the same browser. I'm suspecting a setting on the user's side, maybe in the browser (chrome), but I don't even know where to begin. I'm not posting any code, since the code is fine for most users - and it's a bit involved to post here. Thank you.
I work with radiology medical reports. Doctors record the report in a audio file and close the browser after this, so the browser doesn't have time to upload the file. I tried to put a loading with a warning about the time to upload and the need to stay with browser open, but they don't respect it and the accuracy of loading screen is not very correct.
My question is: since I have a audio file encoded in base64, there is a way to run this upload in background or keep this to upload in another screen request?
My point is, there is a way to upload the files without any dependency of the user?
If it helps, I`m using CodeIgniter.
Thanks
I am working on some PHP upload code.
When I call the copy function it will start a thread in incremental mod. I want to read the full details of the upload functionality for apache and PHP. In fact, I want implementation details for this functionality, namely:
How a file is copied in temp folder
How it is copied to the proper destination
What happens when server is busy and client is sending fix size of chunks
I am trying to upload file from my Android application. I am using this code for uploading. But my most of the files header are changed. Most of my uploaded files' sizes increase. Why its happen? In fact I want to investigate it. My client is Android application and server is apache 2.0 with php 5.
Thanks in advance.
CodeCaster allready gave part of the answer...
Just a really big tip here, php.net has a huge database with ALL of the functions and great examples that goes with them.
This is the main page about handling file uploads (just a table of contents) http://nl3.php.net/manual/en/features.file-upload.php
Here is pretty much everything you need to know:
http://nl3.php.net/manual/en/features.file-upload.post-method.php
W3Schools also has a tutorial on this.
http://w3schools.com/php/php_file_upload.asp
I am having a lot of trouble handling large file uploading on the client side. I am looking for a way to show the progress of an upload while that person uploads. Then when it is finished, I need to have the file handled by a php script.
I am currently using http://code.google.com/p/swfupload/ SWFUPLOAD, but it is giving me trouble. It works 100% of the time for small files that are 5MB and so on, but for larger files that are over 100MB I am getting weird behavior. For example, when finished, the upload script does not receive some of the posted variables sometimes and so on. It seems to be breaking for reasons I cannot diagnose and I am quite frankly completely sick of it. (PS all my php settings are fine).
I am just looking for a simple solution for upload progress that does not have too many bells and whistles. I just want the ability to upload large files 100MB-500MB and then have the form posted to an upload script without the client side solution hanging or causing problems.
Has anyone worked on a project that required uploading large files and displaying progress? If so, what was your solution?
Did it involve flash?
Does anyone have any recommendations or a reliable solution?
Thanks in advance.
PHP have a restriction for upload files, you can modify this argument in PHP.ini, but if you can't have access to PHP.ini (some webhosting don't give access to PHP.ini) you can try upload file via FTP.
Can try with this (is in spanish) or with another good.
I'm trying to figure out if there's a way to get the progress of a file upload with PHP and/or Kohana. My script can upload images, videos, zip, exe, whatever I want really. However the larger the file the longer the user has to wait without any indication.
I was hoping to use some AJAX here to initialise the upload and then report back the progress.
Is this possible with PHP... and can anyone give me an indication of where to start looking.
there is a file upload progress extension for php, see http://www.ultramegatech.com/blog/2010/10/create-an-upload-progress-bar-with-php-and-jquery/ for how to use it.
I like to use a server module to do this sort of thing, mainly because it makes my life as a web developer easier if all I need to do is grab upload statistics from a URL. Nothing has to be changed in your website.
For Nginx there is the Upload Progress module and it should work on all recent releases. You can find code examples on the Nginx Wiki: http://wiki.nginx.org/HttpUploadProgressModule
For Apache there is the Upload Progress too. I haven't used it myself, but it seems fairly straight forward.
If you don't have access to the server configuration, then you might want to fall back onto a pure flash / javascript solution. For this I had good luck with Uploadify in the past, but it requires a bit more work as you now have to upload files in a separate request. Someone should be able to suggest a good HTML5 upload progress plugin too.
you could do this also with apache and APC example