[PHP] PHP arguments getting lost in call!?

2011-02-13 Thread Florin Jurcovici
Hi. The entry point in my php app is a file containing something like: require_once("Disptacher.php"); ... Dispatcher:dispatch($arguments); ... The file Dispatcher.php is located in the same folder as the file containing the above code, and contains the following: class Dispatcher {

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

2011-02-13 Thread Richard Quadling
On 11 February 2011 22:42, Brian Dunning wrote: > 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 th

Re: [PHP] PHP arguments getting lost in call!?

2011-02-13 Thread Nilesh Govindarajan
On 02/13/2011 02:06 PM, Florin Jurcovici wrote: > Hi. > > The entry point in my php app is a file containing something like: > > require_once("Disptacher.php"); > > ... > > Dispatcher:dispatch($arguments); > > ... > > > The file Dispatcher.php is located in the same folder as the file > cont

Re: [PHP] PHP arguments getting lost in call!?

2011-02-13 Thread Richard Quadling
On 13 February 2011 08:36, Florin Jurcovici wrote: > Hi. > > The entry point in my php app is a file containing something like: > > require_once("Disptacher.php"); > > ... > > Dispatcher:dispatch($arguments); > > ... > > > The file Dispatcher.php is located in the same folder as the file > contain

Re: [PHP] PHP arguments getting lost in call!?

2011-02-13 Thread Florin Jurcovici
Me stupid, my bad. Turns out the bug isn't in my code, but in the debugger. I'm working with the trial version of Zend Studio. When inside the call to the static method, everything is undefined. If I look at variables using the Expressions view, I can see their values, and they _are_ defined. Sti

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

2011-02-13 Thread Ashim Kapoor
OK. Thank you Jim/Nathan. Ashim : ) On Sun, Feb 13, 2011 at 1:26 AM, Nathan Rixham wrote: > Ashim Kapoor wrote: > >> 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 >> var

Re: [PHP] PHP arguments getting lost in call!?

2011-02-13 Thread Thijs Lensselink
On 02/13/2011 10:00 AM, Florin Jurcovici wrote: > Me stupid, my bad. > > Turns out the bug isn't in my code, but in the debugger. I'm working > with the trial version of Zend Studio. When inside the call to the > static method, everything is undefined. If I look at variables using > the Expression

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

2011-02-13 Thread tedd
At 10:53 AM +0530 2/12/11, Ashim Kapoor wrote: 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_

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

2011-02-13 Thread Robert Cummings
On 11-02-13 02:25 PM, tedd wrote: At 10:53 AM +0530 2/12/11, Ashim Kapoor wrote: 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 confl

[PHP] Re: php-general Digest 14 Feb 2011 03:32:02 -0000 Issue 7180

2011-02-13 Thread Florin Jurcovici
Hi. >> Me stupid, my bad. >> >> Turns out the bug isn't in my code, but in the debugger. I'm working >> with the trial version of Zend Studio. When inside the call to the >> static method, everything is undefined. If I look at variables using >> the Expressions view, I can see their values, and th

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

2011-02-13 Thread Paul M Foster
On Sun, Feb 13, 2011 at 02:25:45PM -0500, tedd wrote: > At 10:53 AM +0530 2/12/11, Ashim Kapoor wrote: > >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 an