16 Solved Topics

Remove Filter
Member Avatar for Excizted

Hello, I hope someone is more knowledgeable in Java than me while still knowing PHP! The following Java code makes a hash from a string, and I need a PHP equivalent that makes the exact same hashes. Simply md5() does not do the trick, and I looked at some PHP …

Member Avatar for Excizted
0
1K
Member Avatar for Excizted

Hello Daniweb, I'm rebuilding a Flash-based website in PHP/HTML maintaining the same MySQL database. My problem now is, the user passwords are hashed of course - I need to use the same hash in the new application for old users to be able to still log in. But since the …

Member Avatar for Excizted
0
234
Member Avatar for Excizted

Hello Daniweb, In 3D space I have generated a path which jumps between points in a grid of 100x100x100. When simulating movement through this path, I tried making a bezier curve of the points in the path, but the results were not good enough. I googled a lot, and the …

Member Avatar for Excizted
0
417
Member Avatar for Excizted

Hello, [I]Before you get scared away - my issue does not particular seem to relate to Quaternions or Vectors. More generally, it appears to be something compiler or C++ standard related, as my return call from the function is acting strange. You can eventually start reading the [U]concluding issue at …

Member Avatar for Excizted
0
196
Member Avatar for Excizted

Hi people, I'm trying to compile my C++ project under Windows, which it should be able to. I've got a whole bunch of dependency libraries. When I compile everything seems fine until these error pop up: [CODE]1>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\rpc.h(27) : error C2598: linkage specification must be at global scope 1>C:\Program …

Member Avatar for Excizted
0
916
Member Avatar for Excizted

Hello :) I've got this resource (as in files on the pc) management system, that had been tested but now seems to be malfunctioning. I've been debugging for way too long now, and I can't figure out the issue. I'm going to post some of my code first, and then …

Member Avatar for Excizted
0
719
Member Avatar for Excizted

Hi. I'm just trying out Ruby on Rails, and I'm trying to create some application that takes a hostname from the user and then checks if it is connectible through Net::SSH and if it is, it should check if a file is present. Quite simple, and I also almost reached …

Member Avatar for Excizted
0
186
Member Avatar for Excizted

Hi. I have multi-language functionality on my page, and the settings are saved in a cookie, so that the user may change something different than his browser language. But this is whats happening: [U]/home.php?setlanguague=en[/U] The page shows it's text in English, and prints my user info aswell as the content …

Member Avatar for Excizted
0
107
Member Avatar for Excizted

Hi people. I'd like to use MySQL in my application - would be an easy way for me to store users. But then I'd have MySQL credentials in my app, visible for everyone with a HEX editor, I'd suppose? And even though that MySQL user will have low privileges, then …

Member Avatar for Excizted
0
163
Member Avatar for Excizted

Hello. I'm in possesion of this laptop with an old Pentium Dual-Core T2080, of socket type PPGA478 (says Intel web). I wanted to upgrade it, and found a lot of processors called PGA478. So now comes the billion dollar question: Is there any difference? Can I use the PGA processor …

Member Avatar for caperjack
0
2K
Member Avatar for Excizted

Hi :) I am certain of when to use static_cast, but often I can get satisfactory results by writing the target type in a parenthesis. For example: [CODE]void* data = somePointer; SomeClass* new_ptr = static_cast<SomeClass*>(data);[/CODE] seems to work when replaced with [CODE]void* data = somePointer; SomeClass* new_ptr = (SomeClass*) data;[/CODE] …

Member Avatar for Excizted
0
142
Member Avatar for Excizted

Hello. I remember once I googled a topic, and I kept stumbling upon a linux command, that would allow me to get some info on a binary application, including it's architecture. Basicly, I could see if the program was build for x86_64 or for x86. Now I actually need this …

Member Avatar for Excizted
0
102
Member Avatar for Excizted

Hello. I'm going to create a stack of pointers to objects, and I need to implement an identifier with the best performance. Those objects are custom classes. I'm wondering what would be best for performance. Either of these two ways, or maybe a third better way?. 1) Making an std::map …

Member Avatar for Excizted
0
134
Member Avatar for Excizted

Hi people. :) I'm making a function callback system for a console, so I would dynamically be able to send a function pointer to my console class, and then it would be callable from the console. Well, it works - but only with functions that are not member of a …

Member Avatar for Ancient Dragon
0
259
Member Avatar for Excizted

Heyloo ^_^ I've stumbled upon this code :D [CODE]#define VERSION_MAJOR 1 #define VERSION_MINOR 1 #define VERSION_PATCH 2 #define VERSION ((VERSION_MAJOR << 16) | (VERSION_MINOR << 8) | VERSION_PATCH)[/CODE] I've been searching for some time now, unable to understand what << 16 and << 8 does, and why. I converted VERSION …

Member Avatar for Excizted
0
149
Member Avatar for Excizted

Hi everyone... I have a silly problem.. Somehow I managed to faceroll or something, hitting a shortcut which shows all indents as arrows and all spaces as dots. Here is a picture of the problem: [url]http://img97.imageshack.us/img97/8789/problemyf.jpg[/url] I've looked the options through, but since I don't know what this thing I …

Member Avatar for Excizted
0
88

The End.