I'm learning PHP and I was curious about this. I've learnt about cookies and sessions, and I'd like to know - which one do you use for a shopping cart? What's the actual mechanism behind it? As the user builds up a cart full of stuff, is the data for that maintained on the server-side in a MySQL database or something?
I'm running apach on ubuntu 9.10 what I can run manually, script or file to create the WPSC tables the WordPress Plugin wp-ecommerce uses? values for fields like Currency Type and other values are not in Drop Down Boxes within the Store/Products/Display Products screen.
I'm about to start a new build for my primary machine at home. The plan is to load up a server/workstation motherboard (ASUS KGPE-D16) with two 8-core chip, as much RAM as it will take (32GB) and to put two graphics cards in it. One to power my main 24" monitor (ideally via HDMI) and the other card to power two screens, one 24" on each left and right side via DVI (unless I can find a dual-HDMI card that meets my needs).
Does that make sense? Here's my question for this awesome group of intelligent individuals: What video card model should I choose? Obviously, I'd like them to match so I can SLI / CrossFire if I really want to, but what setup should I plan on to have a good experience managing multiple displays on multiple video cards?
Oh, and budget is probably up to about $300 per card, maybe a little more if it makes a lot of sense.I'm not alone in having tons of problems with trying to get multi monitor support in the last few versions of Ubuntu, and honestly it's the only reason why I'm still running Windows7: the multi monitor support is just SO DAMNED easy! I shouldn't have to spend this much energy thinking about video card model- it should just work, shouldn't it?
Has anyone ever worked in the development of a cart application able to handle transactions and payment. I am not just interested in the database processing but how the money is being transfered. Do you need some server requirements? Any book(s) that you find useful to read? or online source ?
i was wanting to download zen cart in linux mint once i get it downloaded where does it go and how to i open it to install. sorry for the dumb questions but im new to linux and just now getting the hang of some of this.
i just installed fedora 14 x86_64 on an external driver now everything works fine except that i don't have any sound comming out of my speakers so i think that my sound cart is not detected or the driver isn't installled (can't find a driver for linux to so i can't confirm)
I just started messing around in Linux programming, and I wanted to create a simple test program to open a file, read to it, and write to it. I can open and read it, but write always gives errno = EBADF. I've messed with file creation permissions and I can figure out why write() thinks it's a bad file descriptor but not read().Here is my code:
I need to write a GUI for the web to gather the following info:
Username Password SomePlainText Path1 PathN
Of course, I then need an 'submit' button. I then want to have the user upload all paths supplied from their machine to my server. I hope to work with this data as arguments for a bash script. Also, I need to work with all possible client OSes consistently. What language should be used?
Can you offer me the code about fmod() in C. I want to know how this function work, i am very interested in it because i have no idea to implement it, i want to know... how to write the function... not 'how to use the function' can anyone post the source codes of this function here?
I've been working at learning how to write makefiles and I'm a bit stuck.
I've got a fairly simple project that will eventually be a framework for TCP/IP Communications in evolutionary algorithms that I've been using Eclipse to develop.
For personal development I want to learn how to write makefiles by hand but have gotten kind of stuck
Here is the makefile as it stands now:
Code:
Port and Mailbox are a virtual class and a template class respectively.
I get these errors when I run make:
Code:
So for some reason every single function in the Connection class has been defined multiple times. I assume because it's included as a dependency for multiple targets, but I've seen this in numerous examples that apparently work.
Everything in libpthread is undefined because I'm not linking in the library. I've tried adding the library options to the LDFLAGS variable but that doesn't seem to work either.
I want to learn to write an USB driver on linux 2.6.x I tried to find some documents but i could not find documents for it . Most of it gave direct driver code as reference.
I am trying to write a gui app with python2.6.4 and wx on win XP. I am attempting to resize an image with Imagemagick from within the program using os.popen and os.system in a thread.
Code: os.popen("mogrify -resize " + str(x) + "x" + str(y) + "!" + " images/static/" + my_ref + ".gif") orCode: os.system("mogrify -resize " + str(x) + "x" + str(y) + "!" + " images/static/" + my_ref + ".gif") they both work as far as resizing the image but when os.system is used a command shell opens during the mogrify and when os.popen is used the command shell does not show but the rest of the program freezes until mogrify is done.
I would prefer that the program did not freeze during this process and the command shell did not show.I have tried using wx to scale the image but the scaled image looks crappy.anyway is there a way to use os.system and not have the shell show?
I'm trying to write a toy linux shell. For starters this is what I'm trying to do:
1. Start a new process with fork.
2. Execute a program in the new process with execl().
3. Redirect the output from the new process from STDOUT to another file descriptor, using dup2(2).
4. In the parent process, read the output from the child process and write it to the screen.
Creating a new process and executing a program in it is no problems, the problem is that I can't seem to capture the output from it in the parent process.
I manage to write apr4sens into file,works fine.But how to write it into array,which I could later reshape and so on. I tryied like this group=apr4sens. It doesn't work.
I am trying to write a CMakeList.txt for a project (A). The project needs to use the library of another project (B). For gcc, using -L <path> -ldl works. How can I convert that into cmake file? I tried include_directories, that doesn't seem to work
I want to know how to write a script that would use the standard Linux FTP command to download all the mp3 files from a FTP server cause GET *.mp3 doesn't work. Also how would I write the same script but as a batch file to be run in windows cmd through the windows native FTP command?
I have source code that plays video stream, and can open a remote video file if provided with a URL. But I have a problem getting video from ...... the URLs I get look like:
[URL]
and my code expects something like [URL] I need to modify the code, such that it will find the actual file.
Of course, it's Windows only, and XP only at that. However, the data that needs transferred between the device and the computer should be fairly basic, unless it offloads a lot of processing to the computer. I'm not a programmer, nor do I play one on TV, but I have written some fairly complicated microcontroller programs and some basic Java GUIs. Besides writing the actual code, how hard is it to do whatever needs done to make a Linux device driver, apart from the code to make the device work?
wants to do miniproject as part of the academic curriculum using Computer graphics on Linux using C or C++. Can any one direct me to a direction how i can proceed. I know basics of C and C++
How do you write a program that is independent of the UI (the functionality is a library, and you have, for example, CLI and GUI interfaces as separate apps). The problem I have is how to report status and prompt the user from within UI-independent code? I could split it into parts that do not require any user interaction, but then most of the functionality will be in the UI, not the backend.
how to a write c++ progrms and link them to tcl. I.e if I want to implement a protocol of my own. I tried but lot of errors appear. In response to( file not included errors) i added proper paths of header files in (#include)my c++ file only to get many more errors.I tried also with marc greis tutorial 7th chapter ping protocol program also with same result. Even compiling a small c++ program is also difficult. Please anyone tell me the steps to be followed how to a write c++ progrms and link them to tcl. I.e if I want to implement a protocol of my own.
I have the following problem. I call a C++ program from a Java servlet by using Runtime exec. The OS is ubuntu and I use Netbeans 7.0 with Glassfish 3.1 web server.The program executes but it does not open and write into a specified file in a specified folder. The same C++ program compiled under Windows opens and writes this file.How can I solve this problem in Linux?
I have been looking for a script example of reading and writing to the parallel port's data, status, and control registers using bash. I see it done in pascal, tcl, etc. but nothing in bash.