A form sends via AJAX username and password to a script, which returns 0 or 1 (if username/pass is present or not). In case of 1 form page is reloaded and sensitive info is shown. I tried to access this info with CLI script, but get stucked with sessions - appears that if AJAX php script finds username/pass is ok it sends some kind of session variable and when page reloads it goes to the right part. Sadly I cannot have session support in CLI... I want to make a script which makes a copy of this data few times a day (attached to cron). Any ideas?