On Thu, Feb 16, 2012 at 5:02 PM, Daniel Brown wrote:
> On Thu, Feb 16, 2012 at 10:57, Matijn Woudt wrote:
>>
>> What if the system PHP is running on not the same one as the one that
>> is going to read the plain-text/CSV/.. files? I don't think it is good
>> practice to use it when writing to fil
On Thu, Feb 16, 2012 at 10:57, Matijn Woudt wrote:
>
> What if the system PHP is running on not the same one as the one that
> is going to read the plain-text/CSV/.. files? I don't think it is good
> practice to use it when writing to files. I often write files on a
> Linux server that people are
On Thu, Feb 16, 2012 at 4:09 PM, Daniel Brown wrote:
> On Thu, Feb 16, 2012 at 09:53, Tedd Sperling wrote:
>
> This means you can rest assured that the newlines will be
> appropriate for the system on which PHP is running. While it makes
> little difference on the web, it makes a world of dif
On Thu, Feb 16, 2012 at 09:53, Tedd Sperling wrote:
>
> Why the '.PHP_EOL' ?
>
> I've never seen that before and looking through the PHP documentation doesn't
> give me much.
Cross-compatibility. For systems which use \n, PHP_EOL will be
\n. For systems which use \r\n, PHP_EOL will be \r\n
On Feb 14, 2012, at 1:39 PM, Daniel Brown wrote:
> On Tue, Feb 14, 2012 at 13:36, Rick Dwyer wrote:
>>
>> I only have access to domain B... the one receiving the Form POST.
>
>Then all you should need to do is:
>
>a.) Verify that Domain A is indeed pointing to Domain B, to
> the sc
Thanks Dan.
As it turned out the reason for not showing the passed values is that
I didn't have "www" in the destination address and the values must
have been getting lost when Apache redirected requests without www to
the fully formed URL.
--Rick
On Feb 14, 2012, at 1:39 PM, Daniel B
On Tue, Feb 14, 2012 at 13:36, Rick Dwyer wrote:
>
> I only have access to domain B... the one receiving the Form POST.
Then all you should need to do is:
a.) Verify that Domain A is indeed pointing to Domain B, to
the script you expect, as a POST request.
b.) In the POST-rec
On Feb 14, 2012, at 1:16 PM, Daniel Brown wrote:
On Tue, Feb 14, 2012 at 13:14, Rick Dwyer
wrote:
Hello all.
If I have a form on domain A that uses POST to submit data and I
want to
submit the form to domain B on an entirely different server, how do
I pull
the form values (... echo $_POS
On Tue, Feb 14, 2012 at 13:14, Rick Dwyer wrote:
> Hello all.
>
> If I have a form on domain A that uses POST to submit data and I want to
> submit the form to domain B on an entirely different server, how do I pull
> the form values (... echo $_POST["myval"] returns nothing) from the form
> a
Hello all.
If I have a form on domain A that uses POST to submit data and I want
to submit the form to domain B on an entirely different server, how do
I pull the form values (... echo $_POST["myval"] returns nothing)
from the form at domain B?
--Rick
--
PHP General Mailing List
Bastien Koert wrote:
On Thu, Oct 28, 2010 at 10:12 AM, Jack wrote:
I have a form which has the following: ( quick clip )
http://www.abc.com/processing/process_form.php"; onSubmit="return
preSubmit();">
Peer Guide
When the form
On Oct 28, 2010, at 10:12 AM, Jack wrote:
> I have a form which has the following: ( quick clip )
>
>
>
> action="http://www.abc.com/processing/process_form.php"; onSubmit="return
> preSubmit();">
>
>
>
>
>
> value="Peer Guide" />
>
>Peer Guide
>
>
On Thu, Oct 28, 2010 at 10:12 AM, Jack wrote:
> I have a form which has the following: ( quick clip )
>
>
>
> action="http://www.abc.com/processing/process_form.php"; onSubmit="return
> preSubmit();">
>
>
>
>
>
> value="Peer Guide" />
>
> Peer Guide
>
>
I have a form which has the following: ( quick clip )
http://www.abc.com/processing/process_form.php"; onSubmit="return
preSubmit();">
Peer Guide
When the form runs process_form.php it emails the content and ha
When you access /foo, the server will redirect the client to /foo/
(because it is a directory). At the redirected page, the post data will
not be sent again by the browser thus there are no _POST values.
Try using action="/foo/". That may work.
Yes, /foo/ does work.
The explanation makes sense.
Hi,
Monday, January 10, 2005, 12:04:28 PM, you wrote:
JI> I just narrowed something down about forms and POST and would like
JI> education. In the following scenarios, all work except #4. $_POST is
JI> null. Why is that?
JI> Setup:
JI> 1) Running on localhost
JI> 2) /foo/index.php has the follo
uot;James (IFMS)" <[EMAIL PROTECTED]>
To:
Sent: Monday, January 10, 2005 10:04 AM
Subject: [PHP] PHP form POST question
I just narrowed something down about forms and POST and would like
education. In the following scenarios, all work except #4. $_POST is null.
Why is that?
Setup:
I just narrowed something down about forms and POST and would like
education. In the following scenarios, all work except #4. $_POST is
null. Why is that?
Setup:
1) Running on localhost
2) /foo/index.php has the following:
3) /index.php contends vary per scenario (below)
Running RHEL 3, all
Well first, if your running a linux/unix server, did you create
a /temp, because on most server's, it's /tmp (no e).
On Tue, 2003-03-04 at 16:20, Mike D wrote:
Hello,
I have the weirdest thing going on...I have an image upload field that
has been workin
Hello,
I have the weirdest thing going on...I have an image upload field that
has been working fine for months and months, and as of yesterday now
every file that is uploaded has a size of 0!
After testing, I noticed only 1 mime type that didn't have a size of 0
and it was 'application/x-macbin
> There's no way to for PHP to say "Yo, let's ride... submit that form"
> Client-side manipulations must be done client-side, with
> javascript or something similar.
But you can use a function/library called PostToHost() (or something
like that). Search on phpbuilder.com for it. This issue has
No, because PHP is server-side.
-Original Message-
From: Kris Vose [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 11:28 AM
To: [EMAIL PROTECTED]
Subject: [PHP] form post
Is there a way to post input types that are "hidden" with out using a html
form in php? I kn
Is there a way to post input types that are "hidden" with out using a html form in
php? I know you can do it in java script with Form.submit().
So... if I have three hidden fields can I "post" them without pressing a button that
uses a form by using a php function?
Thanks in advance.
Kris
On Monday 25 March 2002 12:47, Kevin Maynard wrote:
> Maybe someone can shed some light on this. I have a form to handle a file
> upload, but through the same form I would like to gather data as well. For
> example, ID, Price & Picture.
>
> Now I set up my form to handle the file upload, and tha
Maybe someone can shed some light on this. I have a form to handle a file
upload, but through the same form I would like to gather data as well. For
example, ID, Price & Picture.
Now I set up my form to handle the file upload, and that all works great,
but I can't seem to access the other varia
Hi,
I use a few forms on my websites, one of them is to log in onto the site.
These sites all work well in MSIE and Netscape 3 and 4.7 BUT in Netscap 6
(6.0, 6.01 and 6.1) there is a strange effect: The result page starts
loading but the loading is broken before the end of the page. The php
s
Yeah,
I just can't figure out how to do it.
Anyone care to enlighten me?
Clayton Dukes
- Original Message -
From: Chris Anderson
To: Clayton Dukes
Sent: Wednesday, March 14, 2001 1:04 PM
Subject: Re: [PHP] form post without pathinfo
Sounds like you just ne
Hi :-)
How can I convert from this:
...snip
} elseif ($pathinfo == "/approve") {
do something...
to something that posts to itself without altering
the path?
My problem is, I'm using themes which are dependent
on the path, so if I post using the method above, the path changes and screw
28 matches
Mail list logo