ASP or PHP????

Which is more prevalent?
Which is easier to learn?
Which has more code snippets available?
I'm trying to figure out which one I should choose to use in my form mail pages.  Specifically, I'd like to have a form that a visitor completes and it would send the info to either in a pdf form or to a database.
I hope I am explaining this well enough for you all to understand. 

The one that is better for you is the one that is easier for you to work with. Look here
Apples and oranges" refers to the idiom "comparing apples and oranges", which indicates that two items or groups of items cannot be validly compared. The idiom evokes the apparent differences between items which are popularly thought to be incomparable or incommensurable, such as apples and oranges. The idiom may also be used to indicate that a false analogyhas been made between two items, such as where an "apple" is faulted for not being a good "orange". Conversely, where the comparison or analogy is valid, the idiom will usually take the form "comparing apples with apples".

Similar Messages

  • How to send some text to an ASP or PHP page?

    How to send some text to an ASP or PHP page with HTTPService?
    I'll store the submitted text to database through the page.
    Thanks!

    Set up an HTTPService. the xml inside the mx:request area
    will be passed using the method you define in the httpservice tag.
    <mx:HTTPService id="serviceName"
    url="
    http://www.site.com/page.php"
    useProxy="false" method="POST" showBusyCursor="true" >
    <mx:request>
    <val1>value 1</val1>
    <val2>value 2</val2>
    <val3>value 3</val3>
    </mx:request>
    </mx:HTTPService>

  • Would like to know if mobileme will support .ASP or .PHP anytime soon?

    Does anyone know if Apple will consider having .ASP and .PHP supported on their network????

    Better ask the question in the MobileMe forum.
    But the answer will be the same : nobody knows.
    Send a feedback : http://www.apple.com/feedback/mobileme.html

  • Is it possible to execute a ASP/CGI/PHP script thru sockets?

    hi,
    i was wondering whether it is possible in Java to pass data and execute ASP/CGI/PHP script on demand thru sockets (suppose a port has been specified by both sides) and how? i know this is possible thru the urlConnection, but how about sockets? these scripts could be stored in specific directories on the server.
    thanks!!!

    hi,
    i was wondering whether it is possible in Java to pass
    data and execute ASP/CGI/PHP script on demand Yes, completely it's possible!
    If you need to access ASP/CGI/PHP/Servlet/JSP thru' Java program, you can refer:
    http://developer.java.sun.com/developer/qow/index.jsp
    [after a week: http://developer.java.sun.com/developer/qow/archive/index.html
    and look for 'Can I send an HTTP request to a servlet from a normal class without having to use a browser to send the HTTP requests?']
    -and that's the QOW [Question Of the Week]!
    thru sockets (suppose a port has been specified by both
    sides) and how? When you say, a port has been specified on both sides,
    then it becomes, a NET/Socket programming and you
    need to use the 'net' package for the same.
    i know this is possible thru the urlConnection, 'possible' means, it's assumed that u're invoking the 'script' thru' a web-server!
    And u still use 'http://...' protocol to achieve the same; and u're NOT
    directly accessing the script file as "file:\\network-host\root\files\abc.jsp"
    but how about sockets? these scripts
    could be stored in specific directories on the
    server.It's not at all possible to 'invoke' those 'scripts' directly, by
    using sockets; If you know that they're existing in one
    particular directory of a network system, all you can do is
    you can read the file content thru' socket, but you can't
    make it become 'alive' and it would not dance for u!
    Because, if there is a 'script' [PHP/ASP/CGI/JSP] that is
    meant for dancing, then the stage for dancing is provided
    by the web-server environment which starts the appropriate
    server-side process that can understand and interpret the
    given script! And all we can do is asking the web-server
    to pull the 'script' to the stage and dance for you! But,
    the 'asking' the webserver can be done thru' browser or
    a URLConnection! If what you want to do would have been
    possible, then, just with FTP we could have achieved the same!
    Easy Go Jolly Java!
    -RK

  • Need help on integrating htmldb with asp/jsp/php

    Hello there, we have a few existing htmldb applications running at the moment, and now we would like to develop some asp/jsp/php applications. However there is one issue we still haven't solved yet, which is the SESSION(Login) problem. We don't know how the session is being generated, how to pull out session values manually from db etc etc.
    If you have done this before or any ideas, will be much appreciated.
    Thanks very much
    James

    James,
    sometimes it makes sense to look at these things from a different (and broader) perspective.
    Especially in a context of a corporation it makes sense to use a Single Sign On (SSO) server for authentication (usually against LDAP) . Something like Netegrity Siteminder, Oracle SSO Server (as part of Oracle Internet Application Server) or something similar.
    Then you could have all your applications use the authentication method of the SSO server which will keep track of the valid session and the applications that participate in the SSO context.
    On the Apex side you would have to write a custom authentication scheme to leverage that functionality, the session handling will no longer be of any concern to you.
    Just a different way to look at it.
    ~Dietmar.

  • Going from ASP TO PHP

    I have been with this company for the past 10 years and NOW
    they are no longer going to support ASP and they are only going to
    focus on PHP. Is there a program that will convert asp to php? Is
    this even something I should attempt as I do not know any coding
    except what I have learned along the way. Thank you in advance.

    > Besides with PHP you get David Powers; who could ask for
    more :)
    Indeed.
    What I really like about PHP is that I can do in one or two
    commands what
    would take me 8 or 10 lines of code in VBScript. And David
    Powers.... 8)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "JBWebWorks" <[email protected]> wrote in
    message
    news:ghc4rf$ro3$[email protected]..
    >I was an ASP user for many years and switched to PHP and
    am very glad that
    >I
    > did. I used Web Assist and continue to do so and have
    learned to develop
    > somewhat where any extension would not do what i wanted.
    I have found PHP
    > to be
    > much easier to learn beyond the basics (especially in db
    connections).
    > i have moved dozens of sites from ASP to PHP and there
    was no transfer
    > available that i could find, so i just started page by
    page. I have found
    > that
    > PHP has been more reliable.
    > I saw the posting thread on WA about not supporting ASP
    but feel that i
    > surely
    > have gotten my moneys worth out of the extensions that i
    bought and they
    > all
    > transferred to PHP.
    > Besides with PHP you get David Powers; who could ask for
    more :)
    >
    >
    >

  • GoLive CS y contenido dinámico: páginas ASP y PHP

    Alguien sabe si en la versión de GoLive CS ha desaparecido la utilidad de contenido dinámico?, me refiero a crear páginas ASP o PHP con consultas a bases de datos. No la encuentro en ninguna de las opciones, ni hay ninguna alusión en la ayuda. Me extraña mucho que hayan prescindido de esta utilidad porque en las tres últimas versiones de GoLive la fueron mejorando.
    Muchas gracias.

    Hola Miguel
    Pues sí, GoLive CS viene sin su "Contenido Dinamico"
    En los foros de GoLive en ingles, es un tema muy discutido, y existe una peticion firmada (?) por varios usuarios de GoLive, los cuales piden que lo reinstalen.
    Veremos que pasa con CS 2.
    Lo siento, pero si tienes el "6", no lo quites de tu computadora.
    Saludos
    Daniel Ulysses

  • Convert ASP to PHP

    Any recommendations to convert this asp to php/mysql?

    Yes, learn PHP and re-write the code.
    Paul Davis
    http://www.kaosweaver.com/
    Visit us for dozens of useful Dreamweaver Extensions.
    http://www.communitymx.com/
    Partner at Community MX - Extend your knowledge
    jsteinmann wrote:
    > Any recommendations to convert this asp to php/mysql?
    >
    > <%@LANGUAGE="VBSCRIPT"%>
    > <!--#include file="Connections/cnConn.asp" -->
    > <%
    > if request.form <> "" then
    >
    > dim username, password, DateExpire
    > username = request.form ("username")
    > password = request.form ("password")
    >
    > set rs = Server.CreateObject("ADODB.Recordset")
    > rs.ActiveConnection = MM_cnConn_STRING
    > rs.Source = "SELECT * FROM members WHERE username = '" +
    Replace(username,
    > "'", "''") + "'" & "AND Password = '" +
    Replace(password, "'", "''") + "'"
    > rs.CursorType = 0
    > rs.CursorLocation = 2
    > rs.LockType = 3
    > rs.Open()
    > rs_numRows = 0
    >
    > session("username") = request.form("username")
    > session("password") = request.form("password")
    >
    > if rs.eof or rs.bof then
    > response.redirect "logon2.asp"
    > else
    >
    > expire = rs("MemberExpire")
    > ip = rs("ip")
    > ip2 = rs("ip2")
    > ccbillcustomer = rs("ccbillcustomer")
    > session("id") = rs("id")
    > session("firstName") = rs("firstName")
    > session("LastName") = rs("LastName")
    > session("MemberID") = rs("username")
    > session("memberStatus") = rs("memberStatus")
    >
    > end if
    >
    > rs("LastLogin") = date()
    > rs("ip2") = Request.ServerVariables("REMOTE_HOST")
    > rs.Update
    >
    > if username = "" THEN
    > response.redirect "join.asp"
    > elseif session("firstname") <> "" and
    session("lastName") <> "" and
    > session("memberStatus") = "suspended" THEN
    > response.redirect "account_update.asp"
    > elseif session("firstname") <> "" and
    session("lastName") <> "" and expire <
    > date() THEN
    > response.redirect "join_renew.asp"
    > elseif session("firstname") <> "" and
    session("lastName") <> "" and expire =>
    > date() THEN
    > response.redirect "members/index.asp"
    >
    > else
    > response.redirect "login.asp?err=true"
    >
    > end if
    > end if
    > %>
    > <%
    > rs.Close()
    > Set rs = Nothing
    > %>
    >

  • Asp and php upload code

    does any one have the code for upload-file form in asp,
    asp.net and php?
    files-path must go to an access database and the file to a
    folder, or is this not possible?
    many thanks

    Yes. OS X is a great webserver.
    OS X includes the Apache web server, so for basic pages there is no need to install anything. However, I recommend that you use Marc Liyanage's PHP package from http://www.entropy.ch/software/macosx/php/. It's really easy to install, and you can also use it with MySQL quite easily.
    If you want something else, XAMPP is also available for OS X at http://www.apachefriends.org/en/xampp.html. There even is a package called MAMP at http://www.mamp.info/. I haven't used these packages much, because the stuff mentioned in the previous paragraph suit my local testing needs.
    Unfortunately, I've never heard of people running ASP on mac. I doubt it's possible, but maybe someone else can help you out with that.

  • Calling LabView from ASP or PHP ?

    Hi;
    I was wondering if someone could help me.
    I need to control a spectrum analyzer remotely.. The VI's are ready, and I would Like to call/Run them from ASP/PHP in order to enable the remote client to interact with the VI's via a normal Web Browser.
    Tips:
    client should be able to send the VI's some data(variables).
    Get the results back and display it on the web page.
    Kind Regards
    K.S.
    Student

    In that case, you might want to check http://www.jeffreytravis.com/. He has a book called "Internet Applications in LabVIEW". The book was written before 6.0 introduced remote panels. There's also an application there available for download called LabVNC that might work for you. I haven't tried it but it sounds like it would do the trick.

  • Dreamweaver 8 with ASP, Coldfusion, & PHP

    I am new to php and I am trying to work thru Dreamweaver 8
    with ASP, Coldfusion and PHP Training from the Source. I have a
    real simple form. A user enters their first and last name then
    clicks the submit button. The form is then processed with a script
    using $_GET[first_name]; $_GET[last_name]; and it should display
    "Thank you, first_name last_name, for using my form." But the page
    show the html with a Notice: Undefined index: first_name in
    C:\htdocs\newland\test_form_processor.php on line 9. Line nine is -
    <p>Thank you, <?php echo $_GET['first_name']; ?>
    <?php echo $_GET['last_name']; ?>, for filling out my
    form.</p>. This was accomplished using the binding panel in
    DW. There is not any kind of trouble shooting in the book. Can
    someone tell me what this means? It worked like it is supposed to
    work when I had just the first name.

    Charles67 wrote:
    > I am new to php and I am trying to work thru Dreamweaver
    8 with ASP,
    > Coldfusion and PHP Training from the Source.
    I don't have a copy of that book. I wrote my own instead. ;-)
    > Notice: Undefined index: first_name in
    > C:\htdocs\newland\test_form_processor.php on line 9.
    Line nine is - <p>Thank
    > you, <?php echo $_GET['first_name']; ?> <?php
    echo $_GET['last_name']; ?>, for
    > filling out my form.</p>.
    It means that the first_name variable isn't being passed from
    the form.
    PHP is case-sensitive. Your form needs to look something like
    this:
    <form name="form1" id="form1" method="get"
    action="test_form_processor.php">
    <p>First name: <input type="text" name="first_name"
    id="first_name" /></p>
    <p>Last name: <input type="text" name="last_name"
    id="last_name" /></p>
    <input type="submit" name="submit1" id="submit1"
    value="Send" />
    </form>
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • ASP problem -- PHP Wordpress site

    I have been asked to redo a site that is in .asp format;
    however, I host on Unix and do only phpmysql sites. The site is a
    law firm that is a subsidiary of a larger national firm and uses a
    form protected by an SSL. How can I possibly create a Wordpress or
    Joomla site for this without changing hosting?

    "Paevo Kelley" <[email protected]> wrote in
    message
    news:g3ovpd$hcm$[email protected]..
    >I have been asked to redo a site that is in .asp format;
    however, I host on
    > Unix and do only phpmysql sites. The site is a law firm
    that is a
    > subsidiary of
    > a larger national firm and uses a form protected by an
    SSL. How can I
    > possibly
    > create a Wordpress or Joomla site for this without
    changing hosting?
    unless their current host supports PHP and mySQL, you're
    probably going to
    have to change hosts. And if they have an SSL that's been
    generated for an
    IIS server, you're more than likely going to have to get that
    certificate
    re-issued for the new Apache server. Or is that form on their
    nat'l firm's
    site and not their local site?

  • DW8 with ASP,ColdFusion,PHP

    Just wondering if anyone else has had this problem with
    Bardzell's fine book. In Chapter 10, Building the Tour
    Descriptions, I can't build the first recordset where you SELECT *
    FROM tbl_tours because I get an unidentified error. I managed to
    isolate the error to the "exerciseReqd" column - when I browse the
    table in phpMyadmin that row looks very odd with incomplete lines
    and empty spaces in some fields. I simply deleted that column and
    the recordset worked. Then I just continued on since its not
    imperative for the lesson to have that column. Just wondering what
    might have caused the problem.

    What's the author's title and edition published with which
    publisher? I am curious about that one and do bit of research.
    Curious. Have you ever heard of David Powers' books called
    "PHP Solutions" or PHP for Dreamweaver 8" which were published with
    Apress (friends of ED). The book "PHP Solutions" recently published
    and released to the booksellers only few weeks ago.
    I highly recommend this world-class author David Powers. His
    books are well-written, documented in a clear, concise with more
    thorough, detailed steps in those two books.
    I think you find his books are very useful tool/resource.
    quote:
    Originally posted by:
    tbilly
    Just wondering if anyone else has had this problem with
    Bardzell's fine book. In Chapter 10, Building the Tour
    Descriptions, I can't build the first recordset where you SELECT *
    FROM tbl_tours because I get an unidentified error. I managed to
    isolate the error to the "exerciseReqd" column - when I browse the
    table in phpMyadmin that row looks very odd with incomplete lines
    and empty spaces in some fields. I simply deleted that column and
    the recordset worked. Then I just continued on since its not
    imperative for the lesson to have that column. Just wondering what
    might have caused the problem.

  • DW8 with ASP, CF, & PHP (not so) "Live Data"

    I have been working through this book and it's great.
    However, the first time Mr. Bardzell didn't anticipate a potential
    problem and its probable cause --of which I'd had none up to this
    point-- was the first time I
    did. Whenever I try to turn on Live Data, DW returns and
    alert that reads:
    Dreamweaver could not properly convert the live page from the
    web server.
    The pages have been fine in the browser. So, I kept on going.
    now I'm in lesson 10 and he recommends checking dynamic input
    frequently. I've checked, rechecked, redone, reinstalled, and then
    did it all again--and a third time--NOTHING. And no mention of this
    problem in any of the forums, articles, books, help files, etc.
    Help please?!

    I have been working through this book and it's great.
    However, the first time Mr. Bardzell didn't anticipate a potential
    problem and its probable cause --of which I'd had none up to this
    point-- was the first time I
    did. Whenever I try to turn on Live Data, DW returns and
    alert that reads:
    Dreamweaver could not properly convert the live page from the
    web server.
    The pages have been fine in the browser. So, I kept on going.
    now I'm in lesson 10 and he recommends checking dynamic input
    frequently. I've checked, rechecked, redone, reinstalled, and then
    did it all again--and a third time--NOTHING. And no mention of this
    problem in any of the forums, articles, books, help files, etc.
    Help please?!

  • ASP / PHP pages: How to get streaming info from a XML file?

    Hi all
    I am using Adobe Flash Media Streaming Server 3.5 but I can't find any output file (fx a xml file) that I can pull out info from and use on my website via a PHP or ASP script. It could be nice - in the website - to retrieve info like "online users attending", "running / streaming state" (online or offline) and other relevant info about the streaming, so I on the website can display how many that are online when a webtv event is streaming.
    I see the the info when I login at the web admin for FMS, but I need a solution that can work with ASP or PHP.
    I simply can't find any file / address to get this kind or output out of FMS - can you help?
    Thank you
    Kind regards,
    Jens

    hi,
    can you share php code for grabbing data. i make php code using "simplexml_load_file" but the problem is it takes 2-3 minutes before it show the result. i want to monitor the current video if stop feeding.
    http://server1:1111/admin/getLiveStreams?auser=admin&apswd=admin&appInst=appname
    xml
    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <result> 
    <level>status</level> 
    <code>NetConnection.Call.Success</code>
    <timestamp>3/21/2015 7:47:17 AM</timestamp>
    <name>_defaultRoot_:_defaultVHost_:::_0</name>
    <data> 
    <_0>appname</_0> 
    </data>
    </result>
    here;s my php code:amsstats.php
    <?php
        $result = simplexml_load_file("http://server1:1111/admin/getLiveStreams?auser=admin&apswd=admin&appInst=appname");
        echo $result->data[0]->_0;
    ?>
    result:
    http://server2/stats/amsstats.php

Maybe you are looking for