Jump to content

vamsee

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://www.vanaparthy.com

Profile Information

  • Gender
    Not Telling

vamsee's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello, I have been trying to send an email to every email address in the table. The email goes fine without any hassles. But iam encountering a strange problem. The header variables are getting displayed in the email even though I dont echo them. Can some one please help me with this. I will send you the code so that you can tell me what I folly I am comitting and also the email that I recieved. The code to send email : [code] $sql_email= "SELECT emailAddress  FROM emails ORDER BY contactID"; if ($result_email = mysql_query($sql_email))   {   while ($dataRow_email = mysql_fetch_object($result_email)) { //################ SEND EMAIL (START) ####################       $to      = "$dataRow_email->emailAddress";   $subject = "RC - News Paper Service ";   $message = " <table width='95%' border='0' cellspacing='2' cellpadding='2'>   <tr>     <td>Dear User,</td>   </tr>   <tr>     <td>The following press clippings were uploaded today  :</td>   </tr>   <tr>     <td>$mytitle</td>   </tr>   <tr>     <td>To view the full articles login in to www.rsunit.com/?page=press at the press clipping service.</td>   </tr>   <tr>     <td>&nbsp;</td>   </tr>   <tr>     <td>Thank you,</td>   </tr>   <tr>     <td>Regards,</td>   </tr>   <tr>     <td>Research Center, Cyprus College </td>   </tr>   <tr>     <td>www.rsunit.com</td>   </tr> </table> "; $headers .= 'From: Research Center <info@rsunit.com>' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-7' . "\r\n"; mail($to, $subject, $message, $headers); //################ SEND EMAIL (END) ####################              } } [/code] The  email is like this [code]From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 From: Research Center Content-type: text/html; charset=iso-8859-7 Dear User, The following press clippings were uploaded today : Δέκα δράσεις για καινοτομία και ανταγωνιστικότητα||Κοινή πλατφόρμα: Ορίζοντες αλλά και ιδιαίτερη προσοχή|| To view the full articles login in to www.rsunit.com/?page=press at the press clipping service. Thank you, Regards, Research Center, Cyprus College www.rsunit.com[/code] Thank you in advance please help me out with this
  2. Dude I had the same problem before. You have to contact your hosting compnay regarding this error. It has nothing to do with your code. Tell them you face this problem and then they will rectify it.
  3. Dear redmarkbully I understand your answer even iam not interested to re invent wheel but, I work in small island of Cyprus,the google map website doesnot even show in its program. We have only 4 big cities in here and I have already gathered helicopter photographs of this place that has some significance. I just wanted to mark these places in the map and if some clicks on it have the same zoom effect as google maps and give a detailed photo with some description down. I dont need lanes, roads and stuff because the website is tourist based. I want to use PHP and Ajax for this purpose can you give me suggestions or sample scripts to start
  4. Dear Friends, I have a necessity to program from scratch and make a website that almost has the same functionality as google maps but for a different country altogether. I came to know that Ajax tehcnology was used to build this. I have around 4 years experience in PHP, javascript but never used Ajax until now. I would greatly appreciate if some one would tell me from where do I start. Does anyone have any sample scripts that can give me a head start and improvise. Please any help regarding this would be very helpful. Thank you, Very Kind Regards, Vamsee Vanaparthy
  5. Dear Friends, I have a necessity to program from scratch and make a website that almost has the same functionality as google maps but for a different country altogether. I came to know that Ajax tehcnology was used to build this. I have around 4 years experience in PHP, javascript but never used Ajax until now. I would greatly appreciate if some one would tell me from where do I start. Does anyone have any sample scripts that can give me a head start and improvise. Please any help regarding this would be very helpful. Thank you, Very Kind Regards, Vamsee Vanaparthy
  6. Dear All, I am using fck editor embedded php coding for my content management system. Please see the code of the form page [code]<!-- FORM PAGE --> $oFCKeditor = new FCKeditor('cmsTextEnglish') ; $oFCKeditor->BasePath = 'FCKeditor/'; $oFCKeditor->Value = "$dataRow->cmsTextEnglish"; $oFCKeditor->Create() ; <!-- FORM PAGE -->[/code] [b]ACTION PAGE CODE[/b] [code]<!-- CODE --> $cmsTextEnglish = $_POST['cmsTextEnglish'] ; $cmsTextGreek = $_POST['cmsTextGreek']; $title_en = $_POST['title_en']; $title_gr = $_POST['title_gr']; $lang = $_POST['lang']; $checkid = $_POST['checkid']; // update query for updating the content in to the content table $sql = "UPDATE cms SET englishTitle = '".$title_en."', cmsTextEnglish = '".$cmsTextEnglish."', latestUpdated = NOW() WHERE cmsID = '$checkid'"; mysql_query($sql); <!-- CODE --> [/code] My Problem is if the formatting or the text in the fckeditor field is big [large] then the text does not get updated. Do you think the the post variable is getting cutoff after passing the values or is it the problem of mysql database. I dont see any chnages even I submit the form in the database. For more information I made cmsTextEnglish field name as text datatype in Mysql. I would be very glad if some one could help me with this. Thanks in Advance, Vamsee Vanaparthy
×
×
  • 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.