Jump to content

Xenon Design

  • Posts

  • Joined

  • Last visited

Everything posted by Xenon Design

  1. Well its all a matter of a few milliseconds. The way you have above is fine and its the better way rather than static HTML.Really no person will be able to tell the difference unless the document is large and takes a few secs to generate. Then the better one, imo, is the above one.
  2. I currently work in a graphic/web/marketing firm doing database and web design. What I know is HTML, CSS, PHP, SQL and database technologies like MySQL and Filemaker.Any more questions (as said by Skemcin) just post a reply
  3. It should be unlimited. I dont know of any hosting that does restrict the outgoing mail.
  4. Hey all.Ive made a blog and started blogging about Web 2.0 and thought's iv'e had about its working and why its so successful.This is part 1 of many and I will add articles when I can.Heres Part 1-> http://ecky.wordpress.com/2007/04/14/succe...he-user-aspect/Enjoy and leave a comment if you wish
  5. Your doing it a slightly longer and harder way that its usually done. Heres what a basic, typical login will look like. I will model the below on your above code. $con = mysql_connect("localhost","******","******");mysql_select_db("******", $con);$name = mysql_real_escape_string($_POST['name']);$pass = mysql_real_escape_string($_POST['pass']);$search = mysql_query("SELECT * FROM users WHERE `name` = '".$name."' AND `pass` = '".$pass."'");$num_row = mysql_num_rows($search);if ($num_row >0){ $_SESSION['logged'] = 1;}else{ $_SESSION['logged'] = 0;} If there is a record then there will be bigger than 0 records! Also I put in some security for ya, the mysql_real_escape_string stops SQL injections.
  6. My first question is, is the variable you use in the euqation a number or string? If its a string then use intval(): $variable = "1990";$equation = intval($variable)+1;print $equation;//Will print 1991 Also whats the + in front of $_GET['target_lvl'] ?
  7. Im not quite sure what you mean. Could you post some code or a more detailed explination?
  8. You have put in a physical line break here: echo "<tr>\n<td width='120' valign='top'><b class='tname'><a href='http://hiscore.runescape.com/lang/en/aff/runescape/hiscorepersonal.ws?user1=$name'>$name</a></b></td>\n<td width='50' valign='top'> " /*echo ended here */ PHP doesnt like em. So just use <br> tags or /n but not actual line breaks. The result should look like this: echo "<tr><td width='120' valign='top'><b class='tname'><a href='http://hiscore.runescape.com/lang/en/aff/runescape/hiscorepersonal.ws?user1=$name'>$name</a></b></td><td width='50' valign='top'> " /*echo ended here */ You should not need ine breaks in the table tag anyway unless you want a space. If so just pop in some <br/> tags.
  9. These are my honest opinions and only constructive crit.Problem 1: Start/Enter screen, why? We want to visit a website and having to click another link is painful. Research says that people will likely to click on 3 links on your site and that counts as 1.Problem 2: No structure, the site has really no design structure at all. It needs to have a skeleton redesign of the site (layout of objects). IMO the nav should be on the leftProblem 3: Lack of images, its not very nice on the eye...nothing to look at and 'wow' about...but then again Vista is using the same approach (sorry but I had to make a cheap shot at Vista )So heres some solutions:Solution 1: Ditch the enter page :)Solution 2: Make a design skeleton/map for the site. This should include where the nav, logo and content are going to be placed. The usual style is a logo up top, nav to the left and content filling the right.Solution 3: Your probably more of a developer (as said above) than a designer. I had the same problem. You can go to sites like www.cssremix.com and www.webcreme.com and get some inspiration. Also pick a colour scheme from www.colorschemer.com that matches the site. Blues popular atm but maybe you want to mix it up a bit with some diff. colours.Also the cross hair cursor, its not bad but its annoying for a person who wants to view the site.With time and practice you'll get better
  10. Thanks for the new sites...I will add them in when I get home tonight.
  11. What youll need to do is FTP upload the files to the server. Then for the database you'll have to transfer the data over.I cant elaborate atm because im at school. But im sure someone else can.
  12. The outer glow around the header seems strong. Also, im not sure if you can, its just a bit too plain. It needs something to liven it up.
  13. Awesome thanks peoples If you have a site that I dont have listed for the search PM it to me.
  14. I did have it black but it didnt look to well. White is just fine
  15. Well ill make 1 that mashes em all up then And you can just choose a label to search for specifics...you do know about the lables? If not, check at the top of the results below the ads
  16. I just fixed a few small bugs to make it correctly show this forum since its on a different domain So far W3schools appears on all of my search engines site lists...GO W3S!
  17. Go to my refined Google search engine and find what you want from my favorite sites I use to help me. It includes W3schools as one of those sites.Mega Coding search engine (powered by Google)Shows results for all below langs plus SQL. You can still refine to coding langs using the label options (eg 'HTML only' if you want help with HTML coding only)PHP Refined search engine (powered by Google)ASP Refined search engine (powered by Google)HTML, CSS & Javascript Refined search engine (powered by Google)I will be making more for the other coding langs asap. So check back for more information.Edit:All the major ones done. Please reply with good tutorial and refrence sites to add to the list. I know we arnt allowed to reference other sites but for the sake of helping others this SHOULD be exempt.Flash Actionscript is being added to the mega search option
  18. Well maybe its not a problem with the javascript but rather with your dynamic programming. What DONT you want the user to go back in their history? You may just need to re-revise your dynamic coding.
  19. You could use some javascript to scroll to it. If you want me to make that just PM me and ill send you it. It will ease into the selected range of the section your link is at.I dont know of a way in CSS in which you can make it 'ease' scroll.
  20. Im not sure but i think that thats a safari/mac aqua style thing. You could just use a plain <img> tag but use some simple javascript to submit the form. <script>function submitForm(){document.getElementById('form1').submit();}</script><form id="form1" action="form/submit.html"><img src="***************************img/default/elections/poll_submit.gif" onclick="submitForm()"/></form>
  21. Xenon Design


    SQL is standard over all languages it just how I wrote the code around it.Jump on to the W3S website and go learn SQL Its DEAD simple and should only take 1 hr tops to learn.
  22. Also another thing to add...how can you hack HTML? Like its not like if I change it with my fancy Firefox plug-ins it will change on the server...it wont. Really security is for databases and dynamic scripts :)Also a good comment there aspnetguy. If the visitor is living in the old times/browsers they wont see the page.
  23. Quick question: Why not just have a scroll bar? I know it may look better to us designers BUT your average user just wants a scroll bar and not a fancy doodad. We really have to look at visitors as being Neanderthals and we have to spell everything out for them and make everything obvious. <script>function scrollDown(){var obj = document.getElementById('disp');obj.scrollTop += 10;}function scrollUp(){var obj = document.getElementById('disp');if(obj.scrollTop > 9){obj.scrollTop += 10;}}</script> Just basic stuff there. And just put the scroll buttons on the side and maybe make it look like a scroll bar.
  24. Note: This was fixed via MSN. The problem was it would not run the .php3 extension because Apache's MIME types do not 'by default' know about the php3 extension. You can add this to the MIME list if you want to.Just thought id keep every1 in the loop
  25. Xenon Design


    They will mainly only attack databases and if they can access the pages they will edit them.The way they can delete your database is by exploiting weakneses in your SQL syntax. Heres a common mistake: $sql = "SELECT * FROM users WHERE username ='".$_POST['username']."' AND password = '".$_POST['password']."'";$query = mysql_query($sql); That can be exploited by any SQL Hacker novice. So thats an example of a BAD system. Heres a good one: $user = ereg_replace("[^A-Za-z0-9\-\_]", $_POST['username']);$pass = md5($_POST['password']);$sql = "SELECT * FROM users WHERE username ='".$user."' AND password = '".$pass."'";$query = mysql_query($sql); So the key here is making sure no user submitted data from forms (input boxes etc.) is not a hack.Theres more advanced ways to secure stuff but basically the main thing you have to look out for if you have a database is the user submitted data.You wont be hacked by a faulty script Just an error message :)I hope you understand that BTW Im using PHP as the examples. ASP and others will be different.
  • Create New...