Re: [PHP] Form Post to different domain

2012-02-16 Thread Matijn Woudt
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

Re: [PHP] Form Post to different domain

2012-02-16 Thread Daniel Brown
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

Re: [PHP] Form Post to different domain

2012-02-16 Thread Matijn Woudt
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

Re: [PHP] Form Post to different domain

2012-02-16 Thread Daniel Brown
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

Re: [PHP] Form Post to different domain

2012-02-16 Thread Tedd Sperling
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

Re: [PHP] Form Post to different domain

2012-02-14 Thread Rick Dwyer
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

Re: [PHP] Form Post to different domain

2012-02-14 Thread Daniel Brown
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

Re: [PHP] Form Post to different domain

2012-02-14 Thread Rick Dwyer
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

Re: [PHP] Form Post to different domain

2012-02-14 Thread Daniel Brown
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

Re: [PHP] form post question

2010-10-28 Thread Kevin Kinsey
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

Re: [PHP] form post question

2010-10-28 Thread Floyd Resler
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 > >

Re: [PHP] form post question

2010-10-28 Thread Bastien Koert
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 > >      

Re: [PHP] form POST file upload mystery

2003-03-05 Thread Adam Voigt
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

Re: [PHP] form post

2002-06-12 Thread Chris Boget
> 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

RE: [PHP] form post

2002-06-12 Thread Lazor, Ed
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 know you can d

Re: [PHP] Form & POST

2002-03-24 Thread Jason Wong
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

Re: [PHP] form post without pathinfo

2001-03-18 Thread Clayton Dukes
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