www.webdeveloper.com

Search:

Type: Posts; User: phpnewbie08

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    860

    I checked with my hosting co. and they said it...

    I checked with my hosting co. and they said it geoip 1.4.4. is installed and running. The issue is with the last OR in the list it even blocks country that is not in the list but if I delete the...
  2. Replies
    3
    Views
    860

    Block access by countries

    Hi, I used my hosting utility to block countries from accessing my website but it doesn't seems to work and my tech support is not much help. When I use the utility it creates a .htaccess file with...
  3. Php Form Post to self and hide form on submit

    Hi, I want to have a php form that do the process on the same file as the form and display thank you on the same file on success. Basically, I need to hide the form and display a list of errors if...
  4. Replies
    0
    Views
    402

    Jquery Cookies Conflict with Mootools

    I am trying to use the jquery cookies by James Auldridge but it is conflicting with the mootools that I am using for other function. I tried the jQuery.noConflict() but it doesn't seems to be...
  5. Thread: Email

    by phpnewbie08
    Replies
    0
    Views
    432

    getimagesize validate upload images and send with phpmailer.

    I have a form that will allow upload of multiple image files like below. Only 1 upload is required the rest is optional.



    <form method="post" enctype="multipart/form-data" action="upload.php">...
  6. Replies
    5
    Views
    857

    Anyone please help? I couldn't figure it out...

    Anyone please help? I couldn't figure it out myself.
  7. I put the code as follow but still didn't get any...

    I put the code as follow but still didn't get any message. However, I no longer receive the email either. please help.



    isset($_POST['submit']);
    $active_keys = array();...
  8. Replies
    5
    Views
    857

    I tried the script you provided but now I didn't...

    I tried the script you provided but now I didn't get the email anymore even when attaching pdf file. Any idea?
  9. I have pasted your above code in the script and...

    I have pasted your above code in the script and there is nothing printed. It still just go through and send the email.
  10. Replies
    5
    Views
    857

    It send just the email with no attachment.

    It send just the email with no attachment.
  11. Validate Image with exif_imagetype but still able to upload non image files

    I am not sure if my exif_imagetype is coded wrong. It send the email just fine with photos attached. But when I try to attach non image files I am not getting the error message and it still send the...
  12. Replies
    5
    Views
    857

    fileinfo not restricting pdf only

    I am using the below script to validate if the uploaded files are pdf and if it is send it with phpmailer. I did not received any error message even when I attached non pdf file . Also, it send the...
  13. Error Message with infofile verification.

    I am getting the below error message with this code to verify if the uploaded files are pdf and send via phpmailer.

    Line 66 is where the "default:" at. If I delete default i get "die" error if i...
  14. [RESOLVED] phpmailer email sent but no attachment

    I am using the below script to allow user to upload images and email it to me. I did received the email but there is no attachment. It also show the from email as root user instead of the user's...
  15. Replies
    1
    Views
    442

    Php validate image error message

    I am using the below script to validate if the uploaded files are png or jpeg but getting error message. please help.



    switch(exif_imagetype($_FILES[$photo]['name'])) {
    case...
  16. Replies
    1
    Views
    497

    Just to clarify. I need to validate 2 files and...

    Just to clarify. I need to validate 2 files and send them with phpmailer to an email address. Will the below works?

    if(isset($_FILES['upload']['tmp_name'])){
    $finfo =...
  17. Replies
    1
    Views
    497

    PHP Validate Uploaded File is PDF

    How do I check if the uploaded file is pdf with php? I want to validate the file type is pdf and not just the extension matches pdf.


    thanks.
  18. Replies
    2
    Views
    763

    PhpMailer Redirect Error Message

    I am using the below code for a webform but getting the below error messages. Please help. Thanks.

    Error 1

    Warning: Cannot modify header information - headers already sent by (output started...
  19. Replies
    0
    Views
    483

    Validate Uploaded file

    Hi, how do I validate the uploaded file is image then send it to me with swiftmailer? Also, how to make it validate multiple files? I want the files to be save in a temp directory on the server and...
  20. Replies
    4
    Views
    876

    I think I get it now. But how do I validate...

    I think I get it now. But how do I validate those files are images before using swiftmailer to send it? I seen some php script to validate one file but how to validate multiple files? thx.
  21. Replies
    4
    Views
    876

    Hi Jeff, Thanks for the response. The...

    Hi Jeff,

    Thanks for the response. The attachment in the document looks like a document that is on my server. What I need is a uploaded file from the user and email it to me and needs to have...
  22. Replies
    4
    Views
    876

    Help with Swift Mailer for Beginner

    Hi, I have done some research and reading and it sounds like swiftmailer is what I need. However, I can't understand the documentation that is provided in the swiftmailer website. Can someone...
  23. [RESOLVED] PHP Mail() Function vs PHPMailer

    Hi, I have been using the php mail() function for all web forms on a website. I have learned about phpmailer and have a couple of questions that I hope someone can help answer. I have some...
  24. Copy value from drop down selection to hidden text field

    Hi, How do I copy the selected value of a drop down list to a hidden field with js?

    thanks.
  25. I also wants to know how do I validate the text...

    I also wants to know how do I validate the text field needs to be fill up if other is selected. thx.
Results 1 to 25 of 79
Page 1 of 4 1 2 3 4
HTML5 Development Center



Recent Articles