> server is serving 1000's...
Well I'm on a shared server, so, ya
> secure
My thought process - that's a side issue - I have had my php scripts hacked - they added a base64 line as line one - (aside - I run a 'whats changed on all of my pages every day - sum filex today doesn't match sum filex yesterday)
> toy?
Eh, asking the question, learning. Why do ID 10 Ts climb Mt Everest?
> bugs in code
Had this discussion long ago - what's the largest program you ever wrote that ran the first time error free - we agreed ... eh, 10 lines...
> booths piled up
not any more -
> orig php & C
well it's 200 line +/- in both - I'd list it here but it would just start a flame war - because I've found there are 7 different ways to code the same output and every 3d person takes offense on how the other person codes ...
> same mysql db
yup. both are as much 1:1 as possible. Given PHP is not C and C is not PHP.
Basic flow:
Code:
mysql_real_connect ()
select b.*, c.* from booth, cust where b.id = c.id
while (fetch)
{
display_booth (args...)
}
display_special_items ()
==============================
So in the image above is the booth was green the booth# would be clickable to a page
asking for contents of your booth then taking you to PP. PP returns to a purchasereturn
page which updates the DB
void display_booths()
{
if (sold) class=answerboxpink else answerboxgreen (include href-> purchase.php?boothnumber&price
"<a href='' onmouseover=Tip)
table border=1
tr/tdBooth: bid
tr/tdPrice: price
tr/td contents
/table
onmouseout=UnTip
==================
void spec(ial)box (x, y, h, w, text, rotate)
div class=answerbox ...
table
text
/table
=====================
If you'd like the php/c - PM me