php-general Digest 7 Jan 2012 01:13:46 -0000 Issue 7638

2012-01-06 Thread php-general-digest-help
php-general Digest 7 Jan 2012 01:13:46 - Issue 7638 Topics (messages 316198 through 316207): Re: How to find where class is used? 316198 by: Curtis Maurand 316199 by: Nilesh Govindarajan 316200 by: richard gray 316201 by: Nilesh Govindarajan 316205

[PHP] How to find where class is used?

2012-01-06 Thread Dotan Cohen
In a large application that I am tasked with maintaining (vBulletin) there is a particular class that is used: vB_ProfileBlock_VisitorMessaging. I know the file that it is defined in, but I cannot find the file that actually creates a vB_ProfileBlock_VisitorMessaging object. I tried the

Re: [PHP] How to find where class is used?

2012-01-06 Thread Curtis Maurand
it will be somewhere in php's search path. you'd be better off trying search for a file of the same name. cd /usr/lib/php5 find . -iname vB_ProfileBlock* if you have locate installed, try: locate vB_ProfileBlock Cheers, Curtis On 1/6/2012 6:11 AM, Dotan Cohen wrote: In a large

Re: [PHP] How to find where class is used?

2012-01-06 Thread Nilesh Govindarajan
On Fri, Jan 6, 2012 at 5:08 PM, Curtis Maurand cur...@maurand.com wrote: it will be somewhere in php's search path.  you'd be better off trying search for a file of the same name. cd /usr/lib/php5 find . -iname vB_ProfileBlock* if you have locate installed, try: locate vB_ProfileBlock

Re: [PHP] How to find where class is used?

2012-01-06 Thread richard gray
On 06/01/2012 12:11, Dotan Cohen wrote: In a large application that I am tasked with maintaining (vBulletin) there is a particular class that is used: vB_ProfileBlock_VisitorMessaging. I know the file that it is defined in, but I cannot find the file that actually creates a

RES: [PHP] Printing

2012-01-06 Thread Alejandro Michelin Salomon
Jim: The TCPDF software library does not need php pdf functions. Is 100% php code. To use only put a require_once '/tcpdf/tcpdf.php'; lik this. Create a new instance: $pdf = new TCPDF( 'P', 'mm', 'A4', true, 'UTF-8', false); And call the methods. The library has a folder with a lot of

[PHP] passing variables to php script

2012-01-06 Thread David Savage
OK...I admit I'm new at thisI have this html file: html head titleGenerate pdf file of LD, Toll Free, and Directory Assistance calls/titl /head body form action=Q:\ASTERISK\callrecs.php method=post pAccount Number: input type=text name=acctnum /p pYear (4 digit): input type=text

Re: [PHP] PDF Printing instead?

2012-01-06 Thread Robert Williams
On 1/5/12 14:40, Paul M Foster pa...@quillandmouse.com wrote: The fpdf and/or tcpdf libraries are the standard answers to this. Depending on requirements, another good option may be Pdftk. Where TCPDF is focused on document creation, Pdftk is focused on document manipulation, and because it's a

Re: [PHP] How to find where class is used?

2012-01-06 Thread Dotan Cohen
On Fri, Jan 6, 2012 at 15:05, richard gray r...@richgray.com wrote: Can you not put a debug_print_backtrace() in the class constructor? Thanks, that might have worked. In the end, I found it by grepping for VisitorMessaging instead of vB_ProfileBlock_VisitorMessaging. It turns out that there

Re: [PHP] passing variables to php script

2012-01-06 Thread Ashley Sheridan
On Fri, 2012-01-06 at 11:53 -0600, David Savage wrote: OK...I admit I'm new at thisI have this html file: html head titleGenerate pdf file of LD, Toll Free, and Directory Assistance calls/titl /head body form action=Q:\ASTERISK\callrecs.php method=post pAccount Number: input

[PHP] Non required argument

2012-01-06 Thread Donovan Brooke
Hello, I have a simple function that contains an argument that is not required, ie: function list_formvars($pmatch) {... However, if I call the function without the argument, I get a warning (I'm having the app show all warnings for development): Warning: Missing argument 1 for

Re: [PHP] Non required argument

2012-01-06 Thread Simon J Welsh
On 7/01/2012, at 2:13 PM, Donovan Brooke wrote: Hello, I have a simple function that contains an argument that is not required, ie: function list_formvars($pmatch) {... However, if I call the function without the argument, I get a warning (I'm having the app show all warnings for

Re: [PHP] Non required argument

2012-01-06 Thread Donovan Brooke
function list_formvars($pmatch=value) {... } thanks to Tolga. Donovan -- D Brooke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php