[algogeeks] return timestamp of files in perl

2012-07-20 Thread Nandita Raman
Hello,

i am working on a code that has to return timestanp and size of the file.

the code i am using - my $mtime = (stat($file))[9];


but when i execute it in the cmd line, it says - Use of uninitialized value
in stat at /usr/lib/perl5/5.8.8/File/stat.pm line 49


I am very new to perl and not sure whats wrong or where i am going wrong.
Any help would be appreciated.

Thanks!

-- 

Regards,
Nandita

-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks] Crawler/perl/php/database help

2012-07-20 Thread Nandita Raman
i am using perl crawler script.

On Thu, Jul 19, 2012 at 11:11 PM, Amit Jain aj201...@gmail.com wrote:

 Hi

 Is your crawler script in python or shell script?


 Thanks
 Amit Jain

 On Fri, Jul 20, 2012 at 6:02 AM, Nandita Raman 
 nandita.rama...@gmail.comwrote:

 Hello,

 I am working on a unix machine. and i have the crawler script with me.
 The task i need to do is, update my database (by creating a new field) with
 the files that my crawler finds from a directory.

 I am working on PHP , but any help ASAP to make this work/happen, would
 be appreciated!

 Thanks!

 --

 Regard
 Nandita

  --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.




-- 

Regards,
Nandita

-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



Re: [algogeeks] Re: Need Help with PHP/HTML

2012-07-19 Thread Nandita Raman
Thanks all!  It worked :)

On Thu, Jul 19, 2012 at 12:30 AM, sahil taneja sahiltanej...@gmail.comwrote:

 hey check this out.. http://www.w3schools.com/html/html_forms.asp
 Hope this will serve the purpose:)


 On Tuesday, 17 July 2012 01:12:02 UTC+5:30, nandita raman wrote:

 Hello,

 I am working on PHP/HTML/ XML-RPC.

 I have a website, where one link shows the list of files as checkboxes
 and a submit button below that.

 I am stuck at point where when submit button is clicked, it has to go to
 another .php page and execute whatever is there in that .php file.


 Form intput type= method =post = I have tried and does not seem
 like its working.

 I would really appreciate any thoughts/inputs/help with this!

 Thanks!

 --

 Regards,
 Nandita

  --
 You received this message because you are subscribed to the Google Groups
 Algorithm Geeks group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/algogeeks/-/UoeuXA1smdgJ.

 To post to this group, send email to algogeeks@googlegroups.com.
 To unsubscribe from this group, send email to
 algogeeks+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/algogeeks?hl=en.




-- 

Regards,
Nandita

-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



[algogeeks] Crawler/perl/php/database help

2012-07-19 Thread Nandita Raman
Hello,

I am working on a unix machine. and i have the crawler script with me. The
task i need to do is, update my database (by creating a new field) with the
files that my crawler finds from a directory.

I am working on PHP , but any help ASAP to make this work/happen, would be
appreciated!

Thanks!

-- 

Regards,
Nandita

-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.



[algogeeks] Need Help with PHP/HTML

2012-07-16 Thread Nandita Raman
Hello,

I am working on PHP/HTML/ XML-RPC.

I have a website, where one link shows the list of files as checkboxes and
a submit button below that.

I am stuck at point where when submit button is clicked, it has to go to
another .php page and execute whatever is there in that .php file.


Form intput type= method =post = I have tried and does not seem like
its working.

I would really appreciate any thoughts/inputs/help with this!

Thanks!

-- 

Regards,
Nandita

-- 
You received this message because you are subscribed to the Google Groups 
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.