add an extra variable to your mail function. php takes an optional 4th
parameter, which adds features like "From" and "Reply". example:
$extra = "From: $name <$email>\r\n\Reply-To: $email";
so the mail function would be:
mail($recipient,$subject,$body,$extra);
Hope this helped.
"Ml" <[EMAIL PRO
you should make the column for the time posted in your table to be
Date/time. mysql stores it in this format: 2003-02-24 12:43:45
(year-month-day hours:minutes:seconds)
to allow the current date/time to be inserted into this column
date("Y-m-d G:i:s")
if you want to DISPLAY it in this date format
the @ before the fopen just tells php to suppress the error message if it
can't open the file.
that's all it does.
"John Taylor-Johnston" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> #http://www.php.net/manual/en/function.fopen.php
>
> $contents = fopen ("/home/pathto/file.txt", "
yeah, unfortunately 777 is the way to go.
"Charles Kline" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a form which uploads a file to my server. The files that are
> uploaded will be .doc files and will need to be able to be downloaded
> from a web page.
>
> My script works
check out http://javascript.internet.com/forms/auto-drop-down.html
"Tim Winters" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> I have a PHP page which pulls a bunch of data from a mySQL DB. I have 2
> list boxes in a form. One is populated automatically by my PHP code.
header("location: mypage.php");
"Mark Roberts" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Obviously relatively new to php
I would like to know how to do a simple redirect from a php page.
For example in ASP I do response.redirect("thispage.com")
Want to do the same thing i
s is a second line
regards,
KK
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dear ALL,
Thanks.
KK
Kk Lee ¼g¤J¡G
> Dear ALL,
>
> It seems that i have a very silly problem.
> I can't get the new line escape character to work.
> the following is my SIMPLE script and corresponding output.
>
> PHP script:
> "-//W3C//DTD HTML 4.0 Tra
8 matches
Mail list logo