freelanceprogrammers.org Forum Index » Perl
nope
Joined: 07 Jul 1999
Posts: 6
nope
No<br><br>open (f,">$i");<br><br>doesn`t work it makes a file called
$i<br>and I want a file named what $i is equal to.
Joined: 07 Jul 1999
Posts: 4
nope
Try<br>| open(f, `> ` . $i);
Joined: 07 Jul 1999
Posts: 6
nope
It said:<br><br>CGI ERROR:<br><br>Insecure dependency in open while running with
-T switch<br><br>Mean anything to you?
Joined: 07 Jul 1999
Posts: 4
nope
When you had code which read<br>| open(f, "> $i");<br>were you using
double-quotes or single-quotes?<br><br>I think it might be easier to debug your
code if you simply posted it.
Joined: 07 Jul 1999
Posts: 6
nope
I`ve tried both.<br><br>Here is the screwed
around file so far after what<br>you have
said:<br><br>($file,$text)=split(/:::/,$ENV{QUERY_STRING});<br>open
(f,`>`.$file);<br>print f $text;<br>print
"Content-Type text/html
";<br>print "<html>";<br>print
"<head>";<br>print "<title>Saved
File!</title>";<br>print "<body>";<br>print "Saved file:
$file<br>";<br>print "</body>";<br>print
"</html>";<br><br>Thanks,
All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help
Booking Calendar - reservation calendar script
Land Surveying - total station instruments and equipments
China Wholesale - Electronics Products
Character Studio - Tutorials and Help







