+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: Anybody need a little bit of quick php done?

  1. #1
    lszanto is offline x10Hosting Member lszanto is an unknown quantity at this point
    Join Date
    Apr 2008
    Posts
    23

    Anybody need a little bit of quick php done?

    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.

  2. #2
    LHVWB's Avatar
    LHVWB is offline Lord Of The Keys LHVWB is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Australia
    Posts
    1,308

    Re: Anybody need a little bit of quick php done?

    * 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.

  3. #3
    kbjradmin's Avatar
    kbjradmin is offline x10 Elder kbjradmin is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    Washington State, USA
    Posts
    512

    Re: Anybody need a little bit of quick php done?

    what are you asking in return?
    i might want some work done, i need a login form created.

  4. #4
    lszanto is offline x10Hosting Member lszanto is an unknown quantity at this point
    Join Date
    Apr 2008
    Posts
    23

    Re: Anybody need a little bit of quick php done?

    Quote Originally Posted by kbjradmin View Post
    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?

  5. #5
    kbjradmin's Avatar
    kbjradmin is offline x10 Elder kbjradmin is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    Washington State, USA
    Posts
    512

    Re: Anybody need a little bit of quick php done?

    this is actually for a friend of mine, so let me ask him about the specifics and i'll get back to you, ok.

  6. #6
    DeadBattery's Avatar
    DeadBattery is offline Community Support Team DeadBattery is a name known to allDeadBattery is a name known to all
    Join Date
    Mar 2008
    Location
    localhost
    Posts
    4,019

    Re: Anybody need a little bit of quick php done?

    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.


  7. #7
    kbjradmin's Avatar
    kbjradmin is offline x10 Elder kbjradmin is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    Washington State, USA
    Posts
    512

    Re: Anybody need a little bit of quick php done?

    sending the data to an email is easy. it would be something like this:

    form.php
    Code:
    <form action="post.php" method="post">
    <p>Full Name: &nbsp;&nbsp; <input name="fullname" type="text" value="" /></p>
    <p>Email Address: &nbsp;&nbsp; <input name="email" type="text" value="" /></p>
    <p>Subject: &nbsp;&nbsp; <input name="subject" type="text" value="" /></p>
    <p>Message: &nbsp;&nbsp; <textarea name="message"  value="" width="300" height="200"></textarea></p>
    <input type="submit" value="Submit" />
    </form>
    post.php
    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*/";
    }
    ?>
    i don't know about sending it to a database.
    Last edited by kbjradmin; 04-27-2008 at 08:47 PM. Reason: forgot a ;

  8. #8
    Sohail's Avatar
    Sohail is offline x10 Spammer Sohail is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    London, UK
    Posts
    3,052

    Re: Anybody need a little bit of quick php done?

    Do you think you could add a few things to my PHP script?

    <?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 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...).

  9. #9
    kbjradmin's Avatar
    kbjradmin is offline x10 Elder kbjradmin is an unknown quantity at this point
    Join Date
    Feb 2008
    Location
    Washington State, USA
    Posts
    512

    Re: Anybody need a little bit of quick php done?

    i'll see what i can do, this doesn't seem like it should be too hard.

  10. #10
    Sohail's Avatar
    Sohail is offline x10 Spammer Sohail is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    London, UK
    Posts
    3,052

    Re: Anybody need a little bit of quick php done?

    How long will it take you? I haven't seen a reply in over 3 days...

+ Reply to Thread
Page 1 of 3 123 LastLast

Similar Threads

  1. Replies: 3
    Last Post: 03-10-2008, 12:22 PM
  2. Unstand PHP?
    By o0slowpaul0o in forum Tutorials
    Replies: 8
    Last Post: 01-07-2008, 09:16 PM
  3. Sigo con problemas con phpbb2
    By reciecho in forum Soporte
    Replies: 7
    Last Post: 10-20-2007, 06:28 PM
  4. "PHP Startup: Invalid Library" - Interesting error
    By javaguy78 in forum Free Hosting
    Replies: 5
    Last Post: 03-27-2007, 02:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers