Search found 4 matches
Aprelium Forum Index
Author Message
  Topic: Deleting the contents of a folder
hitam269

Replies: 2
Views: 20870

PostForum: Perl   Posted: Sun Feb 26, 2006 9:00 pm   Subject: Deleting the contents of a folder
Wow, thank you! That worked.
  Topic: Deleting the contents of a folder
hitam269

Replies: 2
Views: 20870

PostForum: Perl   Posted: Sat Feb 25, 2006 11:19 pm   Subject: Deleting the contents of a folder
This is part of a script which is supposed to delete all of the files in a user-specified folder which is located in htdocs\users. The script itself is also located in htdocs\users.

opendir(IM ...
  Topic: why doesn't work ?
hitam269

Replies: 3
Views: 23427

PostForum: Perl   Posted: Tue Oct 11, 2005 2:58 am   Subject: why doesn't work ?
Your shebang line should probably be

#!\perl\bin\perl

That works for me.
  Topic: File Upload Script problem
hitam269

Replies: 1
Views: 19702

PostForum: Perl   Posted: Mon Oct 10, 2005 5:06 am   Subject: File Upload Script problem
After the line

open ( UPLOADFILE, ">..\\$dir\\$file_name" ) or die $!;

you will need to add

binmode UPLOADFILE;

That will transfer it in binary format rather than ascii format.

I've ...
 
Page 1 of 1
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB phpBB Group