> to make sure the user has properly filled out this form. So I have to
> validate it. That's done in the background on the server, naturally. But
> once the validating is done, it's time to send the user off to the
> secure site with a payload of POST variables. At that point, the user
> will ente
On Thu, Oct 01, 2009 at 04:23:46PM -0400, Daniel Brown wrote:
> On Thu, Oct 1, 2009 at 16:14, Paul M Foster wrote:
> >
> > Okay, I've figured out how to shove the data through cURL to the
> > receiving URL, but then it occurred to me that the client browser must
> > go there *as well*.
> >
> > Wi
On Thu, Oct 1, 2009 at 16:14, Paul M Foster wrote:
>
> Okay, I've figured out how to shove the data through cURL to the
> receiving URL, but then it occurred to me that the client browser must
> go there *as well*.
>
> Will curl_exec() do that on its own, or is there a parameter I need to
> feed i
On Wed, Sep 30, 2009 at 11:36:55PM -0400, Daniel Brown wrote:
> On Wed, Sep 30, 2009 at 23:29, Paul M Foster wrote:
> >
> > I'm not sure how to do this. Please no exotic external libraries my
> > shared hosting provider doesn't include. RTFM will be fine; just tell me
> > which Fine Manual to Rea
Paul M Foster wrote on 09/30/2009 09:29:17 PM:
> [PHP] POST without POSTing
>
> Paul M Foster
>
> to:
>
> php-general
>
> 09/30/2009 09:31 PM
>
> I have a form that collects certain info via POST. It is re-entrant, so
> when the user hits the "sub
- Original Message
> From: Daniel Brown
> To: Paul M Foster
> Cc: php-general@lists.php.net
> Sent: Wednesday, September 30, 2009 9:58:18 PM
> Subject: Re: [PHP] POST without POSTing
>
> On Thu, Oct 1, 2009 at 00:41, Paul M Foster wrote:
> >
> > fsoc
On Thu, 1 Oct 2009 00:24:41 -0400
Daniel Brown wrote:
> On Thu, Oct 1, 2009 at 00:16, Paul M Foster
> wrote:
> >
> > However, assuming it *wasn't*, I've found the following example
> > from a google search (thank goodness for google's "hinting" or I
> > couldn't have found it):
> >
> > $fp = fso
On Thu, Oct 1, 2009 at 00:41, Paul M Foster wrote:
>
> fsockopen() appears to be part of the standard network functions in PHP,
> like the header() function. Do you mean that many hosts support the
> function (as part of PHP) but don't support its use with external hosts?
> Is there a way to deter
On Thu, Oct 01, 2009 at 12:24:41AM -0400, Daniel Brown wrote:
> On Thu, Oct 1, 2009 at 00:16, Paul M Foster wrote:
> >
> > However, assuming it *wasn't*, I've found the following example from a
> > google search (thank goodness for google's "hinting" or I couldn't have
> > found it):
> >
> > $fp
On Thu, 1 Oct 2009 00:16:27 -0400
Paul M Foster wrote:
> On Wed, Sep 30, 2009 at 11:36:55PM -0400, Daniel Brown wrote:
>
> > On Wed, Sep 30, 2009 at 23:29, Paul M Foster
> > wrote:
> > >
> > > I'm not sure how to do this. Please no exotic external libraries
> > > my shared hosting provider does
On Thu, Oct 1, 2009 at 00:16, Paul M Foster wrote:
>
> However, assuming it *wasn't*, I've found the following example from a
> google search (thank goodness for google's "hinting" or I couldn't have
> found it):
>
> $fp = fsockopen("www.site.com", 80);
> fputs($fp, "POST /script.php HTTP/1.0
> Ho
On Wed, Sep 30, 2009 at 11:36:55PM -0400, Daniel Brown wrote:
> On Wed, Sep 30, 2009 at 23:29, Paul M Foster wrote:
> >
> > I'm not sure how to do this. Please no exotic external libraries my
> > shared hosting provider doesn't include. RTFM will be fine; just tell me
> > which Fine Manual to Rea
On Wed, Sep 30, 2009 at 23:29, Paul M Foster wrote:
>
> I'm not sure how to do this. Please no exotic external libraries my
> shared hosting provider doesn't include. RTFM will be fine; just tell me
> which Fine Manual to Read.
Nothing too exotic at all, Paul. Check out cURL:
http://php
I'm sure this has been covered before, but I'm not even sure how to
search in the archives for it.
I have a form that collects certain info via POST. It is re-entrant, so
when the user hits the "submit" button, it checks the input and does
whatever sanity checks it needs to. If all is okay, it mus
Marek Kilimajer wrote:
Lars Torben Wilson wrote:
Josh Close wrote:
So basically there is no easy way around this.
What I'm trying to do is have a page return to a page that was a
couple pages back with the same get info. On the second page I can do
$return_url = $_SERVER['HTTP_REFERER'];
to get the
Lars Torben Wilson wrote:
Josh Close wrote:
So basically there is no easy way around this.
What I'm trying to do is have a page return to a page that was a
couple pages back with the same get info. On the second page I can do
$return_url = $_SERVER['HTTP_REFERER'];
to get the previous url. But then
Josh Close wrote:
So basically there is no easy way around this.
What I'm trying to do is have a page return to a page that was a
couple pages back with the same get info. On the second page I can do
$return_url = $_SERVER['HTTP_REFERER'];
to get the previous url. But then I need to pass it on to t
Hello,
Use a token and a database, I am using the following:
1. I setup a table called token_table with columns:
1. token_id - primary DB key -- auto incremented
2. token_name - actual token string
3. token_date - date created
4. token_userd - user id that
/www.dailymedication.com - Everything you didn't know you needed
> until you went there and said to yourself, "What did I do before I visited
> DailyMedication.com?" and another part of you answered, "It does not matter.
> You are here now."
>
> >From: Jo
Hi,
POST is the technique where you send the data by adding it to the body
of the message. In other words after sending the usual HTTP headers you
continue to write on the same socket connection the data that you want
to pass to the server. In get you do not write after the headers but
append t
How can I post data without having it submitted from within a form?
With get I can just add it to the url. Is there a php function for this?
--
-Josh
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think what you want to use is CURL. I don't know if that's the canonical way to do
it, but it is certainly a way. You can get more info here:
http://www.php.net/manual/en/ref.curl.php
At 1:28 AM +0100 on 1/31/03, arthur.chereau wrote:
>Hi,
>
>A PHP page (main.php) loads another page
Hi,
A PHP page (main.php) loads another page (doit.php) via a form. doit.php gets the data
via $_POST.
Now, from a third page (other.php), I need to load doit.php with other data, but
automatically, without a form.
How can I redirect to doit.php and send POST data at the same time ? (as
After struggling with this for a bit, I determined that the problem was
not in fact with PHP but with Apache.
I wound up writing a mod_perl Apache module which took an incoming request
to a particular location and parsed out the stream to find the POST
content, and inserted it into the HTTP he
On Sat, 25 Aug 2001, Rasmus Lerdorf wrote:
> Well, first of all, you are using an ancient version of PHP. That message
> was changed from a fatal error to a warning over a year ago.
Cool. Thx. I'll upgrade. Had no good reason to until now.
> And if you really want to have PHP accept non-typ
Well, first of all, you are using an ancient version of PHP. That message
was changed from a fatal error to a warning over a year ago.
And if you really want to have PHP accept non-typed POST data, it's an
obvious one-line change in main/SAPI.c
-Rasmus
On Sat, 25 Aug 2001, Chris Maresca wrote:
All,
I've been coding a PHP page that listens for a connection from an embedded
device (a piece of hardware) that sends a POST query to Apache (and to my
PHP pages...).
I've having a problem that I can't seem to solve. The embedded
application does not set a Content-Type header on the POST, so
Hello Chris,
Friday, January 26, 2001, 8:23:27 AM, you wrote:
C> is there anyway to post without clicking a submit button?
You can, e.g. using javascript event.
on="document.forms['formname'].submit()"
--
Best regards,
Max A. Derkachev mailto:[EMAIL PROTECTED]
Symbol-Plus Publishing Ltd.
phon
. Crawford" <[EMAIL PROTECTED]>
To: "Chris" <[EMAIL PROTECTED]>; "PHP" <[EMAIL PROTECTED]>
Sent: Thursday, January 25, 2001 6:24 PM
Subject: Re: [PHP] Post without submit?
> Sorry, just to be a bit clearer... Suppose you wanted to associate it
with
> a
Sorry, just to be a bit clearer... Suppose you wanted to associate it with
a link, you could do something like the following:
click here to submit
Hope that helps.
At 03:22 PM 1/25/01 -0800, Richard S. Crawford wrote:
>Without knowing exactly what you want to do, I would try something like
e-
> From: Chris [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 25, 2001 9:23 PM
> To: PHP
> Subject: [PHP] Post without submit?
>
>
> is there anyway to post without clicking a submit button?
>
--
PHP General Mailing List (http://www.php.net/)
To unsub
Without knowing exactly what you want to do, I would try something like the
following in JavaScript:
function doSubmit() {
document.form.submit()
}
Then associate the function with any sort of desired event. In a project
of mine, I have it attached to a keypress function so that the
is there anyway to post without clicking a submit button?
33 matches
Mail list logo