329 Posted Topics
Hello Daniweb, I'm in the process of creating a rather large website and so I am wanting to make it as easy for myself in the future as possible. For example, if I migrate to a new design, I don't want to have to add all the existing content again … | |
Re: You could always run a Cron task, the draw back being that you would need to know the time the table was created. For example: * Table Created * Setup Cron (* * */15 * *) to Run Scripts * Table Deleted Every 15 Days | |
Re: Ouch, rather embarressing to say the least. Salting passwords is one of the first things I learnt to do when beginning PHP for web development. | |
Re: The best solution would probably be to get a server in your office, I would recommend the HP MicroServer range (starting at about £100 for a small business server which should be suitable). I would then suggest installing Ubuntu, setting it up is easy to do and there is a … | |
![]() | Re: What you have posted is HTML which isn't able to do much for you in terms of checking for user existance but the simplest way to do it (and shall be needed for things like adding the user to the database and logging in) is to use PHP and something … |
I am creating my purchasing system for my game at the moment, but I am struggling on a part of it and wondered if any of you could offer me some guidance? The problem I am facing is adding X amount onto a value but if that means it goes … | |
I am looking to create a PBBG game using HTML and CSS for the display and then PHP and MySQL to handle the game itself. It shall only be simple, click on this item and upgrade it if you have enough resources e.t.c. I am hoping to make it a … | |
Ok, I am having a 'WTF' moment, I cannot see what is going wrong and it is really beginning to bug me. I am attempting to send a user to an error page if the username or password is incorrect but it keeps redirecting to a page which doesn't exist … | |
Re: Would you be able to open up task manager and see what CPU usage it is at, although it might not be, it could be because your CPU is being overworked, virus scans can be very intensive things. | |
I am attempting to host multiple sites on a single server by using virtual hosts however I am having a bit of an issue. A bit of info before I begin, -I am using Ubuntu Server 12.04 -I am using Apache2 -I have two domains and two sites, stored in … | |
Sorry if this is in the wrong forum, I'm not really sure where this would go as it doesn't exactly fit into any. I am wanting to host some friends websites on my server (VirtualHosts in Apache) but I am planning on charging for this service (to cover the internet, … | |
I am attempting to setup virtual hosts so that I can host multiple sites on Apache2. I have currently got two files in my /etc/apache2/sites-available folder, each containing the following: <VirtualHost *:80> ServerName www.domain.com ServerAlias domain.com DirectoryIndex index.php DocmentRoot /var/www/domain </VirtualHost> Obviously the 'domain' changes to the domain for the … | |
Re: Hello, I should firstly also point you to 'The Big Bang Theory' episode in which Sheldon and the crew did this with a stereo, lamp and remote control cars. When doing something like this, you will need an I/O Board such as Arduino and a router (in terms of hardware). … | |
Re: Afternoon (from the UK) Bhumik, welcome to the forum. Although I am not a veteran of the forum I will say welcome and you should find this a very useful resource in whatever projects you do and I am interested in seeing what you can offer the forum as well! | |
I have been having some problems with my domain, when it reaches my server the address changes to my IP. I 'own' the domain, "www.domain.com" which is forwared to my router, my router then points it to my server and the pages are displayed e.t.c. Instead of displaying, "www.domain.com/index.php" it … | |
I am creating a website although during a trial run with a couple of friends they uncovered a bit of a major issue.... the ability to spam. I have added a hidden box e.t.c. to attempt to prevent bots from spamming but my friends where able to post twenty messages … | |
Ok, so I have just set up a server using Ubuntu Server 12.04 but I have hit a bit of a brick wall when attempting to view webpages. I chown'ed the /var/www folder so I could add my files to it and all is working fine from this front but … | |
I am attempting to create a script which checks to see if the user has a warning level of less than 3. Basicaly, I want to automatically deny any account which has a Warning Level (stored in the Database) of 3 or more from logging in but whenever I attempt … | |
Hello, I am trying to create a members page for my website and I want it to display a welcome message for when the person views it, something like: "Welcome <USERNAME>" I am new to PHP so I am not sure if there is something I am doing wrong, here … | |
I am attempting to send the data from a set of radio buttons to my MySQL Database so that I am able to get people to review the site. When I did my initial test with a single radio button in a test database all went well, however when I … | |
I know this question is extremelly hard to answer without actually checking how I setup my server, but I wondered if anyone could give me a quick rundown and/or information as to how I could check and protect it further. I am running a Web Hosting Server using old computer … | |
I have the following PHP: [CODE]<?php define('DB_NAME', 'database'); define('DB_USER', 'root'); define('DB_PASSWORD', 'password'); define('DB_HOST', 'localhost'); $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); if (!link){ die('Could not connect to database'); } $db_selected = mysql_select_db(DB_NAME, $link); if (!$db_selected) { die('Could not connect to the database'); } $value = htmlspecialchars($_POST['Name']); $value2 = htmlspecialchars($_POST['Email']); $value3 = htmlspecialchars($_POST['Subject']); … | |
I am currently using MySQL so people can send my a message that shall be stored in the database. The only issue is I have no idea how to protect against SQL Injection, below is my HTML: [CODE]<form action="Action.php" method="POST" /> <p>Name: <input type="text" name="Name" /> </p> <p>Comment: <input type="text" … ![]() | |
I am wanting to set up a home server using an old computer, after doing some costs it would work out considerably cheaper than using a hosting service, and although less reliable I feel it would be some good and valuable experience. I have installed Ubuntu server edition onto my … | |
I am attempting to make my first website, however I have hit a hurdle in what appears to be browser compatability issues (or I could be talking nonsense?). I am wanting to stretch an image to act as my background of my website,the only issue is it won't work in … | |
I am creating a database search and I am having a bit of issue when I want to return to my main menu. I have attempted to use loops with no success, could anyone suggest how I can do this? [code] #include <iostream> #include <fstream> #include <windows.h> #include <string> using … | |
I am creating a MAC Database for my home network which shall contain a list of names of those on the network and allow me to quickly search for people when I get a warning about a user. I am using switch statements to go to each main section (sorry, … | |
I am having problems with a simple file I am trying to create. The idea of the file is to use a header to read something from the file and then call this in the main.cpp This is my Main.cpp file: [code] #include <iostream> #include <string> #include "Menu_Screen.h" using namespace … | |
Hello DaniWeb Users, I am new to the forum however from what I have seen it is exceptionally good! I have searched the forums already and found various questions relating to a similar problem as mine however I am unable to work out how I can amend this for my … |
The End.