Hi im attempting to login to a website using PHP and Curl. The problem I am having is that the names of the input fields on the website I want to log into have names that the script thinks is a variable. So when I run the script I get an error saying undefined variables.
$fields = "[email protected]&ctl00$MainContent$PasswordText=xxxx";
The errors I am getting are:
Notice: Undefined variable: MainContent
Notice: Undefined variable: EmailText
Notice: Undefined variable: PasswordText
Is there any way around this?