[PHP] explorer

2007-11-10 Thread kNish
Hi,

   How if, it is possible to open a windows explorer with a
path specified in it, thru a php script.

 BRgds,

kNish

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] explorer

2007-11-10 Thread Bastien Koert

on the local machine? no. you can simulate an explorer for files on the server


bastien


> Date: Sat, 10 Nov 2007 18:10:39 
+0530> From: [EMAIL PROTECTED]> To: php-general@lists.php.net> Subject: [PHP] 
explorer>> Hi,>> How if, it is possible to open a windows explorer with a> path 
specified in it, thru a php script.>> BRgds,>> kNish>> --> PHP General Mailing 
List (http://www.php.net/)> To unsubscribe, visit: http://www.php.net/unsub.php>

_
Express yourself with free Messenger emoticons. Get them today!
http://www.freemessengeremoticons.ca/?icid=EMENCA122
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] explorer

2007-11-10 Thread Rick Pasotto
On Sat, Nov 10, 2007 at 09:33:17AM -0500, Bastien Koert wrote:
> 
> on the local machine? no. you can simulate an explorer for files on the server

An  will automatically display a browse button that
opens a user environment specific file browser (aka "explorer").

-- 
"Market-like arrangements ... reduce the need for compassion,
 patriotism, brotherly love, and cultural solidarity as motivating
 forces. Harnessing the "base" motive of material self-interest ... is
 perhaps the most important social invention mankind has achieved."
-- C. L. Schulte, Public Use of the Private Interest, 1977
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] My first xml try

2007-11-10 Thread Andrew Ballard
On Nov 10, 2007 12:56 AM, Ronald Wiplinger <[EMAIL PROTECTED]> wrote:
> Andrew Ballard wrote:
>  Ronald,
>
> On Nov 9, 2007 9:05 PM, Ronald Wiplinger <[EMAIL PROTECTED]> wrote:
>
>
> I tried to use echo statements for debugging and found that it seems I
> do not get the information of require().
>
> What do I need to change?
>
>
>
> Thanks for helping me!
>
>
> I'm not sure what error you're getting, but I would guess it can't
> find the required file because mysql-config is spelled wrong in the
>
>
>
> What do you mean it is spelled wrong? What is spelled wrong? The file name
> of
> the information for $dbname, $dbhost, $dbuname is in ../mysql-config

In the code you posted, there was an extra 'y' in 'mysql'. My point
about the constructor was that even if these variables are defined in
your mysql-config file, it is included in the class constructor
function RSS(). (See
http://www.php.net/manual/en/language.oop.constructor.php) Anything
you declare in that function would fall out of scope as soon as the
function finishes, so they would not be available inside your
getDetail() function or any other function. For more information, this
should help:

http://www.php.net/manual/en/language.variables.scope.php



Andrew

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] explorer

2007-11-10 Thread admin
You can't (SERVER vs Client) you cannot make Php open an program on the
client computer.
If you want to get a file from your computer that is a simple HTMLTag.


Please explain if that is not what you meant.



-Original Message-
From: kNish [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 10, 2007 6:41 AM
To: php-general@lists.php.net
Subject: [PHP] explorer

Hi,

   How if, it is possible to open a windows explorer with a
path specified in it, thru a php script.

 BRgds,

kNish

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Problems building 5.2.4 on Solaris 9 SPARC

2007-11-10 Thread Khyron
I have tried this for weeks with no success, so I am asking for help
with this.  Something seems really off with the PHP 5.2.4 build
process.

I am trying to build PHP 5.2.4 with Apache 2.2.6 and PostgreSQL
8.2.5 support using the following configuration (from a file which I
source):

CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/include" \
LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib" \
# EXTRA_LIBS=-lxml2 \
/local/software/SOURCE/26-Oct-2007/php-5.2.4/configure \
--prefix=/local \
--with-apxs2=/local/httpd-2.2.6/bin/apxs \
--with-config-file-path=/local/httpd-2.2.6 /conf \
--disable-cgi \
--with-libxml-dir=/usr/local \
--enable-dba=shared \
--with-db4=/usr/local/BerkeleyDB.4.2 \
--with-pcre-regex=/local \
--with-openssl=/local \
--with-zlib=/usr/local \
--with-zlib-dir=/usr/local \
--with-bz2 \
--with-gd=shared \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-gettext=/usr/local \
#   --with-mcrypt=/local \
#   --with-mhash=/local \
--with-ncurses \
--disable-pdo \
--with-pgsql=shared,/local/postgresql-8.2.5 \
--with-readline=/local \
--with-mm=/usr/local \
--enable-sockets=shared \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--with-xsl=/usr/local \
--with-pear=/local/httpd-2.2.6/php/lib \

Yes, this is VPATH build.  The --with-mhash directive was removed
when PHP utterly failed to find the installed mhash library, which
was installed from a package downloaded from sunfreeware.com

bash-2.05$ pkginfo -l SMCmhash
   PKGINST:  SMCmhash
  NAME:  mhash
  CATEGORY:  application
  ARCH:  sparc
   VERSION:  0.9.9
   BASEDIR:  /usr/local
VENDOR:  Nikos Mavroyanopoulos and Sascha Schumann
PSTAMP:  Steve Christensen
  INSTDATE:  Oct 27 2007 06:37
 EMAIL:  [EMAIL PROTECTED]
STATUS:  completely installed
 FILES:   41 installed pathnames
   5 shared pathnames
   9 directories
   2 executables
2442 blocks used (approx)

Now, its having problems finding the ncurses library, which is also
installed from sunfreeware.com.  My 4.x builds of PHP had various
problems, God knows, but nothing like this -- just wholesale inability
to locate libraries.

bash-2.05$ pkginfo -l SMCncurs
   PKGINST:  SMCncurs
  NAME:  ncurses
  CATEGORY:  application
  ARCH:  sparc
   VERSION:  5.6
   BASEDIR:  /usr/local
VENDOR:  FSF
PSTAMP:  Steve Christensen
  INSTDATE:  Apr 09 2007 01:50
 EMAIL:  [EMAIL PROTECTED]
STATUS:  completely installed
 FILES: 3559 installed pathnames
  10 shared pathnames
  62 directories
  13 executables
   25902 blocks used (approx)

"crle" shows:

bash-2.05$ crle

Configuration file [version 4]: /var/ld/ld.config
  Default Library Path (ELF):
/usr/local/BerkeleyDB.4.2/lib:/local/lib:/usr/local/lib:/usr/lib:/local/postgresql-
7.3.4/lib
.
.

And to top off the weirdness

Has anyone seen this problem before?  If so, how did you resolve
it?  I'm not a programmer, but I've dealt with linking issues before.
However, I'm at a loss as to why PHP's configure script won't even
look for libraries when I tell it where to find them!

Thanks in advance to anyone who wades in on this one!



-- 
"You can choose your friends, you can choose the deals."
- Equity Private

"But love is also a very dangerous game because it makes
you do what you really don't want to do."
- Sylvain Raines


Re: [PHP] Re: debugging imap_open

2007-11-10 Thread Jochem Maas
John Gunther wrote:
> Since no one seems to know about the debug feature, let me ask about the
> imap argument directly. None of the following work, always "Couldn't
> open stream":
> mail.usservas.org:143
> mail.usservas.org:110
> 

>> wrong? Here's my code:
>>
>> ini_set('error_log','/tmp/imap.txt');

some more variations:

$po='{mail.usservas.org:143/imap/notls}INBOX';
$po='{mail.usservas.org/imap:143/notls}INBOX';

also what is imap_last_error() returning after failure? oh hang on...
I guess it's "Couldn't open stream"!

quoting the php manual user notes:

Some server may ask for username as "[EMAIL PROTECTED]"

the only other thing I can suggest it pulling open the source of
something like roundcube or squirrelmail and seeing how they do it.
my guess is they have lots of work arounds in their code to be able to
connect with allsorts of freaky mailservers (reading the php imap docs
gives me the distinct impression that more often than not the imap
connection string needs to be something slightly different from the
defined spec!)


>> $mbox = imap_open($po, $user, $password ,OP_DEBUG);
>>
>>
>> Thanks for the help.
>>
>> John Gunther
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Cannot send a hyperlink

2007-11-10 Thread Brad
I am not sure that would help.
Just another can of worms.
The $_REQUEST is tied into a whole bunch of database functions.

My present code


link ';
 $headers  = 'MIME-Version: 1.0' . "\r\n";
 $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
  mail( $email, "Your FREE book from Zone of Success Club .com",
$headers, $message, "From: $email" );
?>

-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 10, 2007 3:44 PM
To: Brad
Subject: Re: [PHP] Cannot send a hyperlink

this will help: http://phpmailer.sourceforge.net/

Brad wrote:
> I am having trouble send an email with a hyperlink
> 
> Php is parsing html as text
> 
> If I add the proper header information to ?make it work? The email no
longer
> goes through?
> 
>  
> 
> Here is the code
> 
>  
> 
>  
>   $email = $_REQUEST['email'] ;
> 
> $body = 'link ';
> 
> $headers  = 'MIME-Version: 1.0' . "\r\n";
> 
>  $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
> 
>   mail( $email, "Your FREE book from Zone of Success Club .com",
> 
> $headers, $message, "From: $email" );
> 
> ?>
> 
>  
> 
> Thanks
> 
> Brad
> 
> 
> No virus found in this outgoing message.
> Checked by AVG Free Edition. 
> Version: 7.5.503 / Virus Database: 269.15.28/1122 - Release Date:
11/10/2007
> 10:41 AM
>  
> 


No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.28/1122 - Release Date: 11/10/2007
10:41 AM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.28/1122 - Release Date: 11/10/2007
10:41 AM
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Cannot send a hyperlink

2007-11-10 Thread Jochem Maas
Brad wrote:
> I am not sure that would help.

I am.

> Just another can of worms.

no, not really, not at all.

> The $_REQUEST is tied into a whole bunch of database functions.

wtf. $_REQUEST is a super global - nothing what so ever to do
with databases.

> 
> My present code
> 

 is about as robust as a soap bubble. in a world where 60-70
of all mail is SPAM how far do you think the crufty output your generating
is going to get? my guess is generally just as far as /dev/null
on the recipient machine.

which is why I suggested a mailer class that is known to work and wraps
up all the tricky crap (and protects you from making stupid mistakes like
opening up the mail() function to mail header injection attacks.

most people will probably be using a DB as the source of dynamic content
for generated emails, your situation is nothing special in that regard.

> 
>$email = $_REQUEST['email'] ;

oh yeah and taking the 'to' email address from the request is just asking
for your script to be turned into spambot.

>   $message = 'link ';
>  $headers  = 'MIME-Version: 1.0' . "\r\n";
>  $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
>   mail( $email, "Your FREE book from Zone of Success Club .com",
> $headers, $message, "From: $email" );
> ?>
> 
> -Original Message-
> From: Jochem Maas [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, November 10, 2007 3:44 PM
> To: Brad
> Subject: Re: [PHP] Cannot send a hyperlink
> 
> this will help: http://phpmailer.sourceforge.net/
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Cannot send a hyperlink

2007-11-10 Thread Stut

Brad wrote:

I am not sure that would help.
Just another can of worms.
The $_REQUEST is tied into a whole bunch of database functions.


I have no idea what you mean by this. It makes no sense to me.


My present code


link ';
 $headers  = 'MIME-Version: 1.0' . "\r\n";
 $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
  mail( $email, "Your FREE book from Zone of Success Club .com",
$headers, $message, "From: $email" );
?>


You *really* need to read the manual page for function before you use 
them. For example a quick glance at http://php.net/function.mail reveals 
that you have the parameters in an almost completely wrong order.


And please tell me you're not really setting the to address directly 
from an external variable with verifying that it's just an email address 
and nothing else. Really bad idea.


-Stut

--
http://stut.net/


-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 10, 2007 3:44 PM

To: Brad
Subject: Re: [PHP] Cannot send a hyperlink

this will help: http://phpmailer.sourceforge.net/

Brad wrote:

I am having trouble send an email with a hyperlink

Php is parsing html as text

If I add the proper header information to ?make it work? The email no

longer

goes through?

 


Here is the code

 


link ';

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

 $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";

  mail( $email, "Your FREE book from Zone of Success Club .com",

$headers, $message, "From: $email" );

?>

 


Thanks

Brad


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.28/1122 - Release Date:

11/10/2007

10:41 AM
 




No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.28/1122 - Release Date: 11/10/2007

10:41 AM
 


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.28/1122 - Release Date: 11/10/2007

10:41 AM


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] chrooted php5-cgi in a non chrooted apache

2007-11-10 Thread Jochem Maas
hi Joerg,

not a solution but the open_basedir ini setting on a per Vhost
setting may offer a [partial] work around

> 
> What I've get so far is, that I've created a chroot jail within the
> web-directory. I can chroot to there and execute php (I used "jailer",
> for this).
> 
> But I don't get it to work that mod_fastcgi starts the chroot-jail.
> 
> I googled a lot, but only found howtos and tutorials how to put the
> complete apache into a jail, but this is not what I want. Each domain
> have to be in its own jail.
> 
> Can someone help me / point me in the right direction?
> 
> 
> Thanks in advance
> 
> Joerg Schoppet
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Cannot send a hyperlink

2007-11-10 Thread Brad
I am reading up on it now.
I am going to take your advice.

Be prepared for a few questions as I make it past the learning curve!

:o)

-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 10, 2007 4:47 PM
To: Brad
Cc: php-general@lists.php.net
Subject: Re: [PHP] Cannot send a hyperlink

Brad wrote:
> I am not sure that would help.

I am.

> Just another can of worms.

no, not really, not at all.

> The $_REQUEST is tied into a whole bunch of database functions.

wtf. $_REQUEST is a super global - nothing what so ever to do
with databases.

> 
> My present code
> 

 is about as robust as a soap bubble. in a world where 60-70
of all mail is SPAM how far do you think the crufty output your generating
is going to get? my guess is generally just as far as /dev/null
on the recipient machine.

which is why I suggested a mailer class that is known to work and wraps
up all the tricky crap (and protects you from making stupid mistakes like
opening up the mail() function to mail header injection attacks.

most people will probably be using a DB as the source of dynamic content
for generated emails, your situation is nothing special in that regard.

> 
>$email = $_REQUEST['email'] ;

oh yeah and taking the 'to' email address from the request is just asking
for your script to be turned into spambot.

>   $message = 'link ';
>  $headers  = 'MIME-Version: 1.0' . "\r\n";
>  $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
>   mail( $email, "Your FREE book from Zone of Success Club .com",
> $headers, $message, "From: $email" );
> ?>
> 
> -Original Message-
> From: Jochem Maas [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, November 10, 2007 3:44 PM
> To: Brad
> Subject: Re: [PHP] Cannot send a hyperlink
> 
> this will help: http://phpmailer.sourceforge.net/
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.28/1122 - Release Date: 11/10/2007
10:41 AM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.28/1122 - Release Date: 11/10/2007
10:41 AM
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Cannot send a hyperlink

2007-11-10 Thread Brad
Explanation of code

$email = $_REQUEST['email'] ;
(generated by dreamweaver that pulls in the database functions)

$message = 'link ';
(my nemesis, I can not figure out this puppy. If it works at all, php will
generate it at text and not html. Taken from example I find on the web.)

$headers  = 'MIME-Version: 1.0' . "\r\n";  $headers .= 'Content-type:
text/html; charset=iso-8859-1' . "\r\n";
(found on the web to solve my html problem???)

mail( $email, "Your FREE book from Zone of Success Club .com", $headers,
$message, "From: $email" ); ?>
(Send the mail, when I put $headers in, the function quits working all
together.)

I hope this helps explain where my head is!

Brad


-Original Message-
From: Stut [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 10, 2007 4:55 PM
To: Brad
Cc: 'Jochem Maas'; php-general@lists.php.net
Subject: Re: [PHP] Cannot send a hyperlink

Brad wrote:
> I am not sure that would help.
> Just another can of worms.
> The $_REQUEST is tied into a whole bunch of database functions.

I have no idea what you mean by this. It makes no sense to me.

> My present code
> 
> 
>$email = $_REQUEST['email'] ;
>   $message = 'link ';
>  $headers  = 'MIME-Version: 1.0' . "\r\n";
>  $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
>   mail( $email, "Your FREE book from Zone of Success Club .com",
> $headers, $message, "From: $email" );
> ?>

You *really* need to read the manual page for function before you use 
them. For example a quick glance at http://php.net/function.mail reveals 
that you have the parameters in an almost completely wrong order.

And please tell me you're not really setting the to address directly 
from an external variable with verifying that it's just an email address 
and nothing else. Really bad idea.

-Stut

-- 
http://stut.net/

> -Original Message-
> From: Jochem Maas [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, November 10, 2007 3:44 PM
> To: Brad
> Subject: Re: [PHP] Cannot send a hyperlink
> 
> this will help: http://phpmailer.sourceforge.net/
> 
> Brad wrote:
>> I am having trouble send an email with a hyperlink
>>
>> Php is parsing html as text
>>
>> If I add the proper header information to ?make it work? The email no
> longer
>> goes through?
>>
>>  
>>
>> Here is the code
>>
>>  
>>
>> >
>>   $email = $_REQUEST['email'] ;
>>
>> $body = 'link ';
>>
>> $headers  = 'MIME-Version: 1.0' . "\r\n";
>>
>>  $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
>>
>>   mail( $email, "Your FREE book from Zone of Success Club .com",
>>
>> $headers, $message, "From: $email" );
>>
>> ?>
>>
>>  
>>
>> Thanks
>>
>> Brad
>>
>>
>> No virus found in this outgoing message.
>> Checked by AVG Free Edition. 
>> Version: 7.5.503 / Virus Database: 269.15.28/1122 - Release Date:
> 11/10/2007
>> 10:41 AM
>>  
>>
> 
> 
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.503 / Virus Database: 269.15.28/1122 - Release Date:
11/10/2007
> 10:41 AM
>  
> 
> No virus found in this outgoing message.
> Checked by AVG Free Edition. 
> Version: 7.5.503 / Virus Database: 269.15.28/1122 - Release Date:
11/10/2007
> 10:41 AM

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.28/1122 - Release Date: 11/10/2007
10:41 AM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.28/1122 - Release Date: 11/10/2007
10:41 AM
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Cannot send a hyperlink

2007-11-10 Thread Stut

Brad wrote:

Explanation of code

$email = $_REQUEST['email'] ;
(generated by dreamweaver that pulls in the database functions)


No database involved here. None. Nadda. Niet!


$message = 'link ';
(my nemesis, I can not figure out this puppy. If it works at all, php will
generate it at text and not html. Taken from example I find on the web.)


That's because it's not valid PHP. This is probably what you're after...

$message = 'http://www.zoneofsuccessclub.com";>link';


$headers  = 'MIME-Version: 1.0' . "\r\n";  $headers .= 'Content-type:
text/html; charset=iso-8859-1' . "\r\n";
(found on the web to solve my html problem???)


That looks reasonable.


mail( $email, "Your FREE book from Zone of Success Club .com", $headers,
$message, "From: $email" ); ?>
(Send the mail, when I put $headers in, the function quits working all
together.)


That's because it's in the wrong place. Did you even look at the manual 
like I suggested in my previous message?



I hope this helps explain where my head is!


My advice to you is to get a beginners book on basic PHP. If you can't 
see what's wrong with the above then you are lacking some foundation 
knowledge of PHP.


-Stut

--
http://stut.net/


-Original Message-
From: Stut [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 10, 2007 4:55 PM

To: Brad
Cc: 'Jochem Maas'; php-general@lists.php.net
Subject: Re: [PHP] Cannot send a hyperlink

Brad wrote:

I am not sure that would help.
Just another can of worms.
The $_REQUEST is tied into a whole bunch of database functions.


I have no idea what you mean by this. It makes no sense to me.


My present code


link ';
 $headers  = 'MIME-Version: 1.0' . "\r\n";
 $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
  mail( $email, "Your FREE book from Zone of Success Club .com",
$headers, $message, "From: $email" );
?>


You *really* need to read the manual page for function before you use 
them. For example a quick glance at http://php.net/function.mail reveals 
that you have the parameters in an almost completely wrong order.


And please tell me you're not really setting the to address directly 
from an external variable with verifying that it's just an email address 
and nothing else. Really bad idea.


-Stut


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php