php-windows Digest 4 Aug 2001 23:37:02 -0000 Issue 685 Topics (messages 8659 through 8662): Re: Mysql + ODBC 8659 by: R. I need some help or a .45 magnum 8660 by: rodney 8661 by: Hugh Bothwell LE INTERESARA 8662 by: cursos 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] ----------------------------------------------------------------------
I'm running iPlanet web server on my machine, got php4 as CGI. When i try to execute odbc_connect(<dns name>,"","") i got the following error SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified I'm using the same ODBC datasource with other program without problem Thanks R.
Hello, I'm new to php. I'm having trouble making the mail function work. I wrote a simple mail script that supports mail delivery when a user fills out a form. It's not working. The editor tells me this is the problem: mail("[EMAIL PROTECTED]", "Feedback", $msg, $mailheaders); However I don't see it. Here is the complete script: <?php_tracking_vars?> <?php $msg = "Sender's Full Name:\t$sendor_name\n"; $msg .= "Sender's Email:\t$sender_email\n"; $msg .= "Did you like this site?\t$like_site\n"; $msg .= "Additional Message:\t$message\n\n"; $mailheaders = "From: My Web Site\n; $mailheaders .= "Reply-To: $sender_email\n\n"; if (($sender_email == "") || ($message == "")) { header(location: http://127.0.0.1/show.feedback.html"); exit; } mail("[EMAIL PROTECTED]", "Feedback", $msg, $mailheaders); echo "<H1 align=center>Thank you.$sender_name</H1>"; echo "<P align=center>We dig you feedback.</P>"; ?> I am stuck like chuck on this one. Any help is appreciated. rw
"Rodney" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I'm new to php. I'm having trouble making the mail function work. > I wrote a simple mail script that supports mail delivery when a user > fills out a form. It's not working. > > The editor tells me this is the problem: > mail("[EMAIL PROTECTED]", "Feedback", $msg, $mailheaders); > However I don't see it. I don't see anything offhand either; What is the error message? Try show_source() to check what the interpreter is seeing. Try function_exists("mail") to make sure mail() is available. Run phpinfo() and check your SMTP set-up. Try mailing with $msg = "" and no extra headers. Note that the mail RFC says that header lines should end in 0x0D 0x0A, ie "\r\n"; however, if your script runs on a Windows server, it may automatically expand "\n" to "\r\n" anyway.
OFERTA PARA MEXICO: [EMAIL PROTECTED] 1.8.2001.Publicidad/Enseñanza a Distancia Hola que tal: El motivo de la presente carta es informarte de la posibilidad de poder realizar algún curso a distancia de tu interés, cursos relacionados con tu trabajo inquietudes y ocio.ect.El conocimiento es el mayor patrimonio de que podemos disponer. Nos dedicamos desde 1996.a impartir cursos a distancia disponemos de una amplia variedad de cursos sencillos para poder seguirlos comodamente desde cualquier parte del mundo y a unos precios muy competitivos. NET ------------ Redes y Sistemas Sistemas Servers Diseño Web BUSSINES ------------ Gestion Comercial y Marketing Relaciones Publicas Recursos Humanos Comercio Exterior Direccion Comercial Gestión Medio Ambiental SALUD SUPERACION PERSONAL ------------------------------------- Psicoterapia Psicologia Practica Nutrí terapia y Salud Monitor Yoga Tai-Chi Hipnoterapia Quiromasaje y Reflexoterapia Aromaterapia Cosmética Natural Hierbas Medicinales -------------------------------------- CURSOS BECADOS: Los cursos son de 200.horas lectivas el precio standar por curso es de 35.000.pts(Despues de beca)España a plazos.Iberoamerica 150.usa dolar aplazados.(Despues de beca) El Diploma: "Técnico Especialista" El tiempo aproximado por curso dependiendo de los conocimientos en areas similares de que se disponga,es entre 2-6.meses.aprox. Si desean que les ampliemos información pueden enviar un e-mail les contestaremos con la mayor brevedad y les indicaremos nuestro espacio web que se encuentra en reformas.No lo pienses mas y envia un e-mail y recibiras todo tipo de informes y detalles muy en breve. Envie e-mail: [EMAIL PROTECTED] Sin otra que rogarte me envies un e-mail si estas interesado/a Te enviamos un saludo. Si desea no recibir mas e-mail. remove/mail [EMAIL PROTECTED] [EMAIL PROTECTED] Jose Garceran Broker-COFOR Gestion Integral 1.SL C/Constitucion.34 03310-Alicante España ------------------