473,499 Members | 1,922 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

posting Forms

Hi,

I am kind of new to PHP so this might be a stupid question, but here it
is anyway. If there is a form, let's say somewhere on the web with a
couple of input fields and a submit button. Can I pull that .html (or
whatever extension it is) in a PHP object and then post it with the
input fields filled with what I want? And then show the result to the
user? How would that be done?

Thanks
Rok

Dec 20 '05 #1
2 1362
sp******@gmail.com wrote:
Hi,

I am kind of new to PHP so this might be a stupid question, but here it
is anyway. If there is a form, let's say somewhere on the web with a
couple of input fields and a submit button. Can I pull that .html (or
whatever extension it is) in a PHP object and then post it with the
input fields filled with what I want? And then show the result to the
user? How would that be done?

Hi,

You are not building something naughty, are you?
I do not see the point of what you are trying to accomplish.

Anyway: if you look at some form, and just copy all inputfields, including
any of the hidden-type, you are ready.
If you get that form and post it to the same address it was posting before
(action in form), you probably get a result back.

Why don't you just try it instead of asking here?

Regards,
Erwin Moller

Thanks
Rok


Dec 20 '05 #2
Hello,

on 12/19/2005 11:58 PM sp******@gmail.com said the following:
I am kind of new to PHP so this might be a stupid question, but here it
is anyway. If there is a form, let's say somewhere on the web with a
couple of input fields and a submit button. Can I pull that .html (or
whatever extension it is) in a PHP object and then post it with the
input fields filled with what I want? And then show the result to the
user? How would that be done?


If you mean making a new post request to the same or other server, you
may want to try this HTTP client class that can be used to submit POST
requests with form values among other things:

http://www.phpclasses.org/httpclient
--

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
Dec 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
1995
by: Randell D. | last post by:
Folks, Sorry for the cross post into multiple newsgroups on this, but html forms processing is supported across all three groups so I was hoping someone might know. I did a check with Google...
1
1489
by: Jack Fox | last post by:
The following posts back properlty from an "onclick" in IE, but not in Mozilla 1.7. Can anyone explain to me why not? The style class works the same in both environments. <HEAD> <SCRIPT...
9
3574
by: buran | last post by:
Dear ASP.NET Programmers, How can I post data to an ASP.NET login page and pass authentication? The login page uses forms authentication, users must supply usernames and password and have to...
4
1612
by: Newbie | last post by:
Hi, I need help in posting asp .net application web form to another asp based web app. I have seen many examples using HttpWebRequest class but the problem is I do not want the request back...
1
995
by: GrantMagic | last post by:
Since installing .Net framework v1.1 Service Pack, i have found some issues regarding post backs on my secure server. I have also read about many people having similair issues and for once want...
7
1490
by: Jeff Casbeer | last post by:
New to VB.. What is the VB syntax for posting a Windows event? For example, to have an event fire AFTER a form loads, I'd add a posted call to a "post_load" event, from "load". What is the VB...
1
54448
PEB
by: PEB | last post by:
POSTING GUIDELINES Please follow these guidelines when posting questions Post your question in a relevant forum Do NOT PM questions to individual experts - This is not fair on them and...
0
2539
by: sharif | last post by:
Anyone could help me out for n=my code ......I have written following code ,Here i m able to get and post the form successfuly..but after posting im not gettng proper response content... ...
3
1362
by: ollebollebagare | last post by:
For the last few days some of my web site users have been having problems posting asp.net forms. This problem arises everytime they try to post a form in asp.net, but never when the page is plain...
3
1740
by: scripteaze | last post by:
posting to a form with no form name or it's just that i cant find the form name. can anyone explain how to either post to a form with no name or, find the name of the form..here my current output,...
0
7131
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7174
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7388
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5470
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4600
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3099
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
297
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.