Click here to Skip to main content
15,887,906 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
GeneralRe: PHP, MySQL and Apache Pin
Senaid Maksumic13-Nov-12 10:33
Senaid Maksumic13-Nov-12 10:33 
AnswerRe: PHP, MySQL and Apache Pin
Ngobi Arthur 20135-Jan-13 8:52
Ngobi Arthur 20135-Jan-13 8:52 
AnswerRe: PHP, MySQL and Apache Pin
vbmike14-Dec-12 4:37
vbmike14-Dec-12 4:37 
AnswerRe: PHP, MySQL and Apache Pin
Manish Choudhary .NET expert14-Dec-12 18:45
Manish Choudhary .NET expert14-Dec-12 18:45 
GeneralRe: PHP, MySQL and Apache Pin
Zamshed Farhan12-Jan-13 3:02
Zamshed Farhan12-Jan-13 3:02 
AnswerRe: PHP, MySQL and Apache Pin
ronakT26-Jan-13 5:32
ronakT26-Jan-13 5:32 
Questioncan not get data from url when use method post paramater using php. because page use token. please me Pin
aa_zz4-Nov-12 22:22
aa_zz4-Nov-12 22:22 
Questionhelp for smtp and ssl Pin
b-moumen17-Oct-12 7:53
b-moumen17-Oct-12 7:53 
hello everybody

i registered for a very good free webhosting with nice subdomain which offers POP3 IMAP and SMTP with SSL/TLS and many other features.

when i created my webmaster e-amil, the control panel gives me the feature to make a test.
so i did and it worked very good.

so the next step was to test this in a php script and it worked good too, here it is:
--------------------
PHP
<?php
$from    = "webmaster@my-subdomain";
$to      = "my-other-email@external-domain";
$subject = "testing";
$body    = "testing the mail function";

if(mail($to,$from,$subject,$body)) {echo "success\n";}
else {echo "failure\n";}
?>

--------------------
now i want send emails with ssl authentication and after build a customized client for sending mails and viewing reiceived mails. i searched for that and i found some interresting things, and i understood that they used some third party packages, like phpmailer, curl and pear's mail which need to be installed and modify the php.ini file for ssl library, allowing to send via external servers like gmail which is very nice thing and i know that i can use it with my subdomain server as well.

the problem is that i don't have access to the php.ini file, and even if i can, i don't want do that because i know that i have already everything installed with my registration, and the proof was the two test e-mails.

what i can't know is which package my registeration is using. i give some config infos of my subdomain that i got from phpinfo() to help you :

i have the incoming and outgoing servers with their corresponding ports for both secured and non secured mail services (servers used for ssl and non-ssl are different).

PHP Version 5.3.3
---------------------------------
Registered Stream Socket Transports : tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
---------------------------------
mail.add_x_header On On
---------------------------------
zend.enable_gc On On
---------------------------------
cURL
cURL support enabled
SSL Yes
Protocols tftp, ftp, telnet, dict, ldap, ldaps, http, file, https, ftps, scp, sftp
---------------------------------
IMAP
SSL Support enabled
Kerberos Support enabled
---------------------------------
openssl
OpenSSL support enabled
OpenSSL Library Version OpenSSL 1.0.0-fips 29 Mar 2010
OpenSSL Header Version OpenSSL 1.0.0-fips 29 Mar 2010
---------------------------------
Sockets Support enabled
---------------------------------

in some tutos, they say that php4 and later (which the case here) comes with built-in pear mail package, but i dont know how to verify that. i think it is an issue, no ?!!!!

so i tried a code (How to Send Email from a PHP Script Using SMTP Authentication By Heinz Tschabitscher) but it gives me a require_once error, because this :
require_once "Mail.php";
it told me that the file deosn't exist in the include path or something like that.

sorry if my message is very long but i want make it clear and easy for anyone want help me.

thank you for your effort.
Questionhow to get date difference Pin
Member 915215629-Sep-12 1:13
Member 915215629-Sep-12 1:13 
AnswerRe: how to get date difference Pin
Peter_in_278029-Sep-12 2:09
professionalPeter_in_278029-Sep-12 2:09 
GeneralRe: how to get date difference Pin
Member 915215629-Sep-12 2:12
Member 915215629-Sep-12 2:12 
GeneralRe: how to get date difference Pin
Peter_in_278029-Sep-12 2:22
professionalPeter_in_278029-Sep-12 2:22 
AnswerRe: how to get date difference Pin
Deepthi.214564-Oct-12 20:11
Deepthi.214564-Oct-12 20:11 
AnswerRe: how to get date difference Pin
Anilannu6-Oct-12 6:30
Anilannu6-Oct-12 6:30 
AnswerRe: how to get date difference Pin
Mohibur Rashid9-Oct-12 21:25
professionalMohibur Rashid9-Oct-12 21:25 
QuestionHosting PHP application locally Pin
awedaonline20-Sep-12 5:24
awedaonline20-Sep-12 5:24 
AnswerRe: Hosting PHP application locally Pin
Mohibur Rashid22-Sep-12 3:13
professionalMohibur Rashid22-Sep-12 3:13 
GeneralRe: Hosting PHP application locally Pin
awedaonline23-Sep-12 21:19
awedaonline23-Sep-12 21:19 
AnswerRe: Hosting PHP application locally Pin
maba0018-Oct-12 19:14
maba0018-Oct-12 19:14 
Questionlearn php Pin
Stephan A.18-Sep-12 0:50
Stephan A.18-Sep-12 0:50 
AnswerRe: learn php PinPopular
Richard MacCutchan18-Sep-12 1:50
mveRichard MacCutchan18-Sep-12 1:50 
GeneralRe: learn php Pin
Stephan A.18-Sep-12 13:46
Stephan A.18-Sep-12 13:46 
GeneralRe: learn php PinPopular
Richard MacCutchan18-Sep-12 21:32
mveRichard MacCutchan18-Sep-12 21:32 
GeneralRe: learn php Pin
Andrei Straut18-Sep-12 22:29
Andrei Straut18-Sep-12 22:29 
GeneralRe: learn php Pin
Richard MacCutchan18-Sep-12 22:46
mveRichard MacCutchan18-Sep-12 22:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.