Jump to content

feck

Members
  • Posts

    116
  • Joined

  • Last visited

Everything posted by feck

  1. feck

    Whoa...

    I know it was a sort of trick question in that I've always been confounded by the time difference theories with regards to light speed.What I'm getting at is that if our observance of someone travelling at the speed of light is hugely different to the actual person travelling at the speed of light, then surely that also applies to our observance of the time it takes light to travel from the sun to earth.If our observation of the time it takes for light to get here is 8 minutes, then this is surely a distortion of the time it actually takes for the light particle to get here.
  2. feck

    Whoa...

    This whole time light speed paradox has always had me hugely puzzled, i suppose like most other people.I know there are no definite answers to my next question, but i would love to hear peoples own theories.Imagining that all of this could be true.If I as an observer, observed someone travelling at the speed of light for say eight minutes by my watch, how much time do you think would have ticked by on their watch?, whilst travelling at the speed of light.
  3. feck

    Whoa...

    what amazes me about all of this light speed talk is the fact that although light takes around only 8 minutes to reach us from the suns surface, it can take anywhere between 17,000 yrs to 50 million years to reach the surface of the sun from the suns core.
  4. feck

    Whoa...

    Those truly are amazing pictures, that i've also not been reminded of since first published.What amazes me more though is the fact that there so far away that what we're actually looking at took place sometime in the distant past.If you think about it, we could if possible, travel so far away into outer space and look back upon the earth and see the dinosaurs, if imaging resolution of that kind was also possible.Take that theory further and we could travel so far away and witness the big bang, if the big bang theory is also true.
  5. feck

    Design Patterns?

    Hi people,Does anyone here know anything about design patterns?At the moment I'm reading the 'Head First - Design Patterns' book, and am only at the second chapter. So have only read about the 'Strategy' and 'Observer' patterns, both of which I do not think could be applied to my application.The application in question uses Ajax as a front end and a temporal database at the back, with all associated technologies, ie: JavaScript, XML or JSON, Php, MySQL.I know that I can hack this all out with the help of books and this forum, but I would like to follow some form of design pattern that could also help.If anyone has any theories on this or could point me in the right direction, it would be much appreciated.Thanksfeck
  6. Thanks for responding so fast.Been to wiki, and read most of the articles on AJAX, XMLHttpRequest, IFrame, RIA's, DHTML and the like.Basically at the moment I'm thinking that microsoft came up with the first innovations in this type of approach to creating dynamic websites, but would this be right?I know also from the wiki on AJAX that Netscape were developing the layer element around the same time as microsofts iframe element. But what came before these two approaches, were all websites static in nature with perhaps a little javascript thrown in to show some flair?
  7. Hi,I was just wondering where the history of Asynchronous Web Applications started.I know microsoft were messing around with these type of behaviours with the IFrame element and remote scripting around 96 - 98, but I wondered if anyone could point me in the directions of any relevant material.I'm looking for a sort of time line of these types of technologies, leading up to the current buzz with the AJAX suite.
  8. Point taken skemcin,I mistook the general section to be anything off topicThanks for the guidance
  9. Hi people,Just thought i would share this with you:baby laughingI dare you to tell me it does'nt cheer you up!
  10. thanks boenOne other question, what are the advantages of using import over a link ref, or even vice versa?If you help or direct me to some current arguments, it would be much appreciated.Thanks again boen_robot.
  11. Hi How do you go about using multiple stylesheets?What I would like to achieve is to have a stylesheet to render the basics of a page such as color schemes and navigation, and then use another stylesheet to further render individual pages.Do I call two stylesheets in the header section of each page?Or is there a way to call on the main coloring stylesheet in the page stylesheet?
  12. feck

    using sessions?

    Thanks reportingsJr.You's guys are a god send!
  13. feck

    Weird?

    I'm not here to upset anyone, so I hope no one takes offense at this.This was passed to me awhile ago by a friend. Open Microsoft Word or Notepad and do the following:1) Type in capitals the flight number of the first plane to hit one of the Twin Towers: Q33 NY.2) Highlight the Q33 NY.3) Change the font size to 48.4) Change the actual font to the WINGDINGSWeird or what?
  14. Hi EveryoneI'm feck, the original, the one and only.I'm happy being feck, except for the fact that I've forgotten how to access my hotmail accountthat I created about 8-10 yrs ago."feck@hotmail.com"God what a wonderful site for someone who's just getting to grips with Web Application Programming. Wish I had found it earlier, but then again I'm here now. Anyway Thanks for being here and did I mention what a wonderful site.
  15. feck

    using sessions?

    Hi People,Please someone respond.I think I've fixed the problem after a few hours, and surfing this amazing forum.To use a session accross pages have you got to keep applying session_start();at the start of every page that accesses the session variable?Please respond as this is slowly melting my brain.Thanks
  16. feck

    using sessions?

    Hello Again,I'm using a small login page, which validates in javascript.Once validation has occured or not with Javascript, a php page is called, which validates again using PHP.This then checks to see if the user input resides in the database, and if so redirects the user to another page.At the start of the PHP page (the one with database verification) I start a session:<?php session_start();.......Once the data has been verified I would like to redirect to another page and pass a session:if($successful){ $_SESSION['staff'] = 1; header("Location: checkSession.php"); exit; }else{//more code........At the top of the checker page I have some more code which should in my limited understanding redirect the user to the login page if the Session is set:<?phpif (isset($_SESSION['staff'])) { header("Location: loging.html"); exit(); } ?>But it does'nt, It actually stays on the checker page.What am I doing wrong?
  17. Thanks people,already solved it, for some reason may be its because i'm new at this, but when I used the connect variable inside one of my functions it would not work, and outside it would.Some times if somethings seems broken and I try and fix it, it remains broken.But if I break it some more, it fixes itIf that makes any sense.Thanks anyway
  18. Hi people,I use a mysql_connect() function to connect to a mysql database. When I actually input the true host unsernam and password into the function something like:$connection=mysql_connect('someHost', 'made_upName', 'secretPassword'); //note these are not my real valuesEverything works fine.but when I create an external file and refer to it using the 'require' function, I get an error message telling me that i cannot connect, using this line in my code.Heres my external file with the variable values missing:<?php$host = '':$user = '';$passwd = '';$dbname = '';?>And Ive named it mysql.phpthe require 'mysql.php';and the new connect function:$connect=mysql_connect($host, $user, $passwd);But as stated I'm doing something wrong, somewhere because it will not connect.Can anyone help?
  19. feck

    When to use sessions?

    Thanks people,Yes the application in question would, once logged in', enable further access to the site.Just one other thing what a fantastic forum, why I didnt find it sooner I'll never know, when I use the tutorials so much.Thanks again
  20. feck

    When to use sessions?

    Hello,I was wondering when the best time to use sessions was. The application in question is a simple validate a user/password against a mysql database, now when would be the time to start using the session?Before or after confirmation of the users existence within the database?Thanks
  21. HelloI have a form on my page, that when loaded the cursor is already waiting for the user in the first textfieldBecause I have changed the background color of the field, the cursor is not as prominent as it would have been had i not changed the color.Basically, I would like to know if, through styling or other means, is there a way to manipulate the color of the cursor that is waiting in the form field, as this would then be more visual to the user.Thanks
  22. Hi all,How do you make text wrap to the next line when a user types something in a textarea and they come to the end of the box?I've tried using both wrap="virtual" and wrap="physical", what am I doing wrong?I'm using XHTML 1.1 and CSS if that makes any difference.ThanksSorry guys,This works by default, the problem I was experiancing was in the testing.Basically you need to provide breaks in your text ie: real words and not just randomly keep hitting keyslike this:;akljsdf;akjds;jfa;lsdjf;lakjsdf;lkajd;lfja;lsdjfal;kjsdf;lkjadl;fja;ldjf;alkjdfl;kajdfIf you do this the text will not wrap because it does'nt know where the word breaks are.Sorry again
  23. Success Fixed it.God the wonders of googling, just found out that if you place the inputs inside a div they will validate.Why I dont know, could be a quirk in the validator perhaps when working with XHTML 1.1?Would anyone know.Anyway if anyone has a similar problem then theres your answer.Thanks anyway tarte again for trying.
  24. Thanks for trying tarte.But thats how I originally had my code, and just changed it to this to see if it would work.Still comes up with the same 5 errors.The form attribute 'action' validates as its the only required attribute for form all the others are optional.any other suggestions?
×
×
  • Create New...