Lukas

I need to allow for the instance when idiots use the boundary*0 ... boundary*1 
approach

I've altered your code. Its not rigorous but do you think it will suffice?


MP_MULTIPART: begin
FBoundary := GetParameter(s, 'Boundary');
if FBoundary = '' then begin
Cntr := 0;
repeat
tmpBoundary := GetParameter(s, 'Boundary*'+IntToStr(Cntr));
FBoundary := FBoundary + tmpBoundary;
inc(Cntr);
until tmpBoundary = '';
end;
end;



Roy Lambert

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to