Jump to content

detox

Members
  • Posts

    27
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

detox's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. If I take out the delete cookie setcookie('tntcon',''); , the page returns blank with the number 1 in the upper left corner and wherever I move it in the script the error persists identifying the respecting line number. This is the line that executes the script if the condition is met. the above cookie statement delets the cookie if(md5($verif_box).'a4xn' == $_COOKIE['tntcon']){ If I could email you the script with all the correct urls displayed in the script I could pay you to get this going for me. I really am at my wits end on this. Thanks for your consideration
  2. It seems you're are implying that the set cookie thing is in the wrong place. But I cannot think of a reason why it needs to be specifically placed high or low in the script. I have read a number of times from different sources that you want the content sent after the headers are sent, but never read only after the cookies are sent. so I am confused at this point. Happy T-day!
  3. It is line one, I have included the files in post #15. I know this because, if the cookie fails the captcha would not validate. Thanks again.
  4. The cookie is working fine. I am still getting the header error "headers already sent by (output started at blah blah blah mailer600.php:1) in blah blah blah() I feel I am pretty close, just need a little help to wrap this up. Thanks!
  5. I tried what you said, look at this file. still the same. tried-this.txt
  6. Hello, I think I have put the script together correctly and cURL is enabled on the server but I am getting this error. Warning cannot modify header information - headers already sent by (output started at blah blah blah mailer600.php:1) in blah blah blah() I attached both files, the form page and the mailer script in hopes that you can but as you will see, there is no space there. I tried eliminating white space, I tried saving the mailer600 page in UTF and have played around with the meta encoding tags in the form file and tried taking off the ?encoding=UTF-8 off of the post url in mailer600.php without any luck. mailer600.php contact.php errorHeader.txt
  7. The previous web guy was using the third party reponse Url in the actual form page. So I wanted to hide it in a separate script and call it using php or curl instead of using the typical form action="httt://www.urletc.com" on the form page, hoping this will be a bit more secure. I have a few other things I may want to try also. Cheers! I will apply it and respond with update. Thanks all!
  8. I don't mean to seem like an un-conceptionalist and I appreciate your help and patience. But I am not 100% what you mean by: 1.) requested URL is expecting and you say: 2.) #### make sure you add them all #### what if I don't? 3.) $response = curl_exec($ch); echo $response; - does echo initiate the transfer to the ext Url? why do I need to echo the response? or at this point could I just echo Thank you for filling out the form or does echo $response need to be there? 3.) If I use Curl and I want the response page to remain at the original domain, would I just echo a thank you gesture from the script above or should it be a separate webpage? 4.) Thank you for providing the non-Curl Version. That made sense to me right away. I would like to use Curl as I never used it before. Is either way better to hide from form filling bots?
  9. I don't know how to call/execute curl_exec. at the end of my script. The browser needs to go to the RetUrl after the code is executed.
  10. mailerBeta1.txt Would you be so kind to check this file and tell me if it's correct or if I am missing something? I will then test it in a live sales environment. notice I did not use $the_results = curl_exec($ch); Thanks!
  11. Hi, I don't see where you made use of/defined $urlcode in the above example also confused about what you said: "page said in response to your POST" usually when something is posted, you don't need to see anything, Just curious. what exactly would the page say? the looped data maybe? I also don't see what part of that code opens the posted url link like the person that posted the first example of Curl $result = docurl('?field1=a&field2=b', 'https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8');
  12. Hi, is Curl part of native php? Also I am not sure that you looked at the file I uploaded. I have about 10 form fields. Is this supposed to loop to then last variable then submit the form through the action url (https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8)? I do not need to echo or print it.
  13. Hi, I need to send form data through this url using post method form action="https://www.testdomain.com/servlet/servlet.WebToWeb?encoding=UTF-8" method="POST except the action url needs to be changed to "mailer.php" I have a captcha script where the form action is sent to a file called "mailer.php" which sends the form data to an email address. I would like to modify this script to be able to send the form data to "mailer.php" and feed the collected form data from a users input to the URL above. I have attached a file where I replaced the mail() with location:header but I have a feeling I am making this involved than it should be. Any help appreciated.
  14. i used the original code below and substituted delete from with update and set i used a defined integer as value for update and it worked good night! if(isset($_REQUEST['555']) && $_REQUEST['555'] =="delete"){ @mysql_query("DELETE FROM frm_BSALE WHERE did=".$_REQUEST['delid']." and pidid ='".$_REQUEST['id']."'"); $_REQUEST['page'] = "protect"; }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.