329 Posted Topics

Member Avatar for Octet

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 …

Member Avatar for Octet
0
139
Member Avatar for pawan768

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

Member Avatar for Octet
0
115
Member Avatar for happygeek

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.

Member Avatar for GarryHillton
0
1K
Member Avatar for cambraydesign

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 …

Member Avatar for cambraydesign
0
377
Member Avatar for Arturo32

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 …

Member Avatar for firdaus_lazim
0
770
Member Avatar for Octet

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 …

Member Avatar for blocblue
0
213
Member Avatar for Octet

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 …

Member Avatar for dany12
0
236
Member Avatar for Octet

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 …

Member Avatar for Octet
0
282
Member Avatar for santonu911

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.

Member Avatar for almostbob
0
210
Member Avatar for Octet

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 …

Member Avatar for Octet
0
425
Member Avatar for Octet

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, …

Member Avatar for Octet
0
119
Member Avatar for Octet

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 …

Member Avatar for billconner
0
404
Member Avatar for cmps

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). …

Member Avatar for cmps
0
323
Member Avatar for casestudy

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!

Member Avatar for JorgeM
0
38
Member Avatar for Octet

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 …

Member Avatar for JorgeM
0
270
Member Avatar for Octet

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 …

Member Avatar for nielsep
0
227
Member Avatar for Octet

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 …

Member Avatar for here2serve
0
361
Member Avatar for Octet

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 …

Member Avatar for Octet
0
166
Member Avatar for Octet

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 …

Member Avatar for cereal
0
8K
Member Avatar for Octet

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 …

Member Avatar for Octet
0
294
Member Avatar for Octet

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 …

Member Avatar for rubberman
0
244
Member Avatar for Octet

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']); …

Member Avatar for Octet
0
163
Member Avatar for Octet

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" …

Member Avatar for diafol
0
156
Member Avatar for Octet

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 …

Member Avatar for Habitual
0
212
Member Avatar for Octet

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 …

Member Avatar for richardtj
0
205
Member Avatar for Octet

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 …

Member Avatar for Octet
0
303
Member Avatar for Octet

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, …

Member Avatar for Octet
0
193
Member Avatar for Octet

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 …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for Octet

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 …

Member Avatar for Octet
0
216

The End.