PHP Designers Should Be In Gitmo With The Other Terrorists
[QUOTE=tocksarcle;2*506]Well if you were using C you could do malloc() and free(), but I don't think php has anything similar. Try looking for a PHP delete() function.[/QUOTE]
I did.
The PHP manual said:
Description
void delete ( void )
This is a dummy manual entry to satisfy those people who are looking for unlink() or unset() in the wrong place.
Return Values
No value is returned.
Apparently it's unlink or unset
Of course it wouldn't be anything logical like a normal person would think of - like delete.
LOL
Found it:
it is
[code]unset($ArrayName);[/code]
of course, to delete a file it's
[code]unlink($FileName);[/code]
Why can't they use language that relates to the real world and the way people think?
To whoever invented those counterintuitive function names in PHP:
Slap, kick, punch, spit, bite!
May the fleas of *0,000 camels have a family re***** in your shorts!