Forum: JavaScript / DHTML / AJAX 1 Day Ago |
| Replies: 3 Views: 165 Hey thanks, that's great! It now creates extra instances of the same class. What I'd like to do next is for this to go automatically, say every 5 seconds or so an extra instance gets created of of... |
Forum: JavaScript / DHTML / AJAX 3 Days Ago |
| Replies: 3 Views: 165 Hey there everyone
I'm a bit troubled with something I'm trying to construct, I'm trying to create an object that can reproduce itself, creating more objects that can be accessed also, to reproduce... |
Forum: PHP May 1st, 2009 |
| Replies: 1 Views: 246 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,695 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: 453 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: 453 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,263 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,263 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: 660 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,263 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,263 Ok, I will rewrite the whole code and upload it here once ready. |
Forum: DaniWeb Community Feedback Apr 9th, 2009 |
| Replies: 12 Views: 1,466 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,263 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,263 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,263 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,263 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,466 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,466 Ok there you go, see attachment. |
Forum: DaniWeb Community Feedback Apr 8th, 2009 |
| Replies: 12 Views: 1,466 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: 364 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,263 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,263 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: 679 |
Forum: MySQL Apr 5th, 2009 |
| Replies: 6 Views: 679 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: 679 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: 850 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,236 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,129 <!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,129 Nevermind, fixed it myself, code coming after some cleanup. |
Forum: JavaScript / DHTML / AJAX Dec 17th, 2008 |
| Replies: 1 Views: 544 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,129 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,825 There you go;
http://al-habib.tripod.com/hijricalendar/hijricalendartext.htm |
Forum: JavaScript / DHTML / AJAX Dec 17th, 2008 |
| Replies: 3 Views: 1,129 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,129 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: 792 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,792 Great to hear that! :)
Good luck on learning Javascript |
Forum: JavaScript / DHTML / AJAX Dec 13th, 2008 |
| Replies: 19 Views: 4,792 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,792 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,097 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,792 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>... |