When using IIS it is a good idea to use '\r\n' instead of '\n' when
using the mail() function.
I've also had problems with the 'From:' header in the past. This syntax
seems to work though:
$mailheaders = 'From: "A display name" <[EMAIL PROTECTED]>\r\n'
IIS seems to have real problem with that if
The IEEE Recommended Practice for System Identification in Nuclear
Power Plants and Related Facilities ?!?!? That is some coffee you're
drinking there. (with both of your heads??)
> -Original Message-
> From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 18 Decembe
You need to escape the back slashes like this:
$filename="C:\\My Documents\\Linda\\mydata1.txt";
> -Original Message-
> From: Anthony Ritter [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 12 December 2001 12:22 p.m.
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Existing File...
>
>
> I've
You'll need to use either cookies or sessions. I would choose sessions
because the user can turn off or modify cookies but sessions will need
to have (at least) the session ID on the URL if you aren't using forms.
To pass an array using sessions you simply need to register the array as
a session
Todd Williamsen wrote:
> Any recommendations for websites with tutorials, scripts etc or books?
I cut my teeth on _PHP_and_MySQL_Web_Development by Welling and Thomson.
It was an excellent book to learn with and has a bunch of good 'HowTo'
chapters with examples.
I have been recommended
_Profes
> > $recipient .= "Mary <[EMAIL PROTECTED]>" . ", " ; //note the comma
It is also worth pointing out that you need to include the space as
well.
$to = "[EMAIL PROTECTED],[EMAIL PROTECTED]" won't work, whereas
$to = "[EMAIL PROTECTED], [EMAIL PROTECTED]" will work.
Daniel.
--
PHP Windows Mail
If you want to add additional email addresses to the 'To' list, use a
comma seperated list:
e.g. $to = "[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]";
if you want to cc the email then add it to your headers:
e.g. $mailheaders .= "Cc: [EMAIL PROTECTED]\r\n";
HTH,
D.
> -Original Me
ernet user read permissions on the directory (or else
anyone can just come along and read everything) and the script won't run
properly without them.
Thanks,
D.
---
Daniel Parsons
IML Network Ltd.
L1 93-95 Cambridge Tce
PO Box 4076, Christchurch
New Zealand
+64 3 366 9936
+64 21 432 402 (Mobile)
The 10th day of the 31st month of 2001 is the same as the 10th day of
the 7th month of 2003 so I would guess that you have $pdate[3] and
$pdate[2] the wrong way round when you call mktime().
http://www.php.net/manual/en/function.mktime.php says that it should be
like this:
int mktime (int hour, i
Hi Joe,
I recently had a similar problem. All the dlls that I neded were
available in the full windows zip package from php.net's downloads
section. I used Dependency Walker
( http://www.dependencywalker.com/ - Thanks again Philippe) to determine
which dlls I needed to have as often the dll refer
Hi,
I'm using PHP 4.0.4 with IIS 4 on WinNT. When I try to load an extension
I get an error telling me that it cannot be found. The extensions
directory line of my PHP ini file is:
extension_dir = C:\WINNT\system32\
I've tried forward slashes, back slashes, absolute paths and relative
paths bu
I used their book to learn the basics and found it really good. They
have a chapter on the basics of relational database design and using
MySQL, as well as chapters devoted to specific examples (building a
shopping cart or a web-based mail client &c.). I'd certainly recommend
it.
That book, php.n
Hi,
I am running PHP on WinNT 4 and using IE5.5
I have written a page that includes an HTML form which submits back to
the script to allow the user to load hte same page with different
parameters.
Can anyone tell me why the submit button doesn't appear to do anything??
Do I need to force the pa
Hi,
I'm running PHP 4.0 on WinNT 4 with IIS and attempting to use an Access
2000 database. When I use this is a script:
$logdb = odbc_connect("uptime", "user", "password");
it gives the following error :
Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name
not found and
14 matches
Mail list logo