RE: [PHP] forms

2003-01-13 Thread cj
Would you know of any tutorial web sites which would explain how to do this? As I have not done any java programing before. -Original Message- From: Cal Evans [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 14 January 2003 12:43 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] form

Re[2]: [PHP] pass by reference

2003-01-13 Thread Tom Rogers
Hi, Tuesday, January 14, 2003, 11:01:33 AM, you wrote: P> -BEGIN PGP SIGNED MESSAGE- P> Hash: SHA1 P> On Monday 13 January 2003 20:01, Tom Rogers wrote: >> Hi, >> >> Tuesday, January 14, 2003, 9:36:57 AM, you wrote: >> P> -BEGIN PGP SIGNED MESSAGE- >> P> Hash: SHA1 >> >> P> I did

RE: [PHP] forms

2003-01-13 Thread David Freeman
G'day CJ > This is really a html more than a php question. Yep, it probably is... > Is it possible to have two buttons and have different > actions for each button in the same form? Yep, you can. When you process your form in php you'll find that you have either $first_submit_act

[PHP] cprelogin cookie data

2003-01-13 Thread Robert Samuel White
Hello. I have set up my website to log all cookie data that it encounters. I have session management support built in without using cookies. And my website does not use any cookies independently whatsoever. For some reason, it logs a cookie with the following data: cprelogin = no I searche

[PHP] Getting info with WHILE

2003-01-13 Thread Ezequiel Sapoznik
I have the following problem: I have a DB named 'fotografias' with the following information: ind indice_bio url 1 2 ../images/agosti.jpg 2 2 ../images/militar.jpg 3 2 hgfhgfh 4 2 eze 5 5 ezequi ind, indice_bio and url are fields names. I wrote the fol

Re: [PHP] forms

2003-01-13 Thread Chris Shiflett
--- cj <[EMAIL PROTECTED]> wrote: > Is it possible to have two buttons and have different > actions for each button in the same form? No, because the action belongs to the form, not the submit buttons (which is why action is an attribute of form). However, you can use different names and values f

[PHP] quota class?

2003-01-13 Thread UberGoober
Has anyone run across a php class for handling filesystem quotas? (Reporting) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] forms

2003-01-13 Thread cj
So, if I am understanding correctly The page that processes the form will have to work out which button got pressed? That should be easy enough to work out, I hope :-) -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 14 January 2003 2:21 PM To: [EMAIL PRO

Re: [PHP] Getting info with WHILE

2003-01-13 Thread Tom Rogers
Hi, Tuesday, January 14, 2003, 1:09:10 PM, you wrote: ES> I have the following problem: ES> I have a DB named 'fotografias' with the following information: ES> ind indice_bio url ES> 1 2 ../images/agosti.jpg ES> 2 2 ../images/militar.jpg ES> 3 2 hgfhgfh ES> 4 2

RE: [PHP] forms

2003-01-13 Thread Chris Shiflett
--- cj <[EMAIL PROTECTED]> wrote: > The page that processes the form will have to work out > which button got pressed? Exactly. For starters, use this bit of HTML/PHP code to help you see what the browser sends you when the form is submitted (add this to the receiving page): Alternatively, y

Re: [PHP] forms

2003-01-13 Thread Rick Emery
in HTML form: . . . in myscript.php: if(ISSET($HTTP_POST_VARS['submita'])) { } if ISSET(($HTTP_POST_VARS['submitb'])) { } - Original Message - From: "cj" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Php-List (E-mail)" <[EMAIL PROTECTED]> Sent: Monday, January 13, 2003 9:30 PM Sub

[PHP] increment numbers...

2003-01-13 Thread Senani
HI all, I need help on incrementing numbers starting with a 0 or more on php-4.2.3. When I increment a number like 2 (2++). Its out put is 3 ( not 3). But Its output had leading 0s on php-4.0.2. Does anybody know any function or any other simple way to do th

RE: [PHP] increment numbers...

2003-01-13 Thread Sean Malloy
for ($i = 1; $i <= 100; $i++) { echo str_pad($i, 6, '0', STR_PAD_LEFT) . ''; } is that the sort of effect you want? -Original Message- From: Senani [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 14 January 2003 3:22 PM To: [EMAIL PROTECTED] Subject: [PHP] increment numbers... HI all,

RE: [PHP] increment numbers...

2003-01-13 Thread Senani
Hi, Great! I was searching for this days in PHP DOCS. I can proceed now. Thanks Again folk. JanakAA At 03:30 PM 1/14/2003 +1100, you wrote: for ($i = 1; $i <= 100; $i++) { echo str_pad($i, 6, '0', STR_PAD_LEFT) . ''; } is that the sort of effect you want? -Original Me

Re: [PHP] increment numbers...

2003-01-13 Thread Rick Emery
$num = sprintf("%05d",$num); - Original Message - From: "Senani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 13, 2003 10:21 PM Subject: [PHP] increment numbers... HI all, I need help on incrementing numbers starting with a 0 or more on php-4.2.3.

Re: [PHP] occasional mcrypt problems

2003-01-13 Thread Steve Yates
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > As you have magic_quotes on, automatically happens *addslashes*, now you > need to reverse the proces I think I see where you're going, but I'm not sure that's the correct avenue here. If sla

Re: [PHP] increment numbers...

2003-01-13 Thread Senani
That also worked .. !! I tried this function .But used wrong arguments. Thanks a lot for the help. Rgds JanakaA At 11:25 PM 1/13/2003 -0600, you wrote: $num = sprintf("%05d",$num); - Original Message - From: "Senani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 13,

[PHP] Re: occasional mcrypt problems

2003-01-13 Thread Steve Yates
"J Smith" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Try using a different block cipher mode. When encrypting with ECB, as you > said, your plaintext must have a length that is a multiple of the blocksize Are you sure? I read the manual the other way..

[PHP] forms

2003-01-13 Thread cj
Thanks everyone for your help. I got it to work yay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] imap quota

2003-01-13 Thread Roger Thomas
i am referring to imap_get_quota manpages at http://www.php.net/manual/en/function.imap-get-quota.php it gave a short script (see bottom). question: in a qmail-ldap/courier-imap environment, who is that mailadmin ? -- script start -- $mbox = imap_open("{your.imap.host}","mailadmin","password",O

Re: [PHP] forms

2003-01-13 Thread Jason Wong
On Tuesday 14 January 2003 09:53, cj wrote: > Would you know of any tutorial web sites which would explain how to do > this? google knows. >As I have not done any java programing before. javascript != java -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems

[PHP] [Call for Papers] Int'l PHP Conference 2003 Spring Edition, Amsterdam

2003-01-13 Thread Björn Schotte
Dear Sirs/ Madams, dear friends, we are very pleased to announce the International PHP Conference 2003 - Spring Edition - in Amsterdam. The date for this event for PHP enthusiasts from all over the world will be May 8 and 9, 2003. The conference venue is the RAI conference center in Amsterdam.

<    1   2