Jump to content

hamza

Members
  • Posts

    321
  • Joined

  • Last visited

Everything posted by hamza

  1. Man just simply make new database for the friends and simple execute the insert query and add your friends. AND about accepting and deny your friends. Just bring the details of your friend and put into the mail and send them for adding friend and denying friends thats it
  2. 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
  3. 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
  4. 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}
  5. 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
  6. 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. ??? .............................................................
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.