php-install Digest 25 Nov 2002 18:30:28 -0000 Issue 1133

Topics (messages 9237 through 9240):

Text uploads using copy
        9237 by: Lawrence Freeman

mail() and IIS5 - newbie question
        9238 by: Steve Attwell

cybercash  /usr/bin/ld: cannot find -lmckcrypto
        9239 by: Grant Morgan

install location please help
        9240 by: Paul Noble

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 ---
Having just completed a successful? install, Tested some uploads but can
only upload .jpg

How do I add the text mime type to the HTTP_ACCEPT? so I can upload text
files using a form and the copy command?

cheers
Lawrence

--- End Message ---
--- Begin Message ---
I'm trying to incorporate the php mail() function in an application I am
writting.

I'm running Win 2000 Server. I've set up a new remote domain named localhost
under IIS Admin and I've checked the Allow incoming mail to be relayed to
this domain option.

I've added the following to the php.ini

 [mail function]
; For Win32 only.
SMTP = localhost

I'm using the following script which I'm running from the DOS command line.

<?php
/* Display a text message */

$myname = "Me Myself";
$myemail      = "[EMAIL PROTECTED]";
$myreplyemail = "[EMAIL PROTECTED]";

$contactname = "Mister Contact";
$contactemail = "[EMAIL PROTECTED]";

$message = "hello from happy me";
$subject = "A mail not refused by Hotmail";

$headers = "MIME-Version: 1.0\r\n";

mail($contactemail, $subject, $message, $headers);

?>

I get the following error message...

D:\php>php email.php
X-Powered-By: PHP/4.2.2
Content-type: text/html

PHP Warning:  Server Error in D:\php\email.php on line 16

Any ideas on where I'm going wrong? I am new to IIS and PHP.


--- End Message ---
--- Begin Message ---
I am moving servers to a redhat 7.2 & PHP 4.2.3 from redhat 6.2 and PHP 4.0.6 and trying to install cybercash. I have
'--with-cybercash=/usr/local/mck-3.3.1-i586-pc-linux-gnulibc2.1/'
in the config and get this error
/usr/bin/ld: cannot find -lmckcrypto
I have found 5 other references to this problem on the list and the web but no replies with a solution. Also searched the bug database. Also tried PHP version 4.1.2 same problem.

TIA
Grant




_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus

--- End Message ---
--- Begin Message ---
Hi,
        I recently got phpMyAdmin installed although one or two versions
from the latest I think. I got it from SUSE 7.0. I had the following
problems.The data is outputted to screen and not a file. I strongly believe
this is something to do with permissions but of course I could easily be
wrong. I tried for many hours playing with sql users but I cannot get it to
work .I have a home machine which it works fine but when I bring it to work
no way. The only difference between the 2 systems is that 
1)The working one is all set up with defaults and the php directory is
/usr/local/httpd/htdocs as is sql I think. 
2)In my work someone set the system up so that a share /usr1 is where all
the php shall be executed but I cannot change this for other reasons.The
other thing is that the default url is called "ireland" and this is pointed
to /usr1 in htdocs.
I'm not sure but maybe if I pointed the install to  /usr1 it would work but
I don't know how to do that. It would be brilliant if the system could read
normal docs from \usr1 but phpMyAdmin could work from
../../../htdocs/phpMyAdmin.. As mentioned above , I could copy all files
from htdocs/phpMyAdmin to usr1 but it tooks loks of editing out of header
reference lines and even then the database data (which is extracted fine)
could only go to screen and not any external file. 
I can go to webmin and change to new users and see the effect this has on
running sql commands. There is never a problem getting the data from the
database just the output file is never created. Please Please help . I would
like to think I will become better at installs etc later and could help
others on the website.
Kind Rgds
\Paul





****************************************************************************
***************************************************************************

 This message (including any attachments) is confidential and may be legally
privileged. If you are not the intended recipient, you should not disclose,
copy or use any part of it - please delete all copies immediately and notify
Convertec Ltd. Email [EMAIL PROTECTED]  Any information, statements or
opinions contained in this message (including any attachments) are given by
the author. They are not given on behalf of Convertec Ltd. unless
subsequently confirmed by an individual other than the author who is duly
authorised to represent Convertec Ltd. This footnote also confirms that this
e-mail message has been swept by Norton for the presence of computer
viruses, however the recipient should check this email and any attachments
for the presence of viruses.  Convertec Ltd. accepts no liability for any
damage caused by any virus transmitted by this email. Convertec Ltd. is
registered in Ireland number 147995.  Registered Office : Embassy House,
Herbert Park Lane, Ballsbridge, Dublin 4
****************************************************************************
****************************************************************************

--- End Message ---

Reply via email to