cURL problems

2009-02-27 Thread Patrick Hereford
Hey guys. So here is my dilemma. I am using cURL to get xml data from a website for validation reasons. As soon as they hit the submit button on my form, it runs the function isValidThing(). My problem is that when I invoke the isValidThing in my controller...it ALWAYS returns false even if I k

Re: First time user :-D

2009-02-24 Thread Patrick Hereford
t::check($thingResponse, 'X.Y'); } ?> On Tue, Feb 24, 2009 at 7:23 PM, Marcelo Andrade wrote: > > On Tue, Feb 24, 2009 at 7:59 PM, Patrick Hereford > wrote: > > Hey everyone. I am having some trouble with this model class. The error > it > > is

First time user :-D

2009-02-24 Thread Patrick Hereford
Hey everyone. I am having some trouble with this model class. The error it is giving me is the following: "*Parse error*: syntax error, unexpected ';', expecting T_FUNCTION" on the last line with the bracket. Any advice? Model Class: uses('Xml'); function isValid($value) { $url =