Actually, it turns I can get it write, I just can't view it with Mozilla. The image appears fine when viewed with IE. How do I handle the space between Documents and Settings inside of a print statement?
or just assign it to a variable?
Not from a server. For internal use only.
I can't even get this thing to print to an HTML page with a simple .jpg file, no dashes, from my desktop.
print OUT4 "<center><img src= 'C:\Documents and Settings\Administrator\Desktop\RRPphoto.jpg'>\n";
Any idea why this code won't work?
If I can...
Before I get into an actual example, perhaps someone would be nice enough to provide a simple example of the syntax for writing to a file using IMG SRC with a full windows path
so, for example
print OUT "<center><img src='C:/Documents and Settings/Administrator/Desktop/File/file.gif'>\n"...
I use LWP download to get some files once a week from a site. The problem is that after I download a certain number, anything else after is incomplete. I've infered that this is probably that anti bot thing kicking in ---you know, where they want you to type in a phrase or numbers, to continue...
It's simple enough to open and HTML file, say, for appending, and to keep adding data to an existing file.
Is it possible to do likewise for a GD::GRAPH file
so that additional graphs can be added to an existing GIF file with the original graph being maintained?
I can get exec to work by calling it from the same directory the file is in but can't get it work with a complete path
telling me 'C:/Documents' is not recognized
$file = "C:/Documents and Settings/Administrator/Desktop/file.gif";
what would the correct syntax be? have searched online to no...
We can open a file in Perl for reading or writing
is it possible to actually open an HTML file in a browser window using Perl?
So, instead of opening for reading or writing, open for viewing.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.