denoteone Posted September 12, 2010 Share Posted September 12, 2010 when I send a post variable to another page for processing using cURL and then I echo the variable I am getting extra slashes and periods this is where I set the fields to send. curl_setopt($ch, CURLOPT_POSTFIELDS,"name='. $name .'&email='. $email .'&serial='. $serialnumber .'"); this is what happens when I echo $serial on the processing page. \'. SLNM7IV6ZM98YJRXO8D5 .\' it should look like SLNM7IV6ZM98YJRXO8D5 Quote Link to comment Share on other sites More sharing options...
denoteone Posted September 12, 2010 Author Share Posted September 12, 2010 got it curl_setopt($ch, CURLOPT_POSTFIELDS,"name='. $name .'&email='. $email .'&serial=". $serialnumber ); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.