php-general Digest 24 Nov 2010 19:13:53 -0000 Issue 7052

2010-11-24 Thread php-general-digest-help
php-general Digest 24 Nov 2010 19:13:53 - Issue 7052 Topics (messages 309646 through 309650): Re: curl and variable parameters in hyperlink 309646 by: Bob Keightley 309647 by: Adam Richardson 309649 by: Daniel Molina Wegener Re: is this thing on?? 309648 by:

Re: [PHP] curl and variable parameters in hyperlink

2010-11-24 Thread Adam Richardson
foreach ($_POST as $key=$post) { $post=str_replace( , +, $post); $url.=$key.=.$post.; } Hi Bob, One thing I see is that you're appending values on to the end of a url that already has 2 values, so you should place the at the beginning of your line instead of at the

Re: [PHP] curl and variable parameters in hyperlink

2010-11-24 Thread Daniel Molina Wegener
On Wednesday 24 November 2010, Bob Keightley bob.keight...@virgin.net wrote: I already have a curl script that gets the web page, but it doesn't pass the parameters Hello Bob, Being new to PHP I haven't the first idea how to modify it so that it does. Script is as follows: $url =

[PHP] Suppressing error from displaying

2010-11-24 Thread Ron Piggott
I am using this syntax to check for a valid e-mail address list($userName, $mailDomain) = split(@, $buyer_email); if (checkdnsrr($mailDomain, MX)) { if no domain is provided ( ie e-mail address is something like “ron” with no @ ) the following error is displayed: Warning: checkdnsrr()

Re: [PHP] Suppressing error from displaying

2010-11-24 Thread Thiago H. Pojda
On Wed, Nov 24, 2010 at 5:13 PM, Ron Piggott ron.pigg...@actsministries.org wrote: I am using this syntax to check for a valid e-mail address list($userName, $mailDomain) = split(@, $buyer_email); if (checkdnsrr($mailDomain, MX)) { if no domain is provided ( ie e-mail address is something

Re: [PHP] Suppressing error from displaying

2010-11-24 Thread Daniel P. Brown
On Wed, Nov 24, 2010 at 14:13, Ron Piggott ron.pigg...@actsministries.org wrote: I am using this syntax to check for a valid e-mail address list($userName, $mailDomain) = split(@, $buyer_email); if (checkdnsrr($mailDomain, MX)) { if no domain is provided ( ie e-mail address is something

Re: [PHP] Suppressing error from displaying

2010-11-24 Thread Bastien Koert
On Wed, Nov 24, 2010 at 2:13 PM, Ron Piggott ron.pigg...@actsministries.org wrote: I am using this syntax to check for a valid e-mail address list($userName, $mailDomain) = split(@, $buyer_email); if (checkdnsrr($mailDomain, MX)) { if no domain is provided ( ie e-mail address is something

Re: [PHP] curl and variable parameters in hyperlink

2010-11-24 Thread Bob Keightley
Guess I've not explained this very well. The external page I am fetching using another curl script has asp query hyperlinks in it. I do not know the variable names in each query or the values they have. All I want to do is replace the external url referenced in those links with a url which is

RE: [PHP] Can't find existing file

2010-11-24 Thread Tommy Pham
-Original Message- From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of Daniel P. Brown Sent: Monday, November 22, 2010 12:08 PM To: Dee Ayy Cc: PHP General Subject: Re: [PHP] Can't find existing file snip so how are we to know?); (h) some other PEBKAC issue; snip

RE: [PHP] curl and variable parameters in hyperlink

2010-11-24 Thread Tommy Pham
-Original Message- From: Bob Keightley [mailto:bob.keight...@virgin.net] Sent: Wednesday, November 24, 2010 11:25 AM To: php-general@lists.php.net Subject: Re: [PHP] curl and variable parameters in hyperlink Guess I've not explained this very well. The external page I am

RE: [PHP] curl and variable parameters in hyperlink

2010-11-24 Thread Bob Keightley
Thanks to all for your interest so far but as I said, new to PHP. Changed POST to GET and all now working fine! Tommy, the third party site is fully aware of what I am doing. We pay them to use the data, as do lots of other companies in our industry. Supplying data is what they do. We could