Is there any way to print the number of email accounts in cpanel using php?

Posted by admin | Programming & Design | Saturday 6 March 2010 7:41 pm


I have a free email service at www.hencomail.com. I would like to be able to use php to print the number of email accounts created. Is this possible? I noticed Cpanel prints them on its sidebar so I would like to do something similar.

PHP script advice - password protected members’ section & email form?

Posted by admin | Programming & Design | Wednesday 3 March 2010 9:03 pm


Hi - I am just getting to grips with using php scripts to add functionality to my site. I would very much like to add a simple email script to send me the contents of forms and most important I would like to create a password protected section of my site for members. There are so many options, I would value some suggestions/recommendations. THANKS.

How do you make a PHP based email form with an image verification thing?

Posted by admin | Programming & Design | Tuesday 2 March 2010 5:39 am


I’ve been getting a lot of spam, and I’ve seen other email forms with this, and I figure this is the only way it will stop.

Can’t get my php form email results to display radios checkboxes?

Posted by admin | Programming & Design | Thursday 25 February 2010 2:35 pm


I can get it to email me ordinary text fields but I also need a checkbox field/s and radio buttons…how do I alter it so I can do that?

My form looks like this:

Name:

Phone:

Email:
Male

Female

If you have an other ideas…we can make it happen, so let simply let us know:

but php form handler looks like:

/////////// Getting the form values/////////
$name = $_POST['name'];
$email_address = $_POST['email'];
$message = $_POST['message'];
$number = $_POST['number'];
$sex = $_POST['sex'];

/////////// Checking for Email Injection/////////
if ( ereg( "[\r\n]", $name ) || ereg( "[\r\n]", $email_address ) ) {
header('Location: feedback.php' );
}

/////////// Making the Email Message/////////
$email_from = $email_address;
$email_subject = "Birthday Form";
$email_body = "Name: " . $name . " \n
Message: " . $message . " \n
Phone Number: " . $number
Sex: $sex

;

/////////// Sending the Email using the mail() function/////////
$to = "myemail@mysite.uk.com";
$headers = "From: $email_from";
mail($to,$email_subject,$email_body,$headers);
header('Location: feedback.php' );
?>

Much appreciate any help folks!

Write perl script to pull out attachments from email and save to a directory?

Posted by admin | Programming & Design | Wednesday 24 February 2010 11:44 am


Does anyone know the portion of code that would pull out an attachment from an email and save in a given directory via PERL?
Any help will do, Thanks

How to direct values from php textboxes in a form to a email account?

Posted by admin | Programming & Design | Wednesday 24 February 2010 3:28 am


I have a web form at designed in php. Can you provide me with a simple code to connect a textbox to an email account.

how can i send the output of an HTML form to my email using php?

Posted by admin | Programming & Design | Friday 19 February 2010 10:50 pm


so i have the form written in HTML, then a php script to receive that form. What do i include so that to receive the output into my email box? How does $_REQUEST fit in the picture?
thank u very much.

Where can I find a free script that will email an order made through PayPal to a customer after purchase?

Posted by admin | Programming & Design | Thursday 18 February 2010 4:00 am


I want a free script, whether .php or .cgi or whatever, that automates the emailing of files to customers who make a purchase through PayPal. I would also the script to not email the file to the customer after payment if they pay by e-check until the check has cleared. If you are only able to satisfy the first part of my request, no problem. I may be able to modify the script after.

is it possible to schedule a script to run each time I recieve a new email in my webmail account?

Posted by admin | Programming & Design | Thursday 18 February 2010 2:58 am


I want to be able to save incoming emails to a mysql database using a php script. I want the script to be executed each time I received and email in my cpanel webmail.

Please could some one give me a link where I can get resource on how to go about such.

Thanks in advance.

PHP email sending?

Posted by admin | Programming & Design | Monday 15 February 2010 12:31 am


I have a page with a form in it to send a short message to my email address. The form has three fields: Name, E-mail & Message. The name one is where the sender types his/her name; Email where sender puts their email address, and Message where they type the message (simple)

when the user clicks submit it runs the following php code:

sendEmail($_POST);

function sendEmail($post){
$emailto .= "email@somewhere.com";
$subject .= "Question from " . $post['uname'];
$header .= $post['$uname'];
$message .= $post['umail']." wrote the following:\n\n";
$message .= $post['umessage']."\n\n";
mail($emailto, $subject, $message, $header);
header("LOCATION: contact_sent.php#sent");
}

?>

Problem: when I check the sent message i see the date, the subject, but the sender appears as follows:

nobody@server#.domain.com

Question: How can I do so that the field with the email appears as the sender, or that the field with the name appears as the sender (or maybe both) Thanks

Next Page »