Jump to content
xisto Community

pixelsmack

Members
  • Content Count

    76
  • Joined

  • Last visited

Everything posted by pixelsmack

  1. how about functionality? i mean i haven't used ruby to be honest so i havn't got a massive knowladge on the subject. However it is just a scripting languare (please correct me if i am wrong) and if people want to do simple programming such as what you described a language like VB.net or something would be more handy since it is more intuative and allows more advanced programming when the user feels adept enough.
  2. OSX is absolutley gorgeous and really nice to use. in my opinion it also has the advantage of being based on BSD code so it is solid as a rock! XP isn't really a bad OS despite us all moaning about it. however OSX is far more intuative and has a GUI to die for. it really is the daddy.
  3. CobaltChloride is right javascript is very good if used properly, unfortunatley some people see the JS tutorial somewhere where they can have rolling backgrounds and start putting that everywhere. it can be used very effectivley and to be honest i didn't really know there was much browser incompatibility. Its not really a language i use, i prefer server side scripts for most of my work.
  4. Tutorial: Custom â404â error page This tutorial will attempt to describe the method of your own 404 error page. The requirements for this tutorial are: ⢠A basic knowledge of HTML. ⢠A Basic knowledge of Headers. ⢠A basic knowledge of PHP. ⢠A server running PHP and Apache. Xisto fills the last requirement, the rest are up to you! The â404â error A â404â error is an error which appears to give the user a message; it means that there has been a client side error in a page request. This should indicate one of two things to the user, either they have entered an incorrect URL or they have followed a broken link. The user at this point will probably be presented with the ugly site of a Microsoft page telling them the page cannot be found (see http://forums.xisto.com/no_longer_exists/ to see what I mean). The response may be that the user, due to possibly there own fault, will now leave your site. A custom 404 error page will therefore hopefully keep them on your site long enough to sell your product, give them the information, or whatever you are trying to do on your site. Writing an informative â404â error page The most important thing that is needed is to describe the error to the user and offer a solution to the problem, for instance linking back to your homepage or another area of the site that will provide search functions. Or even providing search functions on the â404â error page (this is beyond the scope of this tutorial so you will have to do that yourself) Creating a page that uses your sites colour scheme is good, CSS provides this, so simply attaching a CSS file to your HTML document will allow the user to see they are still on your site. I always like to inform the user of the address that the requested. This is very easy to do with a combination of PHP and exploiting the browsers headers. A header is information that is sent to the server that requests a page; this can be retrieved by the server side language PHP by adding the following code onto your page. <?php$address = getenv ("SERVER_NAME") . getenv ("REQUEST_URI");$message = "<p align=\"center\">Server cannot find " . $address . "</font></p>";echo $message;?> This will read the header and display the address of the site the user requested on the â404â page. Other formatting issues are mostly up to you; just remember that being helpful is always the best course of action. Save the file once the design is completed as something like 404error.php (remember the extension must be .php otherwise your scripting will not work!). An important thing to mention is that IE 5 and IE 6 will only respond to error pages that are greater than 512 bytes in size. An easy was to get around this if yours isnât is to fill it with HTML comments to increase the size of the page. If a â404â error page is less than 512 bytes then IE displays the default Microsoft one. Setting up Apache This part of setting up the custom â404â error part is quite easy, it requires the creation (if one does not already exist) of a .htaccess. If on a windows machine ensure that this file has the extension changed, and not left as .htaccess.txt. If this file already exists then it just requires modifying to include the following line: ErrorDocument 404 PATH Where âPATHâ is the path of your error file, e.g. /error/404.php. No quotes are required around this path or anything however remember that you need the initial forward slash, â/â. If the .htaccess file does not exist then you only need add this line to one and save it. Upload it to the root of your web directory usually public_HTML and ensure that the CHMOD is correct so as people cannot edit this file. This should be 644. Conclusion I hope that explains the ideas behind creating a simple â404â error page, there are many other things that you can do to extend this but this will allow you to create something that will hopefully keep people on your site. Thatâs the end of this tutorial so good luck and have fun web-designing.
  5. well i have been weighing up the prospect of getting a iBook for about a year but am going to wait untill my parents put WiFi in there house (and G5's come out). The mini mac does look good but for desktop to be honest i think a PC is better. If they came down in price a bit more or increased the initial hardware then i might be tempted.
  6. This open-closed universe idea has been explored quite well and the universe does, it apears, seem to be accelerating away from itself. This leads to the natural question about the huge amount of energy that was expelled if the big bang happened and where has some of it gone? we can calculate the original energy of all matter with E=mc^2 however this doesn't come close to the amount required. the value calculated is something like .001% of the total energy required for current acceleration trends in the universe. This then leads to dark matter and other psudo-theory physics which is all very interesting bu just speculative. Another interesting idea is the quantum theorys that is being associated with energy that was being released from the big bang regarding trans-universal superposition. all a bit wierd and wonderful if you ask me however.
  7. MajesticTreeFrog is right here, we didn't evolve from apes. We evolved from an ape like creature from which apes and other apellike creatures of today evolved.Unfortunatley 'hard evidence' for subjects like this is very difficult for us to find, most of the evidence we have gathered as yet is circumstancial (spelling?!) since the development of animals such as *person* Erectus has been tracked and there disapearence roughly 0.07 Million Years Ago to our appearence at about the same time. Unfortunatley other than looking at similarities in location, habbits and structure (which are obviously all part of the evolutianry tract) we dont really know for sure.Other than in religous circles this is the most widley held view and even some religous groups are slighlty willing to accept the theorys of evolution.
  8. another example of the suberb enlightening content avalible on the forums here... sometimes i do wonder why i don't IRC anymore....
  9. Since you are using PHP and perl and not ASP or anything maybe you could replace ISS with apache and use it as a AMP setup (Apache MySQL PHP), this is fairly easy to setup and there are hundreds of tutorials online such as this one. The other advantage of this is that is will more closley emulate the setup here at Xisto. If you still want to use MySQL with ISS, as long as you use PHP to do all the database programming it should work ok since it is setup from install for use with MySQL (well PHP4 and above is)
  10. i have actually read an interesting article regarding secure password creation that i think is quite clever, what happens is you take a word that is easy to remember such as your name, then cipher it using a form of simple encryption that is easily repeatable. Use the ciphered version as the secure password and then if you forget it you have the word and encryption technique to fall back on, so you can regenerate it.
  11. i use photoshop, i think its a very very powerful app for graphic design i did use pain shop pro a while back before i got a copy of photoshop and it wasn't a patch. i never really tried fireworks, i do however know that fireworks is designed more for web graphics design as opposed to photoshop being more generalised.
  12. i prefer, when looking at a website for the background to be a matte colour. white is good as well. Bright colours are difficult on the eyes. It might be interesting to note that green was found to be the easiest colour on the eyes in some recent research, however i personally use a matted gray.
  13. yeah, it would probably be easier to dual boot. i hadn't thought of that!
  14. i really don't particulally want to get into a debate on whether war in iraq was / is justified or whatever however i do find it interesting that the search for WMD's has no ended with a zero level of success. i feel that as weastern democracys whatever the reasoning behind a war needs to be justified on far more than the potential of possibly finding something, which was the justification 2 years ago in the UK at least.
  15. Does anyone have any advice regarding using virtual machines, i know of VMware however have never used it and i know there is a M$ one which i have never used either (i don't even know what that is called). Can someone please reccomend one for use in windows XP to install windows server 2003 on please.
  16. Yeah i think i agree with this comment, maybe thats why i prefer KDE, since i don't use *nix all the time i prefer the easier options. i also agree that it is very bloated, this is the main reason i don't use linux all the time, not just the GUI is bloated there are so many crappy apps that i really don't want on default installs of the major Distros.
  17. i'm running a sempron 2400XP at the moment and its a very good chip. however if you are after a high budget chip i would go for one of the new P4's they are very very fast. my house mate is running one and he dropped his 64bit AMD (not literally) when he tried the new p4's, so y the sounds they are the best high-end chip although i think the sempron is a very good processor for the price.
  18. i'm a KDE man myself, i love the blue you see. no other reason than that really i do tend to find them much of a muchness, however since i usually use windows systems then i guess i probably don't know all the ins and outs of each one. as long as i can find the konsole and a graphical web-browser i don't really care haha.
  19. mail ($GAdmin_email, $name.": ".$subject, $telefon, $organization, $message, "From:$sender_email"); I think the error lies in the way that the variables are being syntaxed, i think you can on ly have the 4 variaables in the argument. It might be easier to construct these outside the mail() argument. something like: $subject = $name . " : " . $subject;$message2 = $telfon . $organization . $message;$from = "From: " . $sender_email . "\r\n";mail ($GAdmin_email, $subject, $message2, $from); i know its a longer way round but it might work, i would also check in the php manual to make check how arguments can be parsed.
  20. i'm listening to BBC radio 2, i havn't listened to the radio in years and forgot just how good it is! great computer entertainment he he. its a review of 'Ray' at the moment.
  21. i know i always say it but w3schools is still the daddy, it has successfully solved all of my CSS problems for me. There are a huge number of tutorials as well as some examples to play with. it is possible if you use dreamweaver to basically let it write the file for you thogugh, Visual Studio .net also allows it so maybe some other IDE would also be good for it, i don't know.
  22. i did karate (shotokan) for about 5 years but stopped several years ago, i also did a little kick boxing a couple of years ago but didn't enjoy it to much. I now practise Karate (Goya-Ra-Ru), which is a style similar to shotokan but with a little chinese influance mainly from kung-fu. i also practise Takwondo (sp?!) however this has only been for a couple of months so far, and i'm finding it far more demanding that karate.
  23. Survey of Xisto Web Community[age range?] * 15-19 [amount of time online in this community/week?] * 3-5 hours[occupation?] Medical Physicist[country?]England[native language?]English[number of web communities you actively participate?]3[how should this community be moderated?]ie ... (this list is not all inclusive ... feel free to add your own) * by board owner appointment[Other than free hosting, is there anything else that keeps you active here?]High quality posts, interesting community.
  24. 1TB from e-mail, would take forever to fill, there would be no real use for this much space in a inbox and how many users would ever use anything like that size. the one advantage is the 500mb attachments ut how many people you are e-mailing can recieve attachments that big anyway. i would rather stick with gmail which has an inbox size i arn't worrying about filling any time soon, coupled with a nice interface and quick easy features. oh the POP3 is also something that is very good with gmail.
  25. Windows 98SE would deffinitly be what i would be trying on a system like that it will allow you to have more security than 95 and is slightly more up to date. Linux would also be a good idea assuming that you know and understand linux and can install it etc, however if not i would deffinitly stick with a windows system (unless you want to learn linux of course).
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.