f



Enable Mail function for PHP under Windows XP

Hello,

I have installed Apache2.0 and PHP4.3 on my PC under Windows XP.
What are the different steps to make the mail function work.
I think I have to install first a mail server, but I don't know where
to find one that is relatively 'easy' to install and configure.

Any help on the subject will be greatly aprecheated.

Thank you.
0
6/21/2004 12:57:42 PM
comp.lang.php 32646 articles. 0 followers. Post Follow

2 Replies
664 Views

Similar Articles

[PageSpeed] 42

"JB" <jeanbaptiste_isnardon@yahoo.fr> a �crit dans le message news:
477bc493.0406210457.4e24d6c8@posting.google.com...
> Hello,
>
> I have installed Apache2.0 and PHP4.3 on my PC under Windows XP.
> What are the different steps to make the mail function work.
> I think I have to install first a mail server, but I don't know where
> to find one that is relatively 'easy' to install and configure.
>
> Any help on the subject will be greatly aprecheated.
>
> Thank you.

in php.ini file

find line with the keyword smtp
SMTP = your_internet_service_provider_smtp_server_address

ex :
[mail function]
; For Win32 only.
SMTP = smtp.your_internet_service_provider.com

--
paul


0
paul2592 (4)
6/21/2004 2:09:16 PM
jeanbaptiste_isnardon@yahoo.fr (JB) wrote in message news:<477bc493.0406210457.4e24d6c8@posting.google.com>...
> Hello,
> 
> I have installed Apache2.0 and PHP4.3 on my PC under Windows XP.
> What are the different steps to make the mail function work.
> I think I have to install first a mail server, but I don't know where
> to find one that is relatively 'easy' to install and configure.

 HTH  <http://groups.google.com/groups?selm=20030829104128.4537.qmail%40rack1.php.net>

-- 
 |  Just another PHP saint  |
Email: rrjanbiah-at-Y!com
0
ng4rrjanbiah (1570)
6/22/2004 4:57:39 AM
Reply:

Similar Artilces:

MS-Windows mail servers and PHP's mail() function
I have a contact form that uses PHP's mail() function. It recently came to my attention that (some?) MS-Windows mail servers may not properly process data given to the mail() function that's only newline-terminated. The mail() function takes up to five parameters: mail(recipient, subject, message, [headers [,parameters]]) The ones of interest here are the first four. The questions are these: 1. Since recipient and subject are not multi-line, and, from the web form, don't even contain newlines, is it safe to assume they need neither newlines nor carriage-returns? 2. The message, from the web form, contains newlines. I assume all newlines need carriage-returns inserted in front of them? 3. The headers are created, in the web form processing, by appending newline-terminated strings to a variable (e.g.: headers .= "blah: yadda\n";). I presume that this string likewise needs carriage-returns inserted before the newlines? 4. I've seen mention of problems with "hanging carriage-returns." I presume that simply means there should be no line, blank or otherwise, that contains a carriage-return w/o an accompanying newline? Assuming all the above to be true, my four parameters would look like: recipient: "somebody@example.com" subject: "Some subject" message: "Some message\r\ntext\r\ngoes here\r\n" headers:...

How to send mail using php script on Windows XP?
I use xampp combo. How to write the code? I found that PEAR is already on my computer. I also found a sendmail folder in the xampp folder. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Phper wrote: > I use xampp combo. How to write the code? I found that PEAR is already > on my computer. I also found a sendmail folder in the xampp folder. hello, well I would suggest you write some more text with some more information. With more information we can help you a lot more. Anyway here is some script: http://lmgtfy.com/?q=phpmailer regards, johannes ke�ler -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEARECAAYFAkp/260ACgkQE++2Zdc7EtfMiACeP6GuQ6njcnJvpBh8XBVah2gR dpgAn3ENLwEQJpNev+18wXDPkMbrl3fd =TP0O -----END PGP SIGNATURE----- Phper wrote: > I use xampp combo. How to write the code? I found that PEAR is already > on my computer. I also found a sendmail folder in the xampp folder. The same way you do on any system - with the mail() function (or, as a package such as phpmailer which calls mail() eventually). You do need an MTA installed on your system; you can use the one which comes with Windows (depending on your version) or one of the free or non-free ones available. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ================== Jerry Stuckle wrote: > Phper wrote: >> I use xampp combo. How to write the code? I found that PEAR is al...

Help with mail using php and apache on windows XP
Hi everybody, I have been trying to write a simple mail script using PHP and apache on Windows XP. Eventhough the script is saying that the mail is successfully sent, I am unable get it in my mailbox(I have given my mail address in $to). I am using the mail() function and I have made the following changes in php.ini [mail function] ; For Win32 only. SMTP = localhost smtp_port = 25 ; For Win32 only. sendmail_from = aaa@Comcast.net CAn anybody help me with this? Karuna wrote: > Hi everybody, > I have been trying to write a simple mail script using PHP and apache > on Windows XP. Eventhough the script is saying that the mail is > successfully sent, I am unable get it in my mailbox(I have given my > mail address in $to). I am using the mail() function and I have made > the following changes in php.ini > > [mail function] > ; For Win32 only. > SMTP = localhost > > smtp_port = 25 Do you have a mail server running on your local machine that is listening on port 25? If you don't this isn't going to work. You probably want to put the address of your ISP's mail server there, not localhost. Ken Karuna wrote: > I have been trying to write a simple mail script using PHP and apache > on Windows XP. Eventhough the script is saying that the mail is > successfully sent, I am unable get it in my mailbox(I have given my > mail address in $to). I am using the mail() function and I have made > the following changes in php...

session functions not working with windows XP, php 4.3.4
i have two simple pages, test.php and test2.php test.php contains: <?php session_start(); $_SESSION['test']="blah"; ?> and test2.php contains: <?php session_start(); print $_SESSION['test']; ?> in the php.ini file, my session save path is set to /tmp. i dont even know where to look for the tmp folder. also, when i go to test2.php after accessing test.php, the page is blank and it doesnt print "blah". as i mentioned in the title, im using windows xp (home edition) with PHP 4.3.4 and apache 1.3 thanks JP "kingofkolt" <jessepNOSPAM@comcast.net> wrote in message news:mPAjc.43368$GR.6079477@attbi_s01... > i have two simple pages, test.php and test2.php > > test.php contains: > > <?php > session_start(); > $_SESSION['test']="blah"; > ?> > > and test2.php contains: > > <?php > session_start(); > print $_SESSION['test']; > ?> > > in the php.ini file, my session save path is set to /tmp. i dont even know > where to look for the tmp folder. also, when i go to test2.php after > accessing test.php, the page is blank and it doesnt print "blah". > > as i mentioned in the title, im using windows xp (home edition) with PHP > 4.3.4 and apache 1.3 You have to create the folder used for saving session data manually. If the folder doesn't exist, PHP won't create it. Create folder name "tmp" o...

PHP mail() function failing to send mail
Hi everyone, Our setup: PHP 4.3.11, FreeBSD 5.3 RELEASE, Sendmail 8.1, 1 host environment, 2 jails. Our problem: While we can send email from the command line just fine in one of the jails, we cannot use the php mail() command to send email using sendmail at all. The function, when executed, does absolutely nothing. No error, no reports to the maillog, nothing. I've read somewhere that it's "not possible" to send mail using the php mail() function within a freebsd jail, but i'm nearly certain we have it working this way on another server, but can't seem to figure out the issue. Anyone know any tests we can do to learn more? Thanks. Check out the log messages from your sendmail... If it's not logging anything, try increasing (temporarily) the log level (24 should be more than enough) Probability says that you're running into a permission issue with sendmail. Probably your PHP/Apache user is not allowed to relay email. I'm not sure this might apply since I am not familiar to BSD, but, had similar problems with a RH machine just a few days ago ...

PHP mailing and windows
I'm looking at code from an Open Source project and trying to run it on Windows XP. However, it seems that the mail function does not work. $success=@mail( $u, $subject, $content, "From: " . $from . "\r\n" . "Content-type: text/html"); Is there anything I should know? FULL CODE: <?php $title = 'Notify Students'; require_once('dbcode.php'); require('./includes/template_top.php'); db_connect(); required_param($survey_id, 'survey_id'); required_param($who_to_mail, 'who_to_mail'); required_param($from, 'from'); required_param($subject, 'subject'); required_param($body, 'body'); if(strstr($body, '[LINK]') == FALSE) { exit('Your body must contain the [LINK] text to provide a URL. Please go back and add it and try again'); } $url_base = $host . "/take_survey.php?survey_id=$survey_id"; // Set the incomplete flag to zero mssql_query("update Surveys set Incomplete = 0 where SurveyId=$survey_id"); $survey_info = mssql_query_array("select * from Surveys where SurveyId=$survey_id"); $owner = $faculty_login_info['Name']; $deadline = $survey_info['Deadline']; $title = $survey_info['Title']; $users=mssql_query("select * from SurveyPermissions where SurveyId=$survey_id"); ini_set('SMTP',$smtp_server); ini_set('sendmail_from', $from); while($user=mssql_fet...

php mail function
i have set up a feedback form that emails the results. my web host says it will not work if the email is coming from nobody. this is their answer "you are just going to have to learn to tell your scripts to generate th emails as someone@yourdmain - not just as nobody." does anyone know how to make this happen? Quinonez wrote: > i have set up a feedback form that emails the results. my web host > says it will not work if the email is coming from nobody. this is > their answer "you are just going to have to learn to tell your > scripts to generate th emails as someone@yourdmain - not just as > nobody." > does anyone know how to make this happen? By using the fourth argument of the mail() function to send a "From: someone@yourdomain" header. See: http://www.php.net/manual/en/function.mail.php JW how would i set this up? On 17 Dec 2004 08:15:54 -0800, Quinonez <quinonez@gmail.com> wrote: > how would i set this up? > Nothing to set up, just include the from argument: mail('to email', 'subject', 'message', 'From: yourstruly@yourdomain.com'); -- Thomas SELECT date FROM wife WHERE bitching = '0' AND sex = '1' ive set this up like so <? mail("quinonez@gmail.com", "subject", "my message", "From: webmaster@masterscommissioneurope.com\r\n"); ?> but im still not recieving the emails..... the host says its because...

PHP Training Institute In Delhi, Live Projects on PHP. Short Term PHP Courses, PHP Scripts, PHP Training with Live Projects.
Vserve Global offers short term PHP: Hypertext Preprocessor Training Course, which is a widely used, general-purpose scripting language that was originally designed for web development, to produce dynamic web pages. It can be embedded into HTML and generally runs on a web server, which needs to be configured to process PHP code and create web page content from it. It can be deployed on most web servers and on almost every operating system and platform free of charge.PHP is installed on over 20 million websites and 1 million web servers. TOPICS:- >> Core PHP Language >> HTML, Cascad...

php outside php (?)
Sounds weird, i know. What i want/wonder is the following: PHP can do the next: <?php if($foo == 'bar') { ?> Ow yeah, foo is bar! <?php }; ?> But how can i do the following: <?php $foo= ?> this is what foo looks like. <?php }; ?> This way i could edit the content of $foo in DW's design-view. I hope it's clear enough for you all to understand... Greetings frizzle. frizzle wrote: > But how can i do the following: > > <?php > > $foo= > > ?> > this is what foo looks like. > <?php > > }; > > ?> > > This way i could edit the content of $foo in DW's design-view. > I hope it's clear enough for you all to understand... <?php ob_start(); ?> this is what foo looks like. <?php $foo=ob_get_clean(); ?> -- Justin Koivisto - justin@koivi.com http://koivi.com Wow, little late on the reply, but i still wanted to thank you for your help. This is exactly what i meant, and it works great! :D Thanks again. ...

PHP mail function #2
Hello, can any one help me with the following issue: I use PHP mail function to send emails, when I receive these emails I find some exclamation marks (!) added in the text, this is weird. Can any one help me. Hello, on 02/13/2008 05:39 PM Ahmad said the following: > Hello, can any one help me with the following issue: > > I use PHP mail function to send emails, when I receive these > emails I find some exclamation marks (!) added in the text, this is > weird. Can any one help me. It seems you have lines in your messages that need to be encoded properly with quoted-printable encoding. You may want to try this MIME message compose and sending class that can do that for you without having to learn too much about message encoding standards: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos PHP professionals looking for PHP jobs http://www.phpclasses.org/professionals/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ ...

PHP mail function is spammer?
I don't understand why any message sent with mail functions is automatically stored in the spam by Gmail. Sillaba While the city slept, Sillaba atona (NOSPAM@tin.it) feverishly typed... > I don't understand why any message sent with mail functions is > automatically stored in the spam by Gmail. > There could be many and varied reasons... Are you setting a return path? And is that the same as the address the mail "comes" from? Does the mail you are sending have a "from" address that corresponds to the server you are sending from? Does the mail you are sending have anything in it that could be construed as spam? eg, html email with much graphics, little text, etc Is the server you are running off on any spam lists? There are more issues to consider, but I can't think of any right now (just come back from the pub ;-) ) Theoretically, if you are sending a few emails out from the mail function, you shouldn't suffer too much, unless some of, or all, or more than, the above are an issue. Hope that helps, Nige -- Nigel Moss http://www.nigenet.org.uk Mail address will bounce. nigel@DOG.nigenet.org.uk | Take the DOG. out! "Your mother ate my dog!", "Not all of him!" On 2007-08-01, nice.guy.nige <nigel_moss@deadspam.com> wrote: > Are you setting a return path? And is that the same as the address the mail > "comes" from? > Does the mail you are sending have a "from" address th...

PHP mail() function in chroot
On my webserver the web components are seperated into a chroot jail so it cannot access any of the mail (courier-mta) components. Does anyone know of a way to change how mail() functions? i.e. have it connect to an smtp server, rather than try to refrence the sendmail binary? Any help would be greatly appreciated! thanks. This is a multi-part message in MIME format. ------=_NextPart_000_00C2_01C3E745.A30A3260 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable http://phpmailer.sourceforge.net/ ____________________________________ Wil Moore III, MCP | Integrations Specialist | Senior Consultant DigitallySmooth Inc. | Quick Site Studio "Andy" <nospam@nospam.com> wrote in message = news:UrxSb.8782$%72.7644@twister.nyroc.rr.com... On my webserver the web components are seperated into a chroot jail so = it cannot access any of the mail (courier-mta) components. Does = anyone=20 know of a way to change how mail() functions? i.e. have it connect to = an=20 smtp server, rather than try to refrence the sendmail binary? Any = help=20 would be greatly appreciated! thanks. ------=_NextPart_000_00C2_01C3E745.A30A3260 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859...

PHP is looking for php.ini file in c:\windows
As the installation txt suggests, I have left my php.ini file inside the c:\php directory... but running phpinfo() shows that my php.ini file is in c:\windows as shown below. Configuration File (php.ini path) - C:\WINDOWS Well there is no php.ini file in my windows directory, so I'm not sure where it's getting it's configuration settings from... unless I suppose they're built into the executable somewhere if no php.ini file is found. My questions is - why php is not locating my php.ini file that is located in the c:\php directory? I'd rather not move it to the windows directory so I can keep everything nice and tidy like the installation file suggests. BTW - This is a brand new laptop I'm installing PHP on so there is (I just double checked) no PHP.ini file in the c:\windows directory. The path is set to include c:\php... and opening a DOS prompt and typing "php" is a recognizable command regardless of my current directory. This is the 2nd machine I have had this same problem with. I'm still confused... Any thoughts? thanks ~john wrote: > As the installation txt suggests, I have left my php.ini file inside > the c:\php directory... but running phpinfo() shows that my php.ini > file is in c:\windows as shown below. > > Configuration File (php.ini path) - C:\WINDOWS > > Well there is no php.ini file in my windows directory, so I'm not sure > where it's getting it's configuration settings from... ...

PHP mail() function problem
Hi all, I want to send mails using php mail() function, my web server is apache on linux i just add this line to my code ini_set('sendmail_from', 'users@must.edu.eg'); i'm sending emails to users at the same domain ....@must.edu.eg but it didn't send mail also it don't give any errors but i'm sure that mail server is working coz when i'm trying to send mails to the same domain through outlook it works well. i tried to send to hotmail it sends just one mail but when i tried again the same happened no mails sent with no error. where do u think the problem???? noha khalifa wrote: > Hi all, > > I want to send mails using php mail() function, my web server is > apache on linux i just add this line to my code > ini_set('sendmail_from', 'users@must.edu.eg'); > > i'm sending emails to users at the same domain ....@must.edu.eg but it > didn't send mail also it don't give any errors > > but i'm sure that mail server is working coz when i'm trying to send > mails to the same domain through outlook it works well. > > i tried to send to hotmail it sends just one mail but when i tried > again the same happened no mails sent with no error. > > where do u think the problem???? You didn't show your code, so it's impossible to tell. You shouldn't be using ini_set for 'sendmail_from' - that's just a default value. Rather, you should be ...

php mail() function does nothing
Hey everyone, We've got FreeBSD 5.3, with Sendmail running. All we want to do is to get sendmail to send emails to another server for actual outbound email. We've got a very basic php script which utilizes the mail() function, but for some reason, sendmail is never getting the command from PHP. So, we can successfully send email using sendmail from the command prompt, but when it comes to using the PHP mail() function, nothing happens. Not even an error message from PHP. We have in our php.ini a direct path all the way to sendmail configured. I'm at a loss as to why PHP mail() isn't even spitting back an error. The maillog shows nothing from PHP. Are there any variables, extensions that need to be compiled, etc to make mail() work? Thanks!! tencip: > > We have in our php.ini a direct path all the way to sendmail > configured. I'm at a loss as to why PHP mail() isn't even spitting > back an error. The maillog shows nothing from PHP. > > Are there any variables, extensions that need to be compiled, etc to > make mail() work? Did you set sendmail_from? That may be it as well. Also perform a trace of sendmail when PHP goes to send an email. Also note from the manual: " For the Mail functions to be available, PHP must have access to the sendmail binary on your system during compile time. If you use another mail program, such as qmail or postfix, be sure to use the appropriate sendmail wrappers that come wit...

[Q] PHP-CLI on Windows / PHP-GTK favorites.
Howdy, I PROMISE that I've Googled this... =) I've written a PHP script to run from the command line. I can also run it from a shortcut on my desktop, etc. and it works great. However, I can't remember how to suppress the "DOS box/CLI window/Command Interpreter/whatever *you* call it" that appears. I recall that there's a switch that one can put in the shortcut/or in a batch file to suppress the big black window... Also, I've recently become interested in PHP-GTK. Does anyone have some favorite sites they'd recommend? I'm looking for real recommendations, not "Google PHP-GTK" ;) Thanks, - Dan http://blog.dantripp.com/ On 2004-02-02, Dan Tripp <thisIsNot@MyEMailAddress.com> wrote: > However, I can't remember how to suppress the "DOS box/CLI > window/Command Interpreter/whatever *you* call it" that appears. I > recall that there's a switch that one can put in the shortcut/or in a > batch file to suppress the big black window... This is how i did it on my sisters win98 box: I have a batch file that contains the commands that need to be executed. Then i created a shortcut to that batchfile on the destktop. Then i right-clicked on that shortcut, editted the properties: second tab(program) close window after completion. -- http://home.mysth.be/~timvw Tim Van Wassenhove wrote: > On 2004-02-02, Dan Tripp <thisIsNot@MyEMailAddress.com> wrote: > >>However, ...

PHP mail() function and maillog
Hello. Under linux, when I use the mail() function in php there seems to be no record of it in any mail log file or system messages. Anyone know where the log of mails sent might be stored? I know the code to send the mail is running, but I want to confirm that the server is trying to send out the mails. Thanks, Dave. -- Fermat was right. David Gillen wrote: > Hello. > > Under linux, when I use the mail() function in php there seems to be no record > of it in any mail log file or system messages. Anyone know where the log of > mails sent might be stored? I know the code to send the mail is running, but > I want to confirm that the server is trying to send out the mails. > > Thanks, > Dave. The default location of the mail log on linux machines is: /var/log/mail ...

running PHP on Windows XP
I installed Apache/MySQL/PHP on Windows XP. There was one problem. Microsoft IIS 4 or higher was defaultly selected for MySQL. It did not work. When I double-click a PHP file, a lightning-fast MS-DOS window opens and closes. When I go to start, then go to run, then type "cmd", then type the PHP file path, I take a long time to see what happened. I want my PHP file to work on my browser offline just like uploading and visiting my PHP file on a web host with my browser online. In other words, I want the interactivity of my site to happen in my computer. How can I do that? Raistlin Majere wrote: > > I want my PHP file to work on my browser offline just like uploading > and visiting my PHP file on a web host with my browser online. In other > words, I want the interactivity of my site to happen in my computer. > > How can I do that? You need to: 1. Have a working installation of IIS. 2. Configure PHP to work with IIS (either as a NSAPI module or as a CGI application). 3. Place your PHP scripts in the appropriate directory (by default, IIS looks for scripts in C:\Inetpub\www, your installation can have a different setting). 4. Call your PHP scripts via HTTP, not via file system. If you have a script C:\Inetpub\www\script.php, you should address it as http://localhost/script.php Cheers, NC Microsoft IIS is offered as evaluation. What are the alternatives? I can not find a crack or serial number for it anywhere. In my Microso...

PHP mail () function configuration
hi every body, i have a problem which is when i was checking my mail() form it work fine but the problem is that the form configuration is not set correctly, in details: the from var is not working and the from is set to be my host provider email is the sender, so they told me to configure the php.ini file and i dont know what is this file and how to configure it. thanks in advance shror www.s7els7.com www.beachtoursegypt.com www.mobidp.com On Feb 22, 2:32 am, "shror" <shahi...@gmail.com> wrote: > hi every body, > > i have a problem which is when i was checking my mail() form it work > fine but the problem is that the form configuration is not set > correctly, in details: > the from var is not working and the from is set to be my host provider > email is the sender, so they told me to configure the php.ini file and > i dont know what is this file and how to configure it. > > thanks in advance > > shrorwww.s7els7.comwww.beachtoursegypt.comwww.mobidp.com The php.ini file is your php configuration file, if you are on windows it should be in you c:\windows directory, if you are on linux it should be on you /etc directory (I could be wrong on this, haven't configured php on linux in awhile), not sure where it would go in Mac OS X On 22 Feb, 10:32, "shror" <shahi...@gmail.com> wrote: > hi every body, > > i have a problem which is when i was checking my mail() form it work > fine but the prob...

PHP within PHP...
I took over the support of a website that is set up something like this inside one of the pages: include_once("header.php"); <?php //to get the content of the page they do this: $content = mysql_query("select content etc...); echo $content; ?> include_once("footer.php"); I am having problems evaluating any php that is used in the mysql content. Is there a way to get the mysql withing the mysql to run? Thank you for your time, Mandragon On Sep 17, 12:56 pm, Mandrago...@gmail.com wrote: > I took over the support of a website that is set up something like > this inside one of the pages: > > include_once("header.php"); > > <?php > //to get the content of the page they do this: > $content = mysql_query("select content etc...); > > echo $content; > ?> > > include_once("footer.php"); > > I am having problems evaluating any php that is used in the mysql > content. Is there a way to get the mysql withing the mysql to run? > > Thank you for your time, > > Mandragon Sorry, The question should read: "Is there a way to get the php withing the echo $htmlcontent to run?" Of course you are, $content is a resource. The MySQL Query resource. try this: $content = mysql_query('bla bla bla'); while ($row = mysql_fetch_assoc($content)) { $result[] = $row; } $content = $result; Now you can use $content ;). In answer to your edit... eval($co...

Problem with Mail()
In my PHP 5.0 at home, I'm using the following code to successfully write to a database and also send out an email. For some reason, when I take this code to work, it still writes to the database but doesn't send mail so we're (me and the I.T. guy) trying to find out whether it's the difference between PHP 4 or something else with email security. Does anyone here have experience with mail() in PHP 4 to know whether PHP 4 had issues with mail() that were fixed with PHP 5 ???? We've been chasing this from the mail server side at work when perhaps its some nuance between versions of PHP. Appreciate any help... Chris /* > $to = stripslashes($to); */ $to = stripslashes($to)."\r\n"; $subject = stripslashes($subject); $text = stripslashes($text); /* > mail('$to',$subject, $text); */ mail($to, $subject, $text, "From: admin@localhosthome.com"); cover wrote: > $to = stripslashes($to)."\r\n"; > Might or might not be the cause, but you should remove the trailing CRLF here. JW On Mon, 27 Feb 2006 22:33:57 +0100, "Janwillem Borleffs" <jw@jwscripts.com> wrote: >cover wrote: >> $to = stripslashes($to)."\r\n"; >> > >Might or might not be the cause, but you should remove the trailing CRLF >here. Thanks for the reply. I tried it after reading your post and no change... Thanks again, cover wrote: > In my PHP 5.0 at home, I'm using the following co...

php to php obj
Hi All, Is there any tool to convert the .php files into its object files in deploying the files to other's server like java classes are deployed? Thanks in advance --AR John7481 <arjohn7481@hotmail.com> wrote or quoted: > Is there any tool to convert the .php files into its object files in > deploying the files to other's server like java classes are deployed? To what end? Do you want a PHP obfuscator? They tend not to be needed - since the code remains on the server. Do you want a PHP squeezer? Again - since PHP remains on the server that is of reduced importance. PHP obfuscators and squeezers are out there - but what exactly are you looking for? -- __________ |im |yler http://timtyler.org/ tim@tt1lock.org Remove lock to reply. With total disregard for any kind of safety measures Tim Tyler <tim@tt1lock.org> leapt forth and uttered: > John7481 <arjohn7481@hotmail.com> wrote or quoted: > >> Is there any tool to convert the .php files into its object >> files in deploying the files to other's server like java >> classes are deployed? > > To what end? > > Do you want a PHP obfuscator? They tend not to be needed - > since the code remains on the server. > > Do you want a PHP squeezer? Again - since PHP remains on the > server that is of reduced importance. > > PHP obfuscators and squeezers are out there - but what exactly > are you looking for? I think he'...

when receiving the mail(php mail function), the variable's last value is getting converted to $ or # replacing the digit
Below is my code: But when I receive the mail, I don't get the last two digits in the $post_url. I tried displaying the same message on the page and it displayes $post_url properly. But when I receive the mail, I get the value of $post_url as www.32minutesforum.com/post_clicked.php?id$. where as I should get www.32minutesforum.com/post_clicked.php?id<some number>. i.e. www.32minutesforum.com/post_clicked.php?id15 Please help! File: <?php include 'connect.php'; include 'header.php'; echo '<div class="holder_content">'; echo '<section class="group_text">'; echo 'Posted successfully. Check your post <a href="'.$_SESSION['reply_post_id'].'">HERE</a>'; $post_url = $_SESSION['reply_post_id']; $to= $_SESSION['post_email']; $subject="You just got a reply for your post in 32minutesforum.com"; $message=' <html> <head> <title>32 Minutes Forum</title> </head> <body> <p>You got a reply for your post title: '. $_SESSION['post_title'].'.</p> <p>Check your post in:<br/>www.32minutesforum.com/'.$post_url.'.</p> <p>Thanks for using 32minutesforum.com.<br/> Thank you,<br/> 32minutesforum.com Team.</p> </body> </html>'; ...

how to enable permissions in htaccsess for php file.php script problems
I am having problems with a ftp to http php scrip: Warning: ftp_get(): open_basedir restriction in effect. File(/ftp_login.html.600490715) is not within the allowed path(s): (/home:/tmp:/usr) in /home/jbsmedia/public_html/ftp.php on line 352. when i download files, when i upload i get Upload failed! Can't create temp file?. as far as i fuigured i set my ftp file folder cmod 777. then must have to do somethin to the htaccess file. my host is running a unix appache server. i found it has something to do with internal server error 500 and mkdir command= mkdir /var/tmp/xfers && chmod 1777 /var/tmp/xfers */ $phpftp_tmpdir="/var/tmp/xfers" can anyone help sorry type error http to ftp script ...

Web resources about - Enable Mail function for PHP under Windows XP - comp.lang.php

Wave function - Wikipedia, the free encyclopedia
... (a ball attached to a spring ) in classical mechanics (A-B) and quantum mechanics (C-H). In quantum mechanics (C-H), the ball has a wave function ...

Eating chocolate 'improves brain function' - study
... news for those with a sweet tooth - a recent study has found that regular chocolate consumption is associated with better cognitive function. ...

Using Functions to Make Better Abstractions
... (code that is tightly coupled to its own implementation details). I was wrong. I was wrong because I had an incomplete understanding of functions. ...

Cisco launches new network functions virtualization infrastructure solution to help service providers ...
Al-Bawaba Cisco launches new network functions virtualization infrastructure solution to help service providers run network ... Al-Bawaba ...

Google Maps for iOS adds detour function, 3D touch support
Google has extended its pit-stop feature the ability to find places to stop off on journeys to iPhone and iPad users with the release of Google ...

LVMH's Hublot May Be Next Brand for Smart Functions, Biver Says
Hublot will probably be the next LVMH watch brand to add smart functions, following TAG Heuer’s footsteps in combining Swiss craftsmanship and ...

Yahoo Begins Grim Job of Closing Functions, Laying Off Staff
Yahoo Food is closing, and other digital magazines on tech, travel and beauty are also scheduled for closing or major cutbacks.

Can Your Organization's Identity And Function Survive Radical Changes? Lessons From The FBI's Evolution ...
How the FBI transformed after 9/11 provides lessons on how to balance organizational structure, function and identity when they become scrambled. ...

A 3D Printed Jet Engine Appears to Function
... jet engine . You may remember seeing a 3D printed jet engine grace our front page back in October. That one was beautiful didn’t function . ...

‘World Of Warcraft’ Alpha Removes Gold From Garrison Missions, Water Striders No Longer Function Everywhere ...
... build deploying soon to the alpha server, garrison missions no longer reward gold and the water-walking Water Strider mounts no longer function ...

Resources last updated: 3/24/2016 4:17:57 AM