Search found 28 matches

by vani sri
Wed Apr 08, 2009 4:58 am
Forum: PHP - Code
Topic: Warning: fsockopen() [function.fsockopen]
Replies: 1
Views: 55

Warning: fsockopen() [function.fsockopen]

Hi all, I am using PHP.5.2.9. During phpmailer i got this error, Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/infinite/public_html/Netoffice/include/phpmailer/class.smtp.php on line 104 Hope some one give me th...
by vani sri
Sat Feb 28, 2009 2:05 am
Forum: PHP - Code
Topic: Warning: unlink() [function.unlink]: http does not allow
Replies: 2
Views: 3107

Warning: unlink() [function.unlink]: http does not allow

Hi all, I tried to delete the file using unlink('http://localhost/xml_files/enq_paathshala.xml'); I got the following error. Warning: unlink() [function.unlink]: http does not allow unlinking When i try to give path like, c:/xampp/htdocs/xml_files/enq_paathshala.xml ,it means the file deleted. But i...
by vani sri
Wed Feb 18, 2009 7:55 am
Forum: PHP - Code
Topic: Warning: require_once(Mail/mime.php)
Replies: 10
Views: 4776

Re: Warning: require_once(Mail/mime.php)

Hi susrisha,

Thank for ur information sharing. mime.php file is missing.
So i
pear install Mail Mail_mime
to install the mime.
Now i got the output. Thank u very much.

Regards,
vani
by vani sri
Wed Feb 18, 2009 7:38 am
Forum: PHP - Code
Topic: Warning: require_once(Mail/mime.php)
Replies: 10
Views: 4776

Re: Warning: require_once(Mail/mime.php)

I found this Folder /usr/local/lib/php/Mail. But with in this folder mime.php is not found.
by vani sri
Wed Feb 18, 2009 7:35 am
Forum: PHP - Code
Topic: Warning: require_once(Mail/mime.php)
Replies: 10
Views: 4776

Re: Warning: require_once(Mail/mime.php)

Hi,
http://viewtube.in/info.php This is URL.
In
.:/usr/lib/php:/usr/local/lib/php
this folder i found the PEAR/ folder.
by vani sri
Wed Feb 18, 2009 6:54 am
Forum: PHP - Code
Topic: Warning: require_once(Mail/mime.php)
Replies: 10
Views: 4776

Re: Warning: require_once(Mail/mime.php)

Hi susrisha, Thanks for ur reply. I have no experience with this type of error.In my .ini file , i found the path .:/usr/lib/php:/usr/local/lib/php In that path i saw PEAR folder also. Then why this functions are not called properly. I have no idea with this error pls kindly give me the instruction ...
by vani sri
Wed Feb 18, 2009 6:32 am
Forum: PHP - Code
Topic: Warning: require_once(Mail/mime.php)
Replies: 10
Views: 4776

Re: Warning: require_once(Mail/mime.php)

Hi susrisha,
Thanks for ur reply.
require_once ('Mail.php');
require_once ('Mail/mime.php');
This are build in files in pear know. Then how the path may change ?

Regards,
vani
by vani sri
Wed Feb 18, 2009 5:42 am
Forum: PHP - Code
Topic: Warning: require_once(Mail/mime.php)
Replies: 10
Views: 4776

Warning: require_once(Mail/mime.php)

Hi all, I am using SMTP mail function. Mail sent successfully. When i try to include the MIME function i got the error Warning: require_once(Mail/mime.php) [function.require-once]: failed to open stream: No such file or directory in /home/viewtube/public_html/mail.php on line 3 How can i fix this er...
by vani sri
Thu Jul 17, 2008 1:21 am
Forum: PHP - Code
Topic: Mail function in PHP 5.2.5
Replies: 16
Views: 844

Re: Mail function in PHP 5.2.5

Thanks for ur reply.
I modified as above.
I got the message
Thank You. Your Mail Has Been Sent:
But ididn't received any mail in my inbox/Spam

Thanks & Regards,
vani
by vani sri
Thu Jul 17, 2008 12:52 am
Forum: PHP - Code
Topic: Mail function in PHP 5.2.5
Replies: 16
Views: 844

Re: Mail function in PHP 5.2.5

Thanks for kindly replies.
I modified the coding as above. But i didn't get any mails.

Thanks & Regards,
vani
by vani sri
Thu Jul 17, 2008 12:37 am
Forum: PHP - Code
Topic: Mail function in PHP 5.2.5
Replies: 16
Views: 844

Re: Mail function in PHP 5.2.5

Hi..
I tried the following coding.Still the same pbm.

Code: Select all

 
<?php
    $ok = mail("toaddress", "tttt", "message","fromaddress");
?>
 
by vani sri
Thu Jul 17, 2008 12:08 am
Forum: PHP - Code
Topic: Mail function in PHP 5.2.5
Replies: 16
Views: 844

Re: Mail function in PHP 5.2.5

Above coding is working on php 4.4.4 but in version 5.2.5 the mail function is not working
by vani sri
Thu Jul 17, 2008 12:01 am
Forum: PHP - Code
Topic: Mail function in PHP 5.2.5
Replies: 16
Views: 844

Re: Mail function in PHP 5.2.5

Hi,
I tried by passing from address directly,It shows msg Send. But i did not received any mail in my inbox and in spam mail..
by vani sri
Wed Jul 16, 2008 11:46 pm
Forum: PHP - Code
Topic: Mail function in PHP 5.2.5
Replies: 16
Views: 844

Re: Mail function in PHP 5.2.5

<? $to = "toaddress"; $subject = "Hi!"; "Hi,\n\nHow are you?"; $body = "Thanks for saying ...\r\n\n " . $comment . "\r\n\nAnd you will receive the VERY next newsletter at this email address.\r\n\n Thanks -- Mike."; $headers = "From: fromaddress...
by vani sri
Wed Jul 16, 2008 12:52 am
Forum: PHP - Code
Topic: Mail function in PHP 5.2.5
Replies: 16
Views: 844

Re: Mail function in PHP 5.2.5

1->The server is not in-house
2->It is hosted from 3rd party
3->yes, I received from this server

Regards,
vani