Re: Cannot run exe from asp.net Programming Web Development by lennyli … some modules/libraries missing/not installed?? I ran the command echo %PATH% and the output did not have the word "… and ticked the option "add to path", the echo %PATH% command didnt seem to show what i expected. Re: Create Infinite Loop In Bash Hardware and Software Linux and Unix by asadalikhan while true; do echo "Running..."; sleep 60; done This runs forever, printing "Running..." every 60 seconds. No script file needed, just drop it in the terminal and you're good. Re: Cannot run exe from asp.net Programming Web Development by Salem … and ticked the option "add to path", the echo %PATH% command didnt seem to show what i expected. Yeah… send checkbox to email using phpmailer Programming Web Development by ianhaneybs …; class="form-check-input" value="<?php echo !empty($postData['oneway'])?$postData['oneway']:''; ?>"> <…; class="form-check-input" value="<?php echo !empty($postData['return'])?$postData['return']:''; ?>"> <… Contact form does not working Programming Web Development by juan_35 …['message']; $headers = 'From:' . $email; if(mail($email_to, $subject, $message, $headers)){ echo 'sent'; // we are sending this text to the ajax request… telling it that the mail is sent.. }else{ echo 'failed';// ... or this one to tell it that it wasn… Re: Contact form does not working Programming Web Development by Biiim … the mail. */ $mail->send(); } catch (Exception $e) { /* PHPMailer exception. */ echo $e->errorMessage(); } ?> How to connect to the Pinterest API using PHP? Programming Web Development by FarrisFahad …; . json_encode($data, JSON_PRETTY_PRINT)); } // Successfully received access token $accessToken = $data['access_token']; echo "Access Token: " . htmlspecialchars($accessToken); ?> Here is the… Re: Best way to find a segment of code that matches a given input segment? Programming Software Development by Dani I'll echo rproffitt in that *anything* is feasible with the right tools, … Re: send checkbox to email using phpmailer Programming Web Development by Dani I would begin by making sure that you sanitize input passed in via $_POST. This ensures that someone doesn't pass in something like `$POST['oneway'] = '</p>Foo!<strong>Blah</strong>` and completely screw up your HTML, or, worse yet, inject Javascript into your HTML. <p><b>One Way:</b> ' . … Re: Contact form does not working Programming Web Development by Salem Firstly, I'd suggest you edit your post to remove your real email address from the code. https://www.php.net/manual/en/function.mail.php Some things to try. 1. Headers is an optional parameter, can you send without the headers parameter? Many examples I've seen suggest there should be a space after the :, as in `'From: '` 2. Sanitise … Re: Contact form does not working Programming Web Development by Dani > Firstly, I'd suggest you edit your post to remove your real email address from the code. I have replaced their email address with a dummy email. > Sanitise your subject and/or message. You can't in general feed whatever was typed into your dialog directly into mail. Salem is referring to passing each of those variables in … Re: Contact form does not working Programming Web Development by gediminas.bukauskas.7 WEB security now rejects mail sent from any computer. Select some mail provider and send mail using it. Using certificated WEB serve is an another solution. Obtain legal certificate, register it on WEB server (IIS, Apache, NGINX, ...) Re: Contact form does not working Programming Web Development by Dani I'm not *entirely* sure what gediminas is referring to, but there are services out there such as Zoho Mail, SendGrid, ConstantContact, Mailchimp, Hostinger, etc. which, for the most part, cost money (some are rather inexpensive), but the benefit to using them is that they ensure you're never sending emails to non-existant email addresses, email … Re: Contact form does not working Programming Web Development by gediminas.bukauskas.7 Follow this article: https://stackoverflow.com/questions/4595730/sending-email-from-localhost Re: Contact form does not working Programming Web Development by programmer_5 Reducing spam bots I strongly suggest to use SMTP, I would prefer to use PHPMailer which get more secure and handle professionally templates. Re: Contact form does not working Programming Web Development by gediminas.bukauskas.7 It was a time when anybody could to send a mail from Apache (or IIS) installed on local computer but internet spammers have used that feature for evil purposes. Now you can send emails from an officially registered server only. Even if you manage to send a letter somehow it will not reach the recipient or will be automatically will be placed into … Re: Contact form does not working Programming Web Development by webmaker Apart from doing some protection to your code, it will more than likely be your ISP not allowing the mail function to work. We have had to get an email acct with permissions allocated to each websites form by our providers. Re: Contact form does not working Programming Web Development by Dani > Emailing became more restrictive in the last year Are you referring to SPF, DKIM, and DMARC? Re: Contact form does not working Programming Web Development by Biiim Damn, you caught me out on that! I went generalized cause I forgot what it was that happened. But I dug it up: [Google Search:Gmail email restriction in Feb 2024](https://www.google.com/search?q=gmail+restriction+on+emailing+in+february+2024) Is what I was thinking of - but I think my web hosting providors were also complaining about my badly… Re: How to connect to the Pinterest API using PHP? Programming Web Development by Dani Never trust ChatGPT to write fully flushed out code for ya :) Pinterest uses OAuth to authorize your app on behalf of your app's end-user, if that makes sense. For example, your goal is for your end-user to load up your app, and have access to *their* Pinterest account. What OAuth does is give your end-user the ability to grant your app … Re: How to connect to the Pinterest API using PHP? Programming Web Development by Dani Oh, it looks as if the tutorial was for the old DaniWeb API that no longer exists. The [DaniWeb Connect API](https://www.daniweb.com/connect/developers) is also OAuth-based and has some of its own documentation. echo google problem Programming Web Development by j_limboo … are greatly appreciated [CODE]<?php if (empty($_GET['q'])){ echo "What are you doing?"; } else { /* getting value from…&hl=en&ie=UTF-8&filter=2'); echo $query; } ?> [/CODE] echo prev,current,next Programming Web Development by code739 echo prev($result_row).'prev-'; echo curent($result_row).'cure-'; echo next($result_row); hi fellas as what you see above i … echo $_GET[x] changing it into variable... Programming Web Development by j_limboo echo $_GET[x] changing it into variable... any code sugessions Please advice new to PHP some inputs first change $_GET[x] to variable and then echo echo ''error Programming Web Development by shhh echo "<script type='text/javascript'>alert('. $row['working_hours'] .');</script>"; Re: Echo dynamic link? Programming Web Development by Virtualbase echo "<a href='../file/".$info['file']."'>LINK</a>"; That's how link is written in ECHO statement. Re: echo result from database Programming Web Development by Jamblaster echo ("<b>Your Total Income is $dtotal</b>"); <!--here you have a typo--> $dtotal is undefined, $total is defined. If you fix that one typo it might fix the problem. Re: echo a href help Programming Web Development by TommyBs echo "<a href=\"".$url[1]."\">".$id[1]."</a>"; try that instead Re: echo $row logo image or placeholder image Programming Web Development by LastMitch >echo $row logo image or placeholder image Maybe something like this: &… Re: echo Programming Software Development by Salem [URL="http://unixhelp.ed.ac.uk/CGI/man-cgi?echo"]echo -e[/URL] You're not printing a \n, you're printing a literal linefeed. If you had written echo "this is a\nmoron" you would still be in the same position as with all the \v's