http://www.facebook.com/inbox/?compose&ref=mb
how does FB pass "compose" in php?
because the variable compose is not set to anything.
http://www.facebook.com/inbox/?compose&ref=mb
how does FB pass "compose" in php?
because the variable compose is not set to anything.
If you mean $compose, it's not set unless register_globals is on. If you mean $_REQUEST['compose'] and $_GET['compose'], they're set to the empty string. Use isset() or array_keys($_REQUEST) to make the 'compose' input parameter useful.
PHP Code:if (isset($_REQUEST['compose'])) {
...
}
Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.Misson, not Mission.
thank you mission
that is exactly the kind of answer i needed
may be closed now.