Re: [PHP] uploading and extracting zip files

2006-07-04 Thread Chris
nicolas figaro wrote: Chris a écrit : Schalk wrote: Greetings All, Can someone please point me to a tutorial or open source 'library' that will explain how one can upload a .zip file and then extract it's contents and store this on the server and/or database using PHP. This will unzip a f

Re: [PHP] uploading and extracting zip files

2006-07-04 Thread nicolas figaro
Chris a écrit : Schalk wrote: Greetings All, Can someone please point me to a tutorial or open source 'library' that will explain how one can upload a .zip file and then extract it's contents and store this on the server and/or database using PHP. This will unzip a file: http://pear.php.n

Re: [PHP] Printing in php

2006-07-04 Thread Ligaya Turmelle
weetat wrote: Hi all , I am using PHP 4.3.2 and MYSQL . I need to do printing function in php . Basically , in my client web page , it will display the list of items on the html page. And i have a print button , so that the user can print the html page to their local printer. Any way how

Re: [PHP] Re: Templates, PHP Frameworks, and DB Abstraction?

2006-07-04 Thread Paul Scott
On Tue, 2006-07-04 at 18:54 -0300, Manuel Lemos wrote: > The truth is that good PHP developers are often not good Web (page) > designers, and good Web designers are not good developers. Yes, I agree with this completely! I am a relatively decent developer, but ask me to design an interface and y

Re: [PHP] uploading and extracting zip files

2006-07-04 Thread Chris
Schalk wrote: Greetings All, Can someone please point me to a tutorial or open source 'library' that will explain how one can upload a .zip file and then extract it's contents and store this on the server and/or database using PHP. This will unzip a file: http://pear.php.net/package/Archiv

[PHP] uploading and extracting zip files

2006-07-04 Thread Schalk
Greetings All, Can someone please point me to a tutorial or open source 'library' that will explain how one can upload a .zip file and then extract it's contents and store this on the server and/or database using PHP. Basically the same way as one can upload and install components etc. with J

Re: [PHP] What's the regex for this...?

2006-07-04 Thread Chris
Brian Dunning wrote: I have the source of a web page stored in $here and I want to set $this to whatever appears between '' and ''. Example: $here contains (amid tons of other stuff): This is a statement. I want to set $this to "This is a statement." What code do you have so far? if it'

Re: [PHP] What's the regex for this...?

2006-07-04 Thread Paul Novitski
At 04:50 PM 7/4/2006, Brian Dunning wrote: I have the source of a web page stored in $here and I want to set $this to whatever appears between '' and 'span>'. Example: $here contains (amid tons of other stuff): This is a statement. If you can depend on the markup you provided, you can use:

[PHP] What's the regex for this...?

2006-07-04 Thread Brian Dunning
I have the source of a web page stored in $here and I want to set $this to whatever appears between '' and 'span>'. Example: $here contains (amid tons of other stuff): class="myclass">This is a statement. I want to set $this to "This is a statement." Seems simple but I'm banging my head ag

Re: [PHP] Re: Templates, PHP Frameworks, and DB Abstraction?

2006-07-04 Thread Manuel Lemos
Hello, on 07/03/2006 05:22 PM Jay Paulson said the following: I'd like to get some feedback on what the list thinks is a good template engine other than smarty. I'd also like to do some quick prototyping using a PHP framework does anyone have any recommendations for

Re: [PHP] Re: Templates, PHP Frameworks, and DB Abstraction?

2006-07-04 Thread Manuel Lemos
Hello, on 07/03/2006 03:38 AM Lester Caine said the following: >>> I'd like to get some feedback on what the list thinks is a good template >>> engine other than smarty. >>> >>> I'd also like to do some quick prototyping using a PHP framework does >>> anyone >>> have any recommendations for one th

Re: [PHP] Bitwise operators and check if an bit is NOT within theflag.

2006-07-04 Thread Mathijs
Jochem Maas wrote: Mathijs wrote: Jochem Maas wrote: Mathijs wrote: ... Thank you very much. This seems to work :). cool. heres's a couple of funcs that might help you to understand bitwise operations better: >= 1) { $x++; } return $i ? $j <<= $x: 0; } /* doesn't break when expone

Re: [PHP] Bitwise operators and check if an bit is NOT within theflag.

2006-07-04 Thread Mathijs
Jochem Maas wrote: Mathijs wrote: Jochem Maas wrote: Mathijs wrote: ... Thank you very much. This seems to work :). cool. heres's a couple of funcs that might help you to understand bitwise operations better: >= 1) { $x++; } return $i ? $j <<= $x: 0; } /* doesn't break when expone

Re: [PHP] Bitwise operators and check if an bit is NOT within theflag.

2006-07-04 Thread Mathijs
Jochem Maas wrote: Mathijs wrote: Jochem Maas wrote: Mathijs wrote: ... Thank you very much. This seems to work :). cool. heres's a couple of funcs that might help you to understand bitwise operations better: >= 1) { $x++; } return $i ? $j <<= $x: 0; } /* doesn't break when expone

Re: [PHP] Bitwise operators and check if an bit is NOT within theflag.

2006-07-04 Thread Mathijs
Jochem Maas wrote: Mathijs wrote: Jochem Maas wrote: Mathijs wrote: ... Thank you very much. This seems to work :). cool. heres's a couple of funcs that might help you to understand bitwise operations better: >= 1) { $x++; } return $i ? $j <<= $x: 0; } /* doesn't break when expone

Re: [PHP] Bitwise operators and check if an bit is NOT within theflag.

2006-07-04 Thread Jochem Maas
Mathijs wrote: > Jochem Maas wrote: >> Mathijs wrote: ... >>> > > > Thank you very much. > This seems to work :). cool. heres's a couple of funcs that might help you to understand bitwise operations better: >= 1) { $x++; } return $i ? $j <<= $x: 0; } /* doesn't break when exponents are

Re: [PHP] Bitwise operators and check if an bit is NOT within theflag.

2006-07-04 Thread Mathijs
Jochem Maas wrote: Mathijs wrote: Hello there. I am working with some bitwise Operators for validating some variables. Now i need to know if an certain bit is NOT set and an other bit IS set. Example. class Test { const VALIDATE_CHECK1 = 1; const VALIDATE_CHECK2 = 2; const VALIDATE_CHECK3 =

Re: [PHP] running multiple updates on a single line

2006-07-04 Thread M. Sokolewicz
Ryan A wrote: --- Chris <[EMAIL PROTECTED]> wrote: Ryan A wrote: Hi, in phpmyadmin, in the SQL part where you can write a query if I have a double update such as this: it works without a problem as I am ending each sql statement with a simicolon, but in my scripts when I try to ru

Re: [PHP] Bitwise operators and check if an bit is NOT within the flag.

2006-07-04 Thread Jochem Maas
Mathijs wrote: > Hello there. > > I am working with some bitwise Operators for validating some variables. > Now i need to know if an certain bit is NOT set and an other bit IS set. > > Example. > > > const VALIDATE_CHECK1 = 1; > const VALIDATE_CHECK2 = 2; > const VALIDATE_CHECK3 = 4; > const V

Re: [PHP] running multiple updates on a single line

2006-07-04 Thread Ryan A
> >>RTFM :) -- mysql_query() > > > > > > Ok, read it, again what am I missing? > > I took out the semicolon from the end... then I > get an > > error. > > I did find one user post saying that this runs > just > > one query at a time...but if thats the case how is > > PHPMyAdmin running multi

[PHP] Bitwise operators and check if an bit is NOT within the flag.

2006-07-04 Thread Mathijs
Hello there. I am working with some bitwise Operators for validating some variables. Now i need to know if an certain bit is NOT set and an other bit IS set. Example. This last example i can't seem to get to work. I Want to only do that when for example VALIDATE_CHECK3 is not within the $fla

Re: [PHP] running multiple updates on a single line

2006-07-04 Thread Ryan A
--- Chris <[EMAIL PROTECTED]> wrote: > Ryan A wrote: > > Hi, > > in phpmyadmin, in the SQL part where you can write > a > > query if I have a double update such as this: > > > > > > it works without a problem as I am ending each sql > > statement with a simicolon, but in my scripts when > I >

Re: [PHP] READING LDIF FILES

2006-07-04 Thread Chris
how can I read LDIF files using PHP?? http://www.php.net/file_get_contents http://www.php.net/fopen -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[Fwd: RE: [PHP] Quick Question re: Windows/Linux PHP]

2006-07-04 Thread Jochem Maas
but what would I do with my life once I 'got it'? Original Message It would be nice if you read some of my other threads regarding PHP5 before opening your mouth and saying something stupid. People like you are the reason why I don't post very often to these lists. I would rathe

Re: [PHP] WebDav via PHP

2006-07-04 Thread Martin Staiger
I looked up the documentation and did find the same useless hint which you are referring to. No explanation. No example. ""Richard Lynch"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Did you search on php.net using "online documentation" in the popup menu? > > Did you fin

Re: [PHP] WebDav via PHP

2006-07-04 Thread Martin Staiger
I looked up the documentation and did find the same useless hint which you are referring to. No explanation. No example. ""Richard Lynch"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Did you search on php.net using "online documentation" in the popup menu? > > Did you f

[PHP] READING LDIF FILES

2006-07-04 Thread Juanjo Pascual
Hey all, how can I read LDIF files using PHP?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php