The Most Active and Friendliest
Affiliate Marketing Community Online!

“AdsEmpire”/  Direct Affiliate

Search results for query: *

  1. bruce bates

    PHP or HTML ?

    I remember the early days of php when you would go into irc rooms and see massive debates about whether php or perl was better (cgi/perl was "the language" of web scripting until php).
  2. bruce bates

    Script for browser back button redirect

    I never assume to know anyones motives for anything. There are many times a back button may need to be disabled. Imagine someone is using surveys for marketing. They change the back button so instead of going back to the last page/question it instead forces the user to restart the entire...
  3. bruce bates

    Script for browser back button redirect

    You could use a simple jquery script. $(function() { if (window.history && window.history.pushState) { window.history.pushState('', null, './'); $(window).on('popstate', function() { document.location.href = 'https://google.com'; }); } });
  4. bruce bates

    PHP or HTML ?

    LOL we are arguing semantics here. I am actually not wrong, the fact that by default a web server serves up html is a moot point. You could just as easily use 'ForceType application/javascript' in your config (assuming apache 2.4) and change that default to serve up javascript instead of html...
  5. bruce bates

    PHP or HTML ?

    I didn't say you are likely to find one, as why would one add to their work when html already exists. It used to be that the ubuntu website was nearly all entirely pure xml unless you want to count the link to the XSLT definition file an html element, but that is no longer the case. I could show...
  6. bruce bates

    PHP or HTML ?

    Sorry but thats not correct (accept for PDF), XML (no to be confused with xhtml) can be used to publish a website as easily as html. SASS, HAML and the likes are html alternatives. In fact HAML stands for HTML Abstraction Markup Language so clearly it is intended for making websites. These are...
  7. bruce bates

    PHP or HTML ?

    Wherever did you come up with this? And I see it stated by more than one..... this is not at all true. I can output json, js, xml, html, pdf, SASS, SVG, HAML, etc. etc. etc. One is not limited to html output when using php on the web.
  8. bruce bates

    PHP or HTML ?

    Purely from the coding aspect, always use php - its 100 times faster to develop. You write a header.html, your use readfile() in php to include it in all your pages; you make a nav.tml file, you use php readfile() to include it in all your pages, and then a footer.html and again readfile()...
MI
Back