[PHP] how call a variable in a text

2009-10-21 Thread Bulend Kolay
I 'll send a mail in html form using php5. cat send.php There is a text $variable trial. '; mail($to, $subject, $message, $headers) ; ?> when I run send.php, I get the mail. But I can't call variable called variable. it comes as string. How can I correct this? -- PHP General Mailing Lis

Re: [PHP] why does a html mail send as text ?

2009-02-04 Thread Bulend Kolay
servername at From part. That's to say, I get the mail no-re...@sitename.com@full.servername.com How can I conceal the servername at the From part ? Thanks 2009/2/4 Bulend Kolay I attached my code Thanks Show your code, but it sounds like maybe the HTML flag is not set. Consider using

Re: [PHP] why does a html mail send as text ?

2009-02-04 Thread Bulend Kolay
Ok it works. it comes as html, But it comes with servername at From part. That's to say, I get the mail no-re...@sitename.com@full.servername.com How can I conceal the servername at the From part ? Thanks 2009/2/4 Bulend Kolay I attached my code Thanks Show your code, b

Re: [PHP] why does a html mail send as text ?

2009-02-04 Thread Bulend Kolay
I attached my code Thanks Show your code, but it sounds like maybe the HTML flag is not set. Consider using a class like phpmailer or the mime mail class from phpclasses.org Bastien Sent from my iPod On Feb 4, 2009, at 6:28, "Bulend Kolay" wrote: I use php-5.2.6 and apac

[PHP] why does a html mail send as text ?

2009-02-04 Thread Bulend Kolay
I use php-5.2.6 and apache2.2.x on opensuse11 I have a file called mailsend.php to send a mail of html format. the server sends the mail form of html format. But I get it as text instead of html. default_mimetype is set as text/html in php.ini file. How can I correct this ? -- PHP General

[PHP] How to prevent php actions ?

2008-09-10 Thread Bulend Kolay
I use php5.2.6, apache2.2, mysql5.0 on Opensuse11.0. I set openbase-path in php.ini for every virtual host. I set safemode as On. But if a folder where located in different directory ( for instance /etc/file ) and the folder whose rights is 444 ( read for everyone ) I can read it. How can