Why is my server side script (the whole code) being returned?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Why is my server side script (the whole code) being returned?

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Posts
    1

    Question Why is my server side script (the whole code) being returned?

    Hi,

    I'm new to AJAX and working on my very first Ajax application and getting a weird result.

    What I'm trying to do is to display a query result in a textarea box. Instead of the query values, the whole php file is being returned in the Request.responseText. Does anyone know what I'm doing wrong?

    I appericate for any help in advance.

    Wekkaw

  2. #2

    Re: Why is my server side script (the whole code) being returned?

    Does the php page work properly if you call it directly?

  3. #3
    Join Date
    Jul 2004
    Location
    Mumbai
    Posts
    11

    Re: Why is my server side script (the whole code) being returned?

    This happens wen there is some kinda error in the code for displaying the page.. see the status code of request object if u wnt to confirm it.

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center