[PHP] Strange results

2008-11-13 Thread Craige Leeder
So, I have this class which contains a method LoadIO. I was doing some debugging as to why a condition wouldn't pass like I thought it would, and It's starting to piss me off. The three echo's near the bottom are not printing what it should. The middle echo is not even printing static text.

Re: [PHP] Strange results

2008-11-13 Thread Micah Gersten
Craige Leeder wrote: So, I have this class which contains a method LoadIO. I was doing some debugging as to why a condition wouldn't pass like I thought it would, and It's starting to piss me off. The three echo's near the bottom are not printing what it should. The middle echo is not even

Re: [PHP] Strange results

2008-11-13 Thread Craige Leeder
Micah Gersten wrote: I think you meant this: echo - $fpType - is equal to self::mciInput br /; to be echo - . $fpType . - is equal to . self::mciInput . br /; And this is how you know you've been doing too much ASP, lol Thanks Micah! -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Strange results

2008-11-13 Thread Jochem Maas
Craige Leeder schreef: Micah Gersten wrote: I think you meant this: echo - $fpType - is equal to self::mciInput br /; to be echo - . $fpType . - is equal to . self::mciInput . br /; And this is how you know you've been doing too much ASP, lol yeah, I'm with Indiana Jones when it

[PHP] Strange results from file_get_contents using an url as filename

2004-12-28 Thread Ewout de Boer
I'm getting unexpected data from my file_get_contents function using an url as filename. The function does not return false, i do get data from it. Problem is that is is not the data is requested. $data = file_get_contents(http://somehost.com/xmlonl.asp?custid=00prodid=0 ); if

Re: [PHP] Strange results from file_get_contents using an url as filename

2004-12-28 Thread Jason Wong
On Tuesday 28 December 2004 20:03, Ewout de Boer wrote: $data = file_get_contents(http://somehost.com/xmlonl.asp?custid=00prodid= 0 ); if ($data) { ... the string this function returns is the webpage from the default website of the server where this php code is running

Re: [PHP] Strange results from file_get_contents using an url as filename

2004-12-28 Thread John Hicks
Ewout de Boer wrote: I'm getting unexpected data from my file_get_contents function using an url as filename. The function does not return false, i do get data from it. Problem is that is is not the data is requested. $data =

[PHP] [SOLVED] Re: [PHP] Strange results from file_get_contents using an url as filename

2004-12-28 Thread Ewout de Boer
I'm getting unexpected data from my file_get_contents function using an url as filename. The function does not return false, i do get data from it. Problem is that is is not the data is requested. The ISP made a mistake in the server config :-( ... it works again regards, Ewout -- PHP

[PHP] Strange results on Printer Friendly page

2004-02-05 Thread Alex Hogan
Hi, I have a printer friendly page that is passed a url param from the detail page. On the detail page I have a series of questions that appear as they should. However when I go to the printer friendly page I'm missing the first question. I get all the others. I can't seem to find a reason