I am trying to save a dynamically generated image on an outside server to a
local file on my server using the code below:
$fc = fopen($image_filename, "wb");
$file = fopen ($image_url, "rb");
if (!$file) {
echo "Unable to open remote file.\n";
exit;
}else{
while (!feof ($file)) {
$li
this - "$rollover_image_url =
"http://www.anysite.com//pngmake.php?msg="; . $rollover .
"&rot=0&size=12&font=fonts/ARIAL.TTF";
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Saturda
valid filename", although I am echoing it out right before
and it looks perfect. Any thoughts?
Jason Wong wrote:
>
> On Sunday 08 December 2002 00:47, Jeremiah Breindel wrote:
> > Thanks for responing Jason!
> >
> > There is other code in there for updating some da
image output code is close to the bottom
***
$image_filename = "../images/tsroll_" . $id . ".png"; //dynamic file
name
$msg = $rollover;
class textPNG {
var $font = 'fonts/ARIAL.TTF'; //default font. put in full path.
var $msg = "undefined"; // default text to display.
var $s
I figured it out! Variable scope problem! Thanks for all your help!
"Jeremiah Breindel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am trying to save a dynamically generated image on an outside server to
a
> local file on
e_filename);
"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Monday 09 December 2002 23:44, Jeremiah Breindel wrote:
> > Ok. I stripped the needed code out of the image creation script and
> > inserted it into my
displayed
the text it was supposed to, and it never errored out. Anybody have any
ideas?
Jeremiah Breindel
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
displayed
the text it was supposed to, and it never errored out. Anybody have any
ideas?
I also had phpinfo run as a script through the server, with the same
results.
Jeremiah Breindel
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
8 matches
Mail list logo