BAPI_SALESORDER_CREATEFROMDAT2 and BAPI_TRANSACTION_COMMIT in php

Hi,
I'm trying to create salesorder in php with rfc BAPI_SALESORDER_CREATEFROMDAT2. I call it through webservice with php soap call. It works ok as I get response that order created with some number. However order is not created in sap. I also run BAPI_TRANSACTION_COMMIT but with no help.
I have found some description about the issue describing createTID or session locking in bc, but it didn't help.
Question is how can it be done in php? I'know it's possible to create z_rfc to run both but it should also be possible to run both create and commit in php as well.
(I have r/3 4.7/6.20)
I'd appreciate a lot any insight into this,
erki

I found following but it does not help in php side:
>You can also try:
>1. pub.sap.client:createTID and assign created tid to >variable $tid
>2. INVOKE sap.map:outbound for your BAPI and assign >created tid in step 1 to parameter $tid
>3. pub.sap.client:confirmTID and assign created tid in >step 1 to parameter $tid
and
>You should try adding service pub.sap.client:lockSession >before you call the BAPI BAPI_BUPA_CREATE_FROM_DATA. Then >you call the BAPI_TRANSACTION_COMMIT and the last step is >to call pub.sap.client:releaseSession.
so do you know if it is possible to achieve similar result in php?
I have no java installed on server. I create new soap client with
          $client = new SoapClient($wsdl,...
for both rfc-s and I then run these webservices. Is there a possibility to run two webservices with different wdsl in one soapclient? Possibly not but one can hope
br
erki

Similar Messages

  • Is it possible to extract the text and images using PHP

    Hi friends,
    Is it possible to extract the text and images using PHP, in the same order as it is in the PDF?
    Else is it possible extract the same as XML using PHP, or ASP
    I googled it but its in vain, any help is appreciated.
    Thanks in advance.

    Dear Mike,
    Thanks for your quick reply,
    I mean is it possible to parse the PDF line by line using the PHP.
    I extracted the whole text but couldn't the images. Since the PDF's images are decoded using various methods like DCTDecode, JPXDecode, etc.
    The text is decoded with FlateDecode, which i breaked using a function in PHP.
    Thanks,

  • DI Server installation and connection with PHP

    hello,
      We've installed DI Server, started it, but the WSClient file comming with the installation doesn't work.
    a) Is the IIS needed for the DIServer to work?
    If not, what do I need to do to be able to connect to the DIServer. There's no WSDL file with the DIServer.
    b) Do I need to create my own WSDL file and put it on a Web folder?
    I say this because I'm trying to connect with PHP to the server and PEARClient from PHP needs an URL (normally the WSDL file) to connect. It's just too confusing and there is no much help in the documentation.
    thanks and greetings,
    Guillem Barnolas.
    www.softime.es

    DI server provides you a simple COM interface that
    accepts SOAP commands and returns you SOAP reply.
    The format of these SOAP messages is in the SDK
    documentation.
    You should build your own web infrastructure on
    top of this mechanism.

  • Coolstack: Difficulty enabling cURL and Tidy in PHP

    Hello:
    I've been trying to enable curl and Tidy in PHP. I was successful in getting curl running by adding the following to php.ini:
    extension="curl.so"
    However, after restarting Apache, I was seeing a warning in error_log that indicated libcurl.so.3 could not be found. I was able to locate a version of this file in /opt/staroffice8/program/libcurl.so.3, and after I copied it to /usr/lib, curl worked fine. Not an ideal fix, but I could not locate libcurl.so.3 in any download repository on sun.com.
    Interestingly, I noticed that phpinfo() indicates that curl is already compiled into PHP 5 - here's an excerpt from my PHP configure command:
    './configure'
    <snip>
    '--with-curl=shared,/opt/coolstack'
    It seems like I'm going about this wrong. On a related note, I also want to enable Tidy, and did so by adding the following to php.ini:
    extension="tidy.so"
    Again, this caused apache produce a warning in error_log looking for libtidy-0.99.so.0, and again, I have the following in my PHP configure command:
    './configure'
    <snip>
    '--with-tidy=shared,/opt/coolstack'
    Any insight into enabling these extensions would be greatly appreciated.
    Dave

    Open /etc/php/php.ini and find this:
    ; available extensions
    ;extension=bcmath.so
    extension=bz2.so
    ;extension=calendar.so
    extension=curl.so
    Make sure curl.so is uncommented.  If it's not, change your config then restart the webserver.
    Last edited by Endperform (2008-06-29 21:35:16)

  • BAPI_SALESORDER_CREATEFROMDAT2 and ORDER_CONDITIONS_IN with sapnwrfc (perl)

    Hi,
    with sapnwrfc packet from Piers Harding (v0.31) I try to create a salesorder within a perl script.
    Without using table ORDER_CONDITIONS_IN my salesorder is created successfull in SAP.
    Now I want to commit pricing information. Therefor I used ORDER_CONDITIONS_IN with syntax:
    $rc->ORDER_CONDITIONS_IN([{'COND_P_UNT'=>'1', 'CURRENCY'=>'EUR', 'COND_TYPE'=>'PR00', 'ITM_NUMBER'=>'000010', 'COND_VALUE'=>'22'}]);
    SAP returned an error: BCD_BADDATA
    So I thought something wrong with COND_P_UNT or COND_VALUE because these have to be BCD packed values.
    Now I tried something like
    pack("H*", "22")
    for COND_VALUE and so on. But without success.
    Some values I commited in table ORDER_ITEMS_IN are marked as BCD but I have to send them in "plain" text, no pack function to call...
    So, did you have any idea for solving my problem?
    Is it possible that another (incomplete) table is responsible for my problem?
    Or do you think the reason is dedicated to table ORDER_CONDITIONS_IN?
    Any help or suggestion appreciated!
    Regards,
    Patrick

    Hi David,
    yes, I tried it in your given syntax.
    Here my actual code but with seperatly build arrays.
    I had to restructure beacause of many loops.... But finally thats what I did.
    Lines marked with '#!' are specific and have to be adapted to your system.
    Uncommenting the line where populating ORDER_CONDITIONS_IN produces the error.
    use Data::Dumper;
    use sapnwrfc;
    my @orderHeaderIn;
    my @orderPartners;
    my @orderItemsIn;
    my @orderSchedulesIn;
    my @orderCfgsInst;
    my @orderConditionsIn;
    $orderHeaderIn->{DOC_TYPE} = 'ZRAS'; #!
    $orderHeaderIn->{SALES_ORG} = '055'; #!
    $orderHeaderIn->{DISTR_CHAN} = '01'; #!
    $orderHeaderIn->{DIVISION} = 'IE'; #!
    $orderHeaderIn->{REQ_DATE_H} = '20101231';
    $orderPartners->[0]{PARTN_NUMB} = '0000008759'; #!
    $orderPartners->[0]{PARTN_ROLE} = 'AG'; #!
    $orderItemsIn->[0]{ITM_NUMBER} = '000010';
    $orderItemsIn->[0]{PLANT} = '0551'; #!
    $orderItemsIn->[0]{MATERIAL} = '000000000000368388'; #!
    $orderItemsIn->[0]{ORDERID} = '000552551003'; #!
    $orderItemsIn->[0]{PURCH_DATE} = '20101030';
    $orderItemsIn->[0]{TARGET_VAL} = '22';
    $orderItemsIn->[0]{BILL_DATE} = '20101030';
    $orderItemsIn->[0]{TARGET_QTY} = '22';
    $orderSchedulesIn->[0]{ITM_NUMBER} = '000010';
    $orderSchedulesIn->[0]{REQ_QTY} = '22';
    $orderCfgsInst->[0]{QUANTITY_UNIT} = 'STZ'; #!
    $orderConditionsIn->[0]{ITM_NUMBER} = '000010';
    $orderConditionsIn->[0]{COND_VALUE} = '22';
    $orderConditionsIn->[0]{CURRENCY} = 'EUR';
    $orderConditionsIn->[0]{COND_P_UNT} = '1';
    $orderConditionsIn->[0]{COND_TYPE} = 'PR00'; #!
    SAPNW::Rfc->load_config('path_to_sap.yml'); #!
    my $con = SAPNW::Rfc->rfc_connect;
    my $rd = $con->function_lookup("BAPI_SALESORDER_CREATEFROMDAT2");     
    my $rc = $rd->create_function_call;
    $rc->ORDER_HEADER_IN($orderHeaderIn);
    $rc->ORDER_PARTNERS($orderPartners);
    $rc->ORDER_ITEMS_IN($orderItemsIn);
    $rc->ORDER_SCHEDULES_IN($orderSchedulesIn);
    $rc->ORDER_CFGS_INST($orderCfgsInst);
    #$rc->ORDER_CONDITIONS_IN($orderConditionsIn);
    $rc->invoke;
    print "salesdocument: ".$rc->SALESDOCUMENT."\n";
    print "RetVal: ".Dumper(@{$rc->RETURN})."\n";
    $rd = $con->function_lookup("BAPI_TRANSACTION_COMMIT");
    $rc = $rd->create_function_call;
    $rc->WAIT("x");
    $rc->invoke;
    $con->disconnect;
    I already set trace to 1 in sap.yml. Now I will try with a higher value.
    Thanks for that hint.

  • How to get system time and date with PHP

    Dear Mr.Craig,
      Thanx a lot. We are running SRM 5.0 (RAMP - Implementation).
      My initial requirement is to write a server-side script to display server date and time. Could you give more inside on how to achieve it?
    Regards,
    Deva.

    Perhaps that will help.
    [code]
    <html>
    <h1>Access System time and date</h1>
    <?
         // saprfc-class-library     
         require_once("saprfc.php");
         $sap = new saprfc(array(
       "logindata"=>array(
       "ASHOST"=>"localhost"          // application server
       ,"SYSNR"=>"00"                    // system number
          ,"CLIENT"=>"000"               // client
          ,"USER"=>"bcuser"               // user
          ,"PASSWD"=>"minisap"          // password
         ,"show_errors"=>false               // let class printout errors
         ,"debug"=>false)) ;                     // detailed debugging information
         $result=$sap->callFunction("MSS_GET_SY_DATE_TIME",
            array(     array("EXPORT","SAPTIME",array()),
               array("EXPORT","SAPDATE",array())));
         if ($sap->getStatus() == SAPRFC_OK) {
        echo "Time: ".$result["SAPTIME"];
        echo "<br>Date: ".$result["SAPDATE"];
        echo "<br>or<br>";
        echo "Server is showing: "
             .substr($result["SAPDATE"], 0, 4)
             ."-".substr($result["SAPDATE"], 4, 2)
             ."-".substr($result["SAPDATE"], 6, 2)
             ." and "
             .substr($result["SAPTIME"], 0, 2)
             .":".substr($result["SAPTIME"], 2, 2)
             .":".substr($result["SAPTIME"], 4, 2);
         } else {
              $sap->printStatus();
         $sap->logoff();
    ?>
    [/code]

  • BAPI_SALESORDER_CREATEFROMDAT2 and FI/FM checks

    Hi, i am using BAPI_SALESORDER_CREATEFROMDAT2 to create sales orders.  I added field cost center to the item segment.  When i post  against a blocked cost center i do not get an error.  I should be getting an error that the cost center is blocked for posting.  Is anybody familiar with the integration of this BAPI with FM ?  I know the BAPI calls the "accounting interface".  How do i get the BAPI to perform codig block verifications so that an errror comes up  when the costcenter ( or any coding block field ) is blocked for posting ?
    thanks for all the help

    Hi Friend,
    The BAPI does not check preceding document for price.
    Please check program is passing proper condition type and price to the BAPI parameter ORDER_CONDITIONS_IN. And also check ORDER_CONDITIONS_INX is getting populted with proper values.
    Hope it will help you.
    Regards
    Krishnendu

  • BAPI_SALESORDER_CREATEFROMDAT2 and Sales Contract

    We're having trouble with BAPI_SALESORDER_CREATEFROMDAT2 getting a corresponding sales contract price.
    For some reason the BAPI can not get a price from corresponding sales contract.There is a statement in the standard SAP program that checks if there is a function call and skips a peice of logic I think is checking for preceding sales document.
    I couldnu2019t find any OSS note that will fix this.It seems like a pretty common business scenario. Has anyone run into this before, and if so, how did you fix it?

    Hi Friend,
    The BAPI does not check preceding document for price.
    Please check program is passing proper condition type and price to the BAPI parameter ORDER_CONDITIONS_IN. And also check ORDER_CONDITIONS_INX is getting populted with proper values.
    Hope it will help you.
    Regards
    Krishnendu

  • BAPI_SALESORDER_CREATEFROMDAT2 and Returns, RMA

    Hello all.  I'm glad to see this forum doing so well.
    Have any of you used the BAPI_SALESORDER_CREATEFROMDAT2 to create an RMA (returned goods) doc type RE?  This is my current task and I'm hitting a wall in my initial tests.  I've done plently of work with this bapi for creating orders (doc type TA) but never a return.
    Returns are created with reference to the original order.  This is the main difference at the document entry level.  When I try to create an RE type document, I get an error: [E V1 761 Unpermitted combination of business object BUS2032 and sales doc. category H]
    First of all, is doc_type RE correct or is there some converted value I should be using?
    I have not filled in the REFOBJTYPE, REFOBJKEY, or REFDOCTYPE yet.  So the first test is to create a return without reference.  Later, I will create one with reference.  Are these fields used for setting the reference or do I leave those blank and just fill in the REF_DOC field?
    Thank you for tips.  If anyone needs help with VB or ASP calling this BAPI, I can help you there.
    Thanks.
    Crew Reynolds
    Software Development Manager
    Daydots

    Same issue I was getting.  I'm not sure if BAPI_SALESORDER_CREATEFROMDAT2 can create a return.  I don't know why since both that BAPI and the BAPI_CUSTOMERRETURN_CREATE functions are both just wrappers for SD_SALESDOCUMENT_CREATE.  I have been able to create returns with BAPI_CUSTOMERRETURN_CREATE.
    These parameters passed into BAPI_CUSTOMERRETURN_CREATE produce a valid return based on our configuration.
    RETURN_HEADER_IN                                
    -DOC_TYPE     RE        
    -SALES_ORG    0010      
    -DISTR_CHAN   10        
    -DIVISION     10        
    -PURCH_DATE   07/13/2004
    -INCOTERMS1   3-5       
    -INCOTERMS2   ORIGIN    
    -PMNTTRMS     NT00      
    -DLVSCHDUSE   QA1      
    RETURN_ITEMS_IN                                          -ITM_NUMBER    000000                
    -MATERIAL      20409-03-11           
    -TARGET_QTY    1.000      
    RETURN_PARTNERS                                          -PARTN_ROLE    SP                        
    -PARTN_NUMB    1002                      
    -ITM_NUMBER    000000                    
    Hope that helps.

  • Jumping in and out of PHP

    Sorry this is a bit long winded.
    I have a single MySQL table holding Volunteer's information and their assigned activity and am able to display a list of Volunteer's names and link from the Volunteer's name to an information page which displays all the Volunteer's info using an index called "volunteernumber" and passed as a URL parameter. This is working fine. I also have a web page that shows a list of Volunteers names categorized by their assigned activity - and this works fine.
    It will help my users to be able to combine the functionality so they can use the categorized list of Volunteer names and click on the volunteer's name to go to a page displaying the volunteer's information. Sorry I can't give you a link to the page as it contain personal contact info. The problem I'm having is that the parameter "volunteernumber" is not being added to the url generated by the <a href=....... code.
    Below is the code that displays the categorized list of Volunteers names without a link - this code works correctly.
    <?php
    // initialize a variable to store the previous activity
       $previous = ' ';
       do { 
             if ($row_rsVolunteersFriday['assignedactivity'] != $previous)
                     echo "<b>".$row_rsVolunteersFriday['assignedactivity']."</b><br>"; 
                    echo $row_rsVolunteersFriday['firstname']." "; 
                    echo $row_rsVolunteersFriday['lastname']."<br>";
    // store the current name in the $previous variable
                   $previous = $row_rsVolunteersFriday['assignedactivity'];
               } else
                  { echo $row_rsVolunteersFriday['firstname']." "; 
                    echo $row_rsVolunteersFriday['lastname']."<br>";
    ?>
      <?php } while ($row_rsVolunteersFriday = mysql_fetch_assoc($rsVolunteersFriday)); ?>
    Here is the code that fails to add volunteernumber to the URL parameter, it generates a link containing www.hollisterairshow.com/admin/"showvolunteer.php?volunteernumber=   NOTE it generates a spurious quote in the middle of the URL and does not append the parameter 'volunteernumber'.
    Note for test purposes I only altered the code that displays the hyperlink when the categorized activity has not changed i.e. the code that occurs after the "else". I have bolded this code below
    <?php
    // initialize a variable to store the previous activity
       $previous = ' ';
       do { 
             if ($row_rsVolunteersFriday['assignedactivity'] != $previous)
                { echo "<b>".$row_rsVolunteersFriday['assignedactivity']."</b><br>"; 
                 echo $row_rsVolunteersFriday['firstname']." "; 
                 echo $row_rsVolunteersFriday['lastname']."<br>";
    // store the current name in the $previous variable
                $previous = $row_rsVolunteersFriday['assignedactivity'];
                } else
    ?>
                     <a href  = ”showvolunteer.php?volunteernumber=
                     <?php echo $row_rsVolunteersFriday['volunteernumber']; ?>&tab=3" title="Show Volunteer Information">
                     <?php echo $row_rsVolunteersFriday['firstname']." ".$row_rsVolunteersFriday['lastname']; ?></a><br />
    <?php
    ?>
    <?php } while ($row_rsVolunteersFriday = mysql_fetch_assoc($rsVolunteersFriday));
    ?>
    I'm using DW CS4 with PHP and MySQL.
    Thanks for any assistance, I've been staring at this for hours and can't see what I did wrong.
    Tony

    Never mind !! I found it and fixed it.
    In case anyone else has this problem it turned out that when I copy/pasted some code I stupidly did some editing
    in MS Word then copy/pasted from Word to DW Code view. This inserted an extraneous
    new line and converted the leading quote into something that looked like a quote and wasn't.....sigh

  • Having Truble Reading and Echoing Using PHP in HTML. Possible Variable Scope Problem?

    Hey guys,
       Thanks for your always knowledgable help! Today I am working with displaying text from a text file in an HTML table using PHP. I can't get the data to display properly, I think it has something to do with the scope of the variables, but I am not sure. Here is the code I am struggeling with:
    <table width="357" border="1" cellspacing="0" cellpadding="0">
      <tr>
        <td width="165">Pizza 1</td>
        <td width="186"><? echo  $price['0']; ?></td>
      </tr>
      <tr>
        <td>Burger 1</td>
        <td><? echo $price['1']; ?></td>
      </tr>
      <tr>
        <td>Drink 1</td>
        <td><? echo $price['2']; ?></td>
      </tr>
    </table>
    In the above PHP (not shown) the array $price is filled properly (I tested by echoing each bit line by line) but by the time we get into the HTML it seems the array is empty or it is not liking how I am calling it. Does the scope of a PHP variable end with the closing "?>" tag? Am I missing something? Bellow is the full code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    body {
        background-color: #333;
        color: #FFF;
    </style>
    </head>
    <body>
    <?php
    $menu=fopen("prices.txt","r") or exit("Unable to open file!");
    $price=array();
    $priceposition=null;
    $tempstring;
    //This loop does all of the READING and populating of variables
    while(!feof($menu))
        //Check to see if this is the first pass, if not add one to the array possition
        if ($priceposition==null){
            $priceposition=0;
        else{
        $priceposition++;
        //populate the temparary string
        $tempstring = fgets($menu);
        //Populate the array if the temporary string is not a comment
        if(substr($tempstring,0,2) != "//"){
            $price['$priceposition']= $tempstring;
            echo $price['$priceposition'];
      //End of reading loop
    fclose($menu);
    ?>
    <table width="357" border="1" cellspacing="0" cellpadding="0">
      <tr>
        <td width="165">Pizza 1</td>
        <td width="186"><? echo  $price['0']; ?></td>
      </tr>
      <tr>
        <td>Burger 1</td>
        <td><? echo $price['1']; ?></td>
      </tr>
      <tr>
        <td>Drink 1</td>
        <td><? echo $price['2']; ?></td>
      </tr>
    </table>
    </body>
    </html>
    and you can run the code on my test server here: christianstest.info/phptest/readwritetesting/readtest.php
    thanks guys!

    MurraySummers wrote:
    Try changing this -
    fclose($menu);
    to this -
    fclose($menu);
    echo "<pre>";exit(print_r($price));
    and see what you get.
    Wow, what a great little peice of testing code, thanks! That showed me the problem right away! Is there any way to test your php line by line in Dreamweaver CS6? I am used to computer programing in Visual Studio and Eclipse where they have an option of running code line by line and seing how variables populate and change with each line of code execution. Or is thier a program that can do this for PHP?

  • Java and HTML or PHP question

    I am not sure of my best course of action and would appreciate some input. My problem is this. I have written an application in java that communicates with a
    micro controller and passes information back and forth.I read info from sensors and relays and make changes to them. My current GUI is set up with tables to
    display this info. I am in the process of creating a graphics based interface to display the information in a web page but I am having trouble getting my
    java program to update the HTML page. I have considered using java to update a database with values and then reading the database with PHP and updating the
    HTML but I do not know how to get the java to run the PHP. I can use the java.awt.desktop API to display the html but I cant get it to display the .php files
    due to the server issues with PHP. I am not sure what I am looking for here. Javascript? AJAX? What I want is for the user to push a button that loads a
    web page and have java read that html file to determine which specific values to update, then update specific text boxes with those values from the
    micro controller. I already have the communication with my current java program. I know this is all a little confusing and convoluted and I apologize for
    that. I am just having a tough time formulating a plan of attack. Any ideas?
    Thanks in advance,
    Ray
    Any ideas are welcome and greatly appreciated.

    I am not sure of my best course of action and would appreciate some input. My problem is this. I have written an application in java that communicates with a microcontroller and passes information back and forth.I read info from sensors and relays and make changes to them. My current GUI is set up with tables to display this info. I am in the process of creating a graphics based interface to display the information in a web page but I am having trouble getting my java program to update the HTML page. I have considered using java to update a database with values and then reading the database with PHP and updating the HTML but I do not know how to get the java to run the PHP. I can use the java.awt.desktop API to display the html but I cant get it to display the .php files due to the server issues with PHP. I am not sure what I am looking for here. Javascript? AJAX? What I want is for the user to push a button that loads a webpage and have java read that html file to determine which specific values to update, then update specific text boxes with those values from the microcontroller. I already have the communication with my current java program. I know this is all a little confusing and convoluted and I apologize for that. I am just having a tough time formulating a plan of attack. Any ideas?
    Thanks in advance,
    Ray
    Any ideas are welcome and greatly appreciated.

  • Dreamweaver and Coldfusion or PHP

    Hi..
    I am setting up a user generated video site with online
    registration and flash video using alot of social media tagging
    type services. I'm new to web design and am using Dreamweaver to
    get me started. I am looking at using mySQL as the database and a
    specific company for the streaming hosting (any recomemndations
    welcome).
    My question is should I use PHP (which is free) as the
    application server or should I use Coldfusion (more expensive)?
    How well and importantly simply does either work with and
    when using Dreamweaver?
    If PHP works well with Dreamweaver for a beginner then I will
    go for this (is cheaper) but does anyone have any views on
    experience on PHP with dreamweaver?
    any help really appreciated
    Dan

    Both PHP and CF are lead-pipe simple with DW. Both are
    robustly supported.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "stumpppppppppp" <[email protected]> wrote
    in message
    news:ermjf1$7s7$[email protected]..
    > Hi..
    >
    > I am setting up a user generated video site with online
    registration and
    > flash
    > video using alot of social media tagging type services.
    I'm new to web
    > design
    > and am using Dreamweaver to get me started. I am looking
    at using mySQL as
    > the
    > database and a specific company for the streaming
    hosting (any
    > recomemndations
    > welcome).
    >
    > My question is should I use PHP (which is free) as the
    application server
    > or
    > should I use Coldfusion (more expensive)?
    >
    > How well and importantly simply does either work with
    and when using
    > Dreamweaver?
    >
    > If PHP works well with Dreamweaver for a beginner then I
    will go for this
    > (is
    > cheaper) but does anyone have any views on experience on
    PHP with
    > dreamweaver?
    >
    > any help really appreciated
    >
    > Dan
    >
    >
    >

  • Where to go next with Dreamweaver and server-side (php/mysql) applications?

    This question is mainly directed at David Powers but  I appreciate any input from anyone with the same concern or question.
    I've been using DW since the change from Macromedia and have developed a number of applications using built in server behaviors and sb extensions from ADDT, WebAssist, etc. I've learned to customize these behaviors to fit my needs always keeping within the "canned" code. In this way I've "learned" php.
    I own most of David's books and in fact, it was because of these that I have any idea about what I'm doing and went in this direction in my "developer" career (building php/mysql applications using Dreamweaver.)
    With the decision to remove server behaviors (and the other "developer" panels) from DW and with the deprecation of the mysql extension from the php landscape, I'm wondering where to go next? I fully understand this has to happen.
    I'm aware of some alternatives:
    Zend or some other framework - to me, this seems extremely complex
    Keep several versions of DW installed
    Stick to Joomla/WordPress/Drupal - let others who know what they're doing build the architecture
    Actually LEARN php - wish I had time; too much work to do (I know how illogical that sounds but it's a very real situation)
    I know I'm going to have to switch out all that deprecated code or better yet, rebuild the many applications which used the DW (and other) server behaviors. I'm just not sure which way to turn.

    rjjacob wrote:
    Since I wrote this post I concluded that there is no substitute for understanding and have started my re-education by delving further into the issue with updated PHP/MySQL books and tutorials so I can prepare for a Dreamweaver without this functionality.
    Yes, I too have concluded that is the way to go as well. There really is no substitute for learning as much as you can. Whilst the DW Server Behaviours were very convenient they have not kept pace, Adobe prefering to spent their time on less important updates in my opinion. The Server Behaviours are what makes Dreamweaver the tool of choice  for database integration for those who lack the knowledge. I feel the Adobe team will regret not coming up with an alternative. Anything that detracts from making the program what it is is a step in the wrong direction and for sure this is a big step in the wrong direction.
    rjjacob wrote:
    I have mainly used DW server behaviors in my development projects that's why I am curious about what others are doing to make the change. I'm surprised there haven't been more posts; perhaps I'm the last one to be taking action about this, or maybe no one is too worried about it yet.
    I think a lot have changed their working practice but many more are burying their heads in the sand. sql_ support is a way off from being completely dropped yet.
    rjjacob wrote:
    Anyway, your assessment of how terrible the server behaviors are is correct. I'm finding that true after barely breaking the binding on a few books about the greater subject and looking into mysqli and PDO.
    Yes, because I relied heavily on them I did not know how bad they were until I forced myself to look further afield. What you can do in a couple of lines of code the DW Server Behaviors produced quadruple or more to achieve the same.
    rjjacob wrote:
    But they sure were convenient!
    Yes, I agree. Maybe some extention developer will come up with a set of new improved behaviours. I tell you if they do they will make a shed load of money.

  • ARD 3 and Apache with PHP

    Hi all, sorry if this is a stupid question, but...
    I'm a media developer and my G5 workstation died. Until it can be replaced, I was given an old Mac Pro running Remote Desktop 3. I've installed all my apps and things were going well until I tried testing a Flash app that made calls to PHP scripts.
    Unfortunately, I can't get the machine to run the PHP scripts. I've uncommented the necessary lines in the config file, but for some reason it just won't work. In fact, I don't even see the Apache service running in the Services>File Sharing menu.
    Is this because I'm running Remote Desktop 3? Can ARD 3 run PHP scripts?

    ARD should have nothing to do with PHP scripts. While I can't say with certainty that having ARD on the system can't in any way interfere with PHP, I've not heard of it doing so.
    Can ARD 3 run PHP scripts?
    ARD doesn't "run" anything, per se. It can launch applications and open documents using the Open command or UNIX command line, if that's what you mean.
    I don't even see the Apache service running in the Services>File Sharing menu.
    If you're running Mac OS X Server on that system, Apache doesn't to the best of my recollection appear under File Sharing in any recent version of Mac OS X Server. it appears as a separate service titled "Web".
    Message was edited by: Dave Sawyer

Maybe you are looking for

  • Problem with HP Color LazerJet 3600n

    I'm having a problem printing ... I'm sure I need to replace the magenta cartridge! The thing is, it's almost full, .. and it's printing pages like this ... It's full, but it's missing like 20% of the right side. I've attempted to clean, I've attempt

  • Report running fine in foreground but not in background

    Dear Friends- I have created few varaients to run my report in background and foreground . and inside report am using OOPS ALV and call screen  . issue is  when i  run prog  using varaient in  foreground  it work fine and show me the correct one reco

  • Applet TV X2

    Hi Is it possible for me to link 2 apple tv to my macbook air and have them displaying as different displays side by side (so not just mirroring) as I want to show different content on each?  I.E. in total there would be 3 screens when you factor in

  • Change input attribute for CL_PT_REQ_WF_ATTRIBS

    Hi, I would like to change the input attribute value from class CL_PT_REQ_WF_ATTRIBS in BADI PT_GEN_REQ~START_WF for multilevel leave approval. May I know how to do this ? Regards, Eric

  • Source Data option won't dispaly on combo box proprieties.

    I am trying to use combo box to dispaly a serie of data but when activated, the source data for the combo box is not available. Any idea what might be the problem and how can I resolve it? Thanks.