How to run a .php file without having the window opening up

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts

  • Copperwire
    Guest replied
    Re: How to run a .php file without having the window opening up

    Thanks for your help, Geoff.

    Leave a comment:


  • Chung Leong
    Guest replied
    Re: How to run a .php file without having the window opening up


    "Copperwire " <hennier@telkom sa.net> wrote in message
    news:283297b2.0 408031531.15725 6cf@posting.goo gle.com...[color=blue]
    > Hi,
    > Is it possible to run a .php file without having the window opening
    > up? (I am automatically submitting a form to a .php page, but don't
    > want that page's empty window to pop up).
    >
    > Thanks.[/color]

    header("HTTP/1.0 204 No Content");


    Leave a comment:


  • Geoff Berrow
    Guest replied
    Re: How to run a .php file without having the window opening up

    I noticed that Message-ID:
    <283297b2.04080 31531.157256cf@ posting.google. com> from Copperwire
    contained the following:
    [color=blue]
    >Is it possible to run a .php file without having the window opening
    >up? (I am automatically submitting a form to a .php page, but don't
    >want that page's empty window to pop up).[/color]

    There will be no html output, just use header() to redirect back.

    Alternatively, put the code that does the stuff in the same page.

    --
    Geoff Berrow (put thecat out to email)
    It's only Usenet, no one dies.
    My opinions, not the committee's, mine.
    Simple RFDs http://www.ckdog.co.uk/rfdmaker/

    Leave a comment:


  • Copperwire
    Guest started a topic How to run a .php file without having the window opening up

    How to run a .php file without having the window opening up

    Hi,
    Is it possible to run a .php file without having the window opening
    up? (I am automatically submitting a form to a .php page, but don't
    want that page's empty window to pop up).

    Thanks.
Working...