[PHP] using BOTH GET and POST in the same page.

2011-02-11 Thread Ashim Kapoor
Dear All, I am reading "PHP5 and MySQL Bible". Chapter 7 of the book says that PHP can use GET and POST in the SAME page! Also it says that we can use the SAME variables in GET and POST variable sets and that conflict resolution is done by variable_order option in php.ini Can some one write a smal

[PHP] Help! Made a boo-boo encrypting credit cards

2011-02-11 Thread Brian Dunning
Hey all - I'm using mcrypt to store credit cards into MySQL. About 90% of them decrypt fine, but about 10% decrypt as nonsense ("b1�\�JEÚU�A���" is a good example). Maybe there is a character that appears in about 10% of my encryptions that's not being encoded properly??? // Encryption is set

RES: [PHP] Bar Charts in PDFs

2011-02-11 Thread Alejandro Michelin Salomon
Tom: You can try: http://www.tcpdf.org/ to generate pdf. And http://jpgraph.net/ To generate chart. EX: to add a image to a pdf document: $pdf->Image( '/home/peter/test.png', 127.78, 15, // left and right 74.93, 6.42, // width and height 'P

Re: [PHP] Bar Charts in PDFs

2011-02-11 Thread Robert Cummings
On 11-02-11 11:19 AM, sono...@fannullone.us wrote: On Feb 11, 2011, at 2:08 AM, Mattias Geniar wrote: Have a look at the library called 'pChart': http://pchart.sourceforge.net/ While it's a bit old... Actually, it's been updated to v2.1 now. It looks pretty nice. http://www.pchart.n

Re: [PHP] Bar Charts in PDFs

2011-02-11 Thread sono-io
On Feb 11, 2011, at 2:08 AM, Mattias Geniar wrote: > Have a look at the library called 'pChart': > http://pchart.sourceforge.net/ > While it's a bit old... Actually, it's been updated to v2.1 now. It looks pretty nice. http://www.pchart.net/ Marc

[PHP] [SOLVED] Re: [PHP] curl_exec won't return (any data)

2011-02-11 Thread Tolas Anon
fromTolas Anon to libcurl development dateFri, Feb 11, 2011 at 5:09 PM subject Re: php curl_exec won't return any data, libcurl-7.21.3.0, php 5.3.4, WampServer2.1d-x64.exe mailed-by gmail.com On Fri, Feb 11, 2011 at 1:32 PM, Daniel Stenberg wrote: > On Fri, 11 Feb 201

Re: [PHP] Bar Charts in PDFs

2011-02-11 Thread Richard Quadling
On 11 February 2011 10:08, Mattias Geniar wrote: > Hi Tom, > > Have a look at the library called 'pChart': > http://pchart.sourceforge.net/ > While it's a bit old, it generates very nice looking (anti aliased) > charts, using the default GD library. > > Regards, > Mattias > > -Original Message

[PHP] Re: ob_flush, does it cause data to be sent over the wire immediately?

2011-02-11 Thread Tolas Anon
On Fri, Feb 11, 2011 at 4:05 AM, Tolas Anon wrote: > Hi.. > > For my curl_exec problem, > http://readlist.com/lists/lists.php.net/php-general/16/81195.html > http://curl.haxx.se/mail/lib-2011-02/0101.html > > I need to know if this simple test will cause data to be sent every 25 > seconds _over th

RE: [PHP] Bar Charts in PDFs

2011-02-11 Thread Mattias Geniar
Hi Tom, Have a look at the library called 'pChart': http://pchart.sourceforge.net/ While it's a bit old, it generates very nice looking (anti aliased) charts, using the default GD library. Regards, Mattias -Original Message- From: Tom Barrett [mailto:t...@miramedia.co.uk] Sent: vrijdag

[PHP] Bar Charts in PDFs

2011-02-11 Thread Tom Barrett
Hi I need to generate some PDF reports (1000s). Part of the report is a set of bar charts (the results of a questionnaire). Each question has the same 5 answers (v.bad, bad, ok ,good, v.good) and the chart is the % distribution of the answers. My plan is to create a HTML version, using "some grap