Jump to content

fazlionline

Member
  • Posts

    204
  • Joined

  • Last visited

Posts posted by fazlionline

  1. In many websites, if you brow a topic or article, you will see three options, Print ? PDF ?Email.

    Print will print the article, PDF will save it in PDF format and Email will send it to your friend. See example

    Can anyone tell me how I can add this effect to my website?

    I have designed my website manually (I mean I have not used Joomla or other CMS software)

  2. Two JavaScript functions assigned for one field

    I have a field ?Email?; the user enters his email for newsletter subscription.

    I want to validate this form.

    If the user presses the button without entering email, he should have an alert to enter his email.

    If he presses the button after given a wrong email, then he should have an alert to write the correct email.

    How can I have these two functions on one filed?

  3. Once I saw an html page

    It was a photo gallery just in one page.

    JavaScript was used there.

     

    There were only three links, ?Back ? Home ? Next?.

     

    The next click was taking you to the next photo, the back to previous and home to the home page of the galley.

     

    There was only one HTML file and about 25 JPG photos.

     

    Will anyone tell me how to make that?

  4. hi falkencreative

     

    I have changed my code to the following:

     

    <?php 
    $to = "123@yahoo.com"; 
    $subject = $_REQUEST['subj'] ;
    $name = $_REQUEST['name'] ; 
    $org = $_REQUEST['org'] ; 
    $tele = $_REQUEST['tele'] ; 
    $city = $_REQUEST['city'] ; 
    $email = $_REQUEST['email'] ; 
    $message = $_REQUEST['message'] ;
    $url = "Karwan - Contact Form"; 
    
    $details = "\n URL - Form: $url\n
               Subject: $subject\n
               Name: $name\n
               Organization: $org\n
               Telephone: $tele\n
               City: $city\n
               From: $email \n
               Message: $message \n
           ";
    
    $headers = "From: $email"; 
    $sent = mail($to, $subject, $email, $message) ; 
    if($sent) 
    {print "Your mail was sent successfully"; }
    else 
    {print "We encountered an error sending your mail"; }
    ?>

     

     

    Now I only get one email

     

    But it is from anonymous@example.com and not from the email I have entered in the email fields in contact form

  5. Hi

    I have used the above script in two different websites

    I tested them now and one sent me 7 emails and the other sent 8 ones.

    I know that my internet is fast.

     

    The person from whom I received 31 emails, his internet connection is too slow.

    I also received 42 emails from the same from

  6. PHP Mail() send 31 emails at a time

     

    Hello everyone

    I have this script for my contact us page

     

    <?php 
    $to = "123@yahoo.com"; 
    $subject = $_REQUEST['subj'] ;
    $name = $_REQUEST['name'] ; 
    $org = $_REQUEST['org'] ; 
    $tele = $_REQUEST['tele'] ; 
    $city = $_REQUEST['city'] ; 
    $email = $_REQUEST['email'] ; 
    $message = $_REQUEST['message'] ;
    $url = "Karwan - Contact Form"; 
    
    $details = "\n URL - Form: $url\n
               Subject: $subject\n
               Name: $name\n
               Organization: $org\n
               Telephone: $tele\n
               City: $city\n
               From: $email \n
               Message: $message \n
           ";
    
    $headers = "From: $email"; 
    $sent = mail($to, $url, $details, $headers, $message) ; 
    if($sent) 
    {print "Your mail was sent successfully"; }
    else 
    {print "We encountered an error sending your mail"; }
    ?>

     

    When a user fill the form and send it to me, I receive 31 messages in my inbox.

    Is there something wrong in my code?

     

    Regards

  7. How can PHP access data form ?MS Access?

    Hi everyone

    I have a list of teacher in MS Access with all of its attendance record, salary, contact info and so.

    I want to make a form online that each one should login to see their record.

    Can PHP / MySQL take record form ?MS Access? files?

    Or

    Is there any way to import ?MS access? tables to MySQL?

    Regards

  8. All the data in my website is updated, I have deleted the old data and uploaded the new one

    But in my custom search I still get results from the old contents

    If I click on that, I get ?HTTP 404 Page Not Found?

    Search does not link my new contents in site.

  9. I have a website a photos gallery

    I have installed WAMPServer and I checked that every photo in the galley is appeared.

    Photos are number from 1 to 1n and links are number same too.

    Then I uploaded the website to my online server

    Everything is going perfect, the photos gallery pages appear, but NO IMAGE is there.

    I have deleted all the contents form the server and uploaded them again, but same problem again.

    Need help

×
×
  • Create New...