Click here to Skip to main content
15,902,189 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: PayPals Add To Cart Button for one off items Pin
Member 373991018-Jun-09 22:53
Member 373991018-Jun-09 22:53 
QuestionImage Upload Problem Pin
indian2212-Jun-09 1:46
indian2212-Jun-09 1:46 
AnswerRe: Image Upload Problem Pin
Marc Firth15-Jun-09 3:39
Marc Firth15-Jun-09 3:39 
AnswerRe: Image Upload Problem Pin
Syed M Hussain17-Jun-09 5:29
Syed M Hussain17-Jun-09 5:29 
Questionpipeing proc_open() output over a period of time Pin
SalilJain7-Jun-09 6:56
SalilJain7-Jun-09 6:56 
AnswerRe: pipeing proc_open() output over a period of time Pin
Marc Firth11-Jun-09 22:02
Marc Firth11-Jun-09 22:02 
News[Announce] PyJumble v1.0.0 Pin
PavanPareta5-Jun-09 3:40
PavanPareta5-Jun-09 3:40 
QuestionPHP and code flow... Pin
angusmann4-Jun-09 18:50
angusmann4-Jun-09 18:50 
Hi all. I'm writing a web app for personal business use. It's a big job and will handle invoicing, payments, time scheduling and so on. I expect it will take the better part of 6 months or a year to finish in my spare time.

I've made a couple of false starts but seem always to end up with spaghetti code. My major obstacle is keeping the program aware of what it's current status is.

For example, there's a page to add a new customer, or a new supplier and they work fine. sometimes while entering an invoice it happens that the supplier or the customer or work location or something that does not exist. The app. needs to divert to the "New customer" page, get the data and return to the original point. While entering the new customer it might happen that the customer uses a bank that's never been entered before and so it needs to divert to the "New Bank" page and then backtrack to where it started.

To make the problem clearer - please consider the web-interface my bank uses. I have to log in to do anything at all. If I'm half way through a transaction and the session times out, I'm taken to the log-in page again, but after entering the login details I don't go to the main menu again ... it takes me to where I left off with the transaction. Somewhere behind the scenes a clever programmer kept track of what I was doing, so the log-in page can be re-used over and over at different points in a session. That's the kind of thing I need to do.

I've been using session variables and some hidden variables in the pages to assist but as the program grows it becomes cumbersome and confusing. There's an endless list of if's or's and's - rules and exceptions to rules.

Can anybody give some good generic advice about how to integrate and track all the various sub-components of a large application like this?

Thanks in advance.
Angus
AnswerRe: PHP and code flow... Pin
Marc Firth4-Jun-09 22:03
Marc Firth4-Jun-09 22:03 
GeneralRe: PHP and code flow... Pin
AtliThor5-Jun-09 8:52
AtliThor5-Jun-09 8:52 
GeneralRe: PHP and code flow... Pin
angusmann5-Jun-09 15:13
angusmann5-Jun-09 15:13 
QuestionLinux tutorials Pin
matjame4-Jun-09 3:53
matjame4-Jun-09 3:53 
AnswerRe: Linux tutorials [modified] Pin
Jimmanuel4-Jun-09 4:51
Jimmanuel4-Jun-09 4:51 
AnswerRe: Linux tutorials Pin
N a v a n e e t h15-Jun-09 2:17
N a v a n e e t h15-Jun-09 2:17 
GeneralRe: Linux tutorials Pin
matjame18-Jun-09 3:27
matjame18-Jun-09 3:27 
GeneralRe: Linux tutorials Pin
N a v a n e e t h18-Jun-09 15:07
N a v a n e e t h18-Jun-09 15:07 
GeneralRe: Linux tutorials Pin
matjame18-Jun-09 22:04
matjame18-Jun-09 22:04 
AnswerRe: Linux tutorials Pin
Sebastian Schneider15-Jun-09 23:32
Sebastian Schneider15-Jun-09 23:32 
QuestionHow to get INR symbol "Rs". Pin
jaraldumary3-Jun-09 19:14
jaraldumary3-Jun-09 19:14 
AnswerRe: How to get INR symbol "Rs". Pin
Marc Firth3-Jun-09 21:54
Marc Firth3-Jun-09 21:54 
QuestionPHP misses url parameters Pin
platinum19123-Jun-09 12:15
platinum19123-Jun-09 12:15 
AnswerRe: PHP misses url parameters Pin
Marc Firth3-Jun-09 21:53
Marc Firth3-Jun-09 21:53 
AnswerRe: PHP misses url parameters Pin
fly9044-Jun-09 1:42
fly9044-Jun-09 1:42 
GeneralRe: PHP misses url parameters Pin
platinum19124-Jun-09 8:28
platinum19124-Jun-09 8:28 
AnswerSolution Found Pin
platinum19124-Jun-09 12:00
platinum19124-Jun-09 12:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.