http://goo.gl/doodle/Qubgg
Categories
Archives
Hidden Gems
That darn air bag light was driving me crazy. I tried googling it again. This time I found out there are tons of people with the same issue and this guy happened to have a document with the air bag codes. Air bag code 47: Passenger seatbelt sensor. Disconnected it and reconnected and the light is gone.
Next stop: hatch door.
The PHP mail() function is handy. You can use it to have people contact you through a form on your Web page if you don’t feel comfortable displaying your email address. The sample code below will send an email to “contact@mydomain.com” with the subject and message as the respective text inputs below.
<?php// check to see if send button has been clickedif (isset($_REQUEST["submit"])) {
$to = "contact@mydomain.com";
$from = $_REQUEST["email"];
$subject = $_REQUEST["subject"];
$message = $_REQUEST["message"];
// validate email addressif (!filter_var($from, FILTER_VALIDATE_EMAIL)) {
$err_from = true;
}if ($err_from) {
// error message goes here} else {
// try to send itif (mail($to, $subject, $message, "From: $from")) {
// message has been sent} else {
// there's been an error } }}?><form method="post" action="<?php echo $_SERVER['SCRIPT_NAME']; ?>">
<p><label>From:<br /><input name="email" type="text" value="<?php echo $from; ?>" /></label></p>
<p><label>Subject:<br /><input name="subject" type="text" value="<?php echo $subject; ?>" /></label></p>
<p><label>Message:<br /><textarea name="message" rows="10"><?php echo $message; ?></textarea></label></p>
<p><input name="submit" type="submit" value="Send" /></p>
</form>
Rated one of the most influential female radio hosts has just come out of the closet. I kind of figured that…it makes sense. But I know all her listeners are really proud of her. She shouldn’t have any problems getting a date because she’s freaking hot! Congratulate her for letting herself be happy: stephanie@stephaniemiller.com.
After a lot of thought, I moved out of Doteasy.com. It was a great starter home, but the rent got higher as I wanted more options. So, I moved into GoDaddy.com. The economy package is a great deal. Check it out:
If you end up getting anything through GoDaddy, you should send some love my way:
After a good year, I’m back on the Web. I had deleted my myspace and facebook accounts because they take so much time to manicure. I was excited to see that there are plugins to update each of these social sites from WordPress. Two birds, one stone. I created new accounts and even threw a little Twitter action in the mix. So, this post is a test to see if these plugins work.
I spend a lot of time testing out certain things with $_SERVER array. I often forget what I should be getting as a value for a specific variable. Sometimes what variable it is that I am wanting to work with. Here’s a quick loop that can generate the $_SERVER array all nice and neat like:
foreach ($_SERVER as $variable => $value) {
echo $variable . " = " . $value . "<br />";
}To jazz it up, you can add unordered list elements or tables to it. What’s not to love?
There’s nothing like a local computer business. PC Gamers in Spanaway is where I got my first computer and it’s good to see that after all these years they’re still around.