Jump to content

williwaw

Members
  • Posts

    26
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Male
  • Location
    Alaska

williwaw's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thank you very much for your help thorpe! You guys are great here, thanks again.
  2. I guess I could of added a link to be more helpful. http://www.hobbyking.com/hobbyking_api.asp?id=9532&switch=4#switch=3 So, to further explain now that you have an example. I would like to post the text from the above link into a page without using <iframe>. Example: (Content of API Link displayed here) ________________ | | | | | | | Photo | | | |_______________|
  3. Hi all, Is there any way to displaying text from an API source (ex: http://www....com/) without using iframe? Can I use echo to display the text from an API link?? Thanks for you help. Cheers, Bill
  4. I'll give it a try...Thanks oni-kun
  5. Weeeee... I got it to work, or shall I say you did Hussam. Thanks for your help! Cheers, Bill
  6. Thanks for your help Hussam! I think using the code you provided is the direction I am trying to go, but I am unsure where to place it. Sorry, I am a novice/noobie when it comes to php. Thanks again.
  7. First off, hi to everyone and thank you for checking this out. I am trying to have this open a url (in the same directory) instead of to this: $thankyou_message = "<p>Thankyou. Your message has been sent and I will contact you as soon as possible.</p>"; I would rather have this point somewhere back to my site as you can see it currently navigates people away without a way for them to get back. Thanks! <?php // Change to your own email address $your_email = "test@gmail.com"; // This is what is displayed in the email subject line // Change it if you want $subject = ""; // This is displayed if all the fields are not filled in $empty_fields_message = "<p style='color:#a00'>Please fill in all fields.</strong></p>\n"; // This is displayed when the email has been sent $thankyou_message = "<p>Thankyou. Your message has been sent and I will contact you as soon as possible.</p>"; // You do not need to edit below this line $name = stripslashes($_POST['txtName']); $email = stripslashes($_POST['txtEmail']); $message = stripslashes($_POST['txtMessage']); if (!isset($_POST['txtName'])) { } elseif (empty($name) || empty($email) || empty($message)) { echo $empty_fields_message; } else { /* // Stop the form being used from an external URL // Get the referring URL $referer = $_SERVER['HTTP_REFERER']; // Get the URL of this page $this_url = "http://".$_SERVER['HTTP_HOST'].$_SERVER["REQUEST_URI"]; // If the referring URL and the URL of this page don't match then // display a message and don't send the email. if ($referer != $this_url) { echo "You do not have permission to use this script from another URL."; exit; } */ // The URLs matched so send the email mail($your_email, $subject, $message, "From: $name <$email>"); // Display the thankyou message echo $thankyou_message; echo $empty_fields_message; } ?> Thanks again! Cheers, Williwaw
  8. It is Calavera Catrina! And no, I'm not Mexican and I think I could ban my mom:) Cheers, williwaw
  9. Cool, thanks again for your help. Cheers, williwaw
  10. Hmmmm, I did this but the target is sill the same window. echo "<p><href=\"{$item->description}\" target=\"_blank\"</p>"; Thanks for your help and the tut. Cheers, Williwaw
  11. Wow, that was fast! Thanks again for your help...it works great. One more question-same problems but the code is a little different and I can't seem to make it work. echo "<p><href={$item->description}</p>"; Sorry about being a noob, but I did not notice the difference when I originally posted this thread. Cheers, williwaw
  12. Hi all, I am trying to have the link below open in a new window when someone clicks on it. foreach ($xml->channel->item as $item) { echo "<li><a href={$item->link}>{$item->title}</a></li>"; } Thanks for the look! Cheers, williwaw
  13. I would like to set my mom's emails to spam being ninety-nine percent of them are spam with a subject line that starts with FW:, but don't because of that one percent. But the true question I've been pondering lately: Would it be completely (ethically) unthinkable to ban my mom from posting on my website for the same reasons?
  14. I thought it would be a cool idea but I personally don't have the brain power to write the code for this. So it is just an idea for anyone out there who is interested. Sorry about the placement of the thread...feel free to move it to its proper place. Cheers, Williwaw
  15. Hi all- Just a project idea for anybody that is interested: If there is an RSS or place where one could <curl> the total cost of the federal "bail out" package and divide that number by the total number of U.S. tax payers to display the amount that one would receive as an individual. It would be a cool/depressing widget to build. Seriously, if anybody is interested... Cheers, Williwaw
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.