CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2008
    Posts
    11

    Need help, can't find proper contact form script...

    Hi,

    I've searched dozens of sites through google, but didn't find proper script. I need a contact form with one file upload capability. And that one file should be a photo (.jpg, .jpeg, gif, png) and also with file limitation capability.

    I found many contact forms and many file upload scripts, but can't find the script that combines these two parts together.

    Does anyone know, where can I find such script?

    P.S. It should be an AJAX form...

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: Need help, can't find proper contact form script...

    AJAX cannot be used to create forms, only to pass the data. Unfortunately, AJAX cannot pass file uploads. You will have to use a hidden iframe as the target in your <form> tag. Even the ones that say AJAX, are secretly appending an iframe on the scripts execution.

    What server-side language are you going to use to process the form? Creating the form in HTML is plain and simple. In fact, you can even search Google for a form creator and get thousands of results. The difficult part is the server-side code.

    If your web server is Linux hosting, you will want to use PHP. In that case, you should take a look at handling file uploads from PHP's own site. If you are using IIS, then ASP.NET should be your prefered method. And Google has plenty to say about that.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    May 2008
    Posts
    11

    Re: Need help, can't find proper contact form script...

    Yes, my site is simple html.

    Maybe you know some php example sites, for what I am searching?

    Because I am not very good in php yet. I am just a web designer and a litle bit know html.

    Thanks

  4. #4
    Join Date
    May 2002
    Posts
    10,943

    Re: Need help, can't find proper contact form script...

    I did mention Google. I would suggest always checking there before posting.

    http://www.google.com/search?source=...=Google+Search
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured