Jump to content

alexnofue

Members
  • Posts

    160
  • Joined

  • Last visited

About alexnofue

  • Birthday 02/19/1982

Previous Fields

  • Languages
    HTML, PHP, JavaScript

Contact Methods

  • Website URL
    http://
  • ICQ
    0

Profile Information

  • Location
    Bogotá, Colombia
  • Interests
    Learn a lot, then play videogames!!

alexnofue's Achievements

Member

Member (2/7)

0

Reputation

  1. Hello, thank you for your answers. Php is running, it gests some information from a database, etc. but, for example, in the php code: echo "<script> window.location='" . $_SERVER['PHP_SELF'] . "';</script>";exit; then, the output in the browser is: <!--?php<?php<script--><html><head></head><body>window.location='/index.php';</body></html> I don't know if an Apache module can (and it is) doing that.
  2. Hello, the xmlhttp.onreadystatechange=function() {} line is an anonymous function assigned to xmlhttp.onreadystatechange, that means that it should have an semicolon to end the expression, or a new line. <!DOCTYPE html><html><head><script>function loadXMLDoc(){ var xmlhttp; if(window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if(xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("divpage").innerHTML = xmlhttp.responseText; } }; xmlhttp.open("GET","ajax.txt",true); xmlhttp.send();}</script></head><body><div id="divpage"></div><button onclick="loadXMLDoc()">Get ajax</button></body></html>
  3. Hello, I am trying to update a program from apache 2.2 to apache 2.4 and php 5.2 to php 5.6.The server seems to be working properly but something is changing the html in a php file i have: <?php//some code?><script type="text/javascript" src="/route/to/some.js" ></script><table width="100%" border="0" >... in the browser is changed to: <!--?php<script type="text/javascript" src="/route/to/some.js"--><table width="100%" border="0" >... I don't know if apache is doing that or what else. Thanks
  4. This is just a little advice, you can check how facebook or other pages do it by checking the network traffic. chrome has developer tools to check that, so does IE or firebug in firefox
  5. alexnofue

    Shoutbox

    Hi, the first thing i noticed was how big is your header, if you see this forum's header is very small. Also the page keep refreshing, i found the setting, 2 seconds is a very short time. Remember that the webserver is a computer that handles every request, in a production enviroment with thousands of users that is going to burn the place down. Maybe you could try to reduce the request doing ajax to the "shoutbox" only. When i tried to enter http://beta.mudsaf.info then it listed your files, that is a small webserver configuration. A index.php would be fine too, even if it is just the menu for now.
  6. Full name: Alexander RamirezAlternative name(s): alexnofueBirth date(dd/mm/yyyy): 19/02/1982Gender: maleCountry of residance: ColombiaCity of residance: BogotáHeight: 175cmWeight: ??Eyes: BrownHair: BlackFavourite Music: RockFavourite Movies: Matrix, New parts of Star Wars, I am legend, etc.Interest: Cars, games, a little anime, bicycleAdditional comments: I been using w3schools as reference for about four years and only until now i started usign this forum, man, some wasted oportunity
×
×
  • Create New...