I need a little help, I found a php file that uses curl to pull the warranty info from a dell site. The php file uses a cookie to pass the service tag to dell and pulls the raw data back then processes that data. I'm still at the point of getting the cookie to pass to dell. I have tried several different things for the past several hours and can only seem to get this to work with php on linux; not autoit on windows
If any one has any ideas please let me know; I'm so frustrated with this right now.
#include <cURL.au3>
cURL_initialise()
$url = "http://www.dell.com/support/troubleshooting/us/en/04/TroubleShooting/Display_Warranty_Tab?name=TroubleShooting_WarrantyTab"
$cookie_file = @ScriptDir & "cookie.txt"
$out = cURL_easy($url, $cookie_file, 1, 0, "", "", 0, 1, 1)
; Output the HTML to the console
;~ ConsoleWrite($out)
MsgBox(0, "", $out)
; Clean up cURL
cURL_cleanup()
the cookie in php
$strCookie = "name=OLRProduct; OLRProduct=".$ServiceTag."|;";