[PHP] what is wrong with this sniplet?

2001-02-28 Thread Jacky

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 that the email software I used to test can read html 
format ( I use outlook express).

  $mailTo  =   "[EMAIL PROTECTED]";
  $mailSubject = "test";
  $mailBody= "Dear sir, \n\n";
  $mailBody= "Below is the link you can click on, \n\n";
  $mailBody   .= "Please Click Here to view the request details";
  $mailHeaders = "From: [EMAIL PROTECTED]\n";
  mail($mailTo, $mailSubject, $mailBody, $mailHeaders);

Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"



[PHP] session continue

2001-03-06 Thread Jacky

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"



[PHP] session in php3

2001-03-07 Thread Jacky

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"



[PHP] round up number

2001-03-14 Thread Jacky

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"



[PHP] off the topic but relevant with us

2001-03-19 Thread Jacky

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 PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"



[PHP] Variable variable

2001-04-17 Thread Jacky

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 = .. ( assumeing it is done and i got value for $id for all records from 
table)

if ($$id =="on"){
echo "on";
}else{
echo "off";
}

It always returns echo "off", why is that?
cheers
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"



Re: [PHP] Variable variable

2001-04-18 Thread Jacky

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 PROTECTED]>
Sent: Wednesday, April 18, 2001 2:31 AM
Subject: Re: [PHP] Variable variable


> Jacky,
>
> You do not need the value. The variable $id will either exist (if the user
checked it) or not (if the user did not check it).
>
> Hope this helps.
>
> Chris
>
> Jacky wrote:
>
> > 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 = .. ( assumeing it is done and i got value for $id for all
records from table)
> >
> > if ($$id =="on"){
> > echo "on";
> > }else{
> > echo "off";
> > }
> >
> > It always returns echo "off", why is that?
> > cheers
> > Jack
> > [EMAIL PROTECTED]
> > "There is nothing more rewarding than reaching the goal you set for
yourself"
>
> --
> Chris Fry
> Quillsoft Pty Ltd
> Specialists in Secure Internet Services and E-Commerce Solutions
> 10 Gray Street
> Kogarah
> NSW  2217
> Australia
>
> Phone: +61 2 9553 1691
> Fax: +61 2 9553 1692
> Mobile: 0419 414 323
> eMail: [EMAIL PROTECTED]
> http://www.quillsoft.com.au
>
> You can download our Public CA Certificate from:-
> https://ca.secureanywhere.com/htdocs/cacert.crt
>
> **
>
> This information contains confidential information intended only for
> the use of the authorised recipient.  If you are not an authorised
> recipient of this e-mail, please contact Quillsoft Pty Ltd by return
> e-mail.
> In this case, you should not read, print, re-transmit, store or act
> in reliance on this e-mail or any attachments, and should destroy all
> copies of them.
> This e-mail and any attachments may also contain copyright material
> belonging to Quillsoft Pty Ltd.
> The views expressed in this e-mail or attachments are the views of
> the author and not the views of Quillsoft Pty Ltd.
> You should only deal with the material contained in this e-mail if
> you are authorised to do so.
>
> This notice should not be removed.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] checkbox validation

2001-04-18 Thread Jacky

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?

if ($id=="on") {
do something
}else{
do something
}

I did try this but did not work, what am i suppose to do to achieve this?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"



Re: [PHP] Variable variable

2001-04-18 Thread Jacky

I did look up in the manual for $HTTP_GET_VARS but could not find it? what
is it? a function?
sorry to ask this again, just try to find out how to use that.
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 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:
>  while (get records from db) {
> $id = id from record;
> ?>
> 
>  }
> ?>
>
> You would have to do a $HTTP_GET_VARS on the next page to find out which
ones
> exist.
>
> Then your select statement would be:
>
> $query = "select * from table where id IN ('comma delimited list of
values')";
>
> Messy but do-able!
>
> Probably a better way - There usually is!
>
> Chris
>
> Jacky wrote:
>
> > 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 PROTECTED]>
> > Sent: Wednesday, April 18, 2001 2:31 AM
> > Subject: Re: [PHP] Variable variable
> >
> > > Jacky,
> > >
> > > You do not need the value. The variable $id will either exist (if the
user
> > checked it) or not (if the user did not check it).
> > >
> > > Hope this helps.
> > >
> > > Chris
> > >
> > > Jacky wrote:
> > >
> > > > 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 = .. ( assumeing it is done and i got value for $id for
all
> > records from table)
> > > >
> > > > if ($$id =="on"){
> > > > echo "on";
> > > > }else{
> > > > echo "off";
> > > > }
> > > >
> > > > It always returns echo "off", why is that?
> > > > cheers
> > > > Jack
> > > > [EMAIL PROTECTED]
> > > > "There is nothing more rewarding than reaching the goal you set for
> > yourself"
> > >
> > > --
> > > Chris Fry
> > > Quillsoft Pty Ltd
> > > Specialists in Secure Internet Services and E-Commerce Solutions
> > > 10 Gray Street
> > > Kogarah
> > > NSW  2217
> > > Australia
> > >
> > > Phone: +61 2 9553 1691
> > > Fax: +61 2 9553 1692
> > > Mobile: 0419 414 323
> > > eMail: [EMAIL PROTECTED]
> > > http://www.quillsoft.com.au
> > >
> > > You can download our Public CA Certificate from:-
> > > https://ca.secureanywhere.com/htdocs/cacert.crt
> > >
> > > **
> > >
> > > This information contains confidential information intended only for
> > > the use of the authorised recipient.  If you are not an authorised
> > > recipient of this e-mail, please contact Quillsoft Pty Ltd by return
> > > e-mail.
> > > In this case, you should not read, print, re-transmit, store or act
> > > in reliance on this e-mail or any attachments, and should destroy all
> > > copies of them.
> > > This e-mail and any attachments may also contain copyright material
> > > belonging to Quillsoft Pty Ltd.
> > > The views expressed in this e-mail or attachments are the views of
> > > the author and not the views of Quillsoft Pty Ltd.
> > > You should only deal with the material contained in this e-mail if
> > > you are authorised to do so.
> > >
> > > This notice should not be removed.
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administr

[PHP] how do I find out which checkbox is checked when form get submit

2001-04-18 Thread Jacky

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 to next page, at next page, how do I 
check which check box is
checked so that I can get value of the checked one to process to next step?
I did try isset() and empty() to check if variable exist ( as shown below)
and did not work as the result always turn up to be "off"

   if((empty($id))=='true'){
echo "off";
 }else{
   echo "on";
   }

And I also try
if(isset($id))
{
  ..do echo off here...
}else{
  ...do echo on
}

And the result is always "off" as well.

Somene advice me to use $http_var_gets btu I could not find it from manaual,
is that the solution I need?
cheers

Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"



[PHP] special thanks to Chis Fry, this is great list!!

2001-04-18 Thread Jacky

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"



[PHP] date plus 7 more days

2001-04-23 Thread Jacky

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 plus 7 
on top of date value will  give me the date value I want to have. Is this sniplet 
below okay?
**
$First = "$year" . "$month" . "$date";
for ($i=1; $i  < 9 ; ++$i){
  $First = $First + 7 ;
}
***
cheers
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"



[PHP] date add more 7 days, help needed.

2001-04-23 Thread Jacky

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 plus 7 
on top of date value will give me the date value I want to have. 
I try the sniplet below and it did not work, always return zero. What should I do 
here???
**
$First = "$year" . "$month" . "$date";
for ($i=1; $i  < 9 ; ++$i){
  $First = $First + 7 ;
}
***
cheers
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"



[PHP] what is wrong with this login script?

2001-04-26 Thread Jacky

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 probelm for sure as well.

if(!($PHP_AUTH_USER)):
 Header("WWW-authenticate: basic realm=Restricted Area");
 Header("HTTP/1.0 401 Unauthorized");
 echo "";
 exit;
else:
 $connection  = mysql_connect("localhost", "username", "password")or die("connection 
fail");
if (!$connection) {echo "An error occurred in connection.\n";
exit;}

mysql_select_db("manageasy", $connection);
$user_id=$PHP_AUTH_USER;
$password=$PHP_AUTH_PW;
$result = mysql_query("SELECT hotel_id,username,password FROM hotels WHERE username = 
'$user_id' AND password='$password'", $connection);

Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"



[PHP] Fw: how do I calculate this?

2001-04-27 Thread Jacky


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 of days, I want to divided by 7 and if it can be 
divided by 7 perfectly, then I will redirect them to one page, otherwise send them to 
another page.
How do I set up condition in the if...thenelse bit to determine if the value is 
divided by 7 perfectly or not?
cheers 
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"



[PHP] a bit off the list but....

2001-05-01 Thread Jacky

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"



[PHP] is this the correct way to use round function?

2001-05-03 Thread Jacky

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"



[PHP] progession bar

2001-05-08 Thread Jacky

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"



[PHP] progession bar

2001-05-08 Thread Jacky

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 to tell when to stop the bar
3. make a table , 6 rows so each row repersent every 10 seconds
4. This is the bit where I got stuck, how do I change the color of table cell every 10 
secs for 6 times. 
any help will be thankful
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"



[PHP] update statement

2001-05-10 Thread Jacky

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,5)  ( when there is one vaule to update, not 
series of string to update).

How do I do that with this case then?
cheers
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"



[PHP] split string

2001-05-10 Thread Jacky

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 to be
$test =1;
$test1=2;
$test2 =3;
Is theer any function that could help me with that? because I need to update table 
using those value but I cannot use series of value to update, have to break them down 
to each variable like that.
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"



[PHP] javascript group

2001-05-18 Thread Jacky

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 reaching the goal you set for yourself"



[PHP] query question

2001-05-20 Thread Jacky

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"



[PHP] select the max value

2001-05-21 Thread Jacky

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"



[PHP] select the most repeated value in a field

2001-05-23 Thread Jacky

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 nothing more rewarding than reaching the goal you've set for yourself"



[PHP] select the most repeated value in a field

2001-05-23 Thread Jacky

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 nothing more rewarding than reaching the goal you've set for yourself"




[PHP] second MAX and so on

2001-05-24 Thread Jacky

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) but how do I pick second MAX and so on 
to the last one so that I can print each of them on to the position on the page as I 
wish?
cheers
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you've set for yourself"



[PHP] select count

2001-05-24 Thread Jacky

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 reaching the goal you've set for yourself"



[PHP] select count

2001-05-24 Thread Jacky

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 more rewarding than reaching the goal you've set for yourself"



[PHP] get the domain to display on my page

2001-03-26 Thread Jacky

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"



[PHP] submit form witout clilck submit button

2001-03-26 Thread Jacky

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 that at php file, how do I submit those values without user click on the 
submit button,  say make the form submit right away as soon as the page is read?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"



[PHP] how can I set up session

2001-03-27 Thread Jacky

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 first page befoer the redirect happen?
Note, query string is not preferred solution here.
cheers 
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"



[PHP] split string value

2001-03-29 Thread Jacky

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"



[PHP] split string value again

2001-03-29 Thread Jacky

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 I would like to break that and take only foo.com bit to 
use for navigation.
How can I do that?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"



[PHP] session in php3 and in php4

2001-04-01 Thread Jacky

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 nothing more rewarding than reaching the goal you set for yourself"



[PHP] very dumb question, need help

2001-04-02 Thread Jacky

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 not work, but still need to show what I did, so 
help can get to the right point easier).
Note: that I simply hardcode value into session just to see if it will like it.
*

*
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"



[PHP] is this syntax correct?

2001-04-02 Thread Jacky

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"



[PHP] session_unregister and session_destroy

2001-04-03 Thread Jacky

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"



[PHP] how do I delete session

2001-04-05 Thread Jacky

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, unles I close the 
browser. what did I do wrong??
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"



[PHP] while loop

2001-04-09 Thread Jacky

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 same in PHP??
cheers
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"



[PHP] what could cause the maximum execution time exceeded?

2001-04-09 Thread Jacky

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"



[PHP] yes! it's back

2001-06-19 Thread Jacky



I've been waiting for this time.
Jack[EMAIL PROTECTED]"There 
is nothing more rewarding than reaching the goal you've set for 
yourself"


[PHP] test

2001-06-19 Thread Jacky



test
Jack[EMAIL PROTECTED]"There 
is nothing more rewarding than reaching the goal you've set for 
yourself"


[PHP] list back

2001-06-20 Thread Jacky



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"


[PHP] php auth user

2001-06-20 Thread Jacky



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"


[PHP] logout

2001-06-20 Thread Jacky



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"


[PHP] log out method

2001-06-21 Thread Jacky



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 the login details on the 
server cache and user need not to close browser after that? I heard about using 
REALM but not sure exactly how.
Jack[EMAIL PROTECTED]"Love 
your enemies, it will drive them nuts"


[PHP] session and global

2001-08-30 Thread jacky

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



Re: [PHP] HTML mail

2001-08-30 Thread jacky

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 "mail()" function ?
> I readed the tutorial, but can someone write me example ?
> 
> Thanks,
> Rosen
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] How to get the referer value?

2001-09-03 Thread jacky

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(Referer))

  Thanks in advance.
  -Balaji



--


  -- 
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]



[PHP] about to run PHP script when POST data.

2009-08-21 Thread Jacky
Hi guys,

As I know When we POST a big data(e.g. 500M) to a php script, the php script
only can run after the big data finished POST.

for example:
a.php

> 


and I post 500m data to a.php,  after that a.php cannot be died immediately.
only when the data finished post.

How can I make the a.php die before the 500m data finish?

Thanks in advance.

-- 
Regards,
Jacky


[PHP] mail() test method

2001-02-19 Thread 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() does not work?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"



[PHP] convert access to JAVA PHP mysql Xml Soap

2002-05-01 Thread Jacky Kenna


Hi  We are a publishing company based in London. We have developed a
multi-user
MS Access contact management and bookkeeping database system which we want
to adapt / re-write such that it can be used over the web ( ASP) using
Internet
Explorer (or similar) from any location, as our clients would like to use
it.

We are therefore looking for someone to develope or who will head a team of
developers and
co-ordinate this project. If you are interested in working with us on this,
please e-mail [EMAIL PROTECTED] with a brief outline of your knowledge
and experience of programming languages and 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




[PHP] Project partners London

2005-02-13 Thread jACKY kENNA

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 PHP, JavaScript, PostgreSQL /MySQL, HTML and CSS. GNU Linux will be used
for both development and production. We assume that you will be running GNU
Linux and have an Apache httpd server.  This is a web application that will
require many technologies including SMS, both outgoing and parsing incoming
email, contact management and management reporting.

If the above matches you then we would be prepared to discuss our plans with
you and, if we click, invite you to join us.

Our project, an application for the web, is being developed on a speculative
basis having identified a gap in the market. We are therefore looking for
partners who will own a percentage of the final business. You will therefore
need to be self financed for the first 6 months.

As you would expect we will require you to agree and sign a Non-Disclosure
Agreement.

Our head office is in London.  Whereas communication will be electronic face
to face discussions are occasionally useful.

Please reply to [EMAIL PROTECTED]  with whatever information you feel is
relevant.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php