- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 5
- Posts with Upvotes
- 5
- Upvoting Members
- 4
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Junior System Developer
- PC Specs
- 15" Macbook Pro running Windows 7 Ultimate
Hi all, I've been playing around with this for 30 odd minutes now and basically been making a right fool of myself... I want to make a function called `userInfo()` that uses the users email address, stored in `$_SESSION['auth'];`, to get any information required from sql. I'm using **MySQLi** and … |
|
hi..please help me to have code that will display list of folders from a given directory in php or javascript. for example i want to display in a page the list of folders in my c:\Program Files\. Thanks in advance. |
|
I have an interesting problem and have searched the internet, but haven't yet found an answer. Consider the following function: function get_setting_values_from_file( $parameter ) { exec("/usr/var/binary --options $parameter", $output, $return); $settings = file( $output[0] ); } I need to unit test a similar function. I am currently using phpUnit for … |
|
My network card doesn't have any UNIX drivers, but it does have windows drivers, so I'm trying to install ndiswrapper. It seems like the default installation of Ubuntu server doesn't have python installed, so I can't dpkg niswrapper in. Is there any resource to help me learn how to hunt … |
|
I'm having a small problem with a variable in one of my PHP scripts. The variable is `$isSubMenu`. It gets set using a function that runs recursively called createNavigationMenu. However, even though I have set it, the interpreter keeps telling me that the variable is undefined. I really don't know … |
|
Before I post my problem I would like you in advance for taking the time to read this. I've been using simpletest to help me develop and test my php scripts. I'm currently working on a session class and when I go to test it I get the following exception … |
|
I'd like to start by thanking whoever reads this for their help. I've been trying to learn Test Driven Development (TDD) in a php environment. I've read a lot about it and stumbled upon both PHPUnit and simpletest. I've spent the past 8 hours searching the internet for tutorials and … |
|
How do I represent a use case that has no actor? I'm doing the preliminary work for an IT system. I'm trying to list up all the actors so that I can create all the use cases that I need; however, there are things like background processes that must run … |
|
I'm going crazy. I've been trying to a linked list of a struct (which stores some strings and a character) however I've had no luck. It's just not working and I've been working on this for hours on end. Note: StorePtr is a pointer to the Store struct (which stores … |
|
Hi, I was creating a Gui for one of my classes and I hit a major bump. I am trying to take words from a text file and just display it in the text box. I know how to read files, what I don't know is how to change the … |
|
Hi guys, i have been having problems with this piece of code all afternoon, i have never seen this error myself before and cant see how the problem is applicable in my situation from looking though the various forums of the world ! Basically the program is a small game … |
|
Hi, I am hopign someone will take this on as a simple little project as it would be of great help to me. I have a CNC plasma machine which cuts sheets which are about 4ft by 10ft. however, sometimes we only use about 4*4ft of the sheet. I would … |
|
Hey, am having textbox, when ever any of these destinations is entered, then the price will be display on a label, i used these codes, but still not giving me the correct thing. Dim Destinations() As String = {"Africa", "Americas", "Asia", "Europe", "Middle East", "Pacific Isles", "South East Asia"} Dim … |
|
Please I will like to know how to use array with radio button. There are 3 radio buttons and they all contain certain number. When 1 is selected, then it will show the amount. |
|
hi i have a problem with my java program.i can compile and run the java program if i keep them in jdk\bin folder, but i can only compile and can not run if i kept the java program in any other location. can anyone tell me where i'm doing wrong. … |
|
Hey, i set up a circular queue to sort and pass ints easy, but having problems passing struct of information to the queue, wat declaration should i pass to insert function?? Here is my code so far, what would i change the int item to in insert function?? have just … |
|
how can i compute a code if i enter numbers then if i press any key its stops and computes the inputs of all no. |
|
Hi all, I am trying to write a simple program but I am having an error message that I am working on it for three days. The aim of program is to convert entered value depending on the clicked radio buttons. Please can someone help me about it ? Thanks, … |
|
Hi guys, I am experiencing a problem with a variable I declare. If I pass on a real value that the variable might contain code works ok , but if I leave the code to get the variable as decalred it doesn`t. What my code is doing is checking if … |
|
Hi I am making a roman numeral to decimal converter, I have the decimal to roman numeral converter but I am having trouble doing it from roman to decimal. How do you pull a string apart letter by letter; eg VXI, into 3 variables a= V, b= X, c= I. … |
|
Hello there. I'm having a problem with a linker error. I am trying to compile a project (just a hobby). It manages to compile, but I get a link error when trying to link. I don't see anything wrong with the code at all. I am using Dev-C++. This is … |
|
Im having this exception when i use the class vector: [code] vector <int64> p; dsdriver::EngineAdmin ea; p= ea.getEngineIds(); [/code] And EngineAdmin is: [code] class DSUTIL_EXPORT EngineAdmin { public: static vector<int64> getEngineIds() ; [/code] When i use p=ea.getengineIds(); its throw me an exception in xmemory: [code] void deallocate(pointer _Ptr, size_type) { … |
|
help please, how to save a data between the time of what user input in the 2 textbox. 1 textbox is for intime and the 2 one is out time. for example if the user input 7:30 - 9:30 Am Intime all i want is this is the only time … |
|
hey, im having a problem getting file stored into linkedlists. the program crushes when start reading. [B]these are the structs:[/B] [code=c]typedef struct category { char categoryID[5]; char categoryName[25]; char fareType; char categoryDescription[250]; unsigned numItems; ItemTypePtr headItem; //ptr to item struct CategoryTypePtr nextCategory; } CategoryType; typedef struct item { char itemID[5]; … |
|
hiiiiii to every one when we run any exe file it shows a dialog box on screen . we choose the directory where we want to install this setup . how can i do this with my exe is there any code for doing this |
|
Hey, I'm not a programmer at all, but I'm hoping someone could help me solve a problem. I've looked all over Google, Ruby forums, and C/C++ forums but havn't found my answer. I'm trying to generate all possible permutations for 5 digits (1,2,3,4,5), up to and including 6 digits long, … |
|
i'm trying to make this program which simulates a printing queue, a very basic level program that implements priority queues. i'm stuck in the last function, i.e. the simulate function, there's that while(temp!=NULL){...} loop in simulate function which works perfect the first time but turns into an infinite loop the … |
|
Hi I spent several hours yesterday trying to fix an error with one of my classes. I have a clas which handles all the resources of a game, and they are all declared as public. When a function of the same rseource class is called by another class, its meant … |
|
This i the background to my problem, which is stated in bold text. I am currently working with a SAFEARRAY. I've declared a two dimensional array in VB6 and I'm trying to store data from a C++ dll in it. I have used the resources listed below to learn how … |
|
Before I state my problem, which is in bold text, I need to give you a little bit of background. I'm working with 3 binary log files of about 35mb each. Each one holds approximately 65000 records. Each record, which is about 400 bytes, holds information containing the date, transmission … |