Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani I wonder if the problem is that your php mail() function is configured to use SMTP in your php.ini file. A lot of SMTP servers switched over the past year or so to using XOAuth2 for authentication. A username + password in your config settings will no longer suffice to establish a connection. You can see me complaining about it [here](https://www.… Online subission forms not sending emails of submitted info Programming Web Development by david.tigner …. ` <?php // grab recaptcha library // require_once "recaptchalib.php"; // foreach ($_POST as $key => $value) { //echo '<p><… Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani The first thing I will say is never output `$_POST[]` content directly into the HTML without escaping it first. You are leaving yourself wide open to an HTML injection attack. Not only that, but you're also leaving yourself open to invalid HTML. All it takes is to wrap your user-sent variables with htmlspecialchars to make sure they're HTML-escaped… Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim In your code where you write `mail($to,$subject,$message,$headers);` if you want to get error messages or "do something if it fails" you need to alter it a bit to something like: if(mail($to,$subject,$message,$headers)){ //if successful do something }else{ //if error do something else } //or… Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner I do not have access to the PHP error log nor do I know how to check to see if mail() is returning false. The coding I'm using has worked (e.g. sent email with submitted info) for 13 years and now stopped working. My URL/PHP provider, Ionos, claims it won't send because all recipient email addresses need to be authenticated and a new STMP PHPmailer… Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner Re: Biiim's post, the coding you suggest to get error messages looks like something good to try and the PHP Mailer stuff looks the same as the generic code I got from Ionos. It sounds like all these methods are appearing favorable for solving the problem. This kind of troubleshooting can be very frustrating so thanks for your help. Re: PHP Contact Form to Send SMS Programming Web Development by geethu_3 Hello, nice tutorial .I used this form but not send sms . Could you please help me solve this problem. Re: PHP Contact Form to Send SMS Programming Web Development by pritaeas What exactly is your problem? As stated in a reply, SourceSMS is no longer available. Re: foreach get most recent date from xml Programming Web Development by diafol foreach($xml->account as $mess){ $date = ''; $output = array(); to $output = array(); foreach($xml->account as $mess){ $date = ''; Re: foreach() Programming Web Development by nav33n … every element in the array, assign its value to $value. foreach($array as $key => $value) assigns the index of the…;.$i."Value is".$array[$i]; } //is same as foreach($array as $key =>$value) { echo "Key is"… Re: Problem resetting 2D array. (After foreach loop?) Programming Web Development by edwinhermann foreach ($rows as $rows) is invalid - you can't use the … = array(array()); while ( $tmp = $db->fetch_assoc( $result ) ) { $rows[] = $tmp; } foreach ( $rows as $row) { echo '<br />'; echo $row['id… Re: Parse SOAP response in php Programming Web Development by diafol foreach($xml->Response__Depart->OriginDestinationOptions->OriginDestinationOption as $od){ Re: wierd conclusion about foreach statement Programming Software Development by serkan sendur >Foreach works on the string array, not on the function call. yeah that is what i concluded and surprised. i have been using c# for 5 years to learn this today!! Re: I am getting foreach loop error in php Programming Web Development by vibhaJ foreach takes array as an argument. $values must be an array.echo $value and you will know that. html field name should be 'check[]' will make $values an array. codeigniter pass stuff to view Programming Web Development by iamthwee foreach ($query->result() as $row) { echo anchor("forum/topic/$… output it in a loop. say this in my view foreach blah as row row->name row->topicauthor row… local folders and to display as album Programming Software Development by sai.ande <% foreach (var dir in new DirectoryInfo("C:/Photos").GetDirectories()) { %&…" width = "50"/></td> <% foreach (var file in dir.GetFiles()) { %> <td> File… i wont help Programming Web Development by andyy121 foreach($search_exploded as $search_each) { @$x++; if($x==1) @$construct .="keywords … keywords LIKE '%$search_each%'"; } i just wont to understand this foreach ($search_exploded as $search_each) what is the meaning Codeigniter How to pass stuff from model to view Programming Web Development by iamthwee foreach ($query->result() as $row) { echo anchor("forum/topic/$… Is this a good idea? Programming Web Development by centenond foreach($vip_users as $vip_user){ $extra_info = fetch_profile_pic($vip_user); /* in this function it connect to mysql db */ $profile_picture[$vip_user] = $extra_info['ProfilePic']; } its seems like a bad idea to me , what do u guys think? and how can do this in a proper way Thanks how to bind value from one database to combobox Programming Software Development by ramkishor foreach (DataRow udr in udt.Rows) { defaultval = udr["result"].… multiple insert size not working array problem Programming Web Development by madantwo foreach ($_SESSION["cart_item"] as $item ){ $name=$item['name']; $a=$… Re: help for fix the error.. Programming Software Development by Mitja Bonca Foreach is a loop. So you cannot assign it to read … string. You did like: [CODE] string a = "a"; foreach(string b in a){} //this is an error! [/CODE] You… like: [CODE] string[] array = {"a", "b"}; foreach(string b in array) { //get each string seperated in here… Re: help for fix the error.. Programming Software Development by Kath_Fish /*@@*/ foreach (String sort in sb.ToString().Trim()) This coding always give … don't know how to fix it. Because now the foreach loop need to read from the StringBuilder(sb.ToString().Trim…} :3 {2,3} :1 {2,4} :1 is it my foreach loop got problem..??? Re: Best way to iterate object 'collections' Programming Web Development by pzuurveen foreach( $array as $index => $value) { echo "$index , $value"; } 0 , first 1 , second 2 , third Re: ARSORT count result from intersect array multidimensional Programming Web Development by broj1 …for inner loop, needed for sorting $count_arr_temp = array(); foreach ($data2 as $in2 => $h2) { $match … sort temporary array rsort($count_arr_temp); // didplay sorted elements foreach($count_arr_temp as $count) { echo $count; } // add… Re: Splitting array seperatley Programming Web Development by diafol foreach($data as $datum) $message .= StringifyCartArray($datum); Re: how to add data to variable without overwritting Programming Web Development by diafol … this: $file = array('myfile1.txt','myfile2.txt',...); $file_data=""; foreach($file as $f){ if(file_exists($f)){ $d=file_get_contents($f); $file_data… Re: Checkbox Loop in PHP #2 Programming Web Development by diafol foreach($checkbox as $i){ $sql2 = "INSERT INTO assignments SET date = … can't see how this *used* to work for you... foreach($checkbox as $i){ $sql2 = "INSERT INTO assignments SET date… Re: Load images from category in modal window Programming Web Development by diafol foreach ($query as $row) { $img = '<img src="'.$…quot;); $stmt->execute(array($id)); $data = fetchAll(PDO::FETCH_ASSOC); foreach ($data as $row) { $img .= "<img src='{$… Re: Out of memory With PERL on a CYGWIN/ Win 2K3 machine Programming Software Development by KevinADC foreach is the wrong command to loop through a file but I am not sure if it is in anyway contributing to the problem. But try this: while (<INPUTFILE>) { See if it helps.