Forum Moderators: coopster

Message Too Old, No Replies

how do I automate login pages and forms with PHP?

         

mapquest

7:36 pm on Sep 3, 2006 (gmt 0)



Is there a way to make a PHP script do login pages and forms for me?

barns101

8:32 pm on Sep 3, 2006 (gmt 0)

10+ Year Member



If you mean "can PHP make a template for me", then no.

What you can do is make your own template and then reuse it by using the include() [php.net] function.

ahmedtheking

8:54 pm on Sep 3, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have a read of these resources:

[uk.php.net...]
[uk2.php.net...]

And OOP:

[uk.php.net...]

That should clear the air! If not, get yourself a nice little PHP book!

inquireorenquire

4:48 am on Sep 4, 2006 (gmt 0)

10+ Year Member



In short, yes, there are many ways. Unfortunately they all require learning PHP. I'd start with a good book on the basics of PHP and work through the examples. It shouldn't be long before you can answer your own question.

mapquest

10:50 pm on Sep 6, 2006 (gmt 0)



hey now guys read the title before you start bashing. I know php very well.

I said how do I AUTOMATE login pages and forums; in other words how can I write scripts that interact with web pages that require you to log in as a user involving an HTTP POST and sometimes some challenge-response security stuff and SSL?

orion_rus

12:46 pm on Sep 7, 2006 (gmt 0)

10+ Year Member



Of cause you can do it with php - curl exstensions, u can read form with regular expressions, then make automatic fill it and send via post to server. It's also soupport ssl coding.
You are welcome