Jump to content

oggyswain

Member
  • Posts

    80
  • Joined

  • Last visited

Everything posted by oggyswain

  1. Can anyone give me the rundown of what I need for an ecommerce site? I know I need the website but besides that. I have been calling my bank about getting a merchant account. Is there a preset package from any company that any of you have dealt with. I already have a paypal account but most people I don't think want to open up a paypal account to pay for things. I am in a service industry and have had many people ask If I take credit cards, which I currently do not. but I want to be able to have them pay on my site. Any ideas? thanks
  2. You are brilliant. It worked as javascript. Thanks
  3. My service provider said It should work but it does not. There not much help.
  4. Web Hosting http://urbanmail.ca/why_us.html Bottom of page
  5. Is there anything else I need to put in the htacess file. besides this AddType application/x-httpd-php .html Because I can't get it to work. Thanks
  6. Hi I have not used php at all, but I saw a script that would save me a bit of time on various website that I handle. But I can't get it to work. Can you help me out. This is the code on my site <td width="675" height="44" align="center" class="footer c5" style="background-image:url(images/bot.gif); vertical-align:middle"><strong>urbanmail.ca</strong> © <?php date.php ?> | <a href="privacy.html">Privacy Policy</a> | <a href="sitemap.html">Sitemap</a> | <a href="contact_us.html">Contact Us</a> |<a href="mailto:info@urbanmail.ca"> info@urbanmail.ca</a><br /> And this is the date.php script I have in my directory © Copyright <?php $then = 2007; $now = date('Y'); if ($then == $now) echo $now; else echo "$then - $now"; ?> What I am trying to have it do is change the year automatically every year. I have also added this to the .htaccess file AddType application/x-httpd-php .html Where have I gone wrong.
  7. I used a template for this one and just added copy & graphics. I believe my client will be making changes if he ok's them I will change the coding.
  8. I may have asked this about a year ago but I could not find the post. I have a website that when I resize the screen the graphic and type jump around. How can I fix this. Here is the site. www.postmarkinternational.com I seem to remember it being one line of code I need to add, but my memory is bad and I forgot. Thanks
  9. I have a client that has a blog with blogger.com. At the moment they have a tab that takes you from there site to there blog. How can I get the blog to show on one of there web pages. At the moment the blog content is having no effect on there SEO because it is not on there website. Any ideas?
  10. So as an example. Would it go before the Closing Object bracket? <object width="660" height="405"><param name="movie" value="http://www.youtube.com/watch?v=e55eYvSlras?fs=1&hl=en_US&color1=0x234900&color2=0x4e9e00&border=1"></param><param'>http://www.youtube.com/watch?v=e55eYvSlras?fs=1&hl=en_US&color1=0x234900&color2=0x4e9e00&border=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/watch?v=e55eYvSlras?fs=1&hl=en_US&color1=0x234900&color2=0x4e9e00&border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="660" height="405"></embed></object>
  11. I have a link on a site to a youtube video. My client would like the video to play on there website. How do I go about doing this? Thanks
  12. Is there a simple way to add video to a website. It is a .m4v file. It asks if I want to download the entire video. Any suggestions?
  13. Hi Andrea, I have been fooling around with the code you recommended. I am confused. This is what I get. http://nextlevels.ca/test.html Any suggestions?
  14. Hi Mr. Wickham, I downloaded sendmail.php. Added it to my site. It is not working. Could you take a look and see what I have managed to screw up,. www.urbanmail.ca/contact_us.html Thanks Here is the sendmail.php script <?php //<!-- //------------------------------------- //- Feedback Form - //- copyright © James Coyle; JCcorp - //- JCcorp.net - //- Release 25-07-2006 - //- Ver 1.0.1 - //------------------------------------- //--> //<!--See http://www.killersites.com/mvnforum/mvnforum/viewthread?thread=10257 ewwatson 30/04/08 //--> // Edit the below fields $admin = 'info@urbanmail.ca' ; // Change to your admin email 'from' address $replymsg = 'Thank you for your email. We will respond shortly.' ; // Reply message to send $formurl = 'http://www.urbanmail.ca/sendmail.php' ; // the URL where the form code is - default: form.php $errorurl = 'error.html' ; // the URL to show on error - default error.html $thankyouurl = 'thankyou.html' ; // the URL to show feedback submitted - default: thankyou.html // Security code to prevent addition of extra emails by spambots function remove_headers($string) { $headers = array( "/to\:/i", "/from\:/i", "/bcc\:/i", "/cc\:/i", "/Content\-Transfer\-Encoding\:/i", "/Content\-Type\:/i", "/Mime\-Version\:/i" ); if (preg_replace($headers, '', $string) == $string) { return $string; } else { die('You are not completing the form correctly.'); } } $uself = 0; $headersep = (!isset( $uself ) || ($uself == 0)) ? "\r\n" : "\n" ; // Variables $email = remove_headers($_REQUEST['email']) ; $name = remove_headers($_REQUEST['name']) ; $subject = remove_headers($_REQUEST['subject']) ; $message = remove_headers($_REQUEST['message']) ; $wordcount = str_word_count($message); $component = ($_REQUEST['component']) ; $size =($_REQUEST['size']) ; $delivery = ($_REQUEST['delivery']) ; $confirmation = ($_REQUEST['confirmation']) ; // Code to prevent addition of / before ' in text entered by viewer if (get_magic_quotes_gpc()) { $name = stripslashes( $name ); $subject = stripslashes( $subject ); $message = stripslashes( $message ); } // If email is filled out, proceed, if not, display the form if (!isset($_REQUEST['email'])) { header( "Location: $formurl" ); // } // If a bot is attempting to send spam it will complete this input while viewers don't see the visibility: hidden box elseif ($_REQUEST['catchbot'] !="") { //Boot it out of the server die(); } // Code to check for empty input boxes elseif (empty($email) || empty($name) || empty($subject) || empty($component) || empty($size)) { header( "Location: $errorurl" ); } // Security code to check that email address is probably valid and only contains one address elseif (!preg_match("/^[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i",$email)) { header( "Location: $errorurl" ); exit ; } // Security code to prevent addition of new lines entered into the $name and $email fields by spambots elseif ( preg_match( "[\r\n]", $name ) || preg_match( "[\r\n]", $email ) ) { header( "Location: $errorurl" ); exit ; } elseif ($wordcount >50) { echo "Please do not exceed fifty words."; } //WORDCOUNT ADDED but . in a word like formemail.php causes extra word; echo will show in plain text in a new window with default browser background color (an alternative to header( "Location: $errorurl" ); which shows a complete html page) else { mail( $admin, "Feedback: $subject", "$name\r\n$message\r\n$component $size\r\n$delivery\r\n$confirmation", "From: $name <$email>" ); mail( $email, "Feedback: $subject", $replymsg , "From: $admin" ); header( "Location: $thankyouurl" ); } ?>
  15. Hi Wickham, Would someone not be able to "Troll" for the the email address? I just worry about getting more spam than I already do.
  16. How do I get it to be collapsable. Right now it stays under the original menu. I would like it to collapse under the heading.
  17. You have the answer for me before I even put up the question. Thanks Again.
  18. How do I create a sub menu from this code. <div class="nav-bar"> <ul> <li><a class="current">Home</a></li> <li><a href="about-us.html">About Us</a></li> <li><a href="testimonials.html">Testimonials</a></li> <li><a href="services.html">Services</a></li> <li><a href="events.html">Events</a></li> <li><a href="contacts.html">Contact Us</a></li> </ul> Thanks
  19. Got it Thanks. It's a slow haul but I'm starting to understand a bit.
  20. Hi Andrea, I have a question. In my css style sheet. I created a type style called large. When I run the validation on my page it says it is wrong. I know you can use h1-h6 I thought you could create as many different styles as you want. Why is large not valid? what other name could I call it?
×
×
  • Create New...