Hi. I'm working on a spider, and it needs to preferably empty out the array (or at least make the array smaller as it carries on) ... is there a better option than;
$urls[$_count] = '';
I was thinking about 'pop', but that would mess up my 'foreach'. Is there a good way to remove entries from the array, thus freeing up RAM on the server? Obviously I can't use undef, or can I?
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
$urls[$_count] = '';
I was thinking about 'pop', but that would mess up my 'foreach'. Is there a good way to remove entries from the array, thus freeing up RAM on the server? Obviously I can't use undef, or can I?
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!