Hi Kalinga,
it is not recomended to use $HTTP_POST_VAR array. Use $_POST and
it have global scope. In PHP5, we have a special directive by which we
can disable $HTTP_*_VAR. currently it defaults to enabled. But who
says in future versions of PHP it default set to disabled. then your
code will
kalinga wrote:
Dear all,
Is it possible to pass the entire $HTTP_POST array to a function of a class
as a variable?
Use $_POST -- its automatically in scope of every function (you don't
need to pass it).
You can pass any array to a function.
--
PHP General Mailing List (http://www.php.net/)
To un
On Thursday 23 December 2004 16:46, kalinga wrote:
> Is it possible to pass the entire $HTTP_POST array to a function of a class
> as a variable?
It is possible to pass *any* array to a function of a class as a variable.
> without doing ...
>
> $new_classAccount = new classAccount;
> $
Matt M. wrote:
can you use PEAR?
There is already a bunch of http packages
http://pear.php.net/package-search.php?pkg_name=http&bool=AND&submit=Search
I've taken a look at that and don't know the first thing about how to
implement or use it. Are there any tutorials out there? Plus, I don't
know i
Jay Blanchard wrote:
[snip]
I'm using the code below and about a third of the posts aren't getting
through. We have no idea why and don't know where to start to trouble
shoot. Any ideas? Thanks.
[/snip]
Have you checked the http access and error logs?
On their end? Yes they can see each attempt
[snip]
I'm using the code below and about a third of the posts aren't getting
through. We have no idea why and don't know where to start to trouble
shoot. Any ideas? Thanks.
[/snip]
Have you checked the http access and error logs?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
> function http_post($host, $path, $data)
> {
> $http_response = '';
> $content_length = strlen($data);
>
> $fp = fsockopen($host, 80);
> fputs($fp, "POST $path HTTP/1.1\r\n");
> fputs($fp, "Host: $host\r\n");
> fputs($fp, "Content-Type: application/x-www-form-u
Try this, I know Ive botched your origonal code...
somepage.php
\n";
}
?>
someotherpage.php
$val)
{
echo "\n";
}
while(...)
{
...
echo "\n";
}
?>
email me if you have more questions.
Chris Lee
Mediawaveonline.com
""Wade Halsey"" <[EMAIL PROTECTED]> wrote in message
025401c0811c
>
>
>For example there will be three rows with different values and each
checkbox will have a unique name.
>On the next page once a submit button has been pushed I want to do:
>sqlExecute( "Select * from SkyDiary where AccNo = (Here I want the value of
the checkbox)
>
>Do I use HTTP_POST_VARS her
9 matches
Mail list logo