Jump to content

boen_robot

Moderator
  • Content count

    8,493
  • Joined

  • Last visited

  • Days Won

    24

Everything posted by boen_robot

  1. Host and DNS Discussion

    Due to the large amount of topics about different hosting plans, I decided to write them all down here for you to look as a reference. I hope that the moderators will lock future topics about hosts and redirect them to this topic.Note: Please also check the posts below this one. They (may) also contain other hosts that might better serve your needs.If you would like to add a host that is not listed here, please follow this template: Or for a domain registar: Comparrisons and comments are allowed, as long as you have more to say then "Host X sucks. Host Y rules!" for example.Please note that the order of the sites in my post is the one in which I have fond them. PM me (or the moderators?) if you find any errors in the host's descriptions below.And here goes...Hosts:Name: DeluXe HostPrice: FreeServer side scripting(s)/database(s): PHP/MySQLSpace: 100MBBandwidth: 300GBAds: NoWeb adress: web directoryAdditional Comments: There are many restrictions about what site (content) is allowed. The most important one is that only european languages are allowed. Read the FAQ for details. Name: iNeedHosting.netPrice: $3.99/Month; $6.99/Month; $11.99/Month; $20.99/Month;Server side scripting(s)/database(s): PHP, CGI, Perl/5 MySQL databasesSpace: 500MB; 1000MB; 2000MB; 2000MB;Bandwidth: 10GB; 20GB; 40GB; 50GB;Ads: NoWeb adress: domain with up to 25/50/100 subdomainsAdditional Comments: There is also an option for a custom plan with a custom price.Name: iNeedHosting.co.ukPrice: £6.49/Month; £14.95/Month; £98.95/Month;Server side scripting(s)/database(s): PHP, CGI, Perl/MySQLSpace: 200MB; 500MB; 1000MB;Bandwidth: UnlimitedAds: NoWeb adress: domainAdditional Comments: It might seem as the above, but it's actually quite different. It looks kind'a unprofessional in my opinion, but still, detailed enough offers.Name: SiteFlip.comPrice: $11.88/Year; $59.40/Year; $155.40/Year;Server side scripting(s)/database(s): PHP, Perl/Unlimited MySQL databasesSpace: 100MB; 500MB; 2,000MB;Bandwidth: 3GB; 8GB; 15GB;Ads: NoWeb adress: domain with no/5/10 subdomainsAdditional Comments: There is a VERY detailed explanation of the host's features on the site. I personally think that's very attractive.Name: Mind FusionPrice: Free; $4.99/Month; $9.95/Month; Server side scripting(s)/database(s): PHP, CGI, Perl/5; 15; 50 MySQL databasesSpace: (1)50MB (the picture is not synced with the text!); 250MB; 500MB;Bandwidth: 1GB; 2GB; 3GB;Ads: NoWeb adress: subdomain(s)... I'm not sure here actuallyAdditional Comments: Even in this short description you noticed there are things which are not very clear. I would stay away from this site's payed offers if I were you.Name: Crystal TechPrice: Too many different offers to describe. They vary from $2.95 to $399.95Server side scripting(s)/database(s): PHP, CGI, Perl, ASP(.NET), Cold Fusion/MySQL, MSSQL, ODBCSpace: varies from 200MB to whole hard drivesBandwidth: from 5GB to 1000GBAds: NoWeb adress: domainAdditional Comments: It has many options, among which are not so frequently found things such as Cold Fusion and ODBC support. All offers are well detailed. For that at least, it definetly worts the attention.Name: GeoCitiesPrice: Free; $4.95/Month; $8.95/Month;Server side scripting(s)/database(s): No; PHP, Perl/MySQLSpace: 15MB; 500MB; 2GB;Bandwidth: 3GB; 25GB; 100GB;Ads: Yes; NoWeb adress: web directory; domain; domain with up to 5 subdomains;Additional Comments: The free hosting plan sucks. As you can see for yourself, the other free hosts have better plans and with no ads even.Name: RipwayPrice: FreeServer side scripting(s)/database(s): PHP/NoSpace: from 30MB to 400MB (WTF?)Bandwidth: 15MB/dayAds: NoWeb adress: web directory... I thinkAdditional Comments: Sounds good if you can overcome the low bandwidth.Name: Ripside InteractivePrice: $8.50/Month ($4.25 first month); $14.50/Month ($7.25 first month); $24.00/Month ($12.00 first month); $43.00/Month ($21.50 first month); $56.00/Month ($28.00 first month);Server side scripting(s)/database(s): PHP, CGI/3 (with the first two); unlimited (the other offers) MySQL databasesSpace: 250MB; 500MB; 1000MB; 2000MB; 4000MB;Bandwidth: 10MB; 25MB; 50MB; 100MB; 250MB;Ads: NoWeb adress: domainAdditional Comments: That's the host for which Ripway refers for "if you want more" or something. Perhaps they are owned by the same people.Name: BrinksterPrice: Free; $4.95/3 Months; $7.95/3 Months; $17.95/3 Months;;Server side scripting(s)/database(s): ASP(.NET); PHP, ASP(.NET)/MySQL, MS AccesSpace:15MB; 1500MB; 3000MB; 5000MB;Bandwidth: 500MB; 35GB; 75GB; 175GB;Ads: NoWeb adress: Subdomain (I think); domainAdditional Comments: The prices actually vary if you select to pay for a different period. There is both Linux and Windows hosting similarrly to Crystal Tech.Name: FreewebsPrice: FreeServer side scripting(s)/database(s): NoSpace: 40MBBandwidth: 500MBAds: NoWeb adress: web directoryAdditional Comments: Probably the most famous host theese days, but I personally don't like it. Kind'a weird that they say to support SSIs but don't have server side scripting support.Domain name registars (without hosting):Name: dot.tkPrice: Free;Web adress: web redirecterAds: YesAdditional Comments: I don't quite like it, but if you're looking for the shortest free web redirecter possible, that's the way to go.Name: freedns.afraid.orgPrice: FreeAds: NoWeb adress: (Sub)domain or web redirecterAdditional Comments: It has it's features very detailed, though I don't see much to be described in DNS services.Name: freedomain.co.nrPrice: FreeAds: NoWeb adress: web redirecterAdditional Comments: That's the second time I ever see a free DNS after the tk thing. Kind'a weird. I don't know anything else about it.
  2. git username

    You can use git config --get user.nameand similarly for email.Seegit --help configfor details.
  3. @var, @param, @return meaning in php comment

    @Ingolme, @thescientistHave you two really not heard of phpDocumentor or are you being sarcastic ?
  4. Currency-type?

    IMHO, it would be best to describe that via an attribute, e.g. <price currency="USD">111.50</price> and infer the preceding "$" upon interpretation.
  5. I'm stuck on xml to xsl path ?

    The proper order is to have the PI ("Processing Instruction"; the "<?" thingy) before the root element.Also, for a validator to recognize your declarations, the namespaces everywhere need to match. In this case, your elements are not in a namespace, so the "noNamespaceSchemaLocation" is the proper attribute to use, i.e. <?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/xsl" href="prob12.34d.xsl"?><ArtistListxmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:noNamespaceSchemaLocation="prob12.34d.xsd"> You're not supposed to see both the data and the formatted HTML... The PI is used exactly to tell the browser to hide the data in favor of whatever the result of the XSLT transformation is (which in your case is an HTML page, but could be an SVG instead for example).Also, no browser does either DTD or Schema validation, so you're not going to get any schema related errors in a browser. For that, you'd need to use the server. e.g. PHP's DOMDocument::schemaValidate() which, as you might be guessing, ignores your XML declaration too. So what's the point of that declaration you ask? IDEs - they can offer you auto completion based on the declared schema, and some can even validate your document "on the fly", and tell you an element is invalid at that location as soon as you write it out.
  6. Why can't I search the forums?

    The problem with putting up "a rocket up their support staff" is that we're not the owners, and that's the only one who they respond to. I don't. Sorry.
  7. Why can't I search the forums?

    Sadly, there's nothing either you or we can do.This is a problem with the host - Invisionzone, which they still haven't fixed.
  8. I'm stuck on xml to xsl path ?

    yes. With "@" in front of the node name.
  9. Avoid Attributes?

    You don't need either DTD or XSD to render XHTML from an XML document. XSLT is enough.DTD or XSD is needed to validate the grammer of an XML document. To actually perform the validation, yes, you need to use a validator.The order I'd advice is XML, (XSLT & XPath), (DOM & XPath), XSD, DTD. XPath needs to be studied together with XSLT and/or DOM, because it doesn't make sence in a vacuum. XSLT on the other hand can't really do anything without XPath. DOM could, but having the "node sence" that XPath provides helps.As for attributes - an attribute can occur once per element, and can't have any children other than its value. If you have a scenario where this is enough (e.g. specifying a URL of sorts, a "flag" of sorts, etc.), an attribute is a perfect thing to use. In all other instances, an element is more appropriate.
  10. Two questions about xml

    The default is the highest supported by the XML parser.The main difference between 1.0 and 1.1 is in what's allowed as tag names - XML 1.0 only allowes a certain (very large!!!) range of printable characters, while XML 1.1 only forbids a certain (very small) range of characters that are either already special (e.g. "<" and ">") or are reserved for potential future expansions (e.g. "{" and "}").There's almost no other difference, which is why you don't see many users use it, and in turn, fewer parsers for it.
  11. If statement

    You could invert the conditon - always display the start date, and if the dates are NOT the same, display the end date as well, e.g. //Do whatever you do to "show" the date e.g. "echo $event->StartDate;"if ($event->StartDate !== $event->EndDate) {//Do whatever you need to do to also "show" the end date, including outputting a separator, e.g. "echo '-', $event->EndDate;"}
  12. xss in w3school

    This is supposed to be an overly simplified example... not to be used "for realz".How to fix this should IMHO be explained in later tutorials, but as far this one is concerned - it poses no danger to W3Schools' server, nor can one user touch another, so it's fine.
  13. E_ERROR/E_WARNING

    If you want to programatically detect warnings and analyze them, you have to set an error handler function, and check its arguments. See the set_error_handler() function for details.
  14. Apache 2 Installation Need Help

    Make sure the user Apache is running as has privileges for C:\PHP.To be absolutely sure, you can right click on "C:\PHP", go to the "Security" tab, and add "Everyone" with "Full rights". Then reset Apache.
  15. Apache 2 Installation Need Help

    Nah, recent ApacheLounge binaries use ".so" files indeed.The first error message appeared because you have another program running on port 80. This could be another Apache installation or it could be Skype. If you have Skype, shut it down, and then start Apache with port 80, or (as you've already done) make Apache use a different port.As for the error about loading the module... How does your httpd.conf file look like? I don't mean the whole... just... how does the line where "mod_access" appears look like?
  16. Selectors- why?

    It might help to illustrate this with a slightly more complex HTML: <div class="myDiv"> </div><div class="something"></div><div class="something"></div> If you have a selector that says "div", you apply the style to all of the elements above (since in the above example, they're all divs). The selector ".myDiv" would apply only to the first div, and ".something" would apply to the second and third elements.
  17. Installing, Apache, PHP, and mysql

    XAMPP is an "all in 1" installer.If you want to install the components separately, get the Apache Lounge binaries for Apache (the 32 bit), and also get the mod_fcgid binary. Installation instructions are within the zip files.For PHP, the Windows binaries can be found at a separate subdomain of php.net. For Apache, you need the "VC9 x86 Thread Safe" zip file. Installation instructions can be found at this page of the manual.For MySQL, get and follow the instructions of the MySQL installer.To make PHP "see" MySQL, check out this page of the PHP manual.
  18. SEO

    AFAIK, it uses the same techniques like any other sites, i.e. it goes from the front page, and follows all links, regardless of whether they point to the same file with different parameters, or different files.In terms of what's placed higher on results, different files would be placed higher, regardless of whether they're through a sitemap index or "naturally" gathered.
  19. Is this regular expression possible?

    The dom_import_simplexml() is all you need in case you want to keep your SimpleXML stuff at some place, and just switch to DOM for this one manipulation, and then use simplexml_import_dom() to switch back to SimpleXML.Of course, it will be more efficient if you always use DOM instead.
  20. microsoft enterprise library

    The official page suggests to me that... well...Advantage: More convinient (because it takes fewer lines of code to do more work)Disadvantage: Slower (because it's another layer of .NET code)
  21. <a ... target="_blank"> not working in xsl

    Perhaps you need to make the servelet output the MIME type (i.e. Content-Type header value) "application/xml".I haven't worked with JSP servelets, but a quick Google search leads me to believe HttpServletResponse.setContentType() is the method you're looking for.
  22. Student Question

    Yes, you can do the math in SQL too. At the very start of the SELECT... so: SELECT balance + paid FROM whateverTableWeAreTalkingAbout
  23. off topic rule?

    If it's an off topic that has indirectly to do with web development/design, we may allow it, and occasionally have done so.But if something is completely unrelated, we're locking it out right.Examples of things that, despite me liking them, I'd close off for being off topic: Computer games, Yu-Gi-Oh! (everything...), Sonic The Hedgehog (everything...), cats.... oh, and if someone starts going "me too", you'll force me to lock this topic .
  24. MAMP/Apache environment vars question

    Yes, except that if you specify the name of an existing variable, you'll overwrite it. As per your initial example, you'll probably want "SetEnv PATH /foo/bin".
  25. Function size, parsing

    We're always talking about file contents. The name of a file is nothing more than a string in PHP.
×