Jump to content


  • Posts

  • Joined

  • Last visited

About lanmind

  • Birthday 02/08/1983

Profile Information

  • Location
    United States of America

lanmind's Achievements


Newbie (1/7)



  1. After a while I figured out that "$1" was a backreference. I hadn't used a backreference before. Works fine Thank you.
  2. Synook's article "Notes on WYSIWYG" gives insight on this. It's in his sig.
  3. Hello everybody,I'm currently using the replace method and regexs twice to replace space characters (\040) at the beginning and end of a string with nothing like so: var string = " good day ";// replace spaces at the beginning (^) string = string.replace(/^\040*/,"");// replace spaces at the end ($)string = string.replace(/\040*$/,""); I haven't been able to figure out why I can't replace the spaces at the beginning and the end of the string in one statement like so: var string = " good day ";// replace spaces at the beginning and end (^,$)string = string.replace(/^\040*$/,""); I don't want to replace the space character between the two words "good" and "day" so the global "g" modifier won't work in this case. Thank you for any help if you love a regex!
  4. I use Filezilla and it's simple. I believe I only read it's tutorial once and since then it's been a snap, plus free. If you are just starting out I recommend using the many online tutorials for web developers. W3Schools covers many subjects as I'm sure you've realized. Right?For a beginner developer I believe their web building tutorial is a great place to start: http://www.w3schools.com/site/default.aspInside there is a glossary of web terms that might help you understand some things in the future: http://www.w3schools.com/site/site_glossary.aspI also like to use Wikipedia for terms I don't understand. Googling many questions you have is another good way to keep moving forward. Especially when you get any error code, just type the code in Google and it usually leads you right to an answer.
  5. Hello everybody,I've been doing web development on the side for a while now. I don't know many people at all who are web devs so I don't talk about it much at all. This has been bugging me lately and so I've been actively seeking out web devs. I mostly find them on Microsoft's online gaming service Xbox Live because I play games online often. If anybody here also enjoys XBL let me know! I've been meaning to come on forums like this to ask general questions that might be common chat for others who are consistently around other devs. A web development work environment comes to mind. Here's some questions I have right now:I code everything by hand. Is this or has this become a BAD practice considering all the programs available to developers? Dreamweaver seems popular.I know there are front end and back end developers in the professional world. It isn't uncommon for somebody to do the front end and back end is it? I take some pride in that I write all my browser side material and code all my server side scripts. Thank you for your time.
  6. Hello everybody,If anybody can help explain my questions I'd appreciate it. When you use a POST request versus a GET requset with Ajax how come:One- Some http headers must be sent along with any POST request? Like so: http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");http.setRequestHeader("Content-length", params.length);http.setRequestHeader("Connection", "close"); Two- The data to be sent must be sent as the argument of the send function? Like so: http.send(params); I'm really clueless why headers must be sent on a POST versus a GET requset.Thank you for your time.
  7. Jonas,I sent you the question in a message. I understand the rule of one account per person. Thank you for the support.
  8. I wanted to ask some (legitimate) questions containing code that I didn't want the internet to know was related to my lanmind account.
  9. Hello everybody,I love W3Schools.com. So much help for beginners.Bye bye.
  10. Hello,Does anybody know if there are problems with new accounts being verified by the administrators? I created a new account forty eight hours ago and it needs to be reviewed before I can post with it. I'm supposed to contact a administrator with this problem but all three of them aren't accepting messages. Maybe they are busy but I hope they see this.
  11. I'm sorry I worded my question wrong. What I wanted to ask was:Do you think I need to URL encode space characters as they are illegal in URLs?I figured that I do because if a user submits "user name" it will become part of the html file name like so: user name.html. Of course spaces are illegal in URLs so the address http://www.example.com/userpages/user name.html would return a 404 error.Thank you.
  12. Hello,I have some user submitted data that becomes part of a html file name and so in turn will be displayed as a URL across different browsers. I allow the submitted data to contain the URL illegal space character. When I submit it using my Firefox browser the space is automatically encoded to a "+". I'm not sure if this happens with every browser so I'm wondering if I need to encode any space characters before sending them to my server script.Thank you for your time.
  13. lanmind

    Two Questions

    Oh yes that's good. I'll ask my host if only my scripts have access to my files. Thanks.
  14. lanmind

    Two Questions

    Just now through my FTP I noticed that default files that came preloaded in my document root (404 error page) have the same owner id INT as files PHP created and files I created. All the same owner.
  • Create New...