<M/> 170 Why so serious? Featured Poster

not sure what your asking, (could just be me being tired...:( ) but can't you just remove blueberry cheesecake from the array?

$cheesecake = array("Apple Cheesecake", "Blueberry Cheesecake", "Strawberry Cheesecake", "Mango Cheesecake", "Raspberry Cheesecake");

I mean that would definetly get rid of blueberry cheesecake if you delete... so it will look like this...

$cheesecake = array("Apple Cheesecake", "Strawberry Cheesecake", "Mango Cheesecake", "Raspberry Cheesecake");

If there is another problem... it could be from somewhere else in your php...

(I CAN'T BELIEVE I AM ACTUALLY HELPING YOU!!! YOU ALWAYS ANSWER MY QUESTIONS, NOW I GET TO PARTICIPATE IN ANSWERING YOURS!!! WOOHOO)

<M/> 170 Why so serious? Featured Poster

*don't want it to be easy

<M/> 170 Why so serious? Featured Poster

I thought maybe putting a div tag over the images would work... but then that will hide some of the capbilities like the logo (click it to go to home page)....

I know that people can still steal from me... but i don't it to be easy for thieves...

<M/> 170 Why so serious? Featured Poster

well... does php count?

<M/> 170 Why so serious? Featured Poster

Yes, I did change my avatar into twitter :) Just to be a little goofy... next time i'll do Facebook... if they ever had a cool icon like twitter... (I used to have apple)

second, I know that even though i disable the right click ability it won't be 100% "bullet proof" but I rather have 80% people (those that know how to take images) blocked then have 100% being able to "mug" me...

<M/> 170 Why so serious? Featured Poster

Okay, so how would I embed the images?

<M/> 170 Why so serious? Featured Poster

Well yes I could do that, but right now I want to email them a confirmation saying that we got their inquiry and show them what they submitted...

So how would i do that

<M/> 170 Why so serious? Featured Poster

okay, i fixed part 1 of my issue, I just need help with this part:

user doesn't recieve confirmation...

<M/> 170 Why so serious? Featured Poster

How do I turn an image (lets say a logo) into a character... I don't want images filtered out because of the email providers (Gmail, Yahoo, etc.).... So I want them to always show up...

<M/> 170 Why so serious? Featured Poster

I am trying to add a feature into my webform that allows users to recieve text messages that confirm their web form submission... and I am kind of lost in doing so... Can someone guide me... I wasn't sucessful with google for the heads up....

<M/> 170 Why so serious? Featured Poster

I wrote a php email that sends me an email whenever a web form has been submitted. Good thing is that I recieve the email, but bad thing is that I get multiple emails (3x)... one is a duplicate of the table I receieve and another just shows the HTML styling...

Plus another problem is that the user doesn't recieve confirmation...
I will paste in my code if it is necessary!

<M/> 170 Why so serious? Featured Poster

JorgeM, that is another way of wording what I mean...

I know they can still take snapshots, but I don't want stealing images that easy for them (right click + save)....

So can you tell me how to do it anyway...?

<M/> 170 Why so serious? Featured Poster

I have always been curious on how to do this... how do you make pictures un-draggable from your page?

(i.e) Somebody goes on my page and just drags my logos off my page.

So what do I do to in order to make an image "un-stealable".

<M/> 170 Why so serious? Featured Poster

I am building a form, and I can't collect whatever gets submitted into my email
Here is my php

<!DOCTYPE HTML>



<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Untitled Document</title>
</head>

<body>
<?php
$fn = $_POST['fn'];
$name = $_POST['name'];
$lastname = $_POST['lastname'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$comments = $_POST['comments'];
$to = "email@gmail.com";
$subject = "Form Submission";

    $headers = "From: " . strip_tags($_POST["req-email"]) . "\r\n";
    $headers .= "Reply-To: ". strip_tags($_POST["req-email"]) . "\r\n";
    $headers .= "CC: email2@gmail.com\r\n"; //Check on 
    $headers .= "MIME-Version: 1.0\r\n"; //Check version
    $headers .= "Content=Type: text/html; charset=ISO-8859-1\r\n"; /* Check "/" vs. "\"  */


    $message = '<html><head>';


    $message .= '<style>';
    $message .= 'h1 {color:#000066;}';
    $message .= "table {border:1px solid black;}";
    $message .= "</style></head><body>";
    $message .= "<h1>Hello, this form has been submitted!</h1>";
    $message .= '<img src= "logo.png" />';
    $message .= '<table rules="all" style="border-color: #ffb300;" cellpadding="10">';
    $message .= '<tr style="background: #ffb300;"><td><strong>Name:</strong> </td><td>' . strip_tags($_POST['req-name']) . '</td></tr>';
    $message .= '<tr><td><strong>Email:</strong> </td><td>' . strip_tags($_POST['req-email']) . '</td></tr>';
    $message .= '<tr><td><strong>Phone:</strong> </td><td>' . strip_tags($_POST['req-phone']) . '</td></tr>';
    $message .= '<tr><td><strong>Comments:</strong> </td><td>' .strip_tags($_POST['comments']) . '</td></tr>';
$message .= "</table>";
$message .= "</body></html>";
mail($to, $subject, $message, $headers);

?>

<?php 

$Name = ""; //senders name 
$email = ""; //senders e-mail adress 
$recipient = "aol@gmail.com"; //recipient 
$mail_body = "Form Submit"; //mail body 
$subject = "Form Submit"; //subject 
$header = "From: ". $Name . " <" . $email . ">\r\n"; //optional headerfields 

mail($recipient, $subject, $mail_body, $header); //mail command :) 
?>

<?php
$to      = 'email@gmail.com';
$subject = 'Form Submit';
$message = 'Thank You For Submitting';
$headers = 'From: email@gmail.com' . "\r\n" . …
<M/> 170 Why so serious? Featured Poster

hmmm.... i know that godaddy is secure.... but not sure about others... (unless you do it yourself).

Going another route is your choice...

<M/> 170 Why so serious? Featured Poster

thank you :) and is there a specific value you have to donate in order to customize your "rank"?

<M/> 170 Why so serious? Featured Poster

Quick question... how do you become a paid subscriber?

<M/> 170 Why so serious? Featured Poster

oh wow, thanks!

<M/> 170 Why so serious? Featured Poster

Security is always a concern... You don't want to be hacked in a way don't you?

<M/> 170 Why so serious? Featured Poster

What are all the posting ranks, because I just noticed that (because I was blind)... So what's all the scales for them? If you don't know what I mean, I am talking about that rank you get that displays right under your avatar...

<M/> 170 Why so serious? Featured Poster

Do both... You need both to expand... If both are going to make you bigger why would ou question which is better?

<M/> 170 Why so serious? Featured Poster

GoDaddy
000webhost

There are many many others, but those are two popular ones... I prefer GoDaddy personally...

<M/> 170 Why so serious? Featured Poster

Can you tell me what goes on if I do have those capabilities... I can try to follow that procedure? (maybe I'll find out there?)

<M/> 170 Why so serious? Featured Poster

how do i show inputted data in an email... I can't see what people inputted...

And another question is how do I show the data all styled?

here is the code responsible for styling and what I want to see... but i don't get this... instead I get something else... so i might have to send you guys the link so you guys can see...

<?php
$fn = $_POST['fn'];
$name = $_POST['name'];
$lastname = $_POST['lastname'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$comments = $_POST['comments'];
mail($to, $subject, $message, $headers);
$to = "gmail@gmail.com";
$subject = "Form Submission";
    $headers = "From: " . strip_tags($_POST["req-email"]) . "\r\n";
    $headers .= "Reply-To: ". strip_tags($_POST["req-email"]) . "\r\n";
    $headers .= "CC: gmail@yahoo.com.com\r\n";
    $headers .= "MIME-Version: 1.0\r\n";
    $headers .= "Content=Type: text/html; charset=ISO-8859-1\r\n";
    $message = "<html><head>";
    $message = "<style>";
    $message = "h1 {color:#blue;}";
    $message = "table {border:1px solid black;}";
    $message = "</style></head><body>";
    $message = "<h1>Hello, this form has been submitted!</h1>";
    $message .= '<img src= "logo.png" />';
    $message .= '<table rules="all" style="border-color: #ffb300;" cellpadding="10">';
    $message .= '<tr style="background: #ffb300;"><td><strong>Name:</strong> </td><td>' . strip_tags($_POST['req-name']) . '</td></tr>';
    $message .= '<tr><td><strong>Email:</strong> </td><td>' . strip_tags($_POST['req-email']) . '</td></tr>';
    $message .= '<tr><td><strong>Phone:</strong> </td><td>' . strip_tags($_POST['req-phone']) . '</td></tr>';
    $message .= '<tr><td><strong>Comments:</strong> </td><td>' .strip_tags($_POST['comments']) . '</td></tr>';
$message .= "</table>";
$message .= "</body></html>";
?>
<M/> 170 Why so serious? Featured Poster

I believe I have remote access... honestly I'm not sure... When I attempted to connect I kept getting an unidentified error...

<M/> 170 Why so serious? Featured Poster

Well, I have to connect dreamweaver to godaddy mysql... i think I just word things really badly, but I set up a new DB on GoDaddy, and what should I do from there?

<M/> 170 Why so serious? Featured Poster

Alright, that actually is helpful for me because I always forget to fave things manually...

<M/> 170 Why so serious? Featured Poster

Quick question, how do you add a favorite or is it automatically done based on your activity on where you post?

My feedback is that the page looks nice and useful!... I now know where I am going to be finding more resources :)

Well done!

<M/> 170 Why so serious? Featured Poster

I'm sorry if I misunderstood this but do you mean a cPanel in GoDaddy or in DW?

<M/> 170 Why so serious? Featured Poster

I have a form, and I don't know why I can't receive a single email, I used to but now I can't...

<!DOCTYPE HTML>
<?php
  require_once('recaptchalib.php');
  $privatekey = "MY-PRIVATE-KEY";
  $resp = recaptcha_check_answer ($privatekey,
                                $_SERVER["REMOTE_ADDR"],
                                $_POST["recaptcha_challenge_field"],
                                $_POST["recaptcha_response_field"]);
?>

<?php
$fn = $_POST['fn'];
$name = $_POST['name'];
$lastname = $_POST['lastname'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$comments = $_POST['comments'];
mail($to, $subject, $message, $headers);
$to = "myemail@gmail.com";
$subject = "Form Submission";
    $headers = "From: " . strip_tags($_POST["req-email"]) . "\r\n";
    $headers .= "Reply-To: ". strip_tags($_POST["req-email"]) . "\r\n";
    $headers .= "CC: email2@gmail.com\r\n";
    $headers .= "MIME-Version: 1.0\r\n";
    $headers .= "Content=Type: text/html; charset=ISO-8859-1\r\n";
    $message = "<html><head>";
    $message = "<style>";
    $message = "h1 {color:#blue;}";
    $message = "table {border:1px solid black;}";
    $message = "</style></head><body>";
    $message = "<h1>Hello, this form has been submitted!</h1>";
    $message .= '<img src= "logo.png" />';
    $message .= '<table rules="all" style="border-color: #ffb300;" cellpadding="10">';
    $message .= '<tr style="background: #ffb300;"><td><strong>Name:</strong> </td><td>' . strip_tags($_POST['req-name']) . '</td></tr>';
    $message .= '<tr><td><strong>Email:</strong> </td><td>' . strip_tags($_POST['req-email']) . '</td></tr>';
    $message .= '<tr><td><strong>Phone:</strong> </td><td>' . strip_tags($_POST['req-phone']) . '</td></tr>';
    $message .= '<tr><td><strong>Comments:</strong> </td><td>' .strip_tags($_POST['comments']) . '</td></tr>';
$message .= "</table>";
$message .= "</body></html>";
?>


<?php
if (isset($_REQUEST['email']))
//if "email" is filled out, send email
  {
  //send email
  $email = $_REQUEST['email'] ;
  $subject = $_REQUEST['subject'] ;
  $message = $_REQUEST['message'] ;
  mail("myemail@gmail.com", $subject,
  $message, "From:" . $email);
  echo "Thank you for using our mail form";
  }
else
//if "email" is not filled out, display the form
  {
  echo "<form method='post' action='mailform.php'>
  Email: <input name='email' type='text' /><br />
  Subject: <input name='subject' type='text' /><br />
  Message:<br />
  <textarea name='message' rows='15' cols='40'>
  </textarea><br /> …
<M/> 170 Why so serious? Featured Poster

I forgot to mention that when I called GoDaddy on why I couldn't connect to MySQL, they said it was my problem...

<M/> 170 Why so serious? Featured Poster

I should've mentioned I also own coda 2, that also has the same problem... But i am still searching for ways of connecting to a DB... and I have read the article :D

<M/> 170 Why so serious? Featured Poster

Is there a way to do this purely out of php because for some odd reason I can't connect to mysql with DreamWeaver?

But thank you for your quick response :)

<M/> 170 Why so serious? Featured Poster

I have a csv file and I am not sure how to set dates on it... For example, if somebody submits a form and its information shows up in the csv but has a date that shows when it was submitted... Can someone help me with this?

<M/> 170 Why so serious? Featured Poster

Well, what I meant to say is that the table that I want to see in the email shows up ontop of the form..

<?php
$fn = $_POST['fn'];
$name = $_POST['name'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$comments = $_POST['comments'];
mail($to, $subject, $message, $headers);
$to = "email@gmail.com";
$subject = "Form Submission";
    $headers = "From: " . strip_tags($_POST["req-email"]) . "\r\n";
    $headers .= "Reply-To: ". strip_tags($_POST["req-email"]) . "\r\n";
    $headers .= "CC: email2@gmail.com\r\n";
    $headers .= "MIME-Version: 1.0\r\n";
    $headers .= "Content=Type: text/html; charset=ISO-8859-1\r\n";

    $message = "<html><head>";
    $message = "<style>";
    $message = "h1 {color:#blue;}";
    $message = "table {border:1px solid black;}";
    $message = "</style></head><body>";

    $message = "<h1>Hello, this form has been submitted!</h1>";

    $message .= '<img src= "logo.png" />';
    $message .= '<table rules="all" style="border-color: #ffb300;" cellpadding="10">';
    $message .= '<tr style="background: #ffb300;"><td><strong>Name:</strong> </td><td>' . strip_tags($_POST['req-name']) . '</td></tr>';
    $message .= '<tr><td><strong>Email:</strong> </td><td>' . strip_tags($_POST['req-email']) . '</td></tr>';
    $message .= '<tr><td><strong>Phone:</strong> </td><td>' . strip_tags($_POST['req-phone']) . '</td></tr>';
    $message .= '<tr><td><strong>Comments:</strong> </td><td>' .strip_tags($_POST['comments']) . '</td></tr>';
$message .= "</table>";
$message .= "</body></html>";
?>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PHP Form</title>
</head>
<body>
<form id="form1" name="form1" method="post" action="<?=$_SERVER['PHP_SELF'];?>">
<table class="formatTblClass">
<tr>
<th colspan="6"><?=$message;?></th>
</tr>
<tr>
<td width="68"><span>Name</span></td>
<td width="215"><input class="<?=$aClass;?>" type="text" name="fn" id="fn" /></td>
</tr>
<tr>
<td><span>Email</span></td>
<td><input class="<?=$aClass;?>" type="text" name="email" id="email" /></td>
</tr>
<tr>
<td><span>Phone</span></td>
<td><input class="<?=$aClass;?>" type="text" name="phone" id="phone" /></td>
</tr>
<tr>
<td colspan="6"><span>Comments
<textarea name="comments" id="comments" col="45" rows="5"></textarea>
</span>
<div align="center">
<input type="submit" name="Submit" id="Submit" value="Submit" />
</div></td>
</tr>
</table>
</form>
<?php
$fn = $_POST['fn'];
$name = $_POST['name'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$comments = $_POST['comments'];
//$emailMe …
<M/> 170 Why so serious? Featured Poster

best way to start is off of books and sites... You can use google to find sources. But some specific ones are Lynda.com, w3schools.com, DaniWeb.com, and any envato resources (that's if you want to have a little fun:))...

So yeah, make google your friend and you will learn plenty!

jspence29 commented: I wouldn't count w3schools as reputable. Search w3fools into google +0
<M/> 170 Why so serious? Featured Poster

Sorry guys, here is my code if you need it in order to assist me:

<?php

$fn = $_POST['fn'];
$name = $_POST['name'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$comments = $_POST['comments'];

mail($to, $subject, $message, $headers);

$to = "email@gmail.com";

$subject = "Form Submission";

    $headers = "From: " . strip_tags($_POST["req-email"]) . "\r\n";
    $headers .= "Reply-To: ". strip_tags($_POST["req-email"]) . "\r\n";
    $headers .= "CC: email2@gmail.com\r\n";
    $headers .= "MIME-Version: 1.0\r\n";
    $headers .= "Content=Type: text/html; charset=ISO-8859-1\r\n";

    $message = "<html><body>";
    $message = "<h1>Hello, this form has been submitted!</h1>";
    $message = "</body></html>";

    $message = "<html><body>";
    $message .= '<img src= "logo.png" />';
    $message .= '<table rules="all" style="border-color: #ffb300;" cellpadding="10">';
    $message .= '<tr style="background: #ffb300;"><td><strong>Name:</strong> </td><td>' . strip_tags($_POST['req-name']) . '</td></tr>';
    $message .= '<tr><td><strong>Email:</strong> </td><td>' . strip_tags($_POST['req-email']) . '</td></tr>';
    $message .= '<tr><td><strong>Phone:</strong> </td><td>' . strip_tags($_POST['req-phone']) . '</td></tr>';
    $message .= '<tr><td><strong>Comments:</strong> </td><td>' .strip_tags($_POST['comments']) . '</td></tr>';

$message .= "</table>";
$message .= "</body></html>";

?>

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PHP Form</title>
</head>

<body>
<form id="form1" name="form1" method="post" action="<?=$_SERVER['PHP_SELF'];?>">
<table class="formatTblClass">
<tr>
<th colspan="6"><?=$message;?></th>
</tr>
<tr>
<td width="68"><span>Name</span></td>
<td width="215"><input class="<?=$aClass;?>" type="text" name="fn" id="fn" /></td>
</tr>
<tr>
<td><span>Email</span></td>
<td><input class="<?=$aClass;?>" type="text" name="email" id="email" /></td>
</tr>
<tr>
<td><span>Phone</span></td>
<td><input class="<?=$aClass;?>" type="text" name="phone" id="phone" /></td>
</tr>
<tr>
<td colspan="6"><span>Comments
<textarea name="comments" id="comments" col="45" rows="5"></textarea>
</span>
<div align="center">
<input type="submit" name="Submit" id="Submit" value="Submit" />
</div></td>
</tr>
</table>
</form>

<?php

$fn = $_POST['fn'];
$name = $_POST['name'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$comments = $_POST['comments'];
//$emailMe = (isset($_POST['emailMe'])) ? $_POST['emailMe'] : 'No';

//validate
if(empty($fn) || empty($name) || empty($email) || empty($phone)){
$message = 'Fill in areas …
<M/> 170 Why so serious? Featured Poster

I created an and I can not style it.. The problem I have is that the form I wiant to show in the email shows up right on top of form and it won't reveal in email with the inputs displaying?

Can someone give me some sources/assistance/snippets/etc. for this?

<M/> 170 Why so serious? Featured Poster

no problem

<M/> 170 Why so serious? Featured Poster

Simply just private message me, I am on daily :).

If I have other contact info, I will send it to you ;).

<M/> 170 Why so serious? Featured Poster
  1. You should put the university logo instead so it is more understandable.
  2. Your design is clean, simple and very comforting to look at. It's also easy to understand from :)

Well, it's nice to have it in a grid view... Shows a little more organization but be careful with the design aspect as well as function of what happens in grid views...

I'd declare that this is a wonderful start, just keep improving and improving...

Feel Free to ask additional questions.

<M/> 170 Why so serious? Featured Poster

Wow... most websites when they are first introduced... they never look nor operate this good... so well done on that part.

Quick question, what does internet explorer logo have to do with what your showing? And second question, Are you going to make an app for this, if so that will be a very good decision for this site's purpose.

So a great start for a verson 1 site :)

<M/> 170 Why so serious? Featured Poster

You should add social media feats... Other features should be added based off the pages...

<M/> 170 Why so serious? Featured Poster

Wow, did you design this... It looks nice (reflects windows 8 a lot)... Though it looks great, I can't seem to see how it operates from an image... Do you have a live demo so we can see it function?

<M/> 170 Why so serious? Featured Poster

I have a form and a csv file. The inputs go into the csv quite well but for some odd reason, they display in one row... why is that? I want multiple rows per submission...

PHP:

<?php

$fn = $_POST['fn'];
$name = $_POST['name'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$comments = $_POST['comments'];
//$emailMe = (isset($_POST['emailMe'])) ? $_POST['emailMe'] : 'No';

//validate
if(empty($fn) || empty($name) || empty($email) || empty($phone)){
$message = 'Fill in areas in red!';
$aClass = 'errorClass';}

$cvsData = $fn . "," . $name . "," . $email . "," . $phone . "," . $comments . "\n";

$fp = fopen("form_data.csv", "a" );


if($fp){
    fwrite($fp, $cvsData);
    fclose($fp);
    }
?>
<M/> 170 Why so serious? Featured Poster

it looks nice, but i am not sure how it functions because its just of what I see off the image..

<M/> 170 Why so serious? Featured Poster

I will update you on progress ;)

<M/> 170 Why so serious? Featured Poster

Okay, so I have attempted a few things but I can't get it to work... Can you guys write me a sample snippet?

<M/> 170 Why so serious? Featured Poster

It could just be your computer, so try restarting your computer or clear the cache...

<M/> 170 Why so serious? Featured Poster

I made a typo here:

I was told to look into fputcsv but...

It should've been fputscv :)