Re: Re: postback for php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Miles Thompson wrote:
At 11:48 AM 10/18/2006, M.Sokolewicz wrote:

Ross wrote:
Looked on google and not found a satisfactory answer. Doies anyone have a funtion to do this?

R.
please explain, in details, what it is you're looking for. "postback for php - a function to do this" doesn't mean squat to most people. Please EXPLAIN.

- tul

Yes, not a helpful description. Maybe he means a callback function which would do something like
    echo '<a href="'. $_SERVER['PHP_SELF'] .'">Please try again</a>';
and he may have to pass a variable string.

M.



First approximation:
Postback is an ASP.NET mechanism for running server side code as part of a page execution cycle when the user clicks a control which has been set up for this. "<a href="'. $_SERVER['PHP_SELF']..." is an example. A more general example in the PHP world is creating a form with the action referring to the same page. At the beginning of the page, one checks for an action field the value of which is used to dispatch to some code relevant to the action. Both systems can yield similar effects.

For more info, just Google "postback".

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux