storing

How to store Application Messages for a .NET Website

Hello, I am looking for a method of storing Application Messages, such as "You have logged in successfully" "An error has occurred, please call the helpdesk on x100" "You do not have the authority to reset all system passwords" etc So that "when" the users decide they don't like the wording of messages I don't have to change the sou...

How do you store/share online your personal documents ?

For photos, I use Flickr. But for other documents...Which web based online application (hosted or to install on your personal web site) do you use for PDF or word files ? If there is a user management it would be also great (for example you decide that some persons, or everyone, can see some of your documents...). ...

Storing Passwords in reversible form

I have a PHP app that needs to run bash scripts, and provide a username & password (for remote systems). I need to store these credentials somewhere that is accessible by my PHP (web) app. The logical place is the database (currently MySQL, but will be agnostic). The problem with the "standard" way of hashing and storing the credentials,...

Best method of frequently storing, searching and modifying a large data set in Delphi

What would be the best way, in delphi, to create and store data which will often be searched on and modified? Basically, I would like to write a function that searches an existing database for telephone numbers and keeps track of how many times each telephone number has been used, the first date used, and the latest date used. The data...

For storing results, should I store in MySQL or .txt?

I have been working on a cURL script and I am finally done, yay! Basically, right now, I am grabbing the error / success message and storing it, but how should I store it? Should I store it in a .txt file or MySQL. What is a efficient/common practice? EDIT: I already have a MySQL database. I do not mind taking a little more time. After...

Storing files on the filesystem

I have an application that stores images in a database. Now I have learned that this isn't the best way to do this because of performance. I've started extracting all the "blobs" out of the database and added them (through a virtual folder) into the data folder the problem is that I allready have 8000 blobs stored and if I put them in ...

Reading a file line by line in C

Hello, I am trying to write some code that will open a file, read its content line by line and store each of these lines into an array. First I open the file and count the number of lines, each of the lines is of a fixed length so I simply do this : char buf2[LINE_LENGTH]; int in2 = open("toSend2", O_RDONLY); int number_o...

Can I store xmlDocument object in ViewState?

Hi, I have one XML document which I want to store it inside ViewState so on each post back I do not need to load it from its physical path again. I do not want to store it in SessionState as well. when I tried to srote it in ViewState I get an error: Exception Details: System.Runtime.Serialization.SerializationException: Type 'System....

How to use the same info across multiple forms

I am working on my first C# program and have run into a brick wall. I want to be able to set and get variables throughout diferent forms in the same application. I created a class caleld "data" which contains the following: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Application1 { ...

PHP / MySQL formatinng: An example of how this type of data is used?

Hey everyone, Sorry in advance for the kind of odd/vague question :). I've come across this kind of formatting stored in MySQL databases on several occasions now and I'm wondering how the data is used? For example, this line of code was from the bbPress forums plugin bb_message. a:8:{s:9:"max_inbox";i:50;s:13:"auto_add_link";b:1;s:9...

Core Data - Storing Images (iPhone)

I have an application where I allow the user to add an image for their account. I wish to know how to store an image (obtained from the camera or photo library) using Core Data, as I may offer a backup facility for the user and would be looking to transfer the image data to a server. I have come across the design suggestion of creatin...

How to display the new order according to my saved ui position?

I had stored user id, div id, ui.position.left and position.top in to my database, how can to display the new order which I stored in database? $(function() { $(".column").sortable({ connectWith: '.column', stop : function (event, ui) { alert(ui.item.text); //callback function $.post("Layout",...

Creating directories from filename?

Hi! I'm creating website that handles "great amount" of images. I have decided to use multiple directories method for storing files eg. images/efg/ed/ehj/efgedehjokjvdf2jn4.jpg I'm thinking that to prevent filename duplication is to take current timedate + some random string + md5 those = nice line of random string. Mostly I'm wonderin...

Storing data effectively

hi everyone, maybe i'm having stupid question as always, but somehow i can't google out how should I store variables so it's effective. Our teacher on c++ just by the way droped something about how could size of the stored data type affect the speed of storing it (like searching for closest sufficient continuous block of memory) and I w...

Storing a set of values in Delphi

I am trying to store a set of values in delphi, but i want to be able to address them using their name, instead of an assigned number. For example, an array of 'OldValues' would let me do OldValue[1] := InflationEdit.Text; Ideally however, i would like to have a value stored in 'Data.Inflation.OldValue' for example. For each identi...

Basic Question on storing variables c# for use in other classes

Ok guys I basically have a class which takes in 3 strings through the parameter of one of its method signatures. I've then tried to map these 3 strings to global variables as a way to store them. However, when I try to call these global variables from another class after instantiating this class they display as null values. this i...

Internet Explorer randomly drops sessions between pages in cakePHP

Hello everyone, I've come across an extremely unusual bug that my team has literally no idea how to solve. Doing some research, I found some similar solutions that I thought would work, but alas did not. Here is my situation, let me know if I can provide additional insight to help solve the problem. The first step is that someone choos...

Java: Storing information from database. What collections are appropriate?

I write an application in Java. I get form a database a table (clients) which contains fields like: name | surname | adress What is the best solution to store this data in my app? Should I create an object for each client and store these objects in a list or set? The table contains about 100 records and it's already sorted. Thanks ...

adding cerated instances to CoreData

Hello i just first tried out core data right now. I created an App which loads Locations from a Server and creates by using a JSON-Parser dynamically Model-Instances of Class "Location". Works fine and no problems. Now i need to store some locations as favorizedLocations localy on the client. Therefore i want to use CoreData. I had s...

google buzz api error

I am trying to post some content to my google buzz account using google buzz api. I tried using their sample code that they have provided ,but it give the below error Array ( [http_code] => 401 [headers] => Array ( [WWW-Authenticate] => AuthSub realm="https://www.google.com/accounts/AuthSubRequest" allowed-...