Current Page: 1 of 1
Results 1 - 13 of 13
1 year ago
Ares
Thanks. I'm getting a "true" response but no email arrives. I suspect I'm not setting the various parameters correctly and/or, as you suggest I'm breaking constraints on the message contents. I'll look into phpmailer which I hadn't heard of or maybe (fake) sendmail.
Forum: WampServer English
1 year ago
Ares
Apologies for delay in looking at this. I'm using code (running in WAMP on my laptop, not tried on a genuine website) : $emailTo="rogerkeeling@f2s.com"; $emailSubject="Email Subject"; $fullMessage="email message"; $attachments=""; ini_set('SMTP','b.mx.nildram.net'); ini_set('smtp_port', '25'); ini_set('sendmail_from','rogerkeeling17@
Forum: WampServer English
1 year ago
Ares
Thanks. Will do.
Forum: WampServer English
1 year ago
Ares
I have now learned to set php parameters using: ini_set('SMTP','mail.overssl.net'); ini_set('smtp_port', '999'; (using mu correct output port number) ini_set('sendmail_from','myemail@domain.com'); (using my correct email) But now the webpage in WAMP loops (at least 20 mins) waiting response from localhost I'm running WAMP on Outlook though this is now obsolete. Any ideas how to get ma
Forum: WampServer English
1 year ago
Ares
I am using the "mail()" function in php to send emails from a webpage running in WAMP on my laptop. This used to work but I now get a failure message "local host failed to connect to mailserver at outmail.f2s.com. Should now be mail.overssl.net". My email used to be handled by outmail.f2s.com port 25 but is now mail.overssl.net. The error suggest setting the correct parameter
Forum: WampServer English
12 years ago
Ares
Thanks. I like to see the warning messages (and can now fix them as you suggest) so I have removed ~E_NOTICE from php.ini in my WAMP installation which was not showing them.
Forum: WampServer English
12 years ago
Ares
Again thanks. I've installed TextFX and get just whats wanted.
Forum: WampServer English
12 years ago
Ares
I have WAMP set up on two different computers (laptop running Windows 7 and PC running Windows XP). I can run PHP code on the PC with no warning messages but the same code on the laptop gives messages such as: Notice: Undefined index: submita in C:\wamp\www\trials\FormTest.php on line 9 Notice: Undefined index: aa in C:\wamp\www\trials\FormTest.php on line 19 Notice: Undefined inde
Forum: WampServer English
12 years ago
Ares
Thanks. Results very colourful and easy to read but I can't find any way of doing automatic indentation eg within sections of code delimited by { and }. Is there a way?
Forum: WampServer English
12 years ago
Ares
Is there any way of formatting PHP text, especially by indenting sections delimited by { and } ?
Forum: WampServer English
14 years ago
Ares
Thanks for suggestions. None worked (or I misapplied them) so I have uninstalled Wamp, deleted the wamp folder, and reinstalled. Now all parts of the package (html, php, mysql) run OK but I've lost any chance of finding out what was wrong. I'll settle for that.
Forum: WampServer English
14 years ago
Ares
I believe I am going to localhost. In detail, I : 1. start wamp server 2. left click 'igloo' icon for menu 3. click localhost. This gives a local webpage with link to 'trials' 4. click 'trials'. This gives a web page with a list of links to (.html and .php) files set up in c:\wamp\www\trials 5. click on the link to the .php file to run and then I get the unwanted 'Download file' wi
Forum: WampServer English
14 years ago
Ares
On my WAMP installation, when I link to a .php file through localhost, I get a 'File Download' window offering 'Open', 'Save', 'Cancel'. If I click on 'Open', the .php file is opened in Internet Explorer with any <html> code executed OK but and <?php ...> code ignored. Until recently the .php file ran as expected with no 'File Download' window but immediate display of the web page in
Forum: WampServer English
Current Page: 1 of 1