Solved

PHP Sockets and Frames.

Posted on 2006-06-13
6
278 Views
Last Modified: 2006-11-18
I dont fully understand sockets yet. I was wondering though, I want to make a bot that will connect to a web-site that has frames, submit forms in one frame, and acquire text input from another frame. And could I run this bot without my php just sitting there continuosly loading in the page.
0
Comment
Question by:Unspoken1
  • 3
  • 3
6 Comments
 
LVL 49

Expert Comment

by:Roonaan
ID: 16892077
Why would you want to do this using php, exactly?

-r-
0
 
LVL 2

Author Comment

by:Unspoken1
ID: 16892082
Because i dont know perl....unless someone here could teach me how to do this in perl
0
 
LVL 49

Expert Comment

by:Roonaan
ID: 16892116
But that are both serverside languages while you are requesting clientside interaction?

-r-
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 2

Author Comment

by:Unspoken1
ID: 16892121
I know it can be done in perl....i've seen people do it....what language do you suggest?
0
 
LVL 49

Accepted Solution

by:
Roonaan earned 245 total points
ID: 16892167
You are probably searching for the curl extenstion of php. But that is used to read and write to websites, not particularly to framesets.
You would have to replicate the correct get and post request to the server and do this in the right order.

-r-
0
 
LVL 2

Author Comment

by:Unspoken1
ID: 16892183
well the page is inside of a frameset that i want to do it to
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now