Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

A small puzzle ?
One of my projects recently encountered a glitch.
Its php4 and mysql3.2 on linux through apache.
The app collects a list of parts and formats a printed worksheet.
The users enter a ref number for each part which the php prefixes with a
'group' identifier (A).
The whole part ref (A1,A2,A3...) is stored with the rest of the job in the
lines table.
The display routines pull the lines in from the db and sort by left($ref,2)
so the A10 comes after the A1.

For a short period, the new entries were coming back unsorted.
This was in a period of unusually high server usage (1-2hrs) from elsewhere
in the network.

Could the database write's have been affected by the server load ? The raw
data looks ok.
Could a user have sneaked in some control chars ? Validation is v.poor (!).

New entries now are fine, the corrupted entries remain unsortable.

cheers




Report this thread to moderator Post Follow-up to this message
Old Post
ntl
06-02-05 01:56 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Language archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:40 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.