Hello all. I have been able to submit a pdf file to a web server using the php code below.
$fptr = fopen("C:\php\blah.pdf", "w");
However, when using this code. The pdf submits correctly, but it opens a new pdf ...I think with the website inside the pdf. Because there is no text on the website. I cant really tell what it is doing. However, when I try to close the pdf, I get several warnings about an open data connection and saving the results.
Ideally I dont want those warnings. It will only confuse people.
I wouldnt mind however, if the new pdf opened with the text submission successful and a button to close the file with no additional warnings. I just want this to submit as easily as possible with minimum warnings.