Hello,
I am creating a polling system. Its operation likes this:
when the people vote the item, it updates the database by adding 1 for the
item automatically.
The part of code is showed here:
?php
$colname_rsAddVote = 1;
if (isset($HTTP_POST_VARS['Vote'])) {
$colname_rsAddVote =
Hello,
I want to use the mail() in my Linux computer.But I don't know how to
set the php.ini file to enable it.I am using the SMTP server provided by
ISP. Do I need to setup my own mail server?
Thanks!
Terry
_
¤µ¤é¬P®y
Hello,
I want to set a cookie when I enter a text into the text field, and it
shows the text I submitted immediately, thus I write a sample php code like
this:
?php
if (isset($HTTP_POST_VARS['Name'])) {
setcookie(name, $HTTP_POST_VARS['Name'], time()+86400*10);
}
echo $name;
?
(I set the
Hello,
I created a PHP page that included cookie, here is the PHP code:
?php
if (isset($HTTP_POST_VARS['Name'])) {
setcookie(Name, $HTTP_POST_VARS['Name'], time()+86400*10);
}
html
head
titleUntitled Document/title
meta http-equiv=Content-Type content=text/html; charset=big5
/head
body
form
Hello,
I'm using Red Hat Linux 8.0. The Apache Server 2.0 and php 4.2.2 are
installed when I install Linux. The server is installed in /var/. So, I
don't know how to follow the installation instructions described in your
web to set up php. Do I need to install apache and php again?
5 matches
Mail list logo