Dreamweaver 8 with ASP, ColdFusion, and PHP

I'm having trouble with diplaying multiple recordsets. I did
everything that the book told me to do, but it doesn't work. I just
got done with the tours.asp and it works fine. Now I'm working on
the index.asp. rs_journal comes up fine, but when I add the
rs_worldregions, the page won't come up. I even uploaded the
finished sample of index.asp that came with the book and that
didn't work.
Has anyone read this book and have the same troubles?

This is what the code looks like.
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/conn_newland.asp" -->
<%
Dim rs_journal
Dim rs_journal_numRows
Set rs_journal = Server.CreateObject("ADODB.Recordset")
rs_journal.ActiveConnection = MM_conn_newland_STRING
rs_journal.Source = "SELECT journalID, journal_entry FROM
tbl_journal ORDER BY journalID DESC"
rs_journal.CursorType = 0
rs_journal.CursorLocation = 2
rs_journal.LockType = 1
rs_journal.Open()
rs_journal_numRows = 0
%>
<%
Dim rs_worldregions
Dim rs_worldregions_numRows
Set rs_worldregions = Server.CreateObject("ADODB.Recordset")
rs_worldregions.ActiveConnection = MM_conn_newland_STRING
rs_worldregions.Source = "SELECT * FROM tbl_region ORDER BY
regionName ASC"
rs_worldregions.CursorType = 0
rs_worldregions.CursorLocation = 2
rs_worldregions.LockType = 1
rs_worldregions.Open()
rs_worldregions_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = -1
Repeat1__index = 0
rs_worldregions_numRows = rs_worldregions_numRows +
Repeat1__numRows
%>
<!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>
<title>Newland Tours</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<link href="css/newland.css" rel="stylesheet"
type="text/css" /></head>
<body>
<table width="750" border="0" cellpadding="3"
cellspacing="0">
<tr>
<td colspan="2" width="470"><img
src="images/banner_left.gif" width="451" height="68" alt="Newland
Tours Banner, Left." /></td>
<td width="280"><img src="images/banner_right.jpg"
width="276" height="68" alt="Newland Tour Banner, Right."
/></td>
</tr>
<tr valign="top">
<td width="180"> </td>
<td width="290"> </td>
<td width="280"> </td>
</tr>
<tr valign="top">
<td width="180" bgcolor="#DCDFD9">
<p class="navhead">Explore the Site</p>
<p>
<a href="about.asp">About Newland
Tours</a><br />
<a href="tours.asp">Find Tours</a><br />
<%
While ((Repeat1__numRows <> 0) AND (NOT
rs_worldregions.EOF))
%>
  <a
href="tours_detail.asp?regionID=<%=(rs_worldregions.Fields.Item("regionID").Value)%>"><%= (rs_worldregions.Fields.Item("regionName").Value)%></a><br
/>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
rs_worldregions.MoveNext()
Wend
%>
<a href="profiles.asp">Country
Profiles</a><br />
<a href="contact.asp">Contact an
Agent</a></p>
<p><br />
&copy; 2003 Newland Tours</p>
</td>
<td width="290">
<p>Operating since 1968, Newland Tours offers an array
of travel tours. Whether you love hiking in exotic locations or
want to get the most out of your retirement, Newland Tours has a
package for you.</p>
<p><img src="images/title_featured_vacation.gif"
width="276" height="25" alt="Featured Vacation." /></p>
<p><img src="images/temple_small.jpg" width="72"
height="90" align="left" alt="Heian Jingu Shrine, Kyoto
Prefecture." /><strong>Highlights of
Japan</strong></p>
<p class="caption"> Image: Heian Jingu Shrine, Kyoto
Prefecture</p>
<p>Get a taste for Japan's diversity, from the
serenity of its shrines to the chaos of urban life. Meet
&quot;Fuji-san,&quot; Japan's highest mountain at 12,387
feet, visit temples, walk through gardens, and browse in Japan's
most elegant shopping districts.</p>
<p>
Only $1,199/adult and $899/child USD.
</p>
</td>
<td width="280"><p><img
src="images/title_travelers_journal.gif" width="276" height="25"
alt="Traveler's Journal." /></p>
<img src="images/icon_tj.gif" width="81" height="81"
align="right" "Traveler's Journal logo."
/><%=(rs_journal.Fields.Item("journal_entry").Value)%></td>
</tr>
</table>
<br />
<br />
</body>
</html>
<%
rs_journal.Close()
Set rs_journal = Nothing
%>
<%
rs_worldregions.Close()
Set rs_worldregions = Nothing
%>

Similar Messages

  • Missing File - Adobe Dreamweaver CS3 with ASP, Coldfusion, and PHP

    On page 263 of Adobe Dreamweaver CS3 with ASP, Coldfusion,
    and PHP by:Jeffrey Bardzel and Bob Flynn the file called
    countryDetailXML.asp is missing. How can I find that file? Any
    idea?
    Thanks for your help.

    @citaiz,
    That file is created earlier in the lesson in an exercise
    starting on page 257. For the sake of the lesson, you can use
    countryDetail.xml that is included in the lesson 09 start folder.
    It is not important for this lesson that the XML is a static file
    or one generated in real time from the database. The version of
    Spry (1.4) that shipped with DW CS3 used XML data only. The current
    version (1.6.1) can use JSON and HTML tables for the data source as
    well. You can get the latest version of Spry for free at
    http://labs.adobe.com/technologies/spry/,
    including an extension to update your copy of DW to the latest
    version.
    Bob Flynn

  • Adobe Dreamweaver CS3 with ASP coldfusion and PHP search?

    I am working through Adobe Dreamweaver CS3 with ASP
    coldfusion and PHP with the intent of creating a data base site
    that primarily requires a search engine on the index page. The
    search page in the book uses specific search criteria ensuring that
    there will always be a match to the data base but I need to create
    an input text field search engine. My Q, if there is no data within
    the data base that match the variable, will it return with an error
    requiring an argument in the code to respond to no matching data.
    Hopefully there are comprehensive online recourses for these search
    engines as they are so common. I am a complete newby to all aspects
    of web development and code so it will need to be a thorough
    explanation, an idiots guide. ANY HELP GREATLY APPRECIATED

    Rob,
    Let me try to answer your questions, understanding that my
    answers are laced with my experience and therefore my bias.
    1. For the most part the SQL that you write for Access, MS
    SQL or MySQL is going to be the same. I won't make that claim about
    Oracle or PostgreSQL because I have limited or no experience in
    those areas. To be sure when you head down the road with any DBMS
    there are finer points on 'value added' features (to over simplify
    things like MS SQL's Transact SQL), but for the most part when you
    are pulling out, inserting or deleting records the SQL that you
    write will be the same. In fact, I don't think I had to make any of
    the SQL in the book different to deal with the back end db.
    2. As for your host steering you away from MySQL, I don't
    know why that would be. It is MUCH more stable and robust than
    Access for web development. My research showed that you can use
    MySQL just fine with ASP though that clearly wouldn't be
    Microsoft's first choice.
    3. A quick aside, the fact that you are building ASP on a Mac
    would seem to indicate that you are developing on your production
    server. That's never a good idea. Go local if you can. If you have
    a newer Intel Mac you can use VM Fusion, Parallels or even Boot
    Camp to run Windows in a virtual environment and develop there,
    only moving your code to production when you are happy with it.
    There is of course the fact that they two environments would not be
    identical and you may need to change a few references, but it is
    still a better practice than developing on your live site. Some web
    hosts give you the ability to set up a subdomain. If yours does,
    you could set one up with a duplicate of your site and develop
    there.
    4. Let me try to pull your 'rant-let' apart into two issue. I
    begin with a question. I'm not sure what the Mac part has to do
    with it. The primary language I work in at my day job is
    ColdFusion. The majority of the most serious developers I know in
    the CF world work on Macs. I am forced into the PC world because of
    a cultural bias at the business school where I work. Having said
    that, the only time I have felt there was ANY difference in the
    tools, resources, choices I had was in any way affected by platform
    was when Adobe still had not released Flex Builder 2 for the Mac.
    Now that is behind us as well. This reaction of mine may be based
    on the fact that Access never comes into play in the work that I
    do. I regularly work with MS SQL and MySQL. (OK, so SQL Enterprise
    Manager, the MS tool of choice to talk to MS SQL is Windows only,
    but I only use that at the day job. But even there you can find
    cross-platform, free tools like Aqua Data Studio to talk from a Mac
    to MS SQL.) If I'm missing your point on the Mac, please let me
    know. Since the advent of the Intel Mac I think it is hands-down
    the best choice for a web developer. You can have Mac, Windows and
    Unix all on one machine. It doesn't get any better (providing you
    have the RAM :-)).
    As for the security question, it is somewhat analogous to the
    war on viruses and spyware. As the defenses get better, so do the
    attacks. Most languages have developed functions for vetting user
    input variables and best practices for building these things. It is
    mainly a user education issue. When I took over the book you are
    working out of, the one thing Jeffrey told me it needed was more
    security. I did my best to put more in under the constraints of the
    publisher. They didn't want the book to be any longer than the
    previous version. I did my best to modify the code used to include
    "string safe" functions and to add verbiage about the importance of
    security. It was clear that I could not add as much as was needed
    and I said so in the book. Much more is needed for a serious
    treatment of the subject and not acknowledging that would have been
    a disservice to the readers. I've been working as a developer for
    over a decade and I don't know all there is to know about it. It's
    a constantly changing field, just like all of web development. In
    fact next week I'm going through a 2-day SANS Web Application
    Security workshop in hopes of learning more. So at the risk of
    sounding like an industry apologist, I don't think it's a
    shortcoming of the development community. It is, as they say, "a
    developing situation".
    HTH,
    Bob
    http://bobflynn.info/

  • Dreamweaver 8 with ASP, ColdFusion and PHP Downloads

    Hi,
    I wondered if anyone new if there is anywhere to download the accompanying files (off the CDROM)? I can't find anywhere on the Adobe site where you can.
    I purchased the book from Oxfam Bookstore and the CD is snapped in two pieces but I'd obviously like to follow the tutorials.
    Thanks

    That's quite an old book, so I don't know if there's still any support for it. I wrote the most recent version: "Adobe Dreamweaver CS5 with PHP: Training from the Source". The files for my book are not freely available for download, so I suspect the same is true of the Dreamweaver 8 version.
    According to the publisher's website, you can request a replacement CD from [email protected] However, I wouldn't hold out much hope of getting a replacement for an old book that was bought from a charity shop. Sorry.

  • Slight roadblock in "DW 8 with ASP, ColdFusion, and PHP: Training from the Source"

    I'm working my way through Dreamweaver 8 with ASP,
    ColdFusion, and PHP:
    Training from the Source. I've come to the middle of Lesson 6
    and have hit
    my first obstacle in learning PHP. I'm following the
    instructions to format
    the output of the tour price calculator, but my issue is with
    where to place
    the following PHP code: <?php setlocale(LC_MONETARY,
    'en_US'); echo
    money_format('%i', $tourPrice); ?>
    I placed it before the DOCTYPE and when that didn't work, I
    tried inserting
    right before the code that retrieves the tour price (in the
    body of the
    page). That didn't work either.
    I also tried changing money_format to number_format and
    manually inserting
    the $, but when I tested everything, the output printed as
    follows:
    The estimated cost of your tour is
    $0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000500.
    I'm not quite sure where I've gone wrong.
    Thanks for any help,
    Heather

    Coach Bob wrote:
    > David,
    >
    > I would like to understand better your comment about the
    money_format. The
    > ability to use it is dependent on the host system's
    support of the C library
    > function strfmon(), correct? So if a user were
    developing on a windows box with
    > a local WAMP install it would not work while it may work
    on their *nix-based
    > Web host?
    Check the PHP documentation - it tells you all you need to
    know:
    http://www.php.net/manual/en/function.money-format.php
    > I will see to it that it gets corrected in the next
    version of the book!
    I've no idea what relationship you have with "Training from
    the Source",
    but I find it interesting - to say the least - that you need
    to the ask
    the author of a rival book.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Adobe DW CS3 with ASP, Coldfusion, and PHP Training book - problem.

    Hi
    I have been creating a site and using the DW CS3 'Training
    from the Source' book by Jeffrey Bardzell and Bob Flynn as the
    tutorial text.
    Basically - I have an .asp form that collects data into
    fields, which are validated using the DW validate form funstions,
    then passes the data to another .asp page that emails the data to
    me.
    All works well for me and for a lot of people I have used to
    test the site....
    BUT
    I am getting some people whose data is obviously NOT being
    captured or passed - as teh Emails are blank. I can't ask them what
    browsers they are using - as their Email address should be in the
    Data !!
    I did try the form with the Javascript Disabled in my browser
    - and the validation then failed to work - but the data still did
    get sent.
    1. If Javascript is disabled - how can I get the validation
    to work?
    2. Is there any other reason that my data may be getting lost
    Thanks in Advance
    Phil

    PhilAJ,
    quote:
    Surely if DW is creating this then it should aways work ?
    It would be nice, wouldn't it? ;-)
    There are two basic types of validation - client-side and
    server-side.
    Client-side validation uses JavaScript, in this case the code
    that DW generates, but you are dependent on the user's browser
    settings. It happens on the user's machine before anything is sent
    back across the Internet to your web server. If they want to turn
    off JS, they can.
    Server-side validation takes place on the server with the
    data sent from the user. webpro2k has provided you with a nice bit
    of code to test whether those fields come in blank. If they do, you
    can decide what to do with the user's interaction. Instead of the
    Thank You page, or wherever you may have sent them after a
    successful submission, you could send them back to the form
    indicating the fields they neglected to fill out and pre-populating
    those they already filled out with the data from the first
    submission.
    Best practice is to do both client-side (in theory it reduces
    user frustration if done right.) and server side (to ensure clean
    data). It takes a little extra work. You know your audience and
    your needs, so you can do the cost/benefit analysis.
    Regards,
    Bob

  • DW MX 2004 with asp, coldfusion, and php lesson 1

    Started Jeffrey Bardzell's book, and sorry, I think I can
    struggle through it even though I know little about html. In the
    very first lesson I am already stumped. I am hoping there is a
    simple setting that needs to be changed. In pasting text from the
    contact document into the contact page, DW is supposed to
    automatically enter the paragraph and line breaks, according to the
    book. Mine doesnt. I have tried numerous times and the
    pre-formatted text pastes in and becomes one big running paragraph.
    What am I doing wrong?

    PhilAJ,
    quote:
    Surely if DW is creating this then it should aways work ?
    It would be nice, wouldn't it? ;-)
    There are two basic types of validation - client-side and
    server-side.
    Client-side validation uses JavaScript, in this case the code
    that DW generates, but you are dependent on the user's browser
    settings. It happens on the user's machine before anything is sent
    back across the Internet to your web server. If they want to turn
    off JS, they can.
    Server-side validation takes place on the server with the
    data sent from the user. webpro2k has provided you with a nice bit
    of code to test whether those fields come in blank. If they do, you
    can decide what to do with the user's interaction. Instead of the
    Thank You page, or wherever you may have sent them after a
    successful submission, you could send them back to the form
    indicating the fields they neglected to fill out and pre-populating
    those they already filled out with the data from the first
    submission.
    Best practice is to do both client-side (in theory it reduces
    user frustration if done right.) and server side (to ensure clean
    data). It takes a little extra work. You know your audience and
    your needs, so you can do the cost/benefit analysis.
    Regards,
    Bob

  • 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/

  • The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and PHP by David Powers

    The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and
    PHP by David Powers:
    Would this book help me learn about Spry and Ajax and how
    applications can be made with them, if I my e-commerce site runs on
    a compiled C code shopping cart (ShopSite) but supports PHP
    server-side scripts or is it only for shopping carts based on PHP
    itself (like X-Cart)?
    I am not sure. Someone please let me know so I can purchase
    this book. Thanks.

    ahsenabro wrote:
    > 1. Do I have to be a developer/programmer in order to
    learn from this book or
    > can a tech-savvy entrepreneur can also get some gems out
    of it and direct his
    > programmer?
    You don't need any prior knowledge of Ajax or PHP, but you do
    need to
    know the basics of HTML and CSS. As I say in the
    introduction, "You
    don't need to be an expert, but you do need to have an
    inquiring mind.
    It doesn't teach the basics of web design, nor does it
    attempt to list
    every single feature in Dreamweaver CS3. There are plenty of
    other books
    to fill that gap. However, by working through this book,
    you'll gain an
    in-depth knowledge of the most important features of
    Dreamweaver."
    > 2. I am interested in purchasing this book mainly to
    implement cool Ajax/Spry
    > stuff on my e-commerce site. I am asking about PHP
    because the book's content
    > mentions making a PHP site. Now I realize this book is
    not about shopping
    > carts, but the Ajax/Spry stuff can be implemented on
    e-commerce sites, right?
    The book provides detailed coverage of the Spry 1.4 features
    in
    Dreamweaver CS3, which can be applied to any site. With minor
    adaptation, you can also use Spry 1.6. It's important to
    realize,
    though, that the Spry/Ajax features in Dreamweaver CS3 do
    *not* cover
    asynchronous requests to the server. The ability to
    communicate
    asynchronously with the server was added in Spry 1.6. If it's
    asynchronous server calls and responses that you're after,
    your
    programmer will need to dig around in the Spry 1.6
    documentation on the
    Adobe Labs site, and hand-code it.
    The Spry features covered in the book are Spry Effects, Spry
    UI widgets
    (menu, accordion, tabbed panels, and collapsible panels),
    Spry
    Validation Widgets, and Spry XML Data Sets.
    > I just want to know if I can learn and implement
    Ajax/Spry apps on my
    > simple HTML/CSS-based pages, on a server which allows
    server-side PHP scripts
    > but the pages themselves are not with .php extension. Is
    this book still going
    > to be applicable?
    Yes. All the Spry techniques can be used on any web page. It
    doesn't
    need to be a PHP one.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Web Services with ColdFusion and PHP mixed

    Hi,
    We need to used web services provided by remote server. The
    problem is the
    remote server is on PHP and our server is on ColdFusion. Is
    there a way to
    use the web services on PHP server with our ColdFusion
    server?
    I understand ColdFusion automatically generate the WSDL by
    adding ?wsdl
    after the CFC, but I can't do the same thing because the
    remote server is
    not on ColdFusion. They have given us the wsdl web address,
    but it seems
    using the wsdl address directly without CFC is not working.
    Is that right?
    Please let me know.
    YC

    From the coldfusion side of things, it all seems okay what
    you are doing. It
    is an issue with the php/wsdl side of things. I can access
    the wsdl ok, but
    got the same error as PaulH just then when I tried to use web
    service in
    cf..
    "YC" <[email protected]> wrote in message
    news:[email protected]...
    > OK, I learned a good thing. I tired the Dreamweaver +
    icon with a
    > ColdFusion CFC file and it works fine. Now I learned I
    don't have to code
    > the <cfinvoke> tag, but just drag and drop. But
    when I tried the WSDL
    file:
    >
    http://cyfernet.ces.ncsu.edu/ws/resources.wsdl,
    and "ColdFusion MX" as the
    > proxy generator, I had an error. Do I need any other
    option to choose
    from?
    > It seems "Edit Proxy Generator list" doesn't provide a
    sufficient answer.
    >
    > I know the URL of the WSDL file is correct because I
    used it to create a
    web
    > service in PHP locally on my laptop, and it works. From
    the previous
    > answers of you and PaulH, it seems if the WSDL works
    with PHP, it should
    > also work with any other language, right?
    >
    > Have you tried yourself? Did it work?
    >
    > YC
    >
    > "Eric" <[email protected]> wrote in message
    > news:[email protected]...
    > >
    > >
    > > An easy way to do this is to use the dreaweaver
    'components' palette.
    > > Select
    > > 'web services' from the drop down list and then
    click the '+' icon to
    > > create
    > > the call to the web service. (this uses the
    cfinvoke tag)
    > >
    > >
    > > "YC" <[email protected]> wrote in message
    > > news:[email protected]...
    > >> I feel very sorry to keep asking this
    apparently very basic question,
    but
    > >> please be patient with me.
    > >>
    > >> Yes, it is right that I just need to consume
    the pre-existing web
    > >> service.
    > >> This is the WSDL page:
    http://cyfernet.ces.ncsu.edu/ws/resources.wsdl
    and
    > >> this is the web service page on the server
    using it:
    > >>
    http://cyfernet.ces.ncsu.edu/ws/getresources-client.php,
    provided as an
    > >> example.
    > >>
    > >> So in order to have the page run in ColdFusion,
    at least the following
    > >> tag
    > >> below should come up without an error?
    > >> <cfset
    > >>
    > >
    ws=createObject("webservice","
    http://cyfernet.ces.ncsu.edu/ws/getresources-c
    > > lient.php")>
    > >>
    > >> Sorry, but I still get an error message.
    > >> I need to provide "getResourcesByCatid" as the
    method and "catid" as
    the
    > >> parameter, but it should work only if the
    previous tag works without an
    > >> error, right?
    > >>
    > >> YC
    > >>
    > >>
    > >> "Eric" <[email protected]> wrote in
    message
    > >> news:[email protected]...
    > >> >>>We need to used web services
    provided by remote server.
    > >> >
    > >> > Right, so the web service already exists -
    you just want to consume
    it?
    > >> >
    > >> >>Is there a
    > >> >> >> way to use the web services
    on PHP server with our ColdFusion
    > > server?
    > >> >
    > >> > Yes - thats the whole point of web
    services, you can create them in
    one
    > >> > language/platform and consume them in
    another.
    > >> >
    > >> >> Whey you say "create a web service,"
    do you mean I need to create a
    > >> >> <cfcomponent> tag in CFC format?
    Creating a CFC is not a problem,
    but
    > >> >> how
    > >> >> can I place it on the remote server
    because it is running with PHP,
    > >> >> not
    > >> > with
    > >> >> ColdFusion?
    > >> >
    > >> > Sorry if I am not understanding the
    question clearly, but it seems to
    > >> > me
    > >> > that you want to make use of an existing
    php based web service. Why
    do
    > > you
    > >> > you need to place a CFC on the php server?
    You just need to execute
    the
    > >> > web
    > >> > service from the coldfusion server using
    cfml. As Paulh says:
    > >> >
    > >> > <cfset
    ws=createObject("webservice","url to the php based web service
    > >> > here")>
    > >> >
    > >> > The variable 'ws' being your hook into the
    php web service from
    within
    > >> > your
    > >> > cfml code.
    > >> >
    > >> >
    > >> >
    > >> >
    > >> >
    > >> >
    > >> > "YC" <[email protected]> wrote in
    message
    > >> > news:[email protected]...
    > >> >> Eric,
    > >> >> Whey you say "create a web service,"
    do you mean I need to create a
    > >> >> <cfcomponent> tag in CFC format?
    Creating a CFC is not a problem,
    but
    > >> >> how
    > >> >> can I place it on the remote server
    because it is running with PHP,
    > >> >> not
    > >> > with
    > >> >> ColdFusion?
    > >> >>
    > >> >> YC
    > >> >>
    > >> >> "Eric" <[email protected]>
    wrote in message
    > >> >>
    news:[email protected]...
    > >> >> > >We need to used web services
    provided by remote server. The
    > >> >> > >problem
    > >> >> > >is
    > >> >> > >the
    > >> >> > remote server is on PHP and our
    server is on ColdFusion.
    > >> >> >
    > >> >> > Thats one of the main nenefits of
    web services - this does not
    > > matter.
    > >> >> >
    > >> >> >>> I understand ColdFusion
    automatically generate the WSDL by
    adding
    > >> > ?wsdl
    > >> >> >> after the CFC, but I can't do
    the same thing because the remote
    > > server
    > >> > is
    > >> >> >> not on ColdFusion.
    > >> >> >
    > >> >> > Sounds like you want to consume a
    web service, not create one. You
    > > can
    > >> >> > create the call in Dreamweaver,
    just look up help on calling a web
    > >> >> > service. Also see Adobe site
    using search for 'using web services
    in
    > >> >> > coldfusion'
    > >> >> >
    > >> >> >
    > >> >> >
    > >> >> >
    > >> >> > "YC" <[email protected]>
    wrote in message
    > >> >> >
    news:[email protected]...
    > >> >> >> Hi,
    > >> >> >> We need to used web services
    provided by remote server. The
    > >> >> >> problem
    > >> >> >> is
    > >> >> >> the remote server is on PHP
    and our server is on ColdFusion. Is
    > > there
    > >> > a
    > >> >> >> way to use the web services
    on PHP server with our ColdFusion
    > > server?
    > >> >> >>
    > >> >> >> I understand ColdFusion
    automatically generate the WSDL by adding
    > >> >> >> ?wsdl
    > >> >> >> after the CFC, but I can't do
    the same thing because the remote
    > > server
    > >> > is
    > >> >> >> not on ColdFusion. They have
    given us the wsdl web address, but
    it
    > >> > seems
    > >> >> >> using the wsdl address
    directly without CFC is not working. Is
    > >> >> >> that
    > >> >> >> right?
    > >> >> >>
    > >> >> >> Please let me know.
    > >> >> >>
    > >> >> >> YC
    > >> >> >>
    > >> >> >
    > >> >> >
    > >> >>
    > >> >>
    > >> >
    > >> >
    > >>
    > >>
    > >
    > >
    >
    >

  • 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.

  • Working with large data and PHP

    Using a backend MySQL database, I'd like to interact with
    this data using PHP. I got information from one link:
    http://www.sephiroth.it/tutorials/flashPHP/pageable_recordset/
    Which is exactly what I need. Page the Mysql server every
    time you need to grab data and also have a listener that will
    automatically update the client. However I can't seem to get it
    work. Does anyone know how to make this happen using a repeater and
    a panel?

    Read Developper's Guide at
    http://www.adobe.com/support/documentation/en/flex/.
    You'll find everything there !

  • Dreamweaver crashes with ASP

    I am unable to edit any ASP files in Dreamweaver (CS3 and 8).
    Whenever I select anything, code or objects, the program hangs.
    This does not only happen on my computer but on other people's
    computers as well. If the file extension is changed to .aspx or
    .php then it behaves normally but if it has the extension .asp it
    crashes.
    This seems related to the previously mentioned problem
    "Dreamweaver CS3 crashes after Daylight Savings Time ends" because
    it just started this week. Before that editing .asp files was fine.
    However, the solution offered for the daylight savings time bug
    (delete the WinFileCache-AD76BB20.dat file from the Dreamweaver
    user configuration folder) does not solve this problem.
    Can anyone throw some light on this?

    This bug nearly drove me crazy (and to Expression Web). It
    might not be your
    issue, but it very well might :-)
    http://kb.adobe.com/selfservice/viewContent.do?externalId=kb402776&sliceId=2
    Al Sparber - PVII
    http://www.projectseven.com
    Fully Automated Menu Systems | Galleries | Widgets
    http://www.projectseven.com/go/Elevators
    "TeePee" <[email protected]> wrote in
    message
    news:g0ef5f$pgs$[email protected]..
    >I am unable to edit any ASP files in Dreamweaver (CS3 and
    8). Whenever I
    >select
    > anything, code or objects, the program hangs. This does
    not only happen on
    > my
    > computer but on other people's computers as well. If the
    file extension is
    > changed to .aspx or .php then it behaves normally but if
    it has the
    > extension
    > .asp it crashes.
    >
    > This seems related to the previously mentioned problem
    "Dreamweaver CS3
    > crashes after Daylight Savings Time ends" because it
    just started this
    > week.
    > Before that editing .asp files was fine. However, the
    solution offered for
    > the
    > daylight savings time bug (delete the
    WinFileCache-AD76BB20.dat file from
    > the
    > Dreamweaver user configuration folder) does not solve
    this problem.
    >
    > Can anyone throw some light on this?
    >

  • Issue with escaping characters and php

    Greetings,
    We are working on a web page using php and Oracle. We have troubles dealing with the diferent escaping characters when inserting/retrieving data (magic quotes is on but adding the backslash doesn't help :( ).
    We would like to know the correct way of dealing with those characters ( ' " / /n ...).
    Thank you in advance,
    Sincerely,
    Oriol Nonell

    Do NOT use addslashes/stripslashes to escape your queries. I use this function to do the escaping:
    function escapeSQL($string, $wildcard=false)
    $result = str_replace("'","''",$string);
    if ($wildcard == true) $result = str_replace("%","%%",$result);
    return $result;
    It basically replaces ' with ''.
    If you set $wildcard to false, then '%' is considered to be an actual '%' (for 'like' expressions). If you set it to true, a % is escaped to %% too.

  • Trouble with UTF-8 and PHP-OCI

    Hi there!
    I'm having some serious trouble with UTF-8. I just tried to insert a lambda into an NCLOB column in one of my databases and it was converted to an inverted question mark. I have verified that the string reaches my PHP script correctly encoded. Also selecting RAWTOHEX(column) in SQL Developer shows, that the inverted question mark is already stored in the column. So the problem must be somewhere between PHP-OCI and the database. Inserting a lambda via SQL developer works. I can also correctly fetch it via PHP.
    I'm using the latest PHP-OCI (2.0.8). v$version says "Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production".
    The database is fairly old and uses WE8MSWIN1252 as the character set and AL16UTF16 as the NCHAR character set. Hence I'm using NCLOB instead of CLOB. However, I connect to the database with AL32UTF8, since my app is running in UTF-8. I was under the impression that this would result in an automatic conversion from UTF-8 to UTF-16 when inserting into NCLOB columns, but apperently this is not the case. It looks like there is some sort of double conversion, first UTF-8 to WE8MSWIN1252 and then to UTF-16, because some non-ASCII characters like ä (a umlaut) get correctly converted from UTF-8 to UTF-16.
    Any ideas? I'm at a loss here. Thanks in advance.

    PHP OCI8 doesn't support NCLOB or NVARCHAR2.
    See NCLOB support in OCI8

Maybe you are looking for

  • Formula variable in replacement path is showing N/A

    Hi, I have a DATE characteristic which I want to add as key figure in my query. I created replacement path formula variable for it but I can only see N/A in the report. I  checked the cube and there is data for the date characteristics. any idea how

  • WNM Not Authenticated

    I am trying to setup WDS and have on an access point and get the message that the WNM is not Authenticated. On the ACS Server it appears that both the AP and WLSE have passed authentication, any ideas?

  • How can I get the resolution of an image file in JSP?

    how can I get the resolution of an image file like jpg,gif,png in JSP ?

  • Issue with Logic 9 on SL 10.6.8 and Unitor8

    Hello, im switching from Logic 8 on OS 10.4.11 to Logic 9.1.8 on SL 10.6.8. Right now I can switch back and forth.on the same computer. Unitor8 works perfectly on my old system, but not on my new one. Logic says that Unitor 8 is unavailable and asks

  • RH 10 - chm opens but topics are not displaying

    Hi, I generated a chm file, and save it on our network drive for others to open and review. When they open it, the topics are not displaying. Should it work that way? Should the chm be on my local machine for it to display the topics properly? Thanks