php-general Digest 30 Aug 2006 08:15:42 -0000 Issue 4320

Topics (messages 241194 through 241213):

Re: character set when sending emails with PHP
        241194 by: Manuel Lemos

Re: switch()
        241195 by: afan.afan.net
        241196 by: Ray Hauge
        241197 by: afan.afan.net

send a file or stream
        241198 by: Rafael Mora
        241204 by: Peter Lauri
        241205 by: Rafael Mora
        241206 by: Peter Lauri
        241207 by: Rafael Mora
        241208 by: Rafael Mora
        241209 by: Peter Lauri
        241210 by: Rafael Mora
        241211 by: Peter Lauri

Re: replace single and double quotes
        241199 by: tedd
        241200 by: Rafael Mora

Strange situation when saving a file
        241201 by: Miguel Guirao
        241213 by: Stut

Test!
        241202 by: Rafael Mora
        241203 by: Robert Cummings

BMP and GDlib
        241212 by: Peter Lauri

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
Hello,

on 08/29/2006 09:04 AM Angelo Zanetti said the following:
> I have various PHP CRONTAB scripts that run and send automated emails to
> people, the subject often contains the "TM" character: ™, in most of the
> email clients the character shows correctly but in some webmail
> applications the character is replaced with a square, it obviously
> doesnt recognise the character. Now if I forward one the mails from the
> email client to the webmail account it then recognises and shows the
> character correctly? Very weird as it is the same mail just forwarded,
> is the problem that the mail forwarded from the email client uses a
> different content type when sent? The one specified in the PHP script is
> as follows:
> 
> $mail->setHeader("Content-type", "text/plain; charset=iso-8859-1");
> 
> Or is there something wrong with the charset that I'm specifying above?

The content-type header only applies to that message body part. The
character set of the headers is defined in a different way using q-encoding.

Take a look at this class that lets you define headers with whatever
encoding and character set you need to use:

http://www.phpclasses.org/mimemessage


-- 

Regards,
Manuel Lemos

Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

--- End Message ---
--- Begin Message ---
No. They are two if statements because they are indepedent.


> On Tuesday 29 August 2006 13:44, Ray Hauge wrote:
>> Using a switch like this is more equivalent of
>>
>> if(something){
>> // true
>> } else {
>> // false
>> }
>
> Actually, it's more like an if/elseif/else (if you use default:) or
> if/elseif
> (without default:)
>
> --
> Ray Hauge
> Programmer/Systems Administrator
> American Student Loan Services
> www.americanstudentloan.com
> 1.800.575.1099
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
On Tuesday 29 August 2006 14:12, [EMAIL PROTECTED] wrote:
> No. They are two if statements because they are indepedent.
>
> > On Tuesday 29 August 2006 13:44, Ray Hauge wrote:
> >> Using a switch like this is more equivalent of
> >>
> >> if(something){
> >> // true
> >> } else {
> >> // false
> >> }
> >
> > Actually, it's more like an if/elseif/else (if you use default:) or
> > if/elseif
> > (without default:)
> >
> > --
> > Ray Hauge
> > Programmer/Systems Administrator
> > American Student Loan Services
> > www.americanstudentloan.com
> > 1.800.575.1099
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php

I was unclear.  Using a switch to replace an if statement would be replacing 
the if/elseif/else with the switch.  You are right though.

-- 
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099

--- End Message ---
--- Begin Message ---
> What you're saying in that case is either col_1 evaluates to value1 or
> col_2 evaluates to value2.
Correct. To be more specific (it was better I did from begining :))
After an "order" is submitted, the code is checking are there any coments
about tax charges (col_1) and/or billing charges (col_2). If there is
comment in col_1 send it by email to person in charge. If there is
something in col_2 send it by email to (other) person in charge. I hope it
does now make a sence. Sorry for this.

> Unless you have some program logic to
> prevent both from being true, you are comparing apples and oranges.  And
> any time col_1, evaluates to true, the "break" keyword will stop your
> switch ladder.  Remove break, and that won't happen.  of course, if you
> do that, then the question arises about why you are using a switch
> ladder in the first place.
>
I forgot about this "break" (sounds crazy :)).
Thanks for making this clear to me.

-afan

--- End Message ---
--- Begin Message ---
Hi!

i want to send a file or output stream in a .php, but first compress it, I
tryed the example to compress files but how do i do to send as answer to the
http request??

Rafa

--- End Message ---
--- Begin Message ---
Do you mean the following:

1. A user sends a request to your server to get a compressed file
2. You compress the file on the server
3. You want to send back to compressed file to the server

It is number 3 you asking for?

In that case:

<?php
header("Content-Type: application/octet-stream");
readfile("path_to_compressed_file");
?>

/Peter


-----Original Message-----
From: Rafael Mora [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 30, 2006 2:34 AM
To: [email protected]
Subject: [PHP] send a file or stream

Hi!

i want to send a file or output stream in a .php, but first compress it, I
tryed the example to compress files but how do i do to send as answer to the
http request??

Rafa

--- End Message ---
--- Begin Message ---
---------- Forwarded message ----------
From: Rafael Mora <[EMAIL PROTECTED]>
Date: Aug 29, 2006 11:09 PM
Subject: Re: [PHP] send a file or stream
To: Peter Lauri <[EMAIL PROTECTED]>

1. A user sends a request to your server to get a compressed file
2. You compress the file on the server
3. I want to send back the file to the user




On 8/29/06, Peter Lauri <[EMAIL PROTECTED]> wrote:

Do you mean the following:

1. A user sends a request to your server to get a compressed file
2. You compress the file on the server
3. You want to send back to compressed file to the server

It is number 3 you asking for?

In that case:

<?php
header("Content-Type: application/octet-stream");
readfile("path_to_compressed_file");
?>

/Peter


-----Original Message-----
From: Rafael Mora [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 2:34 AM
To: [email protected]
Subject: [PHP] send a file or stream

Hi!

i want to send a file or output stream in a .php, but first compress it, I
tryed the example to compress files but how do i do to send as answer to
the
http request??

Rafa



--- End Message ---
--- Begin Message ---
<?php
header("Content-Type: application/octet-stream");
readfile("path_to_compressed_file"); 
?>

 

Should do it then. if you know the path to the file :)

 

  _____  

From: Rafael Mora [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 30, 2006 10:10 AM
To: Peter Lauri
Subject: Re: [PHP] send a file or stream

 

1. A user sends a request to your server to get a compressed file
2. You compress the file on the server
3. I want to send back the file to the user

 



 

On 8/29/06, Peter Lauri <[EMAIL PROTECTED]> wrote: 

Do you mean the following:

1. A user sends a request to your server to get a compressed file
2. You compress the file on the server 
3. You want to send back to compressed file to the server

It is number 3 you asking for?

In that case:

<?php
header("Content-Type: application/octet-stream");
readfile("path_to_compressed_file"); 
?>

/Peter


-----Original Message-----
From: Rafael Mora [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 2:34 AM
To: [email protected]
Subject: [PHP] send a file or stream

Hi!

i want to send a file or output stream in a .php, but first compress it, I
tryed the example to compress files but how do i do to send as answer to the

http request??

Rafa

 


--- End Message ---
--- Begin Message ---
ok thank you Im going to test it!! =)

On 8/29/06, Peter Lauri <[EMAIL PROTECTED]> wrote:

  <?php
header("Content-Type: application/octet-stream");
readfile("path_to_compressed_file");
?>



Should do it then… if you know the path to the file :)


 ------------------------------

*From:* Rafael Mora [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, August 30, 2006 10:10 AM
*To:* Peter Lauri
*Subject:* Re: [PHP] send a file or stream



1. A user sends a request to your server to get a compressed file
2. You compress the file on the server
3. I want to send back the file to the user







On 8/29/06, *Peter Lauri* <[EMAIL PROTECTED]> wrote:

Do you mean the following:

1. A user sends a request to your server to get a compressed file
2. You compress the file on the server
3. You want to send back to compressed file to the server

It is number 3 you asking for?

In that case:

<?php
header("Content-Type: application/octet-stream");
readfile("path_to_compressed_file");
?>

/Peter


-----Original Message-----
From: Rafael Mora [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 2:34 AM
To: [email protected]
Subject: [PHP] send a file or stream

Hi!

i want to send a file or output stream in a .php, but first compress it, I
tryed the example to compress files but how do i do to send as answer to
the
http request??

Rafa




--- End Message ---
--- Begin Message ---
I test it and gave me this: xœ ÉÈ,V¢D…'Ôâ=(r)(??/§C0/¿D!1O!3·
¿¨$1¯D¡¸¤(3/] LÖ so the user should read that?? this is my code:


<?php
$params = array('level' => 6, 'window' => 15, 'memory' => 9);

$texto_original = "This is a test.\nThis is only a test.\nThis is not an
important string.\n";
//echo "El texto original tiene " . strlen($texto_original) . "
caracteres.\n";

$da = fopen('stations.gzip', 'w');
stream_filter_append($da, 'zlib.deflate', STREAM_FILTER_WRITE, $params);
fwrite($da, $texto_original);
fclose($da);

header("Content-Type: application/octet-stream");
readfile("stations.gzip");



On 8/29/06, Peter Lauri <[EMAIL PROTECTED]> wrote:

<?php
header("Content-Type: application/octet-stream");
readfile("path_to_compressed_file");
?>



Should do it then. if you know the path to the file :)



_____

From: Rafael Mora [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 10:10 AM
To: Peter Lauri
Subject: Re: [PHP] send a file or stream



1. A user sends a request to your server to get a compressed file
2. You compress the file on the server
3. I want to send back the file to the user







On 8/29/06, Peter Lauri <[EMAIL PROTECTED]> wrote:

Do you mean the following:

1. A user sends a request to your server to get a compressed file
2. You compress the file on the server
3. You want to send back to compressed file to the server

It is number 3 you asking for?

In that case:

<?php
header("Content-Type: application/octet-stream");
readfile("path_to_compressed_file");
?>

/Peter


-----Original Message-----
From: Rafael Mora [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 2:34 AM
To: [email protected]
Subject: [PHP] send a file or stream

Hi!

i want to send a file or output stream in a .php, but first compress it, I
tryed the example to compress files but how do i do to send as answer to
the

http request??

Rafa






--- End Message ---
--- Begin Message ---
You need to make sure that you are not outputting ANYTHING before you do this. 
I might guess that you have a whitespace in the top of the script. As soon as 
you output, the server can not send any more header information, and the 
browser will think it is just text instead of treating it as an octet-stream.

 

/Peter

 

  _____  

From: Rafael Mora [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 30, 2006 10:25 AM
To: Peter Lauri
Cc: [email protected]
Subject: Re: [PHP] send a file or stream

 

I test it and gave me this: xœ ÉÈ,V¢D…'Ôâ=®(??/§C0/¿D!1O!3· ¿¨$1¯D¡¸¤(3/] 
LÖ‑ so the user should read that?? this is my code:

 

<?php
$params = array('level' => 6, 'window' => 15, 'memory' => 9);

$texto_original = "This is a test.\nThis is only a test.\nThis is not an 
important string.\n";
//echo "El texto original tiene " . strlen($texto_original) . " caracteres.\n";

$da = fopen('stations.gzip', 'w');
stream_filter_append($da, 'zlib.deflate', STREAM_FILTER_WRITE, $params);
fwrite($da, $texto_original);
fclose($da);

header("Content-Type: application/octet-stream");
readfile("stations.gzip");



 

On 8/29/06, Peter Lauri <[EMAIL PROTECTED]> wrote: 

<?php
header("Content-Type: application/octet-stream");
readfile("path_to_compressed_file"); 
?>



Should do it then. if you know the path to the file :)



_____

From: Rafael Mora [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 10:10 AM 
To: Peter Lauri
Subject: Re: [PHP] send a file or stream



1. A user sends a request to your server to get a compressed file
2. You compress the file on the server
3. I want to send back the file to the user 







On 8/29/06, Peter Lauri <[EMAIL PROTECTED]> wrote:

Do you mean the following:

1. A user sends a request to your server to get a compressed file 
2. You compress the file on the server
3. You want to send back to compressed file to the server

It is number 3 you asking for?

In that case:

<?php
header("Content-Type: application/octet-stream"); 
readfile("path_to_compressed_file");
?>

/Peter


-----Original Message-----
From: Rafael Mora [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 2:34 AM 
To: [email protected]
Subject: [PHP] send a file or stream

Hi!

i want to send a file or output stream in a .php, but first compress it, I
tryed the example to compress files but how do i do to send as answer to the 

http request??

Rafa





 


--- End Message ---
--- Begin Message ---
Ok it works, but it returns me the same .php file, not the one I am creating



On 8/29/06, Peter Lauri <[EMAIL PROTECTED]> wrote:

You need to make sure that you are not outputting ANYTHING before you do
this. I might guess that you have a whitespace in the top of the script. As
soon as you output, the server can not send any more header information, and
the browser will think it is just text instead of treating it as an
octet-stream.



/Peter



_____

From: Rafael Mora [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 10:25 AM
To: Peter Lauri
Cc: [email protected]
Subject: Re: [PHP] send a file or stream



I test it and gave me this: xœ ÉÈ,V¢D…'Ôâ=(r)(??/§C0/¿D!1O!3·
¿¨$1¯D¡¸¤(3/] LÖ‑ so the user should read that?? this is my code:



<?php
$params = array('level' => 6, 'window' => 15, 'memory' => 9);

$texto_original = "This is a test.\nThis is only a test.\nThis is not an
important string.\n";
//echo "El texto original tiene " . strlen($texto_original) . "
caracteres.\n";

$da = fopen('stations.gzip', 'w');
stream_filter_append($da, 'zlib.deflate', STREAM_FILTER_WRITE, $params);
fwrite($da, $texto_original);
fclose($da);

header("Content-Type: application/octet-stream");
readfile("stations.gzip");





On 8/29/06, Peter Lauri <[EMAIL PROTECTED]> wrote:

<?php
header("Content-Type: application/octet-stream");
readfile("path_to_compressed_file");
?>



Should do it then. if you know the path to the file :)



_____

From: Rafael Mora [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 10:10 AM
To: Peter Lauri
Subject: Re: [PHP] send a file or stream



1. A user sends a request to your server to get a compressed file
2. You compress the file on the server
3. I want to send back the file to the user







On 8/29/06, Peter Lauri <[EMAIL PROTECTED]> wrote:

Do you mean the following:

1. A user sends a request to your server to get a compressed file
2. You compress the file on the server
3. You want to send back to compressed file to the server

It is number 3 you asking for?

In that case:

<?php
header("Content-Type: application/octet-stream");
readfile("path_to_compressed_file");
?>

/Peter


-----Original Message-----
From: Rafael Mora [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 30, 2006 2:34 AM
To: [email protected]
Subject: [PHP] send a file or stream

Hi!

i want to send a file or output stream in a .php, but first compress it, I
tryed the example to compress files but how do i do to send as answer to
the

http request??

Rafa










--- End Message ---
--- Begin Message ---
Try this:

header("Pragma: public");
header("Expires: 0"); // set expiration time
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Content-Type: application/octet-stream");
header('Content-Disposition: attachment; filename="stations.gzip"');
header("Content-Transfer-Encoding: binary");
header("Content-Length: ".filesize(stations.gzip));
readfile("stations.gzip");

/Peter

PS! To maintain the list and its functionality, do not post same message 
multiple times  DS!


-----Original Message-----
From: Rafael Mora [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 30, 2006 11:01 AM
To: Peter Lauri
Cc: [email protected]
Subject: Re: [PHP] send a file or stream

Ok it works, but it returns me the same .php file, not the one I am creating



On 8/29/06, Peter Lauri <[EMAIL PROTECTED]> wrote:
>
> You need to make sure that you are not outputting ANYTHING before you do
> this. I might guess that you have a whitespace in the top of the script. As
> soon as you output, the server can not send any more header information, and
> the browser will think it is just text instead of treating it as an
> octet-stream.
>
>
>
> /Peter
>
>
>
> _____
>
> From: Rafael Mora [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 30, 2006 10:25 AM
> To: Peter Lauri
> Cc: [email protected]
> Subject: Re: [PHP] send a file or stream
>
>
>
> I test it and gave me this: xœ ÉÈ,V¢D…'Ôâ=(r)(??/§C0/¿D!1O!3·
> ¿¨$1¯D¡¸¤(3/] LÖ‑ so the user should read that?? this is my code:
>
>
>
> <?php
> $params = array('level' => 6, 'window' => 15, 'memory' => 9);
>
> $texto_original = "This is a test.\nThis is only a test.\nThis is not an
> important string.\n";
> //echo "El texto original tiene " . strlen($texto_original) . "
> caracteres.\n";
>
> $da = fopen('stations.gzip', 'w');
> stream_filter_append($da, 'zlib.deflate', STREAM_FILTER_WRITE, $params);
> fwrite($da, $texto_original);
> fclose($da);
>
> header("Content-Type: application/octet-stream");
> readfile("stations.gzip");
>
>
>
>
>
> On 8/29/06, Peter Lauri <[EMAIL PROTECTED]> wrote:
>
> <?php
> header("Content-Type: application/octet-stream");
> readfile("path_to_compressed_file");
> ?>
>
>
>
> Should do it then. if you know the path to the file :)
>
>
>
> _____
>
> From: Rafael Mora [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 30, 2006 10:10 AM
> To: Peter Lauri
> Subject: Re: [PHP] send a file or stream
>
>
>
> 1. A user sends a request to your server to get a compressed file
> 2. You compress the file on the server
> 3. I want to send back the file to the user
>
>
>
>
>
>
>
> On 8/29/06, Peter Lauri <[EMAIL PROTECTED]> wrote:
>
> Do you mean the following:
>
> 1. A user sends a request to your server to get a compressed file
> 2. You compress the file on the server
> 3. You want to send back to compressed file to the server
>
> It is number 3 you asking for?
>
> In that case:
>
> <?php
> header("Content-Type: application/octet-stream");
> readfile("path_to_compressed_file");
> ?>
>
> /Peter
>
>
> -----Original Message-----
> From: Rafael Mora [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 30, 2006 2:34 AM
> To: [email protected]
> Subject: [PHP] send a file or stream
>
> Hi!
>
> i want to send a file or output stream in a .php, but first compress it, I
> tryed the example to compress files but how do i do to send as answer to
> the
>
> http request??
>
> Rafa
>
>
>
>
>
>
>
>
>

--- End Message ---
--- Begin Message ---
At 5:04 PM +0200 8/29/06, Reinhart Viane wrote:
About the language remark:
I believe you try to say I need to find a way that the client can add 25
languages without me having to change the database layout or the coding?
Well I can assure you this will not be the fact. The client only needs these
two languages but maybe I should look into it anyway

Depends upon what's in the dB -- if it's language specific, then you'll have to change it. If it's not, then you won't.

For what it's worth, the language independent code that I've written in the past used constants for language specific labels. From there, I would program using English for my code, but those constants could be changed by a single setting allowing them to be their language counterparts. Food for thought.

About SQl injection:
I must say this is very interesting.
I always wondered what are does and donts when inserting data from a form
into a database and how to check someone did not enter any php code.
Besides the google lookup is there maybe an site or paper dedicated to this?

There are different types of injection. I recommend Essential PHP Security by Shifiett:

<http://www.amazon.com/gp/product/059600656X/ref=nosim/102-4387829-1116967?camp=2025&dev-t=D26XECQVNV6NDQ&link%5Fcode=xm2&n=283155>

Well worth the money.

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--- End Message ---
--- Begin Message ---
Hi!

i want to send a file or output stream in a .php, but first compress it, I
tryed the example to compress files but how do i do to send as answer to the
http request??

Rafa

--- End Message ---
--- Begin Message ---

Hi all,

I'm using ob_start() in order to save the content of a web page into a
variable string and then save it into a file in the file system. Every thing
is done OK. The only workaround I'm doing is adding a .doc file extension
when saving the file, in order to open the file in Word.

Once the file has been created and saved as I doc file (not a doc format!),
I e-mail it!

When the client gets the e-mail, he/she should open the file either by
saving the file to the local system or openning the file directly from the
e-mail attachment. Either way, I got a blank page in Word. If I open the
document directly from the web server, without having it sent by e-mail, it
opens correctly in Word. The only problem is when the file is been
emailed!!!


What could be going wrong?? Any ideas??
Thanks in advance!!

-----------------------
Miguel Guirao Aguilera
Logistica R8 TELCEL
Tel. (999) 960.7994


Este mensaje es exclusivamente para el uso de la persona o entidad a quien esta 
dirigido; contiene informacion estrictamente confidencial y legalmente 
protegida, cuya divulgacion es sancionada por la ley. Si el lector de este 
mensaje no es a quien esta dirigido, ni se trata del empleado o agente 
responsable de esta informacion, se le notifica por medio del presente, que su 
reproduccion y distribucion, esta estrictamente prohibida. Si Usted recibio 
este comunicado por error, favor de notificarlo inmediatamente al remitente y 
destruir el mensaje. Todas las opiniones contenidas en este mail son propias 
del autor del mensaje y no necesariamente coinciden con las de Radiomovil 
Dipsa, S.A. de C.V. o alguna de sus empresas controladas, controladoras, 
afiliadas y subsidiarias. Este mensaje intencionalmente no contiene acentos.

This message is for the sole use of the person or entity to whom it is being 
sent.  Therefore, it contains strictly confidential and legally protected 
material whose disclosure is subject to penalty by law.  If the person reading 
this message is not the one to whom it is being sent and/or is not an employee 
or the responsible agent for this information, this person is herein notified 
that any unauthorized dissemination, distribution or copying of the materials 
included in this facsimile is strictly prohibited.  If you received this 
document by mistake please notify  immediately to the subscriber and destroy 
the message. Any opinions contained in this e-mail are those of the author of 
the message and do not necessarily coincide with those of Radiomovil Dipsa, 
S.A. de C.V. or any of its control, controlled, affiliates and subsidiaries 
companies. No part of this message or attachments may be used or reproduced in 
any manner whatsoever.

--- End Message ---
--- Begin Message ---
Miguel Guirao wrote:
I'm using ob_start() in order to save the content of a web page into a
variable string and then save it into a file in the file system. Every thing
is done OK. The only workaround I'm doing is adding a .doc file extension
when saving the file, in order to open the file in Word.

Once the file has been created and saved as I doc file (not a doc format!),
I e-mail it!

When the client gets the e-mail, he/she should open the file either by
saving the file to the local system or openning the file directly from the
e-mail attachment. Either way, I got a blank page in Word. If I open the
document directly from the web server, without having it sent by e-mail, it
opens correctly in Word. The only problem is when the file is been
emailed!!!


What could be going wrong?? Any ideas??

My crystal ball tells me that there's something wrong with your code. Unfortunately, due to the lead shield that surrounds all PHP code I cannot see it from here. I suggest your next step would be to remove said shield by emailing the relevant parts to the list. Then we may be able to bring our collective skills together to assist in solving your problem.

-Stut

--- End Message ---
--- Begin Message ---
Hello! this is a test, can anyone tell me if u are getting my emails??

Thank you

--- End Message ---
--- Begin Message ---
On Tue, 2006-08-29 at 23:00 -0400, Rafael Mora wrote:
> Hello! this is a test, can anyone tell me if u are getting my emails??

I'm not getting them :/

Cheers,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

--- End Message ---
--- Begin Message ---
Hi group,

 

I have noticed that GD-lib does not support BMP images. In the user comment
on the manual page there is a note that one can use bmp2png function to
convert that (http://cetus.sakura.ne.jp/softlab/b2p-home/) This is not
applicable for me when I do not want to run any outside scripts.

 

So the question is:

 

Is there really no function in php so that I can recreate a BMP and change
the size of it? I have it all working with jpg and gif.

 

/Peter

 

 

 


--- End Message ---

Reply via email to