Curl, aspx, and pinnaclesports problem

Hmmm… of course, you are right. Dammit!
I’ll check the quotes.

Also I’ve noticed I have a $cookie and $cookies.

Stinky… I’ll try to sort these things now.

Thanks.

Double quotes all the way!!!
I guess a change is reqd :slight_smile:

edit…
__VIEWSTATE=0&__EVENTTARGET=0&__EVENTARGUMENT=0&__EVENTVALIDATION=0&__PREVIOUSPAGE=0&LDDL=0&PSDDL=0&UserName=0&Password=0&LanguageID=0&PriceStyle=0&LinesTypeView=0&MemberServer=0&dvc=0

Still the same :frowning:

I modified the get_input_value function a little to echo what the preg_match was matching…

f

unction get_input_value($name, $data){
  
  $pattern = sprintf(
    '~<input.*name="%s".*value="([^"]+)"~',
    preg_quote($name)
  );
  
  preg_match($pattern, $data, $matches);
  echo $pattern." ";
  echo $data." ";
  echo $matches."<br/><br/>";
  return empty($matches[1]) ? false : $matches[1] ;
}

but I just get 14 ~
That would be one for each input field.

Not sure what to do about that tho.

DS