Jump to content

ben3001

Members
  • Posts

    213
  • Joined

  • Last visited

Everything posted by ben3001

  1. thats what i had before but it wasnt working with my form, now its with php i still have no idea sorry
  2. now what i wanted to do is have a calendar, users click a link that opens up a calendar and they choose a date from the calendar which automatically is entered into the date form.i had a script eralier but that did not seem to work any ideas?
  3. oops no worries it did work...this morning i opened my email to find 38 emails one of them being
  4. for some reason it just is not sending the emails any more i have no idea whats wrong
  5. wahoo its looking good nowhttp://ernestbevin.contentman.co.uk/docs/form.phpive added a few features to the php, bit on presentation. is there anyway to change the font, font colour and background colour? or is that pusing it?
  6. it didnt work properly it said the email was from:$customerEmail@lunchbox.contentman.co.ukthen in the content it said $customer $customerContact $customerNumber $customerComment
  7. firstly i want the form to be able to email my email address directly the information submitted through the site ill tell you the rest after that it might get complicated
  8. ben3001

    FLASH Versus HTML

    i think thats actually a hard question...it really depends on the purpose of the site, if its a professional site most definately in my opinion id use very limited flash, however if it is a leisure site more flash would be appropriate
  9. im sure its something to do with my php but i just cant see where
  10. ok i got my booking form http://music0202.atspace.com/online2.htmheres the php for my booking form: <?php $successPage = "http://medussa.atspace.com/contactok.html"; $failPage = "http://medussa.atspace.com/contactfail.html"; $targetEmail = "b_e_n04@hotmail.com"; if( !isset( $_POST[ 'sendcontact'])) { header( 'Location: ' . $failPage); exit( ); } else { $contactName = strlen( $_POST[ 'custName']) > 0 ? $_POST[ 'custName'] : false; if( !eregi( "^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)+$", $_POST[ 'custEmail'])) $contactEmail = false; else $contactEmail = $_POST[ 'custEmail']; $contactPhone = isset( $_POST[ 'custContact']) && strlen( $_POST[ 'custContact']) > 10 ? $_POST[ 'custContact'] : false; $contactGuests = isset( $_POST[ 'custNum']) ? $_POST[ 'custNum'] : false; $contactDate = isset( $_POST[ 'custDate']) ? $_POST[ 'custDate'] : false; $contactMessage = strlen( $_POST[ 'custComment']) > 5 ? $_POST[ 'custComment'] : false; if( $contactName && $contactEmail && $contactPhone && $contactGuests && $contactDate) { // We want to process this request and try and send it $header = 'From:' . $contactEmail . "\r\n" . // This allows us to reply to the message directly 'Reply-To: ' . $contactEmail . "\r\n" . 'X-Mailer: PHP/' . phpversion( ); $message = "Customer Name: " . $contactName . "\n" . "Phone #: " . $contactPhone . "\n" . "Email: " . $contactEmail . "\n" . "Estimated Guests: " . $contactGuests . "\n" . "Date Requested: " . $contactDate . "\n" . "Comments: \n" . $contactMessage . "\r\n"; if( mail( $targetEmail, "Order Request", $message, $header)) { header( 'Location: ' . $successPage); }else{ header( 'Location: ' . $failPage); exit( ); } } else { header( 'Location: ' . $failPage); exit( ); } }?> when i try to submit the form im taking to my error page, would anyone know the problem with my php code or even htmlid really appreciate if someone could find out my problem please
  11. scott your a diamond http://medussa.atspace.com/links/calendar.htm its excellent thanks
  12. this is the try editor http://www.w3schools.com/js/tryit.asp?file...tryjs_animation
  13. on my site http://medussa.atspace.com/links/calendar.htmi want it so that when you hover over the months it changes to a different picture, and when its selected stays on that picture, if i make sensei saw a javascript on w3schools but it only seemed to work for one image and i need to do it for 12, got any ideasthanks in advance
  14. ben3001

    Select Date

    my bad your a star cheers
  15. ben3001

    Select Date

    thanks for the great site, ive got my calendar to work, but now it will not submit the form any ideas?http://music0202.atspace.com/online.htm
  16. ben3001

    Select Date

    I have a booking form on my sitehttp://medussa.atspace.com/medussa.html --> book onlinebut what i think well be a great feature for users to do is be able to select the date from like a calendar at the side so they are garunteed to select the right date, but i have no idea of how to complete my idea and was wondering is there anyone that could assit mecheers in advance ben
  17. ben3001

    CSS2 for iframe?

    thanks for your help mate. the simplest things are not always obvious
  18. ben3001

    CSS2 for iframe?

    the problem is on this site http://medussa.atspace.com/medussa.htmlcalendar-->click any month--> click any eventthe calendar page uses 2 iframes, for some reason firefox will not allow that and opens the link up in a new window, where as IE happily opens the page in the next iframeanyone got any ideasthanks in advanceben
  19. ben3001

    CSS1 to CSS2

    thanks a million Aphotic, your a diamond. now i was wondering is there anyway to get your website scrollbars so they appear coloured in FF, becuase in i.e there fine but in FF there not
  20. ben3001

    CSS1 to CSS2

    how would i change this css1 to css2 code? BODY{scrollbar-face-color:#A2D800;scrollbar-arrow-color:#000000;scrollbar-track-color:#333333;scrollbar-shadow-color:'#000000';scrollbar-highlight-color:'';scrollbar-3dlight-color:'';scrollbar-darkshadow-Color:'';body { background-color: #000000; margin: 0px; } a { color: #E55E5;}a:visited { color: #86B300;}a:hover { color: #E2FF8A};}a:active { color: #E55E5;} thanks for help inadvance ben
  21. im using 1.5. could you tell me how you saw the site
  22. i understand...so ill change the css to css2 and see how it looks thanks for that, what would be the difference and how would it be changed then? ill post in css forum
  23. Hi peoplei have made this site which is viewable here: http://medussa.atspace.com/medussa.html its a nightclub siteIf page does not display refresh it a view times, its on a free host and sometimes takes time to load. AnywaysThe problem is when i view it in i.e it displays perfectly i cant ask for any better, the very limited css i use works perfectly, however when i view the site in firefox, my css doesnt seem to work anywherealso on my calendar page it automatically opens up at the month july in firefox, but in ie it opens up with a blank area how it should do, would anyone know the reason for that?i was going to post this in css but it seems to be in my html. maybe im just being stupid and will see where it goesit will be most greatful if someone could assit me in my problems im having.thanks in advance ben
  24. Hi peopleim Ben, im pretty new to html and have been using w3c for a long time as a good source of reference, but have only recently found the forumthis looks like a great place so howdeh all!!!!
×
×
  • Create New...