Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2006
    Thanked 0 Times in 0 Posts

    need help with php...

    I'm newbie, I don't know anything about php, mysql; can you help me to write simple php script?

    I have a html page with forms: name*, email*, msg and a browser upload file.
    - I want when users submit this form, error will show if they don't enter require field * and check file size, type.
    - File upload (must be <500kb, allow only *.doc, *.txt, *.pdf type)
    - If all field ok, they will redir to confilm page. they click send and an email with these info with attach file (if they select) will be send to me@mydomain.com and redir they to thanks page.

    And users who enter these info will be record to contact system. (log name, email, ip, time gmt+7)
    Admin must login to view info about them and he can send email to users...

    Thanks for help.

  • #2
    Regular Coder
    Join Date
    Nov 2002
    Manchester, UK
    Thanked 1 Time in 1 Post
    that doesnt really sound like a "simple php script" !!

    Its certainly unlikely that someone will knock up one for you. Try google for tutorials on each subject, such as

    "php upload tutorial"
    "php mysql tutorial" etc etc

    Once you have some code, post it and we can help from there.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts