Just wondering,
I am creating an Ebay manager script and after I created everything in seperate files, I was thinking that I'd convert it all to one big funcs.php file and use a command script such as:-

if ($action == "NewBid") {
} elseif ($action == "DeleteBid") {


Is this the best way to do it? Looking at the code, the funcs.php file would be about 30k as there are quite a lot of functions. Is there anything wrong with using normal flat files?

Also, if I have function showbids() defined, can I use it inside another function that is defined after showbids()?


function showbids()
defined here

function deletebids()
delete bid code

Any input appreciated!