Jump to content

FutureWebDeveloper

Members
  • Content Count

    20
  • Joined

  • Last visited

Everything posted by FutureWebDeveloper

  1. Contemplating the day I become a badass web developer/ and software engineer

  2. Ok I just tried the Code out without the var_dump at 000webhost.com where I host my websites, and it worked, I think there's a problem with my XAMMP (even though it runs simple php programs correctly). I will do more research on the VAR_DUMP though cause was trying to figure out where to put it Hahaha. Yep I' am a Noob.
  3. Maybe I should set $userName = $_POST["un]; Because I know that the first two variables are undefined since I didn't assign a value to them, but later I assign them a value, but I will try what you recommended.
  4. Ok I' ve studied PHP online for about 3 weeks now, and went through some online tutorials through http://www.afterhoursprogramming and I know the stuff on there is valid because it matches up with W3SCHOOL.COM and php.net, and others. However, I' am having a problem with forms. Here is the HTML side <!DOCTYPE html><html><head><style>input[type="text"]{ width:150px; display:block; margin-bottom:10px; background:yellow;}input[type="password"]{ width:150px; display:block; margin-bottom:10px; background:red;}input[type="submit"]{ width:150px; height:100px; line-height:100px; background:black; color:white;}</style><meta http-equiv="Content" content="text/html; charset=UTF-8"/><title>Web Form 1</title></head><body><h1>Web Form</h1><form action="php-form1.php" method="post"> <label>User Name: <input type="text" name="un"/> </label><br> <label>Password: <input type="password" name="pw"/> </label><br> <input type="submit" value="Send Information" name="sender"/></form></body></html> and here is the PHP script <?php# simple php script for a Web Form// this script is used in combination with my form1.html$userName;$passWord;if(isset($_POST['sender'])){$userName=$_POST["un"];$passWord=$_POST["pw"];}echo $userName . " is your username and " . $passWord . " is your password";?> I would also like to mention that I' am using XAMMP , and the apache wasn't able to use my PORT 80, so I changed it to port 8080 and 443, basic PHP scripts are able to run, but whenever I try this it doesn't. Also the PHP file and the HTML file of the code I posted above are in the same folder. Sorry once again for the newbie question. Please help. Oh also when I run the program, it says error on Line 14 (where the echo function is at).
  5. Sorry I got a newbie question to ask (as embarassing as it sounds). I know that for HTML5 we use declaration "<!DOCTYPE html>", but for other websites I' am guessing HTML4 and below version's people use "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">". But I notice that some pretty professional programmers and websites use the HTML4 doctype declaration I posted above. Why do they do that instead of using HTML5 "<!DOCTYPE html>?
  6. Ahh ok. I think I might go for the all in 1 installer, but I will make sure to learn to install it all the other different ways too; because when i set up a SOHO network next year, I'll buy a web server from dell, and install PHP on that. So that I can host my own websites from my room.
  7. Well I plan to find the easiest way to install PHP to be honest. I've used XAMMP before; but I don't want to use it again, just wanna install PHP, apache, and mysql on my laptop. is compiling it the best way. if not, I'll do some research and watch some videos on youtube to find out how to do it correctly.
  8. I plan to install Apache, PHP, and MySQL on my windows 7 64 bit laptop. Even though I know that if you installs a 32 bit program on a 64 bit os, it will go to the program files x86 folder; and it would run perfectly fine; however, I was wondering if I installed PHP 32 bit version, would I have any problems?
  9. Thanks alot man. I just tried out the code and it works out perfectly fine. I will re-read what you posted so that I have it all down.
  10. This book was published february 7, 2013. It is an e-book I bought.
  11. Nice Website dude. I' am definitely bookmarking that site so I can learn more. Of course I'll never abandon my precious (smeagel voice) W3Schools.com hahaha.
  12. The below CSS code below I need help with. I understand most of it, but there's some things I' am curious about. <code>#navigation{ width:800px; float:left; background: #5C4033;}#navigation ul{ margin:0; padding:0;}#navigation ul li{ display:inline; list-style-type:none;}#navigation ul li a{ display:block; float:left; padding:5px 10px; color:#fff; text-decoration:none; border-right:1px solid #fff;}#navigation li a:hover{ background:#000;}</code> First off, the beginning navigation id starts off by setting the width to 800px and background color, that I understand. However, what I don't get is why I' am stating float property to left in both #navigation and #navigation ul li a. Second, #navigation ul is fine, I understand that margin and padding is set to 0 for cross browser compability; however, why is it that some developers in their source code set it put 0 or 0px. Does it really matter. Can i put px (pixels) in front of the 0 or does it matter. Third, #navigation ul li display:inline meaning we set the navigation as horizontal view, but why I' am doing this if it suppose to be floating to the left. Finally, #navigation ul li a has display set to block level element. Even though it worked when I tested it in my IDE, many times in the past I would put the following code: <code>ul { margin:0; padding:0;}ul li {list-style-type:none; display:inline;}ul li a{display:block; background:green; text-decoration:none;} </code> And it wouldn't work unless I took out either display:inline or display:block;. Please help . Thank you!
  13. Maybe I should give PHP another look. Well I guess I'll try out PHP then. Thanks for the advice.
  14. I've made about 3 websites, each 1 gets better than the last, but I still need to practice more. I want to learn JSP instead of PHP because I've heard jsp code is much cleaner than PHP, plus learning JSP at my college means I have to take the Java Course first, which I want to do because Java is used for almost anything nowadays (which I see more valuable than learning PHP). Also, I've been on programmerhaven.com to look at job descriptions and requirements. Thanks for the advice though. I got tons and tons of training to do in order to become a bad ###### web developer/software developer.
  15. Hello Everyone. My name is Joseph Bourne and I' am a business and computer science major. My goal in life is to start and open my own restaurant and start my own internet company also. So far all I know is HTML, HTML5, CSS, CSS3, and some JavaScript. I plan to practice more on my CSS and HTML with JavaScript and also some JQuery for this whole year so I can improve dramatically. Then next year I plan to get into JSP. I was wondering if any of you good programmers out could reccommend any other languages I should study. Websites I' am interested in making are sites for restaurants, B2B, B2C, Video social networking sites like stickam or tinychat; and hopefully one day I'll want to make desktop applications for my websites. Thank you!
  16. Thanks for the advice. I think I'll take introductory to Java class at my university. Also, I have no problem installing Java JDK SE or EE (standard and enterprise edition), or running the code, but which IDE is best to write Java code in. Also, I know c/c++ is similiar to Java, but I was wondering........since C++ can be used to write ones own OS, are Java Programmer able to develop their own personal OS witht he Java programming Language.
  17. I know CSS, HTML, HTML5, JavaScript, and a little C/C++; however I want to begin server-side programming next year (because I will be studying HTML, HTML5, CSS, CSS3 to improve skills), and I was wondering is JSP much better programming language to use then PHP. I did some research on google and other programming websites about Java Server Pages code being much cleaner than PHP. Also, I looking to get into making websites that allow users to use webcam and mic, and Java applets help produce that, so....Should I learn JSP or PHP? Looking for an experienced user who uses JSP, Java, or PHP for some advice. Thanks please.
  18. Ahh I see. So it looks like I'll be studying either studying Java or flash. Most likely flash. Also, I've heard of this language called ActionScript 3.0 which deals with flash animation and what not. Would that be a proper language for me to learn so that I can learn how to deal with microphones and webcams. Or should I just pick between flash or java?
  19. Ok thanks. I think I'll devote atleast 1 year to studying CSS, while improving my JavaScript, and Taking a course for PHP. Thanks for the advice. Also, I was wondering what languages are preferred for websites that let users use a webcam for social chating and what not. I noticed you mention PHP for uploading stuf.
  20. Thanks. I think I'll study CSS and CSS3 for about a year til I master different types of layouts before i go on to study JavaScript and PHP more.
  21. Hello all I' ve been studying HTML, CSS, and JavaScript for about 7 months. So far I've managed to create 3 website, 2 which I' am embarrassed to show, but the other one is located at http://www.houseoftridenor.hostoi.com for my world of warcraft guild. Please tell me what you think of it based off my 7 month of studying HTML and CSS. Anyways, the reason I' am writing this topic is because I think that I should be able to atleast make a basic website with a decent layout by now with CSS and HTML. I' am pushing myself a little far or do I need to catch up? I would be studying PHP for server side scripting but having some problems with apache and php installation on my pc, which should be fixed sometime next week. How long does it to take for someone to be proficient enough in CSS and HTML to create a decent web layout, such as a site like W3schools.com, but with no functionality, just layout?
×
×
  • Create New...