Home     |     Java    |     Php General    |     Oracle Database    |     Oracle Server  

MS Dynamics CRM 3.0

  •  Setting up and Configuring Microsoft Dynamics CRM 3.0
  •  Managing Security and Information Access
  •  Entity Customization: Concepts and Attributes
  •  Entity Customization: Forms and Views
  •  Entity Customization: Relationships, Custom Entities, and Site Map
  •  Reporting and Analysis
  •  Workflow
  •  Server-Side SDK
  •  Client-Side SDK
  •  Integration with External Applications
  • Cervo Technologies
    The Right Source to Outsource

    Sharepoint Portal Server KB

    Microsoft CRM Info

    WPF Interview Questions

    SilverLight Interview Qs

    Asp.Net 2.0 Interview Qs

    Asp.NET 1.1 FAQs

    Oracle Interview Questions

    SAP Interview Questions

    PHP Programming

    Php script runs differently when triggered remotely


    Greetings,

    I have a PHP script that is triggered by a .forward file when incoming
    email arrives.  When triggered, the script retrieves the email using
    the php imap functions, processes the email, and then deletes it and
    empties the inbox before exiting.  This setup worked fine whether the
    script was triggered by an incoming email or manually via shell.

    Recently, however, I noticed that emails were not being properly
    deleted before exit when the script was triggered automatically.  But
    when I ran the script manually it functioned as expected.  I did some
    error checking and discovered that certain "points" in the script were
    not being reached (seemingly) when the execution was a result of
    the .forward.  I can't find any errors in the code that would explain
    this, however.

    Does anyone have any ideas of why execution of a php script might be
    different when I run it via shell vs when it is triggered by
    a .forward file?   Could any changes have been made to my server that
    would explain the recent occurrence of this strange difference?

    Thanks for any insights you have,
    Paul

    Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc