From: Honza M. <hon...@ec...> - 2003-01-20 09:21:29
|
leading 'x' is used for slices.php3 url parameter items[ids], where ids are long ids plus added leading 'x' - just like: items[x5462876e8ab29ac95462876e8ab29ac9]=1&items[x65ac876e8a555b29543ea76e8ab29a34]=1 the leading x is necessary for php in order it interprets index as string and not number. The usage of items[] parameter you can see on: http://ecomonitor.cz/clanky.shtml?conds%5B1%5D%5Bpublish_date....%5D=1&conds%5B1%5D%5Bvalue%5D=1%2F20%2F2002&conds%5B1%5D%5Boperator%5D=d%3A%3E%3D The format string for the display is something like: <input type="checkbox" name="items[x_#ITEM_ID#]">_#PUB_DATE - <b><a href=_#HDLN_URL>_#SOURCE##: _#HEADLINE</a></b><br> I updated FAQ to be more clear for items[ids] parameter: http://apc-aa.sourceforge.net/faq/?debug=1#218 Honza On Po, 2003-01-20 at 03:14, Mitra wrote: > In slice.php3 around line 311 there is a place where it strips the > first character from a value got from $items > > What I can't figure out, is how the x got there, since the parameters > to slice don't specify that id's have to have a leading "x" > > Any ideas? > > - Mitra |