Re: [PHP] Creating PDF from a Image
There doesn't seem to be any function to add an image to an FDF document, but since an FDF is just a PDF file, you might be able to create a hack using a PDF generation library. I've used FPDF for generating PDF's in the past. http://www.fpdf.org Regards, Pranav www.concept-i.co.in Manoj Kr. Sheoran wrote: Hi All, To create fdf with text info is very simple but I am wondering how to convert a PNG image into pdf file? Any suggestion? Regards, Manoj -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Creating PDF from a Image
You're sure to find a working example on the fpdf site, that uses images. Check here http://www.fpdf.org/en/tutorial/index.php If you have the resources, PDFLib is a commercial component that makes your work a lot easier. http://www.pdflib.com/ Regards, Pranav www.concept-i.co.in Manoj Kr. Sheoran wrote: Dear Pranav, Thanks! I would like to do something like this: ABC.PNG --> (CONVERT USING ANY PHP LIBRARY)->ABC.PDF abc.pdf should be Press optimized pdf. Press optimized is the somewhat high level of pdf format. Your suggestions are hightly appreciated. Thanks &Regards, Manoj - Original Message - From: "Pranav Negandhi" <[EMAIL PROTECTED]> To: Sent: Monday, November 07, 2005 1:55 PM Subject: Re: [PHP] Creating PDF from a Image There doesn't seem to be any function to add an image to an FDF document, but since an FDF is just a PDF file, you might be able to create a hack using a PDF generation library. I've used FPDF for generating PDF's in the past. http://www.fpdf.org Regards, Pranav www.concept-i.co.in Manoj Kr. Sheoran wrote: Hi All, To create fdf with text info is very simple but I am wondering how to convert a PNG image into pdf file? Any suggestion? Regards, Manoj -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] [php] dependable combo boxes with mysql database
This might be slightly OT on this list, but here goes nothing. 1. Submit the form when the user shifts focus from D1 using Javascript's onBlur event 2. On the server side, use PHP to retrieve the values for D2 and generate the page again 3. Repeat 1 & 2 when the value of D2 changes. HTH Pranav www.concept-i.co.in Bhoomi Vora wrote: Hello All, I have a php page which contains three combo boxes. The first one will have the value from the mysql database table on page load itself. Then depending upon the value selected in the first combobox the second combo box should be populated with the respective values from another mysql database table, and once again depending upon the value selected in second combobox the third combobox should be populated with the respective values from one more different database table. I have read through mailing list and also searched in google and found that it can be done with javascript onblur function but nothing is working. Here is the code: .d similarly D3 should be populated on event like 'onblur' to D2. Pl. give me the exact code or proper guideline how should I accomplish this on the same page. Appreciate your replies. Thanks and regards. BJV __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] dependable combo boxes with mysql database
It's simply a matter of echoing HTML/ JS statements in PHP. The easiest way to integrate JS into a PHP page is like this - ") // CONTINUE PHP CODE HERE ?> All your JS code is to be put into the functions.js file. Watch for the correct relative path. You could also use this method - This is all email-code. There may be some syntax errors, which you'll have to fix at your end. But the gist remains the same. I'd suggest you also spend some time reading the HTML output from your PHP code. It's the best way to learn. Regards, Pranav www.concept-i.co.in Bhoomi Vora wrote: Hello, Thanks for the reply. But I do not know how to integrate javascript with php and mysql. I mean javascript can be written using code and fetching data from mysql is using $query,$result and $mysql_fetch_array. I am confused how to integrate this in php page. If anybody can help on this i will highly appreciate it, otherwise if this is not the proper question for this list then i have to go for other options. Thanks and regards, Bhoomi --- "Pranav Negandhi (concept-I)" <[EMAIL PROTECTED]> wrote: This might be slightly OT on this list, but here goes nothing. 1. Submit the form when the user shifts focus from D1 using Javascript's onBlur event 2. On the server side, use PHP to retrieve the values for D2 and generate the page again 3. Repeat 1 & 2 when the value of D2 changes. HTH Pranav www.concept-i.co.in Bhoomi Vora wrote: Hello All, I have a php page which contains three combo boxes. The first one will have the value from the mysql database table on page load itself. Then depending upon the value selected in the first combobox the second combo box should be populated with the respective values from another mysql database table, and once again depending upon the value selected in second combobox the third combobox should be populated with the respective values from one more different database table. I have read through mailing list and also searched in google and found that it can be done with javascript onblur function but nothing is working. Here is the code: .d similarly D3 should be populated on event like 'onblur' to D2. Pl. give me the exact code or proper guideline how should I accomplish this on the same page. Appreciate your replies. Thanks and regards. BJV __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] No forums?
Funny. I _ditched_ forums in order to sign onto this list. It's way too much of an effort for me to log in to a website every time. Lists work with quiet efficiency (not efficacy, I suppose) in the background without needing me to refresh the page every 5 minutes. My $0.2. Pranav www.concept-i.co.in GamblerZG wrote: AFAIK, there are no "official" forums for PHP. Considering the fact that PHP is a web development tool, such distaste for message boards is ironic at the least. So why exactly there aren't any forums on php.net? I've monitored this list long enough to predict the most probable replies to this message. To save everybody some time, I will ansver them here, without waiting someone to key them in. Reply: There are forums on zend.com. My Reply: zend.com != php.com. R: There is a web interface for this mailing list. MR: You cant' post new messages there, and it's just another way of showing emails anyway. R: There is a newsgroup interface. MR: Yeah, I'm using it right now. But it requires special software, and is terribly slow, unless you have very good connection and moderately powerful PC. R: Forums suck, mailing lists rule. MR: Not if you don't like receiving 200 messages + spam every day. R: Synchronizing mail lists and forums is very difficult and nobody will do it. MR: There is no need to synchronize anything. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php