i have asked question twice think, first time have gotten close this. planning on allowing users upload , download files (.pdf, .doc, .exl, .ppt, .png, .jpg, .gif). will these tips suffice: http://blogs.sans.org/appsecstreetfighter/2009/12/28/8-basic-rules-to-implement-secure-file-uploads/ also, there script can utilize, new php. a late response, think script should based on this: http://blog.insicdesigns.com/2009/01/secure-file-upload-in-php-web-applications/ it covers aspects of security , explains valid points. hope helps. edit: above link dead, here cached version of article .
i have 2d array have exploded string. once has exploded output: ---> 0 - 16~4~0.0~~~~false~~~~ ---> 1 - 1000.0~21.75~l~1~2.0~2.0~l~2~ ---> 2 - ---> 0 - 2~5~951.3~6.4~~~false~~~~ ---> 1 - 1000.0~11.77~l~1~ ---> 2 - ---> 0 - 3~6~1269.02~5.1~~~false~~~~ ---> 1 - 5.0~213.66~l~1~4.9~2.56~l~2~4.6~19.5~l~3~ ---> 2 - 5.1~53.44~b~1~5.4~8.48~b~2~5.5~15.53~b~3~ i want make each position in array takes first value before ~. unsure how this. code have far: $test = explode(":", $string); foreach($test &$value) $value = explode('|', $value); just in case need original string input: 1~1~828.32~12.5~~~false~~~~|1000.0~41.73~l~1~2.0~2.0~l~2~|:4~2~4.16~12.5~~~false~~~~|1000.0~21.75~l~1~2.0~2.0~l~2~|:9~3~0.16~24.0~~~false~~~~|1000.0~21.75~l~1~2.0~2.0~l~2~|:16~4~0.0~~~~false~~~~|1000.0~21.75~l~1~2.0~2.0~l~2~|:2~5~951.3~6.4~~~false~~~~|1000.0~11.77~l~1~|:3~6~1269.02~5.1~~~false~~~~|5.0~213.66~l~1~4.9~2.56~l~2~4.6~19.5~l~3~|5.1~53.44~...
i need set sub folder group property through c# outlook add-in code basically, got mails in folder different color categories.i need sort them through code initially thought of sorting: microsoft.office.interop.outlook.items oitems =m_outlook.inbox.items; oitems.sort("[categories]"); dosnt work... :( pretty lost here also trying bubble sorting : but cant assign mail item next index object objmessage = subfolder.items[counter]; object objnextmessage = subfolder.items[counter + 1]; subfolder.items[counter] = objnextmessage; subfolder.items[counter + 1] = objnextmessage; error: property or indexer 'microsoft.office.interop.outlook._items.this[object]' cannot assigned -- read sorting seemed difficult option thought of grouping . how go ? cheers! rajat sort re-order items in collection won't update view: http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook._items.sort.aspx you'd need set collection di...
Comments
Post a Comment