58 Solved Topics

Remove Filter
Member Avatar for cwarn23

I have been trying to create a script that will fetch an image file, store it in a 2d grayscale non-alpha byte array based on the x and y axis so I can perform math operations then save that array back to a new image file. I have come close …

Member Avatar for JamesCherrill
0
261
Member Avatar for cwarn23

Hi, I'm creating a tutorial + repository website where the tutorials are free for the public to look at but the repository is not. However I am developing a login system that I want to sync with daniwebs login system. I have developed a curl system where the user can …

Member Avatar for riahc3
1
757
Member Avatar for cwarn23

I see in the tag cloud Ubuntu is liked a lot but perhaps the members think differently. So I thought I would ask which is the one true Linux distribution. From all the Linux distributions which one is the only one that can be titled pure Linux nothing more nothing …

Member Avatar for sonal_salkade
0
648
Member Avatar for cwarn23

Hi, I am trying to set up a cron job to load up an application on my server every two hours. I have the following code which works successfully from the terminal but does not run from cron even though it is running as the same user and I have …

Member Avatar for cwarn23
-1
131
Member Avatar for cwarn23

I have been waiting all week for my Google Webmaster Tools to sync with the Googlebot but still no information is appearing. Does anybody here know how long it takes for a website to sync from Googlebot to Google Webmaster Tools? Thank you.

Member Avatar for cwarn23
0
113
Member Avatar for cwarn23

Hi Dani Would it be possible to have a second page (cached/updated every 7 days) of stats where it shows graphs of fortnightly stats for things like the following. [LIST] [*]Line graph of (Total reputation added to daniweb). [*]Line graph of (My received reputation) and (My sent reputation) on same …

Member Avatar for Dani
0
179
Member Avatar for cwarn23

Hi. I just looked at my reputation points today and found all of this negative rep. I checked the posts it came from and it appears it may be from positive upvotes which are being displayed as negative rep. Can somebody please look into this as there are all of …

Member Avatar for cwarn23
0
151
Member Avatar for cwarn23

Hi, I'm trying to add a condition to my htaccess file but it seems to only match if I use [ICODE]%{REQUEST_URI} !^/?.+$[/ICODE]. If however I add [ICODE]%{REQUEST_URI} !^/?B.+$[/ICODE] it will never match. Also the full code showing what I am trying to achieve is as follows: [CODE][B]RewriteEngine On[/B] [B]RewriteRule[/B] ^$ …

Member Avatar for kingkong111411
0
217
Member Avatar for cwarn23

Hi and for the past 4 days, I have been trying to make a secure spam-proof blog with no login. I manage to embed a lot into a demo but the following code I know works (as I have made it work on my forum login) but has an error …

Member Avatar for spidersdesign
0
306
Member Avatar for cwarn23

Hi, I have the following applet which works on my localhost server but when I upload it to my online server then the Java console spits out an error saying the following: [CODE] Exception in thread "thread applet-viewer.class-1" java.lang.NoClassDefFoundError: viewer$1 (wrong name: viewer) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at …

Member Avatar for cwarn23
0
206
Member Avatar for cwarn23

Hi, I am in need of a python ocr script that can convert images into text and for the script to work on BOTH windows and centos. All the scripts I have found seem to not be compatible with linux/centos or require an api to another server and I do …

Member Avatar for cwarn23
0
167
Member Avatar for cwarn23

hi, I have the following code and it compiles on Netbeans with no errors or warnings but when I load the applet in a browser the browser does not display all of the pictures that I got it to draw. The only picture it draws is my_gif. I have tried …

Member Avatar for cwarn23
0
211
Member Avatar for cwarn23

Hi, I have 2 images stored in the variables [ICODE]Image img_arrowl; Image img_arrowr;[/ICODE] and now I need a function or method to set the opacity of these two images. So the syntax I'm after would be something like the following: [CODE] img_arrowl = set_imgopacity(img_arrowl,0.75); img_arrowr = set_imgopacity(img_arrowr,0.75); [/CODE] The only …

Member Avatar for mKorbel
0
2K
Member Avatar for cwarn23

Hi, I'm trying to get a new computer but even the computer techi is stuck on this one. The basic situation is I'm buying a custom built computer and I need to find an appropriate motherboard. The thing that makes this request different is that the motherboard needs to be …

Member Avatar for saxmaster49
0
352
Member Avatar for cwarn23

Hi, I was thinking of buying an 8 core Xeon 3.0GHz (16 threaded) cpu but still want more. Is it possible to buy two of these cpu's and stick them both in the same computer sharing the same power supply, graphics card etc. I know this might be a silly …

Member Avatar for cwarn23
0
63
Member Avatar for cwarn23

Hi, I have been working on a way to reverse bitwise Xand with c++. I have managed to do most of it but can anybody tweak this script I made so it works to its full potential. At the moment this script tries to return the variable x from ((12 …

Member Avatar for cwarn23
0
112
Member Avatar for cwarn23

Hi, I'm writing a large program but require Multithreading for this software. I've searched the web for just over an hour and now is just after midnight but still can't find anything simple. The only thing I saw that came close to what I need was at [URL="http://www.computersciencelab.com/MultithreadingTut1.htm"]http://www.computersciencelab.com/MultithreadingTut1.htm[/URL] but I …

Member Avatar for Ancient Dragon
0
725
Member Avatar for cwarn23

Does anybody know how I would use sockets to tap into the SMS protocol for sending+receiving SMS messages. Basically, all I want to be able to do is setup a php script that will be able to act as the SMS server and send+receive the SMS's directly through the SMS …

Member Avatar for chrishea
1
325
Member Avatar for cwarn23

A week ago phpmyadmin was working fine but now whenever I try and access phpmyadmin, (in xampp localhost) it displays 2 error messages and nothing more. They are as follows: [CODE]phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username …

Member Avatar for steelluv
0
95
Member Avatar for cwarn23

Hi, long time no C. I have started using the Irrlicht gaming engine but have bumped into a problem which has been bugging me for the past 6 hours flat. I have a variable containing a std::string but it needs to be converted to a (const wchar_t *) string. Does …

Member Avatar for cwarn23
0
119
Member Avatar for cwarn23

Hi all, I have ubuntu and just installed sqlite then edit the php.ini file accordingly but for some reason the class named ¨SQLiteDatabase()¨ reports as undefined. The error is as follows: [CODE]Fatal error: Uncaught exception 'SQLiteException' with message 'SQLiteDatabase::__construct() [<a href='sqlitedatabase.--construct'>sqlitedatabase.--construct</a>]: unable to open database: /var/www/vhosts/cwarn23/base' in /var/www/vhosts/cwarn23/php.php:3 Stack trace: …

Member Avatar for cwarn23
0
516
Member Avatar for cwarn23

Hi, I have some strings but I want to convert them to binary (1 way). Are there any functions other then the compression functions that will convert strings to binary? Thanks. cwarn23

Member Avatar for cwarn23
0
70
Member Avatar for cwarn23

Hi and I remember reading in a really old topic that somebody here was able to write a chatroom without using mysql or any other database system. Can somebody explain how this is possible with just javascript and ajax? What I want to do is to have a script that …

Member Avatar for cwarn23
0
156
Member Avatar for cwarn23

I have been designing a security system to stop bots from spamming my forum. Basically, it will check if there is any isp name detected from the ip address then if there is no detected isp, the submitted post will not be made. I know to detect the ip address, …

Member Avatar for kvprajapati
0
2K
Member Avatar for cwarn23

Hi and I have a mysql table that gets a few million records inserted per day and it seems to get corrupted very often. The current database structure is myisam but it keeps on getting corrupted. Are there any mysql data structures that won't corrupt even when restarting the mysql …

Member Avatar for cwarn23
0
112
Member Avatar for cwarn23

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.

Member Avatar for cwarn23
0
69
Member Avatar for cwarn23

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 …

Member Avatar for necrolin
0
149
Member Avatar for cwarn23

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

Member Avatar for dusktreader
0
382
Member Avatar for cwarn23

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 …

Member Avatar for mrnutty
0
185
Member Avatar for cwarn23

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 …

Member Avatar for cwarn23
0
814
Member Avatar for cwarn23

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 …

Member Avatar for Poincarre
0
411
Member Avatar for cwarn23

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 …

Member Avatar for cwarn23
0
189
Member Avatar for cwarn23

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 …

Member Avatar for cwarn23
0
185
Member Avatar for cwarn23

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

Member Avatar for cwarn23
1
353
Member Avatar for cwarn23

I've been seaching and googling for an answer that I just can't find. I have a vps account with no nameserver and have been told I need to make the nameserver myself. Does anybody know of any good tutorials or could explain how to setup the nameservers. I have already …

Member Avatar for cwarn23
0
177
Member Avatar for cwarn23

I have noticed that since the upgrade, when previewing the text that we are about to post, the previewed text is smaller than it should making the number of words per line misleading and at times hard to read. Also in this same preview area, code boxes with a line …

Member Avatar for cwarn23
0
962
Member Avatar for cwarn23

Hi and I have just noticed with my media wiki installation that all of my pictures in mediawiki are suddenly broken. The files are there but if I enter the path location in the url bar it takes infinit time to load (never loads - no error). Same for in …

Member Avatar for cwarn23
0
214
Member Avatar for cwarn23

Hi and I am looking for a compression mechonism that can compress text (just letters and numbers) into binary or all weird symbols. Does anybody know of any good php/mysql codes as I can't get any to work.

Member Avatar for digital-ether
0
621
Member Avatar for cwarn23

Hi and in a previous discussion I wrote a bot that created informational text articles from the php forum at daniweb. This discussion can be found at [URL="http://www.daniweb.com/forums/thread200918.html"]http://www.daniweb.com/forums/thread200918.html[/URL] However I now have another question due to the great success of my bot. Is it possible for to expand the bot …

Member Avatar for Nick Evan
0
364
Member Avatar for cwarn23

Hi and I have been looking around and found that google has a few search api's but haven't yet found one that returns the results as a javascript/ajax array. Is it possible to at least get the google api to send the results to my website as a variable/array in …

Member Avatar for cwarn23
0
190
Member Avatar for cwarn23

Hi and I'm no noob 2 ajax and have used it many times before. But for some reason this script doesn't want to work on any browser except Internet Explorer. Can anybody see what I have done wrong in this code as I have searched and searched for hours and …

Member Avatar for cwarn23
0
160
Member Avatar for cwarn23

Hi, I found that my linux (CentOS) server hasn't got any of the php extensions installed but can't seem to find any easy way to do it. Can anybody guide me the easiest way to install the php extensions curl and gd. A google search has showen dozens of lines …

Member Avatar for cwarn23
0
651
Member Avatar for cwarn23

Hi and I have been searching for a ssh program with a graphical interface purely to upload and download files from the root of the server without ftp. Does anybody suggest any programs for this job? Windows XP Pro is my Operating System and Ubuntu versions are also welcome.

Member Avatar for cwarn23
0
141
Member Avatar for cwarn23

Hi, I have been learning some c++ with a friend and saw a [URL="http://www.youtube.com/watch?v=nY8z5Eh-kcg&NR=1"]youtube video[/URL] where there were some features I just couldn't find in my version (express edition). I have to ask in which version of Visual Studio 2008 does the Project type [I]Windows Forms Application[/I] appear in where …

Member Avatar for cwarn23
0
131
Member Avatar for cwarn23

Hi, I have been trying to get the Jsapi (Java Speech API) embeded into my web applet but have had quite a few troubles. The script for the Jsapi from what I can see was designed for .Jav files where as I am trying to make a .class file. So …

Member Avatar for cwarn23
0
191
Member Avatar for cwarn23

I am planning to setup a website but need flash movies. So I was thinking of perhaps paying for a developer to develop some flash moves and a viewer but have no idea how much it will cost. Does anybody know how much it would cost for each of the …

Member Avatar for Dani
0
118
Member Avatar for cwarn23

I have being trying to make a javascript code that will show different submenus depending on what was selected on the previous menu. Although my script has no bugs according to Internet Explorer it seems to not work in IE nor Crome. Can anybody see what's wrong with this code …

Member Avatar for cwarn23
0
100
Member Avatar for cwarn23

Hi, I'm making a site security tester which is basically a bot that scans a selected website for any php security holes such as sql injections then reports them to the user. I have managed to write the bot and all but the last piece left is the function that …

Member Avatar for cwarn23
0
192
Member Avatar for cwarn23

Hi and I have installed some software called virtualbox which is a universal operating system emulator. I have XP Pro and emulated XP Home inside XP Pro but my problem is that my keyboard can only input one key stroke a second. Is it possible that it is because my …

Member Avatar for cwarn23
0
132
Member Avatar for cwarn23

I have just started learning php-gtk 2 but am a bit stuck. First is that are there any php-gtk 2 debuggers or error loggers that I can use because at the moment, if there is a bug in my script, the exported exe file made from my php-gtk script is …

Member Avatar for martin5211
0
138

The End.