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

    Which language and server type should be used?

    I plan to design a website with the following function:

    1) The visitor can upload a file to the server via a webpage.
    2) The webpage will process the file by calling a Windows 32bit DLL on the server, and get a result file in Microsoft Excel 2007 format.
    3) The webpage in the site will display the contents of the Excel result file to the visitor.

    Based on the above requirements, which programming language and which server type should I use?

    I believe since in 2), a Windows 32bit DLL will be invoked, so the server must be a Windows Server such as Windows Server 2012. A Linux/Unix-based server will not work.

    As for the programming language, whether I should use PHP or ASP or others?

    Thanks

  • #2
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    There are workarounds, but the simplest really is to use a windows server.
    The language isn't a lot of relevance, but you'll find using asp.net with C# or VBA will be a lot simpler when working with an external dll than php would be. Effectively, you're using a dll compiled for windows with the purpose of converting data to be used with microsoft applications. So what you have is M$ -> M$ -> M$ as your list (file to server, file to dll, results to microsoft) so it makes the most sense to use microsoft technology where its available.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 
    Been gone for a few months, and haven't programmed in that long of a time. Meh, I'll wing it ;)

  • #3
    Regular Coder
    Join Date
    Feb 2014
    Posts
    263
    Thanks
    47
    Thanked 0 Times in 0 Posts
    I would suggest using a Windows server which has a Control Panel interface similar to a Windows PC, and classic ASP (or ASP.Net). There is an ASP forum here if you ever wanted to post problems, etc.

  • #4
    New to the CF scene
    Join Date
    Apr 2014
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I prefer go for Windows server.

  • #5
    New Coder
    Join Date
    Apr 2014
    Location
    Liverpool
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Definitely go with PHP and Linux.

  • #6
    wlf
    wlf is offline
    New Coder
    Join Date
    Aug 2012
    Posts
    61
    Thanks
    0
    Thanked 2 Times in 2 Posts
    As you have to call a Windows DLL I would recommend Windows/ASP too.
    A good programmer is someone who looks both ways before crossing a one-way street. Free hosting


  •  

    Tags for this Thread

    Posting Permissions

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