cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: post php code

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 6 Nov 2006 09:18:44 +0100 (CET)

On Mon, 6 Nov 2006, Kelton Woodman wrote:

> Need some help here. I am trying to post some html code via curl. The
> problem is that when I urlencode the variable it messes up the html code and
> so instead of being read by the browser as html code it is outputed as text
> (url encoded text).

So urlencode only the pieces that you have to encode and leave the rest as-is!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-11-06