in reply to Re: Upload file (PDB format ) on server
in thread Upload file (PDB format ) on server
No i dint get any message
my code of the called file is
print "Content-type: text/html\n\n";$_="My Page";
$datalen=$ENV{'Content_Length'};
read(STDIN,$q,$datalen);
@data=split(/&/,$q);
$len=@data;
for($i=0; $i<$len; $i++)
{
$data=@data$i;
$data=~ s/\s|t=|RUN//g;
@data$i=$data;
}
$a1=(@data[0]);
$a1 gets the file path,like C:Projecct\jeisika\mol.pdb
which i plan to open and analyze, whereas, when made to run on server this file path comes to perl file as "mol.pdb" only!
This is the first problem
and the second is that i dont know whether i have to upload this file to server before running. Cannot it be done by browsing the file path and then POST it to the second pearl file where this file should be opened and analysed??
I hope im clear now..... :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Upload file (PDB format ) on server
by almut (Canon) on May 28, 2009 at 10:25 UTC | |
|
Re^3: Upload file (PDB format ) on server
by Corion (Patriarch) on May 28, 2009 at 09:43 UTC | |
by flyPerl (Initiate) on May 28, 2009 at 10:20 UTC | |
by Corion (Patriarch) on May 28, 2009 at 10:27 UTC | |
by scorpio17 (Canon) on May 28, 2009 at 15:24 UTC | |
by flyPerl (Initiate) on May 29, 2009 at 04:56 UTC |