Type: Posts; User:
I have this task that requires converting an html page (using its URL) into a PDF file. Can anyone give me an idea where to start? Thanks in advance.
Thank you so much for replying guys.
paulinetaylor85, im not quite sure how that works. do you have some php codes?
I'm wondering how would you convert the exact file into binary so that I can save that binary into the database. Any ideas?
I thought so it was in the database. That's why you have to include always the mysql_error() to know what exactly is the error in database. Well, that will be charged to your experience as a...
well, based on your code, I won't be able to know if there's an error on your "INSERT INTO tc_members415...". maybe you could try adding " or die(mysql_error())" so you would know if there's an error...
although the line :
$head = document.getElementsByTagName ('head')->item(0);
should instead be :
$head = $doc->getElementsByTagName('head')->item(0);
wow. this really works! thank you so much charles!
I have the following codes of php. what it does was open the file myhtml.html and then puts a meta tag inside the html and then save the file.
$doc = new DOMDocument("1.0");...
Here's my situation. My editor.php files needs to edit the meta tags of one of my html file named mypage.html. Is it possible in PHP? And how will I be able to do that by the way?
Is it possible for PHP to be able to convert a pdf file into html?
Under your file insert_exec.php, you have the following codes:
I was trying to connect to oracle using php. I've successfully made this in another server but doing it on a different server fails. I'm aware of the settings needed regards to...
I just want to know if there's any setup needed using the mail() function of php. I've created a site already using this function and works fine. But now I'm having a problem with...
Simply put you want to have a pagination for that page?
I don't get your idea though chris, just want to transfer the inputs from page A to page B then able to click the submit button of page B. Note that I can't make any changes on page B. Like, let's...
Ok guys, here's how the problem goes. I have 2 pages, page A and page B. They have are just the same (textbox,buttons,design etc.). What I want is when I click login from page A, it will transfer the...
I was trying to do some css for this code :
was just wondering how to get the src in an image tag. Example, I have <img src="images/image1.jpg" alt="" />. What I want is to get the content of src. How will I do that in php?...
wow really helps. problem solve in no time! Thank you tracknut! =)
One last question. What if I have multiple <FunctionCode> element, and uses that code you provided, that does mean that the variable $xml will be an array automatically or should I declare it first...
Impressive. That's what I've been looking for without further explanation and round a clock words. I really understand it well. Thank you so much for the sample code. God bless!
haha..reading it now though..just wondering if someone has a simple code..I'm tired of manuals where examples doesn't work or is not specific in detailing the explanations. =)
I just wanna ask if anyone of you knows how will I get the data from this xml. Just a reminder, the following code of xml is put in a variable as string and what I want is to get the...
Please help me. I just need to try how to send request using xml and receive response in an xml format as well and I just need it in a socket connection in my localhost. :(
Yes I'm actually using xampp. But don't know where to start how to set it up so that I could try socket programming. I have a sample code actually below :
$host = "localhost";