Hi I am trying to make a script to login a website and
after login > click on a link
>click on another link
Choose a date/time range and click a submit button.
Now if there are no results send an email - no results found
if there are results - send an email there are results.
end of script
so i was thinking this for a start but i do not know what to do from here.
Code:
[PHP]
$Entered_UserNa me = ""; $Entered_PassWo rd = "";
if(isset($HTTP_ COOKIE_VARS["UserName"]) &&
isset($HTTP_COO KIE_VARS["PassWord"]))
{ $Entered_UserNa me = $HTTP_COOKIE_VA RS["UserName"];
$Entered_PassWo rd = $HTTP_COOKIE_VA RS["PassWord"]; }
if($Entered_Use rName != $UserName || $Entered_PassWo rd != $PassWord)
{ if($LogInPage != "") include($LogInP age); return(false); } else return(true);
[/PHP]
after login > click on a link
>click on another link
Choose a date/time range and click a submit button.
Now if there are no results send an email - no results found
if there are results - send an email there are results.
end of script
so i was thinking this for a start but i do not know what to do from here.
Code:
[PHP]
$Entered_UserNa me = ""; $Entered_PassWo rd = "";
if(isset($HTTP_ COOKIE_VARS["UserName"]) &&
isset($HTTP_COO KIE_VARS["PassWord"]))
{ $Entered_UserNa me = $HTTP_COOKIE_VA RS["UserName"];
$Entered_PassWo rd = $HTTP_COOKIE_VA RS["PassWord"]; }
if($Entered_Use rName != $UserName || $Entered_PassWo rd != $PassWord)
{ if($LogInPage != "") include($LogInP age); return(false); } else return(true);
[/PHP]
Comment