people,
I tried to write out email using sniplet below, the email will write out the hyper
link so that reciever can click on the link to go to the page. What happen is that the
reciever recieve the actual link instead of the hyper link I made, so I wonder what
did I do wrong. I have mad sure t
I forgot to mention that I am using php3.
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
Hi people
I got problem of how to assign session value in php3. As far as I know, all syntax in
manual talks about php4 syntax only. How am I going to do that?
best
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
How do I round up a lot of decimal number like 10.232656898 to be 10.23 ? Should I use
this?
$num = 10.26564787;
$Rnum = round($num);
What would be the function I am looking for and how?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
Hi people
this is off the topic but I want to change teh DNS setup for one of my site
www.europeanevents.com and I went to http://www.networksolutions.com/makechanges to do
that , but it said the domain was not found in WHOIS database, wherelse I can check up
to chaneg DNS?
Jack
[EMAIL PROTECTE
Hi all
I have a form with check box and name of those checkboxes is usuing variable lke this,
and when I submit the form to page foo.php4, at that page, I use Variable variable to
call the value of the check box to see if it checked like this
$quey = "select id from table";
$result = ..
so how do I check at the next page which one is checked?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
- Original Message -
From: Chris Fry <[EMAIL PROTECTED]>
To: Jacky <[EMAIL PROTECTED]>
Cc: <[EMAIL PR
Hi all
I have a form with the checkbox like this
$query="select id from foo";
$result=($query,$con);
while ($row = mysql_fetch_array($result))
{
}
submit button and stuffs here...
After I submit to next page, at next page, how do I check which check box is checked?
like this?
i
-
From: Chris Fry <[EMAIL PROTECTED]>
To: Jacky <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2001 2:59 AM
Subject: Re: [PHP] Variable variable
> Sorry - thought you only had one! - it's late.
>
> To Name the checkboxes you need:
> whil
Hi all,
Extremely desparate here as I still cannot get my problem sought out, so decided
to post my question again.
Allow me to repeat my question again:
I have a form with the checkbox like this
");
}
submit button and stuffs here...
?>
After I tried check on few checkboxes and submit
As the title say, I would like to make a special thanks to one of our member Chris Fry
and to say this is great list!!
Thank for all help :-)
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
Hi all
I have variable that store date like this :
$First = "$year" . "$month" . "$date"; ( which return 20010201 for Feb 1,2001) .
I wanna do the loop 8 times that will add 7 more days to the begining date and keep
adding it for 8 times. The looping thing is okay but I am not sure if I simply p
Hi all
I have variable that store date like this :
$First = "$year" . "$month" . "$date"; ( which return 20010201 for Feb 1,2001) .
I wanna do the loop 8 times that will add 7 more days to the begining date and keep
adding it for 8 times. The looping thing is okay but I am not sure if I simply p
Hi all
I tried to make a login function for my site using script below, but after I type user
name and password, it asked me to type again and again and simply reject it, although
I have made sure that the username and password I used to test is in the table for
sure. No database connection pro
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
- Original Message -----
From: Jacky
To: [EMAIL PROTECTED]
Sent: Friday, April 27, 2001 2:59 PM
Subject: how do I calculate this?
Hi all
I have a variable that store number
It is a bit off the list here but is theer anybody know what is SAP? I mean, is that a
script language or OS or a DB software?
cheers
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
Is this the correct way to use round function with 2 decimal?
$x = round((44.057/2.545),2);
cheers?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
Hi all
does anyone know how to make the progression bar according to the time out that has
been set up to start after the page is load?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
Hi all
Does any one know how to do the progession bar to mesure the time out? Like give it 1
minute for the bar to progress, I got some logic here but something still unclear to
me.
The procedures I see are
1. get curren time when the page is loaded
2. add 60 seconds on that current time value t
I got a series of string value in this format ie: 1,2,3, say pretend that these are
telephone number, which is one feild in user table.
I need to update this telephone number field, I got 3 user ID in series like this too,
ie: 3,4,5 and normally it is like
update set where userID IN (3,4
I got series of string value like this 1,2,3. And the seires are dynamaic, which means
it is not always 1,2,3 but could be more, but always in this format that is separated
by "," .
How do I pick each of value in the series and assign it into new vairiable, like from:
$test = 1,2,3;
and assign t
Hi people
Does anyone outthere know any javascript mail list that I can subscribe to? And also,
just in case, does anyone know how can I validate a form that has radio button to see
if the radio button is checked before submit?
cheers
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than
Hi all
What do I do if i want to move all values stored in one field to another field in the
same table, from field A to field B? Has anyone ever done that?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
Hi all
Is this the corerct way of selecting the max value in a table?
"select * from score where MAX(scorevalue)"
cheers
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
Hi people
How do i query to select the most repeated values in a field, say if I hacve list of
values as a,b,c,d,e to be submitted to a field call "result" in a table. And I want to
know which value appear most in that "result" field amoung all records.
cheers
Jack
[EMAIL PROTECTED]
"There is no
Hi people
How do i query to select the most repeated values in a field, say if I hacve list of
values as a,b,c,d,e to be submitted to a field call "result" in a table. And I want to
know which value appear most in that "result" field amoung all records.
cheers
Jack
[EMAIL PROTECTED]
"There is no
hi people,
When I use this query below:
select result , count(result) as choice from result group by result order by choice
desc;
It returns the number of times each value appear in a result field in order of DESC
under variable "choice", right?
At this point, I know how to pick MAX(choice) b
Hi people
question about query when I use this:
"select result, count(result) as choice group by result order by choice desc;"
How do I print "choice" in my page when the query return value back to me?
any help is appreciated
cheers
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than rea
Hi people
question about query when I use this:
"select result, count(result) as choice group by result order by choice desc;"
How do I print value stored under "choice" in my page when the query return value back
to me?
any help is appreciated
cheers
Jack
[EMAIL PROTECTED]
"There is nothing mor
Hi all
Is there anyway I can get the domain name where the viwer came from and write it out
on my page?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
Hi all
I have to submit username, domain name and password values to the cgi file, It starts
from the login page and submit values to a php page to tie up username and domain name
value together before submit it to the cgi file as two values ( "username+domainname"
, "password") .
The thing is
Very stupid question, but I have one variable, say $name = "foo"; and I want that to
assign on to session, reditect that to one cgi page and then go to one html page, and
I want to have that session value here at this html page, see what I mean? I am using
php3. How do I set session up at the f
Hi people
If I have value like [EMAIL PROTECTED] stored in a variable. How do I break it up to be
take only the foo.com bit to use that to redirect user back to that URL?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
Hi again
have to try again after I have not recieved any advice, I have a vairable that stores
email address value. I need to break it so that I will only get the dmain name bit to
store in another variable so that I can redirect user to that domain, like if user
email is [EMAIL PROTECTED] then
Hi all
I heard rumors saying there is no way to use session in php3, is that correct? ( only
joking about the rumors, but really need to know this though:-)
If there is no way to get around this, what is syntax for assign session in php4 then?
thanks in advance
Jack
[EMAIL PROTECTED]
"There is no
Hi all
I have been to look at manual about session, in php4, still not quite get it.
Basically if I have sniplet below in one page, how do I assign value into that session
and how do I call it up in next page? I sthe way I assign value into session correct?
( I think it did not, because it did n
Hi all
is this syntax correct to work on session in php4?
but nest page when I call variable $test to echo it, nothing come up? what did I do
wrong?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
Hi people
What is the different between session_unregister and session_destroy? If i want to
delete session, which one should I used?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
Hi all
I wen tto check manual, not quite get it though. I have set up session and I want that
deleted, but it did not work so far with session_unset or session_unregister.
I figure I may have used them incorrectly
here is what i did
It appears to me that the value is still there all the time,
Hi people
I am more like ASP programmer and new to PHP, In ASP, when we want to take all records
in dayabase to display. After we did do the query, we call " Do while not RS.EOF (
mean do while not end of record file) , and display record accroding to the query.
Is there anything that do teh sa
Hi people
I ran a PHP page and there was an error said below:
Fatal error Maximum execution time of 30 seconds exceeded in include/getRoomDesc.php4
What could cause this??
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
I've been waiting for this time.
Jack[EMAIL PROTECTED]"There
is nothing more rewarding than reaching the goal you've set for
yourself"
test
Jack[EMAIL PROTECTED]"There
is nothing more rewarding than reaching the goal you've set for
yourself"
I miss the feeling of having over a hundred mails a day, glad it is back
again.
Jack[EMAIL PROTECTED]"Love
your enemies, it will drive them nuts"
Hi people
We all know we use PHP_AUTH_USER for login auhenthication, how about when
we need to logout? Can we just simply link them to someplace else or do we need
to anything special beside normal link?
cheers
Jack[EMAIL PROTECTED]"Love
your enemies, it will drive them nuts"
Is there anyway I can do the logout that will completely get rid of all
login detail without having user to close browser?
Jack[EMAIL PROTECTED]"Love
your enemies, it will drive them nuts"
I know this may be asked a lot previously, so please bear with me
here.
I use PHP_AUTH_USERĀ for my login method, no login page or anything,
only the pop up box to login. I did not use any kind of cookies or session to
store login detail as well.
How can I make the logout that will get rid off
Hi folks
I just wonder as I saw someone useing session with global and some don't. What is the
reason to use session together with global?
Like this:
session_start();
global $test
session_register('test');
I look up in manual using keyword "global", but could not find anything near this.
Jack
you add this into your header bit:
$headers .= "Content-Type: text/html; charset=iso-8859-1\n";
HTH
Jack
- Original Message -
From: Rosen <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 30, 2001 5:18 PM
Subject: [PHP] HTML mail
> Hi,
> how can I send HTML mail via "m
use http_referer();
- Original Message -
From: Balaji Ankem
To: [EMAIL PROTECTED]
Cc: Renze Munnik
Sent: Monday, September 03, 2001 10:40 PM
Subject: [PHP] How to get the referer value?
Hi! friend,
How to get the referer value in the PHP.(getHeader
php die before the 500m data finish?
Thanks in advance.
--
Regards,
Jacky
Hi people
My mail() script does not work, sniplet is simple that could not go wrong. I suspect
there is something wrong with the php config on the server. Question is that how do I
check it out if my assumption is correct? Is there any method that make php to write
out something of the mail() d
I will get back to you as soon
as possible.
Jacky Kenna
Managing Director, PDA
0207 384 1985
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Good day to you. We are looking for two or three programmers who want to
make some money, are self motivated, are prepared to take a gamble after
thoroughly investigating the risk, have excellent University results in
computer sciences and in particular have experience in of most, if not all,
of P
54 matches
Mail list logo