php-general Digest 21 Dec 2011 15:36:10 -0000 Issue 7620
Topics (messages 316077 through 316078):
Online Form Creation
316077 by: Christopher Lee
Re: Problems with CURL using an HTTP Proxy on PHP5
316078 by: Matijn Woudt
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
Hello All,
I have two forms (see attached) that I would like to recreate and enable the
user to complete the form online. The data would be collected in a MySQL DB.
http://ucensys.com/activities.pdf
http://ucensys.com/guidelines.pdf
You will see that the forms are in a matrix format. I am having trouble
figuring out the best way to create the form and ensure the data is collected
properly in the DB. Any suggestions would be greatly appreciated.
Best,
Christopher
This message is for the designated recipient only and may contain privileged,
proprietary, or otherwise private information. If you have received it in
error, please notify the sender immediately and delete the original. Any other
use of the email by you is prohibited.
--- End Message ---
--- Begin Message ---
On Fri, Dec 16, 2011 at 10:09 PM, Francisco M. Marzoa Alonso
<[email protected]> wrote:
>
> I know it is NOT a problem with the website, because if I comment out
> the line curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, 1) disabling the use
> of a proxy, it works fine.
>
> I know the proxy is working fine, because if I use curl from command
> line like:
>
> curl -x 1.2.3.4:8888 http://mycheckhost.com/
>
CURLOPT_HTTPPROXYTUNNEL is not for enabling/disabling proxy, it's for
proxy tunneling. On the command line you should try curl --proxytunnel
-x 1.2.3.4:8888 http://mycheckhost.com/ to check if tunneling works.
Do you really need a tunnel?
Cheers,
Matijn
--- End Message ---