Posts by Oreius

84 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Sold between 100 and 1 000 dollars
  • United States
Oreius says

I cant seem to get it working I am not receiving any messages and it does not appear to be sending or anything. here is a link to the site in progress. drved.com/alpha

84 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Sold between 100 and 1 000 dollars
  • United States
Oreius says

ok awesome idangerous i will pop this in and try it next time I am at work. I will let you know how it goes :)

Thanks

84 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Sold between 100 and 1 000 dollars
  • United States
Oreius says
<form method="post" action="./js/send.php">
            <ul>
                <li><input name="name" class="name" id="name" value="" type="text" placeholder="John Doe" /></li>
                <li><input name="email" class="email" id="email" value="" type="text" placeholder="you@fantastic.com" /></li>
                <!--<li><input onfocus="this.value=''" class="company" type="text" id="company" name="company" value="Company" /></li>
                <li><input onfocus="this.value=''" class="address" type="text" id="address1" name="address1" value="Address" /></li>
                <li><input onfocus="this.value=''" class="address2" type="text" id="address2" name="address2" value="Address Line 2" /></li>
                <li><input onfocus="this.value=''" class="phone" type="text" id="phone" name="phone" value="Phone Number" /></li>-->
                <li><textarea name="message" class="message" id="message" rows="30" cols="30" placeholder="What's can we help you with today?"></textarea></li>
                <li><input class="button" value="Send your message" type="submit" /></li>
            </ul>
        </form>

        <span id="stamp"></span>

this is my html.

the span id=stamp has a background image and i want it to change when the form is sent.

84 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Sold between 100 and 1 000 dollars
  • United States
Oreius says

Ok thanks infuse01 !

84 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Sold between 100 and 1 000 dollars
  • United States
Oreius says

Ok thanks. I still keep the php right? or is it all handled by the javascript?

84 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Sold between 100 and 1 000 dollars
  • United States
Oreius says

Here is the php script I normally use for my website. (I know absolutely nothing about php)

<?php if(isset($_POST))
    {
        // change this to match YOUR email address
            $to = "myemail@gmail.com";
        // the subject of the email that you will receive
        $subject = "Message from Website";

        // body of the email
        // *****************
        $message = "Message from your website:\n\n";
        $message .= "From: " . stripslashes($_POST["name"]) . "\n";
        $message .= "Email: " . $_POST["email"] . "\n";
        $message .= "Message: " . stripslashes($_POST["message"]) . "\n\n";
        $message .= "IP Address: " . $_SERVER["REMOTE_ADDR"] . "\n\n";
        $message .= "Sent from: " . $_SERVER["HTTP_HOST"] . "\n\n";
        // *****************
        // end of the body

        // from address of the message
        $from = $_POST["email"];
        $headers = "From: ".$_POST["email"];

        // send mail message
        mail($to,$subject,$message,$headers);
        header( 'Location: thanks.html' ) ;
    }
?>

I have in the past just send the user to a thank you html page but this time I have a one page scrolling site and want to keep the user there.

Now for my question in there any way I can just have the php change a random image from something to something else upon the form being submitted? (like the image is blank and then when they submit the form it changes to something that says “thanks”) Do I need another php script or can this one be added to to do what I want? also is that something that php can do or do I need to add some javascript/jquery?

Thanks so much! - php challenged person

84 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Sold between 100 and 1 000 dollars
  • United States
Oreius says

Wow I thought there were like tons more than 25 I got 20 but turned them in the day before the end of the competition. I totally forgot speed was of the essence.

Congrats to both winners!

84 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Sold between 100 and 1 000 dollars
  • United States
Oreius says

I was wondering if anybody here has used jcart? I need some help with it. or Knows of a javascript/php shopping cart that is pretty easy to use. I need one that collects items in a cart and then collects billing/shipping/creditcard info via a form and then sends an email.

I have jcart almost where I want it but am not good enough to edit it myself (due to my lack of php knowledge)

Thanks

84 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Sold between 100 and 1 000 dollars
  • United States
Oreius says

Awesome can’t wait I am no font designer myself but am glad I will be able to get some here

84 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Sold between 100 and 1 000 dollars
  • United States
Oreius says

Ok ill look at that Thanks!

by
by
by
by
by
by