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 & ""; >> to be >> echo "-" . $fpType . "- is equal to " . self::mciInput . ""; >> > And this is how you know you've been doing too much ASP, lol yeah, I'm with I

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 & ""; to be echo "-" . $fpType . "- is equal to " . self::mciInput . ""; And this is how you know you've been doing too much ASP, lol Thanks Micah! -- PHP General Mailing List (http://www.ph

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

[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 -- P

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 = file_get_contents("http://somehost.com/xmlonl.asp?custid=00&prodid=0

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=00&prodid= >0 "); > > if ($data) > { > ... > > > the string this function returns is the webpage from the default website of > the server where this php co