I'm rather bored right now and just wanted to know if anybody needs anything quick/simple done in php cause i'm up for a bit of a challenge and am in a programming mood.
I'm rather bored right now and just wanted to know if anybody needs anything quick/simple done in php cause i'm up for a bit of a challenge and am in a programming mood.
* Moved to the Marketplace, because that is where you should offer services. If you want to help people with programming, then watch the programming help forums and help anyone that posts for help.
Thank you for offering help though, there are plenty of people that need it.![]()
Last edited by LHVWB; 04-26-2008 at 06:20 PM.
~LHVWB, Formerly known as Verbsite.
Getting Started | Forum Rules | X10 Commandments
Terms of Service | Getting Support | IRC Support Chat
Using Simple Machines Forums? Check out my SMF Mods..
what are you asking in return?
i might want some work done, i need a login form created.
Nothing really, if you want to give something in return that is also fine. And I can help witih a login form, do you need it to be connected to a user database? What page will it need to rediect your site to once logged in? And lastly i'm assuming you would like this done in php, are you going to use a flatfile(text based) or a mysql type of database?
this is actually for a friend of mine, so let me ask him about the specifics and i'll get back to you, ok.
Hi,
I would like a PHP page that is used with an HTML form which will...
Email Form Results to 1 email address
Save Form Results into a MySQL Database
I just want the page so it is compatible with HTML form post.
If you are interested please let me know.
Thanks.
![]()
sending the data to an email is easy. it would be something like this:
form.php
post.phpCode:<form action="post.php" method="post"> <p>Full Name: <input name="fullname" type="text" value="" /></p> <p>Email Address: <input name="email" type="text" value="" /></p> <p>Subject: <input name="subject" type="text" value="" /></p> <p>Message: <textarea name="message" value="" width="300" height="200"></textarea></p> <input type="submit" value="Submit" /> </form>
i don't know about sending it to a database.PHP Code:<?php
$name = $_REQUEST['fullname'] ;
$email = $_REQUEST['email'] ;
$subject = $_REQUEST['subject'] ;
$message = $_REQUEST['message'] ;
$msg = "from: $name
$message"
if(mail(name@host.com, $subject, $msg, $email))
{
echo "/*PLACE HTML IF SEND IS SUCCESSFUL*/";
}
else
{
echo "/*PLACE HTML IF SEND IS UNSUCCESSFUL*/";
}
?>
Last edited by kbjradmin; 04-27-2008 at 08:47 PM. Reason: forgot a ;
Do you think you could add a few things to my PHP script?
I don't want a small and large image part of my form anymore for http://sohailtech.com/contact.html. I will an image box that will make two resized images from the link, upload it to my server, and send the image through HTML in a message... Do you think you could do that, i am willing to pay you 200 credits for this... By the way, i want it to send it in HTML (with all the simple tags like body, and header...).<?php
if(isset($_POST['submit'])) {
$to = "sohail@sohailtech.com";
$subject = "New Game Request";
$name_field = $_POST['name'];
$email_field = $_POST['email'];
$gametitle = $_POST['gametitle'];
$smallimg = $_POST['smallimg'];
$bigimg = $_POST['bigimg'];
$swflink = $_POST['swflink'];
$copyright = $_POST['copyright'];
$others = $_POST['others'];
$body = "From: $name_field\n E-Mail: $email_field\n Game Title: $gametitle\n Small Image: $smallimg\n Large Image: $bigimg\n Game Link: $swflink\n Copyright Evidence: $copyright\n Anything Else: $others";
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Submit Game</title>
<link href="/games/stylesheet.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="banner"></div>
<div align="center">
<div id="navigation"><a href="http://sohailtech.com/">HOME</a> • <a href="http://tutorials.sohailtech.com/content/blogsection/4/26/">FLASH TUTORIALS</a> • <a href="http://tutorials.sohailtech.com/content/blogsection/5/29/">PHOTOSHOP TUTORIALS</a> • <a href="http://tutorials.sohailtech.com">BLOG</a> • <a href="http://forums.sohailtech.com/">FORUMS</a> </div>
</div>
<div align="center"><br>
<?php
echo "Thanks for your request, it will be reviewed shortly!";
mail($to, $subject, $body);
} else {
echo "You have submitted an invalid form, please try again.";
}
?>
</div>
</body>
</html>
i'll see what i can do, this doesn't seem like it should be too hard.
How long will it take you? I haven't seen a reply in over 3 days...![]()