Forum: PHP May 1st, 2009 |
| Replies: 1 Views: 239 Hi
So... I've been reading up a little bit about cookies and security. Only to find that you should encrypt the data in them and that they can be hacked by using javascript code.
Is this really the... |
Forum: HTML and CSS Apr 26th, 2009 |
| Replies: 4 Views: 1,573 Hi
I'm stuck wanting to create a dropdown, only supported by CSS. This is my current code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>... |
Forum: PHP Apr 11th, 2009 |
| Replies: 3 Views: 445 Well no not really, sorry. Eventually it's meant as a map for players to walk around on it, it has layers just to customize it.
I'm just wondering if I'm handling this correctly or if there's a more... |
Forum: PHP Apr 11th, 2009 |
| Replies: 3 Views: 445 Hi everyone,
because I've recently decided to try making a webgame, I've begun scripting an editor for it. However, I'm quite stuck on the little project and would like some help.
The script... |
Forum: PHP Apr 11th, 2009 |
| Replies: 23 Views: 1,225 http://www.google.nl/search?hl=nl&c2coff=1&q=intercepting+HTTP+requests&btnG=Zoeken&meta=
This is the link that is mentioned in a thread about postback hacking. It's a dutch thread so I'll just say... |
Forum: PHP Apr 10th, 2009 |
| Replies: 23 Views: 1,225 I use javascript for client side hashing before the data is posted because I read somewhere that the postback or something could be hacked. I don't have the link on me but I might find it |
Forum: PHP Apr 10th, 2009 |
| Replies: 6 Views: 647 mysql_num_rows:
Retrieves the number of rows from a result set. This command is only valid for statements like SELECT or SHOW that return an actual result set. To retrieve the number of rows... |
Forum: PHP Apr 10th, 2009 |
| Replies: 23 Views: 1,225 Ok this is the code I have now, I haven't fully checked it yet so there could be some errors in it, but I doubt this. What I'm more interested in is are the holes in the code for a user to hack it.... |
Forum: PHP Apr 9th, 2009 |
| Replies: 23 Views: 1,225 Ok, I will rewrite the whole code and upload it here once ready. |
Forum: DaniWeb Community Feedback Apr 9th, 2009 |
| Replies: 12 Views: 1,398 Yes installing the Microsoft Core Fonts did the job. Here's a quick how to for other people that may be experiencing this in Ubuntu 8.10.
Non-Terminal:
Go to Applications > Add/Remove...
and... |
Forum: PHP Apr 8th, 2009 |
| Replies: 23 Views: 1,225 I don't mean to sound rude, but I just want this question answered about blocking session ID stealing. |
Forum: PHP Apr 8th, 2009 |
| Replies: 23 Views: 1,225 Isn't it possible to check if the hacker tries to inject a session id in the URI by using GET? Like this:
if($_GET['PHPSESSID'] != null) {
// A hacker is trying to inject a session ID
}
? |
Forum: PHP Apr 8th, 2009 |
| Replies: 23 Views: 1,225 Excuse me, I'm not so familiar with sessions. I don't know anything about session keys.
If I put the hash in a session and compare it to the hash in the database. Then it is possible for a hacker to... |
Forum: PHP Apr 8th, 2009 |
| Replies: 23 Views: 1,225 I am kinda stuck now on how I would make one user logged in over multiple pages, however leaving hackers out. I can't really use sessions because they can be hacked no?
Can I have some assist on... |
Forum: DaniWeb Community Feedback Apr 8th, 2009 |
| Replies: 12 Views: 1,398 Weird, the attachment didn't work, here's a link:
http://img128.imageshack.us/my.php?image=screenshot1v.png
Edit: I also seem to have this problem with Firefox. |
Forum: DaniWeb Community Feedback Apr 8th, 2009 |
| Replies: 12 Views: 1,398 Ok there you go, see attachment. |
Forum: DaniWeb Community Feedback Apr 8th, 2009 |
| Replies: 12 Views: 1,398 This site is not being rendered right in my current browser, Opera. The rounded corners appear a bit off. Just thought I'd mention this, I have the latest Opera version available, my OS is Ubuntu.
... |
Forum: PHP Apr 8th, 2009 |
| Replies: 5 Views: 350 What is your output then? Also there appears to be a mistake in your query. I presume ID is a number, then there is no need for single quotes. So...
where id = '".$row['cid']."'
becomes
where id =... |
Forum: PHP Apr 8th, 2009 |
| Replies: 23 Views: 1,225 Oh I should indeed implement htmlentities use, but...
What do you mean with CSRF and XXS? What are those things? :) Googling those things gives me other results than I need |
Forum: PHP Apr 8th, 2009 |
| Replies: 23 Views: 1,225 Hi,
I wanted to post my login system I will use for an upcoming site for rating. I want to ensure a safe login, so please, if you know anything about this and see a security leak somewhere... Please... |
Forum: MySQL Apr 5th, 2009 |
| Replies: 6 Views: 663 |
Forum: MySQL Apr 5th, 2009 |
| Replies: 6 Views: 663 Bah, what a stupid mistake, I can't believe it. Anyway the warnings include, but are not limited to:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user **'@'localhost' (using... |
Forum: MySQL Apr 4th, 2009 |
| Replies: 6 Views: 663 I can handle errors just fine on MySQL, but what about warnings? If I use the following code I still get to see the warning, while that is not what I want:
if(mysql_connect($host, $user,... |
Forum: JavaScript / DHTML / AJAX Mar 19th, 2009 |
| Replies: 1 Views: 819 Hi,
I'm trying to create a chat with some code I downoaded of the web and altered a bit. The updating works as long as i'm not opening up another tab page in my browser or as long as i'm not... |
Forum: JavaScript / DHTML / AJAX Dec 18th, 2008 |
| Replies: 3 Views: 2,166 Here, this should fix it:
EDIT: I don't know why you used an array by the way, and note the change I did with your switch case to see how it works with your buttons.
<!DOCTYPE HTML PUBLIC... |
Forum: JavaScript / DHTML / AJAX Dec 17th, 2008 |
| Replies: 3 Views: 1,114 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<style type="text/css">
.wrapper {
margin: 0px 0px 0px 0px;... |
Forum: JavaScript / DHTML / AJAX Dec 17th, 2008 |
| Replies: 3 Views: 1,114 Nevermind, fixed it myself, code coming after some cleanup. |
Forum: JavaScript / DHTML / AJAX Dec 17th, 2008 |
| Replies: 1 Views: 539 window.print() does not start the printing, but it shows the dialog for the user to print. So you cannot check wether the file has been printed, only if the button "Print" has been pressed. |
Forum: JavaScript / DHTML / AJAX Dec 17th, 2008 |
| Replies: 7 Views: 2,098 All those comment rules are a VERY bad idea. Removing them should solve your problem. |
Forum: JavaScript / DHTML / AJAX Dec 17th, 2008 |
| Replies: 4 Views: 1,758 There you go;
http://al-habib.tripod.com/hijricalendar/hijricalendartext.htm |
Forum: JavaScript / DHTML / AJAX Dec 17th, 2008 |
| Replies: 3 Views: 1,114 Hi,
I'm trying to create an expandable content box for forum purpose, however the code I've come up doesn't work in IE, but it is valid HTML 4.01 Strict. Anyway, if I'm handling this problem the... |
Forum: JavaScript / DHTML / AJAX Dec 15th, 2008 |
| Replies: 7 Views: 2,098 I can't open up your website,
before I take a look into your site I can tell you that most likely you're website is not valid, or doesn't even have a doctype. Therefore it is being rendered in... |
Forum: JavaScript / DHTML / AJAX Dec 15th, 2008 |
| Replies: 1 Views: 785 I'll need to see the code YOU are using to check it for errors... |
Forum: JavaScript / DHTML / AJAX Dec 14th, 2008 |
| Replies: 19 Views: 4,702 Great to hear that! :)
Good luck on learning Javascript |
Forum: JavaScript / DHTML / AJAX Dec 13th, 2008 |
| Replies: 19 Views: 4,702 What you could do is give each checkbox an ID and go by that ID instead of the name, then you can get the name of that checkbox because you have it's ID:
<input type="checkbox" id="checkBox1"... |
Forum: JavaScript / DHTML / AJAX Dec 12th, 2008 |
| Replies: 19 Views: 4,702 That depends on what's in $new['studentId']. Is it a number? I'm guessing it is, and how many do you have, in my example there are 5 checkboxes in the form. If your studentId's follow each other up... |
Forum: JavaScript / DHTML / AJAX Dec 12th, 2008 |
| Replies: 3 Views: 1,070 Yes that is very much the problem : ) You have to give each selectbox a unique name.
Please also make sure you changed the whole thing:
<script type="text/javascript">
and NOT
<script... |
Forum: JavaScript / DHTML / AJAX Dec 12th, 2008 |
| Replies: 19 Views: 4,702 Excuse me, my previous post was indeed nonsense. This on the other hand should work:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>... |
Forum: JavaScript / DHTML / AJAX Dec 12th, 2008 |
| Replies: 6 Views: 703 I counted numerous quotation errors in your selectTimeSettings.php
<?php
$q=$_GET["q"];
ob_start();
session_start();
error_reporting(0);
include("config.php"); |
Forum: JavaScript / DHTML / AJAX Dec 12th, 2008 |
| Replies: 1 Views: 552 Perhaps I do not fully understand what you want, if so just explain a bit further, but from what I've read I created this code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"... |