Post a file to a .php page from Oracle -


On my website, I have a .php script for which our customers can post orders

$ destname = CreateUniqueOrderFileName (); If (is_uploaded_file ($ _ files ['file'] ['tmp_name'])) {if (move_uploaded_file ($ _ files ['file'] ['tmp_name'], $ destname) 'echo'; Else echo "error: move"; }

So for my clients I wrote an app in C # and if I upload an order, then I do something like this:

  Var client = new WebClient); Byte [] response = client.UploadFile ("http: //mywebsite/order.php", "post", commandfile);  

But now I have a customer who uses Oracle and wants to post an order to use PL / SQL. I try to tell him that he has to use the file uploaded by HTTP post and multipart / form-data, but I do not understand it. Maybe I am using the wrong terminology or I am not using standards.

So one example of how anyone can post files in a .php script in PL / SQL or a suggestion where to upload more information is a file in .php webpage with ORAP client.

I think you can use the PL / SQL package to post an HTTP UTL_HTTP


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -