RE: [PHP] Re: PHP Math Question

2003-12-11 Thread Bronislav Klučka
I do not know if I understand well, but what about $group=$number % 4; if ($group==0) $group=4; Brona > -Original Message- > From: Eric Bolikowski [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 11, 2003 10:53 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: PHP Math Question > >

RE: [PHP] How to use anchor with php post string to jump to a page???

2003-12-11 Thread Bronislav Klučka
I do not know, but you can try it yourselves: 1/ create form with action="http://www.yourserver.com/yourpage.htm#RowNum3"; method="get" 2/ make some input fields and submit this form ::) Brona > -Original Message- > From: Scott Fletcher [mailto:[EMAIL PROTECTED] > Sent: Thursday, Decembe

RE: [PHP] how to escape '\'

2003-11-28 Thread Bronislav Klučka
try "stripslashes()" Brona > -Original Message- > From: Manisha Sathe [mailto:[EMAIL PROTECTED] > Sent: Saturday, November 29, 2003 7:03 AM > To: [EMAIL PROTECTED] > Subject: [PHP] how to escape '\' > > > I have magic_quotes_gpc ON > > 'Here's is' - this comes out after HTTP post as

RE: [PHP] Regular expression help

2003-11-25 Thread Bronislav Klučka
This condition is true if there is no space, new line or tabulator in $val > > I need someone to tell me exactly what this regular-expression means: > if(ereg("[^ \t\n]",$val)) { > // do the job here > } > > I'm looking for an intermittent bug, and I need to understand this to make > sure I hav

[PHP] SQLITE

2003-11-22 Thread Bronislav Klučka
Hi, I've got questions: I've got sqlite like PHP module (under windows). I tried this: a)execute script 1 (selecting from some table), it tooks 2 minutes b)execute script 2 , it tooks 3 minutes c)execute them both at the same time (from different browser windows), both of t

RE: [PHP] Form with browse for file to upload "ftp"

2003-11-22 Thread Bronislav Klučka
User executing the script (www-data or nobody or some other user) has to vave the permission to wotk with this directory. Brona > I am getting this error once i run the script > > Warning: move_uploaded_file(img/matrix.jpg): failed to open stream: > Permission denied in /blah/blah > Do i need

[PHP] SQLite

2003-11-20 Thread Bronislav Klučka
Hi, I was trying to work with SQLite, everything is OK, but it seems not to vork in thread, but in sequences. I mean: I perform a question which tooks 2 minutes, then another, which tooks 3 minutes, then I perform them both from 2 separated browser windows and both of them stops at the same time an