some logic
test script to extract information from php page