[PHP] DATES in DIFFERENT LANGUAGES

2002-04-12 Thread Declan Kenny

Hi all,

Is it possible to get dates in different languages
i.e. date (j F) would usually return, in the case, 13 April can I make it
display the date in French for example??

Thanks
Declan



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: mail() says: Warning: Server Error

2002-04-09 Thread Declan Kenny

do you have a mail server set up on your computer?

I had the same problem, and I downloaded Hamster
http://www.tglsoft.de/misc/hamster_en.htm

Its does the job fine

Genesis Designs [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Hello,

 Evert time I run a mail function it gives me this:

 Warning: Server Error

 What's wrong here?
 Thanks,
 -Sean

 P.S. I use Apache 1.3.23 and have PHP 4.1.1 installed.

 _
 MSN Photos is the easiest way to share and print your photos:
 http://photos.msn.com/support/worldwide.aspx




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] PHP Email Form

2002-04-09 Thread Declan Kenny

Hi I have an online email form but I can't get the text layout the same as
the layout someone types in the text Area, here is the final bit of code:

$message = stripslashes($message);
$message = htmlentities($message);
$message = nl2br($message);
$from=From: $email;
$to= [EMAIL PROTECTED];
mail($to,$subject,$message,$from);

Basicly the problem is if someone puts a new line in the text area this
appears as BR /.  example:
Hi,
this is a test

would end up
Hi,
br /
this is a test.


Any help please?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Downloading files

2002-04-09 Thread Declan Kenny

Hi folks,

Ok I am trying to make a download area for files (including word files).
How do I force a download of a word document rather than have it opening in
IE?

Declan



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php