markvaughn2006 Posted November 5, 2009 Share Posted November 5, 2009 This is for work actually (geek squad). We have to fill out this online php form at work over and over again to set up these new laptops, we log on to this website and have to select all this stuff. I was wondering if there is a way that I could set up a php page/code on one of my websites so that when you went to it, it would redirect you to the geeksquad website/form AND fill out the page with the info?? Possible? if so, how?? Thank you guys so much, you have been extremely beneficial and helpful!!!! Quote Link to comment Share on other sites More sharing options...
simshaun Posted November 5, 2009 Share Posted November 5, 2009 Well, I'd say it may be possible, but it depends on how the Geek Squad form's error checking works, and if you have to be logged in to use it. Being something that belongs to a large corporation however, I'd be wary of if this is legal or not. Anyway, you could use cURL to post the values to the form just as if you were to fill it out manually. If you were to leave a required field out of the automation and the form's error checking is done server side, it should show you the form again with the fields filled out + an error for the required field. If you are interested in alternatives, and you use FireFox, check out the Greasemonkey extension. You could easily do this with JavaScript and not have to worry about fooling with a much more complicated PHP version. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.