Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by Sl0G

  1. Sl0G

    Image size

    Opening the image in most photo editing applications will give you the option to look at the image or canvas size.
  2. Sl0G

    Basic question

    You can simulate animation using for example Javascript to rotate images.Beside that HTML5 was thought to replace Flash partly to do make designers and developers for the web depend less on 3th party plug-ins and software. You might want to look into HTML5 depending on what it is you want to do the canvas might be interesting for you and if I am right there is already a pretty good browser support for it.If it is just rotating some images use a Javascript function for it or an animated .gif file.
  3. Just a thought I had today.What are they planning on doing with CSS then? Style sheets get cached by the browser the first time you visit a site what reduces a lot of the loading time for bigger websites that use lots of styling.Will browser manufacturers be forced to ask a user every time he or she visits a site if they want the browser to cache the sheet? Sounds impossible and would be a pain in the ###### for e-commerce websites as well, knowing they already take ages to load often because of all the queries made to the database.
  4. Here in the EU we have a saying (well most say it beside people from Greece and similar country's).
  5. This could just have to do with how the browser you are using renders the page. If so you could get it fixed by setting the margins to 0 of the body tag in the CSS file (presuming you are using CSS for styling your web page).
  6. .htaccess is a file that is supported by the server (IF and only IF the server is running is an Apache server, which most are). The name of the file itself is .htaccess, so you would place the code example into that file and upload it to the folder it applies to.If you want to do it in a different way then the server administrator needs to change the Apache configuration file to look for a index.html file instead of index.php as a first choice.
  7. Validation error. No problem to reach the website itself. Only happens when I try to validate the page.No idea, how the doctype gets changed by itself. I double checked and there is nothing in .htaccess doing it what according to my searches could cause the problem. That was incorrect, the right DOCTYPE seems to be used. However I got no idea why something that used to validate does not validate no longer. Looking at the page source also does not tell me anything. Some of the errors or warnings given by the validator are incorrect. It tells me for example that I am linking to files outside of the header while the linking is done clearly inside the header tags.
  8. For some reason it seems that a different DOCTYPE is pressed up on the document?????
  9. That is what I get trying to validate a website suddenly that used to work fine. Only changes that have been made is that some Javascript was included in to the index page to do rotations of images.NET-enabling start-tag requires SHORTTAG YESdocument type does not allow element "META" hereThen the errors are all related to the two above statements.Any clues?
  10. Sl0G


    Chrome is a browser not a web server...Anyway do not change any settings in the php.ini file unless told so to do. These settings configure PHP and the security related to it as well. As an example there is a setting that will allow PHP access to your entire machine from a PHP command line instead of only the web root.What tutorial are you following?
  11. Thanks for that link at first.However I keep standing by what I said when it comes to basic web sites and applications. Most crackers will use rainbow tables for attacks on hashed string and when it comes to that MD5, SHA-1 and SHA-2 are each others equal.Best advise I always give people is to use a strong 'cake' when they need to hash a string into a database.
  12. I am no professional but the "more work samples" header does not really catch the eye. I first had to take a good look before I actually knew what it all was about as well as that it raised the question 'what is the first work sample?'.The featured work intro is something to easy to overlook. Maybe add something in front of it so it pops up a while after that the page is loaded. The 'Click here to view project' is also kind of hidden away and needs to be searched for on the sub-pages. You might want to consider a more 'standard' design. Most people looking to hire some one are not all that technical themselves often. They might get overwhelmed with the looks and functionality of the website.
  13. I believe that this is what you are looking for.http://www.w3schools.com/php/php_ajax_rss_reader.asp
  14. Soon SHA-3 will come out. No idea what you are coding however I can not see any danger in using MD5 or SHA-1 for a standard website. The resources it takes to crack these using automated tools are to expensive for any amateur hacker. SHA-2 is a government developed algorithm.But if it scares you that much follow NIST who said not to use SHA-1 no more after 2010 (for government agency's). I believe that no one interested in cracking a normal sites database can afford the computational power to brute-force the hashes (strength of 2^52) not to mention that I can not see them wait several, what is it? Years for a result...
  15. To use it with gmail you need to use outlook express or any other email application. You can not insert HTML directly into a mail send using gmail. What you can do is compose a mail using their interface that has the same options as you would have coding one in HTML and CSS.To do this click on the link saying "rich formatting" after you choose to compose an email. You should then see a bar that will let you choose colors, underline text, bold text, lists, etc..
  16. Both PHP and Javascript have a function to return the MD5 hash of a string.Also MySQL has support for the functions MD5(str) and SHA2(str, hash_length).http://dev.mysql.com/doc/refman/5.5/en/enc...ml#function_md5http://dev.mysql.com/doc/refman/5.5/en/enc...l#function_sha2I do not know if any of the other database applications have support for it but they should have. I suggest to read up in their user manual.
  17. Try this instead. AuthType BasicAuthName "Locked Area"AuthUserFile /FULL_PATH_TO_THE_PASSWORD_FILE_ON_THE_SERVERrequire valid-user And make sure that you are using the right encryption for the password. Do not know if you are aware that the password is encrypted.Here a generator that might help you: http://www.4webhelp.net/us/password.php
  18. Add padding to top of the container holding the menu.
  19. If I have the following code for IE what percentage of the page does it use for the start and end of the gradient? -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#0000FF', EndColorStr='#FF33FF')"; /* IE8, IE9 */
  20. All IE versions refuse to put the border around the image.
  21. I am using <!DOCTYPE html> the HTML5 DOCTYPE.
  22. Far as I was told CSS3 is made out of several modules. Actually meaning it is CSS2.1 but with more functions added to it. What means that the page is correct when it claims that CSS3 is the latest standard. That it is not fully implemented yet in all browsers has no meaning, CSS2.1 is also not fully supported by all browsers.
  23. The following code will create a border around an image in most browsers. However it refuses to work under IE. IE seems to be adding the border around the image and then adds the padding instead of the other way around. I was hoping someone knew a solution to this problem and how I would get it to function correctly in IE6+.Do not look at the border radius. I am aware that IE does not support it and I doubt there is any method to get around that one using ms filters. img {width:50%;height: 50%; padding:5px; border:1px solid #021a40; border-radius: 5px; -moz-border-radius: 5px; /* Firefox 3.6 and earlier */ background-color:#fff;}
  • Create New...