192 Topics
I have discovered that in emails any html code in the topic name appears as styled html in the email. I would suggest using htmlentities on the subject in the email updates. Just thought I would let you know of this security risk. | |
Is it just me or has Ubuntu 9.04 become broken by not allowing any software to be installed. I have done two clean installs and still the synaptic package manager does not show any items that are not installed. Also I am unable to install any software from the command … | |
Hi and I am making a script but am having a slight math logic problem. Below is an example of an encoder I am working on. [CODE]for(int m=0;m<80;m++) { if(m<=19) { f = (b & c) | ((~b) & d); k = 0x5A827999; } else if(m<=39) { f = b … | |
This is a test thread for cscgal about the XSS injections problem. | |
So I came back home and checked my emails then found my usual google alerts. One google says - "What does the P in PHP stand for". So I click the link and it says Pink - According to Barbie Nerd. Now who would ever think of such a crazy … | |
Hi and I often use daniweb on computers with an internet speed of around 2kbps to 24kbps to 64kbps and when using daniweb while on 2kbps and 24kbps compared to other sites like google and phpfreaks, daniweb takes a long time to load (~2mins). My suggestion is would it be … | |
Hi - it's me again. I have the following code but don't exactly know what it means or how to make the opposite code. The code I currently have is [CODE]#define rotateleft(x,n) ((x<<n) | (x>>(32-n))) #define rotateright(x,n) ((x>>n) | (x<<(32-n))) [/CODE] Then can be used like the following [CODE]a = … | |
Hi and I have a hex to int function but it isn't converting the hex to integers properly. Below is the code an example is the hex bb76e739 which should = 3145131833 but with the function it equals 2147483647. I heard sprintf or something like that can convert the hex … | |
Hi and I have been searching the web but my answer isn't looking very hopeful. I need javascript or preferably css to make my text vertical so the result is something like the following. [CODE]t e s t i n g[/CODE] However with the result each of the characters need … | |
Well the first month of 2010 has almost gone in a flash. I'm sure the years shortest month February coming up will be just as good. Do you have any new months resolutions. And what did you think of January 2010 or January 2009 for those who are Chinese. | |
I have a great project and the code is done but now I need a big computer. The specs are as follows Ram: 32GB CPU: Whatever GHz Harddrive: 8TB Video: 256MB etc. but Does anybody know when the technology will be available to have 32GB of ram with a price … | |
Hi and I have been working on an image uploader but need to be able to convert tiff files using php. From my understanding there is the gd library which doesn't support tiff files and the [URL="http://au.php.net/manual/en/function.exif-thumbnail.php"]exif library[/URL]. Does anybody know how I can convert a tiff file to a … | |
I do and does anybody here really like the series or am I the only one. | |
Note to mods: This is in the php section as the question is mainly directed to the php gurus. I have been reading on some rather old news and discovered that the Secure Hash Algorithm (SHA1) has been cracked. Does anybody know where I can download a copy of this … | |
Hi and I am writing a small program but need to make a function that converts an integer to a hex. Below is an example of a similar function but need the result stored in a std::string variable. [CODE]printf("%x%x%x%x%x",h0, h1, h2, h3, h4);[/CODE] Does anybody know how to create a … | |
Hi and I thought I would write an algorithm where the computer can learn from text being input into its database and the computer will be able to have a normal conversation with somebody. I already have my database of paragraphs but will need converting into something more complex for … | |
Hi and I have the below php-gtk script but for some reason it is reporting the error "Not enough storage is available to process this command." in the command console but the application still loads. It only happens when I try to import a 1.75MB text file for processing. Does … | |
I know how to make 64 bit integers but how do I make 64 megabit integers? That is a bit rate of (1024^3)*64 bits. Is this a simple job as I don't know where to begin. I thought somebody might know of a library/script that will allow custom bit rates … | |
Does anybody know what happened to Bill Gates as it would be interesting to see what happened to Bill after Microsoft? Bill was a Legend who changed the world. But now he has left Microsoft his hardly spoken of. So what does he do today and what do you think … | |
Hi and sorry if this is the wrong forum but didn't know where to place my question. I need to know the answer of a+b=23. So how would I calculate the values of a and b and the same would apply for a^b=16. So basically I need to know the … | |
I thought I would ask while this thread is active "What is the best Ubuntu c++ compiler that allows VC++ code?" I really like Visual C++ as it has great debugging features that Dev-c++ could never match. But how do I compile my VC++ projects to run on Ubuntu? | |
I have been asking for some time to move [URL="http://www.daniweb.com/forums/forum28.html"]forum28[/URL] to it's own main forum in web development instead of being a subforum of web design but it seems everybody has been confused about what I am talking about. So I've now started my own thread... Anyways, it seems that … | |
Hi and I have a database with over 32 million entries and whenever I try the below mysql query or simular it crashes the sql server unless I use phpmyadmin. I have 4 columns all indexed and all are the char() type with a fixed length. Below is an example … | |
Hi and I am making a dll but the dll won't accept pointers due to what it links to. So below is my code and does anybody know how to make a string array without pointers? Also I'm using Visual c++ 2008. [CODE]//#pragma warning(disable:4996) //disable "depreciated function" warnings #include <windows.h> … | |
Are there any rainbow tables api's available for sha1, crc32 and crc32b. | |
Hi and I have made a simple Java function/method and for some reason it is not working. It doesn't show errors. It doesn't display results. It returns nothing and forces other things around it to do nothing. Below is my script. [CODE]private String get_url(String address) { String result=""; try { … | |
Hi and have been thinking about the big bang and wonder how did it all really start. Was it really like [URL="http://foxygoddess.multiply.com/video/item/11"]this theory[/URL] or the effect of somebody doing an intergalactic experiment in the parallel universe. So many theories some based on science some based on religion and yet there … | |
Hi and I am having trouble with one of the very most basics of java applets. That is putting the applet into a webpage and in that webpage specifying some parameters. The below is my code: [CODE=html]<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" ARCHIVE="chatroom$1.class, chatroom$2.class, chatroom$3.class, chatroom.class, extender$innerclass.class, extender.class" width="500" height="480"> <PARAM name="archive" value="chatroom$1.class, chatroom$2.class, … | |
I have done some calculations and found that us humans have been counting leap years wrong in the past whatever years. It is not the year 2010 but instead 2509. The proof - check out the below php script which should display 2009 using timestamp ratios but instead displays a … | |
Hi and I have heard that the australian internet filter (isp level) is due in 2010 which is comming soon... Just like thousands of other people around the nation I will be finding a way around the filter. I have read some isp's have already installed the filter for a … | |
I have notice that some of the great features Daniweb offers have lately disappeared. Will the same happen to the advertisement feature? So far I have noticed that the number of people online at the top has disappeared and my favorite links to the right where the common forums are … | |
Hi and I am making a maths library which will accept infinit digits but what is the best formula a computer can understand for devision. The only one I have come across so far is long devision but is there anything better? The following is the kinda formula I am … | |
Are there any tutorials on defining a variable so that it can be used for any type. Example the following: [CODE]int main() { var myvariable; myvariable="this is a test"; myvariable=3.141592; myvariable=myvariable*myvariable; return 0; }[/CODE] But I don't know how to make it possible to make the above code possible. It … | |
I have been searching on the web but can't find an answer to this question. How do I make a simple script that will read the functions in a php.net dll file where it can be used in c++. The main reason why I am trying to do this is … | |
Recently I have installed php 5.3 on a pc and just like many posts on this forum have been saying the latest version of php does not guarantee 100% backwards compatibility. Especially for some oop parameters where the symbol "&" needs to be used before the variable at specific points … | |
Hi and as I have a lot of free time I thought I would ask if anybody would be interested in making or joining in open source projects. Currently I am working on a php forum project but other ideas are accepted. If you wish to start a new project … | |
Hi and I have a simple question. I am designing a c++ application but I need to be able to import pictures from file (nearly all formats) then to place the pixel colors into an array. Also when retrieving the pixel colors it needs to retrieve the RGB scale and … | |
This topic is about asking for an additional feature to daniweb which would save some topic bumping and remove some of the annoyance of posting a new topic. Would it be possible to make the last 5 threads with 0 posts to automatically display/pin at the top of the list … | |
Hi and I have tried some UV mapping in blender and although it can be handy in some situations I have found it to not do the job for my situation. Basically all I want to do is for a texture to pattern around every face of the object without … | |
Hi and I have just downloaded the Irrlicht gaming engine and although I have had a briefing about it from a friend I can't seem make it do what I want. I got the demo which is nearly what my result will look like but then I tried switching from … | |
Hi and I found a script at the below website but appears not to work for me. I'm using the Netbeans IDE and Java Version 6 and the link where I found how to use cookies in Java applets is at [URL="http://www.rgagnon.com/javadetails/java-0180.html"]http://www.rgagnon.com/javadetails/java-0180.html[/URL] However my partial script below (snipped chunky code) … | |
This morning I woke up and went to my computer like normal and saw a boolean message saying my harddrive has limited space. So I went to the Windows Explorer and check drive C properties and it said I had zero bytes of free space. I thought ok, maybe I … | |
Hi and I have been working on a simple problem but can't seem to find any solution and have tried browsing the net. My question is how do I append to an array. Below is the code I tried but still doesn't work. [CODE]String[] names={""}; if (charcheck1==true) { String[] chartmp={"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"}; … | |
Hi and I have been working on a project involving a rather large database. My question is "For a database with over 20529860 rows, is it better to have 3330 tables spreaded equally or to split into multiple databases or would it be better to have 49950 tables in the … | |
Hi and I am planning to make a bunch of tutorials. I would like to hear what sort of php/ajax tutorials people would like to see. I have heard in the past that some noobs would like a tutorial on making a blog. What else should I write tutorials about … | |
Is it just me or is daniweb hard to reach latley? Today I've been bumped off daniweb as the site froze and wouldn't respond and to site has sometimes been slow to respond when working. The first time this happened there was just a white page then eventually a message … | |
Hi and I have learned 2 ways of making a php cms both with simular results on the client side. That is, is it best to have all pages pointed to index.php with mod rewrite and url vars or is it best to have a couple dozen php files each … | |
After gathering some information in the community feedback I have found that some people wouldn't mind having a Flash/Action Script forum. This thread is for to both suggest and debate about this as well as having a 3D modeling forum. Does anybody feel these two forums are appropriate for daniweb … | |
I have been using web browser for many years now (Firefox, Internet Explorer, Opera, Crome, Safari) and with heavy use of the internet, I have found that all of those browsers except Opera crash after the first few hours of having 20 tabs open with them constantly opening and closing. … | |
Hi, I have tried to view my private messages (pm's) and although at the top of the screen it says I have 42 messages I can only view 2 messages. The first message and the last I can view. Could somebody fix this as I like to occasionally read my … |
The End.