I've got a REALLY annoying problem here. In one of my script, I have the following to delete the old content.rdf.u8.gz file, then get the new one, and then decompress it. For some reason the old file is not getting deleted, and the new one is still being downloaded, but being saved as content.rdf.u8.gz.1 etc. Anyone see any stupid errors here that would cause the file not to delete?
`unlink content.rdf.u8.gz`;
$main_rdf_start_time = time;
`wget http://dmoz.org/rdf/content.rdf.u8.gz`;
`gzip -d content.rdf.u8`;
Any ideas would be appreciated
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!
Code:
# get rid of the old file... `unlink content.rdf.u8.gz`;
$main_rdf_start_time = time;
`wget http://dmoz.org/rdf/content.rdf.u8.gz`;
`gzip -d content.rdf.u8`;
Any ideas would be appreciated
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!