Click here to Skip to main content
11,644,731 members (67,042 online)

Linux, Apache, MySQL, PHP

 
GeneralRe: Starting Point Pin
silentspeaker20-Nov-12 0:07
membersilentspeaker20-Nov-12 0:07 
GeneralRe: Starting Point Pin
Richard A. Abbott20-Nov-12 0:21
memberRichard A. Abbott20-Nov-12 0:21 
QuestionPHP, MySQL and Apache Pin
silentspeaker10-Nov-12 19:38
membersilentspeaker10-Nov-12 19:38 
AnswerRe: PHP, MySQL and Apache Pin
Richard MacCutchan10-Nov-12 21:39
mvpRichard MacCutchan10-Nov-12 21:39 
AnswerRe: PHP, MySQL and Apache Pin
Senaid Maksumic11-Nov-12 11:15
memberSenaid Maksumic11-Nov-12 11:15 
GeneralRe: PHP, MySQL and Apache Pin
silentspeaker12-Nov-12 19:19
membersilentspeaker12-Nov-12 19:19 
GeneralRe: PHP, MySQL and Apache Pin
Senaid Maksumic13-Nov-12 10:33
memberSenaid Maksumic13-Nov-12 10:33 
AnswerRe: PHP, MySQL and Apache Pin
Ngobi Arthur 20135-Jan-13 8:52
groupNgobi Arthur 20135-Jan-13 8:52 
AnswerRe: PHP, MySQL and Apache Pin
vbmike14-Dec-12 4:37
membervbmike14-Dec-12 4:37 
AnswerRe: PHP, MySQL and Apache Pin
Manish Choudhary .NET expert14-Dec-12 18:45
memberManish Choudhary .NET expert14-Dec-12 18:45 
GeneralRe: PHP, MySQL and Apache Pin
S.M. Zamshed Farhan12-Jan-13 3:02
memberS.M. Zamshed Farhan12-Jan-13 3:02 
AnswerRe: PHP, MySQL and Apache Pin
ronakT26-Jan-13 5:32
memberronakT26-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
memberaa_zz4-Nov-12 22:22 
Questionhelp for smtp and ssl Pin
b-moumen17-Oct-12 7:53
memberb-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
$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
memberMember 915215629-Sep-12 1:13 
AnswerRe: how to get date difference Pin
Peter_in_278029-Sep-12 2:09
memberPeter_in_278029-Sep-12 2:09 
GeneralRe: how to get date difference Pin
Member 915215629-Sep-12 2:12
memberMember 915215629-Sep-12 2:12 
GeneralRe: how to get date difference Pin
Peter_in_278029-Sep-12 2:22
memberPeter_in_278029-Sep-12 2:22 
AnswerRe: how to get date difference Pin
Deepthi.214564-Oct-12 20:11
memberDeepthi.214564-Oct-12 20:11 
AnswerRe: how to get date difference Pin
Anilannu6-Oct-12 6:30
memberAnilannu6-Oct-12 6:30 
AnswerRe: how to get date difference Pin
Mohibur Rashid9-Oct-12 21:25
memberMohibur Rashid9-Oct-12 21:25 
QuestionHosting PHP application locally Pin
awedaonline20-Sep-12 5:24
memberawedaonline20-Sep-12 5:24 
AnswerRe: Hosting PHP application locally Pin
Mohibur Rashid22-Sep-12 3:13
memberMohibur Rashid22-Sep-12 3:13 
GeneralRe: Hosting PHP application locally Pin
awedaonline23-Sep-12 21:19
memberawedaonline23-Sep-12 21:19 
AnswerRe: Hosting PHP application locally Pin
maba0018-Oct-12 19:14
membermaba0018-Oct-12 19:14 
Questionlearn php Pin
Stephan A.18-Sep-12 0:50
memberStephan A.18-Sep-12 0:50 
AnswerRe: learn php Pin
Richard MacCutchan18-Sep-12 1:50
mvpRichard MacCutchan18-Sep-12 1:50 
GeneralRe: learn php Pin
Stephan A.18-Sep-12 13:46
memberStephan A.18-Sep-12 13:46 
GeneralRe: learn php Pin
Richard MacCutchan18-Sep-12 21:32
mvpRichard MacCutchan18-Sep-12 21:32 
GeneralRe: learn php Pin
Andrei Straut18-Sep-12 22:29
memberAndrei Straut18-Sep-12 22:29 
GeneralRe: learn php Pin
Richard MacCutchan18-Sep-12 22:46
mvpRichard MacCutchan18-Sep-12 22:46 
JokeRe: learn php Pin
Andrei Straut18-Sep-12 22:48
memberAndrei Straut18-Sep-12 22:48 
GeneralRe: learn php Pin
Richard MacCutchan18-Sep-12 22:53
mvpRichard MacCutchan18-Sep-12 22:53 
GeneralRe: learn php Pin
Stephan A.19-Sep-12 2:40
memberStephan A.19-Sep-12 2:40 
GeneralRe: learn php Pin
Richard A. Abbott19-Sep-12 2:50
memberRichard A. Abbott19-Sep-12 2:50 
GeneralRe: learn php Pin
Stephan A.19-Sep-12 3:08
memberStephan A.19-Sep-12 3:08 
GeneralRe: learn php Pin
Richard A. Abbott19-Sep-12 3:20
memberRichard A. Abbott19-Sep-12 3:20 
GeneralRe: learn php Pin
Richard MacCutchan19-Sep-12 3:55
mvpRichard MacCutchan19-Sep-12 3:55 
GeneralRe: learn php Pin
Wamuti27-Sep-12 5:08
memberWamuti27-Sep-12 5:08 
JokeRe: learn php Pin
Richard A. Abbott27-Sep-12 5:18
memberRichard A. Abbott27-Sep-12 5:18 
GeneralRe: learn php Pin
Andrei Straut19-Sep-12 3:12
memberAndrei Straut19-Sep-12 3:12 
GeneralRe: learn php Pin
Richard MacCutchan19-Sep-12 3:53
mvpRichard MacCutchan19-Sep-12 3:53 
GeneralRe: learn php Pin
Stephan A.19-Sep-12 6:59
memberStephan A.19-Sep-12 6:59 
GeneralRe: learn php Pin
Richard MacCutchan19-Sep-12 8:22
mvpRichard MacCutchan19-Sep-12 8:22 
GeneralRe: learn php Pin
crayben12-Nov-12 22:44
membercrayben12-Nov-12 22:44 
AnswerRe: learn php Pin
Mohibur Rashid18-Sep-12 15:08
memberMohibur Rashid18-Sep-12 15:08 
AnswerRe: learn php Pin
Wamuti27-Sep-12 5:11
memberWamuti27-Sep-12 5:11 
GeneralRe: learn php Pin
Richard MacCutchan27-Sep-12 5:41
mvpRichard MacCutchan27-Sep-12 5:41 
AnswerRe: learn php Pin
ProgramFOX5-Oct-12 5:40
memberProgramFOX5-Oct-12 5:40 
Questionhow to implemet a php code on server side? Pin
erroloz28-Jul-12 8:21
membererroloz28-Jul-12 8:21 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.150731.1 | Last Updated 31 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid