php-install Digest 5 Apr 2002 16:09:26 -0000 Issue 778
Topics (messages 6563 through 6565):
Mail in HTML Format
6563 by: Salvador Gil
Re: Problems with PHP install - part 2
6564 by: Andy Barber
Other people get 404 when trying to access PHP pages of my server. :(
6565 by: Thorsten Huber
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 ---
Any body can help me?
I trying to send a mail in HTML Format, but I get it in text format.
The script I'm using is:
<?php
PRINT "<CENTER>";
PRINT "Hello, $name.";
PRINT "<BR><BR>";
PRINT "Thank you for using our mailing scrip";
PRINT "</CENTER>";
//phpinfo();
mail("$email1", "$subject",
" $message
My E-mail is $email2.
Greetings from $name.");
?>
The variable $message contains HTML Code like:
<META HTTP-EQUIV="Content-Type"
CONTENT="text/html;charset=iso-8859-1"><html></HEAD>
<BODY>Prueba de Mail. <TD>
<TABLE width=400>
<TBODY>
<TR>
<TD align=left>Name:<BR><INPUT maxLength=30 name=name
value=salvador><BR>Email you are senting to: <BR><INPUT maxLength=30
name=email1 [EMAIL PROTECTED]>
<P>Your Email: <BR><INPUT maxLength=40 name=email2 value=sgil
WIDTH="20"> <INPUT name=canned_file type=hidden value=email3.html>
<BR>Subject:<BR><INPUT maxLength=30 name=subject value=canned>
<BR>Message: <BR><TEXTAREA cols=40 name=message rows=11>manda archivo
1</TEXTAREA>
<P><INPUT type=submit value="Send it!"></html>
_________
Thank You...
--- End Message ---
--- Begin Message ---
Anyone on this list help?
I think I've joined the list OK, but could you copy responses to me also,
just in case.
Many thanks
Andy
----- Original Message -----
From: "Andy Barber" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 04, 2002 7:07 PM
Subject: Re: Problems with PHP install - part 2
> OK, I've tried to find the source so I can recompile, but no luck.
>
> I've installed the src.rpm file but cannot find where they install to.
>
> Anyone out there help?
>
>
> Andy
> ----- Original Message -----
> From: "Andy Barber" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, April 04, 2002 5:15 PM
> Subject: Re: Problems with PHP install.
>
>
> > Hi Chris,
> >
> > Thanks for info. I was hoping to avoid this as all update on this
machine
> > so far have been done via up2date.
> >
> > The machine is also remotely located in a secure site , so I can't just
> > install from the CD. I will see if I can download source using Up2date
> too.
> >
> >
> > Thanks for help
> >
> >
> > Andy
> > ----- Original Message -----
> > From: "Chris Hewitt" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, April 04, 2002 2:47 PM
> > Subject: Re: Problems with PHP install.
> >
> >
> > > Andy,
> > >
> > > Have you recompiled php to add the "--with-mcrypt=<dir>" parameter? In
> > > my RH7.2 the phpinfo function shows that the stock php 4.0.6 supplied
> > > with RH7.2 is not compiled with this in it.
> > >
> > > What does your phpinfo function show? Assuming it does not show the
> > > above parameter then I suggest:
> > >
> > > As PHP is supplied as an Apache DSO module its only necessary to
> > > recompile PHP and not Apache too. Install the PHP source rpm from your
> > > RH cd, Read the INSTALL file in the top level of the PHP source tree.
> > > Obtain and install mcrypt (I have no experience of mcrypt so I can't
be
> > > more precise). Compile php with the same options as your phpinfo
> > > function shows but add "--with-mcrypt=<dir>", where <dir> is your
mcrypt
> > > directory.
> > >
> > > PS There is a php installation help mailing list at
> > > [EMAIL PROTECTED]
> > >
> > > Hope this helps.
> > >
> > > Regards
> > >
> > > Chris
> > >
> > > Andy Barber wrote:
> > >
> > > >HI there.
> > > >
> > > >I have just installed all of the RPMs I can find for PHP in redhat's
> > UP2date
> > > >site, but I am still unable to use the 'crypt' function
> > > >in my PHP scripts (parse error - function not found).
> > > >
> > > >Can anyone tell me what else needs to be installed, or what files
need
> > > >editing so I can use this.
> > > >
> > > >I'm running redhat 7.1 BTW.
> > > >
> > > >
> > > >
> > > >Many thanks
> > > >
> > > >
> > > >Andy
> > > >
> > > >
> > > >
> > > >_______________________________________________
> > > >Redhat-install-list mailing list
> > > >[EMAIL PROTECTED]
> > > >https://listman.redhat.com/mailman/listinfo/redhat-install-list
> > > >
> > >
> > >
> > >
> > >
> > >
> > > _______________________________________________
> > > Redhat-install-list mailing list
> > > [EMAIL PROTECTED]
> > > https://listman.redhat.com/mailman/listinfo/redhat-install-list
> >
> >
> >
> > _______________________________________________
> > Redhat-install-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-install-list
>
>
>
> _______________________________________________
> Redhat-install-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-install-list
--- End Message ---
--- Begin Message ---
All seems to be working fine locally, using numeric IP or just "localhost" as URL,
with Windows XP, Apache and PHP installed (plus mySQL). I can view any pages on my
server at home, be it html, php or even a forum based on mySQL. Also I don't have a
firewall installed.
When I ask other people if they can access my server, they tell me the Apache Welcome
message works fine (in general). But any PHP pages either don't display at all or just
"flash by" for a split second, to be replaced by a "page cannot be displayed" error
(probably a 404).
>From earlier experiments I know it does work ok with Windows ME, but it doesn't work
>on Windows XP. I've also found a similar description of this error here:
>http://bugs.php.net/bug.php?id=14463
So does anyone know how to get PHP to work?
Thanks in advance.
--- End Message ---