Re: POST Method



FF wrote:

> Hello
>
> I would like send variable to php script from URL
> using POST method. Is possible do it ?
> ( <a href="xxx.php">)
>

Hi,

I am not sure what you mean, but is this helping?

make URL (with Javascript or whatever)
xxx.php?name=FF&number=42


from xxx.php:

$passedName = $_GET["name"];
$passedNumber = $_GET["number"];

Is that what you want?

Regards,
Erwin Moller

.



Relevant Pages

  • Re: POST Method
    ... Erwin Moller wrote: ... >> I would like send variable to php script from URL ... >> using POST method. ... Prev by Date: ...
    (comp.lang.php)
  • Re: POST Method
    ... > I would like send variable to php script from URL ... > using POST method. ... I dont think it's possible. ... Prev by Date: ...
    (comp.lang.php)
  • Re: allow users to update their own info in a MySQL db
    ... members a way to view and update their own contact information, ... I assume the safest/smartest way is via the php script checking the user/pwd of the form submitter to determine if the update query should be allowed ... Erwin Moller ...
    (comp.lang.php)
  • Re: Variable Drop Down
    ... >my php script to recognize the value in "who" when potentially there ... >are 4 different values stored in the "who" array? ... >Can someone shead some knowledge? ... Prev by Date: ...
    (alt.php)
  • Re: PHP 4.2.2 and php://stdin
    ... Erwin Moller wrote: ... >>shoves them in a MySQL database. ... >>I created the following php script to test it: ... php://input allows you to read raw POST data. ...
    (comp.lang.php)