hamza
-
Posts
321 -
Joined
-
Last visited
Posts posted by hamza
-
-
problems and solutions ???
-
SmartFTP.com is a software and is it a free of cost tell me about that?
And tell me any FTP FREE SERVER SITE .
thanks in advance
-
Listen i think you want to redirect to the page right.
its quite simple write the same code
just when you submit the form from first page just pass the
one hidden value.like
if($_POST['hidden_value']==1 ) //checking form is submitted.or not
{
if (isset($_POST['login']))
{
header('Location: sheets.php' )
else if(isset($_POST['go']))
{
header('Location: sheets.php')
}
else {}
}
NOTE :
there is no need to mention the local server name like you have use the localhost and http dont use this and try the above code.
And increase the output buffer size and you will got your answer .
take care buddy}
-
This is my code
<body>
<?php
// # Is the OS Windows or Mac or Linux
if (strtoupper(substr(PHP_OS,0,3)=='WIN')) {
$eol="\r\n";
} elseif (strtoupper(substr(PHP_OS,0,3)=='MAC')) {
$eol="\r";
} else {
$eol="\n";
}
# Common Headers
$headers .= 'From: Webdev01 <webdev01@yahoogroups.com>'.$eol;
$headers .= 'Reply-To: Webdev01 <webdev01@yahoogroups.com>'.$eol;
$headers .= 'Return-Path: Webdev01 <webdev01@yahoogroups.com>'.$eol;
$headers .= "Message-ID: <TheSystem@".$_SERVER['SERVER_NAME'].">".$eol;
$headers .= "X-Mailer: PHP v".phpversion().$eol; // These two to help avoid spam-filters
# Boundry for marking the split & Multitype Headers
$headers .= 'MIME-Version: 1.0'.$eol;
//$headers .= "Content-type: text/plain; charset=iso-8859-1".$eol;
$headers .= "Content-type: text/html; charset=iso-8859-1".$eol;
$to = "myemail@someone.com";
$subject = "Test Mail";
$msg = "Hi, <br> Testing";
if(mail($to, $subject, $msg, $headers))
echo "mail sent....";
else
echo "error...";
?>
</body>
Problem :
when i was send this kind of code it will show me that mail is send successfully .
but in actually mail is not sende.
And my php.ini
and please tell me about the php.ini
file
thanks in advance
-
Adding in any menu is quite simple.
...............................................................
Just select the information or data from the database.
Use the <select> tag and put the selected information
into the <option> tag .
And your menu will be created.
its quite simple just try it .
Reply me if you face any problem. ???
.............................................................
php.ini
in PHP Installation and Configuration
Posted
Any one can help me about the php.ini
I NEED TO SEND THE MAIL using the mail function but
dont no how to set the php.ini for the mail funtion.
Help me about that
thanks in advance