Jump to content

Search the Community

Showing results for tags 'server'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH


  • Community Calendar




Website URL








Found 23 results

  1. Hello all, I have a website hosted on Hostgator servers. I have also added it to a CDN(Cloudflare). When I fill the contact form and submit I get Error 524(An error occured). How can I fix that pwebk.com _ 524_ A timeout occurred.html ..Please assist
  2. I was wondering if there is any way to set unique values to each cookie. I want to use these cookies on my website to see if the visitor has already visited my website once, but without asking any information from them. This way I want to store this unique value in my database each time someone opens my website, and I will be able to see if there have been - for example - 20 different visitors in the past month, or if the same person has visited my website 20 times. All my code is already written and working, I only need a way to set a different unique value to each cookie I set.
  3. I am trying to set a cookie when there is no cookie from my website found on the user's PC, but the following line of code doesn't work inside a function: $cookiename = "test"; $cookievalue = "tests"; setcookie($cookiename, $cookievalue, false, "/", "localhost"); It does work however if it is placed outside of the function. For exampe, the code above works, but the next code doesn't: $cookiename = "test"; $cookievalue = "tests"; function addCookie() { setcookie($cookiename, $cookievalue, false, "/", "localhost"); } addCookie();
  4. i have my own webserver for my websites but google adsense Not working on it what i do anyone can solve this Thanks In advance
  5. Getting 500 and 503 error

    3 month ago, i have purchased a new domain and hosting at godaddy.com . I am using WordPress for blogging. In these day i am getting 500 and 503 error in my blog. I am not understanding, Why this is? Please solve my problem..
  6. How i connect mysql Remotely

    Hello Every One I Need Help about How i connect mysql Remotely i want use my database from my server ip to other hosting account How I done using php Thanks in Advance
  7. http://craft.minestatus.co MineStatus - Minecraft Servers MineStatus is a brand new modern minecraft server list. Personal Server Analytics Votifier Voting Sharing Profiles Comments Blogs I have recently created my second site. Tell me what you think.
  8. Denail to Load PHP Pages

    Hi. I attempted to load a couple of PHP pages, one of which is the index page, but the message I got is below. The index page is also open in another tab; when refreshed it runs perfectly, but loading it afresh is deniable. Both Apache and MySQL are running; I turned them off and on again and ensured that skype is also off and no firewall set up is changed or updated. I would appreciate if someone could advise what could be the problem and what is the solution? Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the webmaster. Error 404 localhostApache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.9
  9. Hi guys, I practised building site in WordPress by doing it on virtual WAMP server. Now, I want to tranfer that site to byet.host but I have a problem. Before this I already built one site on byet server so I already have an account and url. This is what I did: I used FileZilla to transfer those WordPress files to old byethost account. But url now does not work, I guess because I need also a database that I used building a site on WAMP server. Can you please give me a hand, how to transfer my WordPress site from wamp to real server?
  10. Run a HTML on a server

    Hello so i have a problem if you can help teach me please so I need to run a HTML file that i created on a server, it can be local i need to do it for a school project take a html file and make it run on a server, I will be using my computer but i don't know how it can work on a server. Also I have a mac if you can help on how I can run a html file on my computer onto a server
  11. New tutorial: Dart

    Hello, Would it possible I could one day see a Dart tutorial on w3schools? http://dartlang.org
  12. JavaScript sever side scripting!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!JavaScript!!!!!PLEASE JAVASCIRPT SERVER SIDE SCRIPTING!!!!PLEASE!!!!!HE-MAN: THE POWER!!!!!!!!!!!!You could write it parallel to php server side scripting tutorial examples and use that to get people to want to go through php, and the other server side scripting languages.
  14. Header doesn't work on server

    hi guys, here i'm again! soo this time i have a more complex question (i think). I made a simple form site who works fine on the local server (except the part of the email who never came!). I was trying to put the files on a server and use the email account that the server provide me to receive the emails from my form site, then i found a strange error, my headers functions don't work on the server (with 1 exception), after a few minutes on google i found some answers with .php but any of them work, soo here i'm asking for some light here is one of the headers who doesn't work $resultado = mysqli_query($conexao,$sql);if($resultado){ $_SESSION['usuario_logado'] = $linha['IDUSER']; header('Location: test.php?info=User created and loged KEEP SAFE YOUR USERNAME');} and here is the only one who works <?php session_start(); if (!isset($_SESSION['usuario_logado'])) { header('Location: home.html'); exit; }?>//this verify if a user is loged i tried to use ob_start(); but then i just have a blank page if anyone can help me will be awesome!
  15. How To Avoid $_SERVER["PHP_SELF"] Exploits?

    I am reading at w3schools.com I do not understand fully. (look at green TEXT color) I am trying to playground on my notepad++ it said $_SERVER["PHP_SELF"] exploits can be avoided by using the htmlspecialchars() function.The form code should look like this:<form method="post" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>">The htmlspecialchars() function converts special characters to HTML entities. Now if the user tries to exploit the PHP_SELF variable, it will result in the following output: can i editor like this? since its error. <html><body> <form method = "POST" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>new8.php"> <b>UserName: </b><input type="text" name="username"><br><b>password: </b> <input type="password" name="password"><br><input type="submit"></form> </body></html> please let me know thanks.
  16. Sharing variables between users?

    Hello, gentlemen.Can you give me a quick tip about how can i achieve some server side things.Truly i just don't know what i need to learn.What i need, is to be able to send value of some JS variable of user1 to the same JS variable of user2. Value need to be send from user1 if user1's value changed, and user2's function must start as soon as he receives this value.How can i achieve this value transferring between users of my page.Am I moving in right direction with learning ASP.NET Web Pages, or i totally misunderstood their purpose?
  17. Hello everybody, I have a little problem here...I have a XML file, that is a database itself containing information about terminology in two languages... This exemple file is to be "uploaded" into a MySQL databse, on Ubuntu, which is already built and ready to get the information from the XML files... The thing is: how can I start doing this uploading process? Is shell script a good way? Or is it better to use another tool? How? The file is here, attached. Thank you XML_exemple.mtf.xml
  18. hello again, since most of my websites are made in PHP.i would like to ask a maybe little kind of rookie question, if i have 2 servers, and wonna have the Database on the other, and the website on the other.what to do?... i know its possible... just, how?... do i replace the localhost with (examble) speed-scene.com?... (one of my websites)... or do i get it wrong again?... -thanks as usually.
  19. Server scripting

    This looked like the most likely forum to start with for this problem; apologies if it is not. Although I have done some serious programming in the past, it was mainly Fortran (with some DCL while acting as a VAX VMS system manager) and in the last ten years or so ABAP and VBA, I am a complete novice in web scripting. I do maintain three very simple web sites, but they are just HTML. I now wish to expand the functionality of my websites with both browser and server scripting. I am starting to make progress with the browser scripting but I have a fundamental problem with the server scripting. I am currently running the websites on the free web space provided by my ISP. There is no documentation provided for this facility other than giving the FTP upload details. In fact I can not see any evidence in their current broadband offering that they even offer webspace. My previous communications with the support desk gives me no confidence that they will understand any questions I might ask about scripting, let alone be able to answer them. Since at present I am unlikely to get my scripts correct, I do not know whether it is my problem or the server is simply not supporting any scripting. Is there any simple known working code that I can use to verify which scripting language might be supported on a server? Many thanks.
  20. I want to ask if there is any free MySQL server that supports remote access.People say FreeMySQL.net is one of the choices but I cannot connect to it through a PHP script on another web hosting server.Any idea?
  21. I want to know what are the main different between 3 tier and 2 tier architecture And also what are the advantages and disadvantages each one
  22. error in w3school to upload a file on server

    i was trying to have a code from which i can upload the files on server via php and i got this code below from w3school but its not working can u help me with thisthanks_________________________________________________________ <?php$allowedExts = array("jpg", "jpeg", "gif", "png");$extension = end(explode(".", $_FILES["file"]["name"]));if ((($_FILES["file"]["type"] == "image/gif")|| ($_FILES["file"]["type"] == "image/jpeg")|| ($_FILES["file"]["type"] == "image/pjpeg"))&& ($_FILES["file"]["size"] < 20000))&& in_array($extension, $allowedExts)){if ($_FILES["file"]["error"] > 0){echo "Return Code: " . $_FILES["file"]["error"] . "<br />";}else{echo "Upload: " . $_FILES["file"]["name"] . "<br />";echo "Type: " . $_FILES["file"]["type"] . "<br />";echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb<br />";echo "Temp file: " . $_FILES["file"]["tmp_name"] . "<br />";if (file_exists("upload/" . $_FILES["file"]["name"])){echo $_FILES["file"]["name"] . " already exists. ";}else{move_uploaded_file($_FILES["file"]["tmp_name"],"upload/" . $_FILES["file"]["name"]);echo "Stored in: " . "upload/" . $_FILES["file"]["name"];}}}else{echo "Invalid file";}?>
  23. Upload Contents Into Array

    How do I get php to put the contents, and only the contents, of a file being uploaded into an array?