Re: [PHP] change Style Sheet by programming

2007-03-06 Thread Casey Chu
I don't really understand your question, but... http://www.quirksmode.org/dom/changess.html http://www.quirksmode.org/book/examplescripts/dropdown/index.html On 3/6/07, Alain Roger <[EMAIL PROTECTED]> wrote: Hi, I'm creating a Class which should allow user to setup the default theme CSS file h

[PHP] change Style Sheet by programming

2007-03-06 Thread Alain Roger
Hi, I'm creating a Class which should allow user to setup the default theme CSS file he would like to use to render a class object. therefore i have a simple function : public function SetTheme(string $ThemeName) { $this->m_ThemeUsed = $ThemeName; } which set the theme (CSS file

Re: [PHP] advise on consulting fees

2007-03-06 Thread Richard Lynch
On Fri, March 2, 2007 12:33 pm, John wrote: > This may be deviating a bit from the intent of the list, and someone > feel > free to say so if the list shouldn't be used for this. My apologies in > advance if that is the case. This is NOT a self-advertisement! > > My question is regarding the "going

Re: [PHP] Combining sound files

2007-03-06 Thread Richard Lynch
I may be replying to an outdated URL or even all out of order as I play catchup on the list... Your JS "play" function checks for precisely two possible browser "appName" values: Microsoft Internet Explorer Netscape Maybe Mozilla Firefox has "Netscape" in its appName, but I wouldn't expect that..

Re: [PHP] Launch a seperate process

2007-03-06 Thread Richard Lynch
On Tue, March 6, 2007 4:06 pm, Brad Fuller wrote: > Is there a way in a php script to launch another script but output > something > and exit (terminating the original request) before that script > finishes? > > I have a script that accepts data, does some stuff, returns a response > and > exits. >

[PHP] Live Sound experience?

2007-03-06 Thread Richard Lynch
If you are (or even might be) attending the php|tek conference in Chicago in May, and if you have experience running a live sound board (e.g., Mackie 1604 VLZ Pro or similar) please contact me OFF-LIST. Experience in rudimentary command line skills (like using * as a wildcard) is a big plus. Whil

[PHP] zipArchive - corrupting files?

2007-03-06 Thread KMiller
Been playing with this for a few hours and it seems that anything but a plain text file (doc,xls,pdf,etc.) is being trashed by ZipArchive. Has anyone had similar experiences or am I just doing something stupid and can't see it? Whatever the problem is, it certainly is silent about it. I though

Re: [PHP] Launch a seperate process

2007-03-06 Thread fedt
pcntl_ fork() and pcntl_ wait(), yo On 3/6/07, Brad Fuller <[EMAIL PROTECTED]> wrote: Is there a way in a php script to launch another script but output something and exit (terminating the original request) before that script finishes? I have a script that accepts data, does some stuff, retur

Re: [PHP] List all files in directory

2007-03-06 Thread Børge Holen
On Tuesday 06 March 2007 22:34, Jim Moseby wrote: > > Helder Lopes wrote: > > > Hi people > > > > > > How to php give to me a list of all files in one directory > > > > to make an > > > > > editor??? > > > > if you can't figure out how to get a list of files from a directory > > using php then how

Re: [PHP] List all files in directory

2007-03-06 Thread Børge Holen
On Tuesday 06 March 2007 23:36, Jay Blanchard wrote: > [snip] > Oh, yes, about that, how do you _really_ use PHP to do some reading on > the > client machine... like say. listing files... ;D > [/snip] > > You're kidding, right? Here's how, set up a PHP enabled.nah, never > mind. Just repeat to

RE: [PHP] List all files in directory

2007-03-06 Thread Jay Blanchard
[snip] Oh, yes, about that, how do you _really_ use PHP to do some reading on the client machine... like say. listing files... ;D [/snip] You're kidding, right? Here's how, set up a PHP enabled.nah, never mind. Just repeat to yourself Dorothy, "PHP is server-side, not client-side.." --

Re: [PHP] Launch a seperate process

2007-03-06 Thread Jon Anderson
fedt wrote: pcntl_ fork() and pcntl_ wait(), yo If you're using PHP as an apache DSO, you may find that those functions aren't available. If you don't have the pcntl_* functions available, there a less attractive options...I've done a request with curl with a short timeout to "spawn" the secon

RE: [PHP] Launch a seperate process

2007-03-06 Thread Brad Fuller
tyvm, I will check it out right away! B > -Original Message- > From: fedt [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 06, 2007 5:17 PM > To: Brad Fuller > Cc: php-general@lists.php.net > Subject: Re: [PHP] Launch a seperate process > > pcntl_ fork() and pcntl_ wait(), yo > > On 3/

RE: [PHP] List all files in directory

2007-03-06 Thread Jim Moseby
> > Helder Lopes wrote: > > Hi people > > > > How to php give to me a list of all files in one directory > to make an > > editor??? > > if you can't figure out how to get a list of files from a directory > using php then how do you expect to write a fully fledged 'editor'? > > RTFM ... there a

Re: [PHP] List all files in directory

2007-03-06 Thread Tom Chubb
On 06/03/07, Helder Lopes <[EMAIL PROTECTED]> wrote: Hi people How to php give to me a list of all files in one directory to make an editor??? http://php.net/readdir -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Opinion on on-line payment and banking gateway

2007-03-06 Thread Jim Moseby
> > > He's not selling any physical product. He's selling services and > on-line videos. So I don't know if PayPal suits his needs. > > google/yahoo knows more than me :-) > > Paypal is perfect for his needs. They provide an API for use with PHP and are easy to set up and use. JM --

Re: [PHP] Problem with spam

2007-03-06 Thread Børge Holen
On Monday 05 March 2007 12:15, Bc. Radek Krejca wrote: > Hi, > > I have problem with spam over function mail. My clients have badly > written functions and I cannot find where. Is there in php simple > way to detect which script generate mail? I mean like header (in > case of returning mail

[PHP] Re: [PHP-DB] array field type

2007-03-06 Thread Mark
Sancar Saran wrote: > Thanks for all those replies. It seems there was no easy solution (and or > serializing was better solution) for us. > > Our arrays contains lots of things.. XML may not fit because content of > array may broke xml structure. > Before you give up, take a look at the XMLDBX

Re: [PHP] Opinion on on-line payment and banking gateway

2007-03-06 Thread Eric Butera
On 3/6/07, Seak, Teng-Fong <[EMAIL PROTECTED]> wrote: Jochem Maas wrote: > tell him this: "never ever ever ever so much as accept a creditcard number > as input to any of his scripts let alone store it somewhere - leave that to > the payment provider who has the expertise, secure (hopefully) syst

Re: [PHP] Opinion on on-line payment and banking gateway

2007-03-06 Thread Seak, Teng-Fong
Jochem Maas wrote: > tell him this: "never ever ever ever so much as accept a creditcard number > as input to any of his scripts let alone store it somewhere - leave that to > the payment provider who has the expertise, secure (hopefully) system and > massive > liability fund to be able to deal wi

Re: [PHP] RE:[[PHP] Error in Script!!!

2007-03-06 Thread Tijnema !
On 3/5/07, Helder Lopes <[EMAIL PROTECTED]> wrote: Helder Lopes wrote: Erro no banco de dados!");//line 23 Where is $con defined??? -B $total = mysql_num_rows($result_id); // Caso o usuário tenha digitado um login válido o número de linhas será 1.. if($total) { // Obtém os dados do usuár

Re: [PHP] Re: Opinion on on-line payment and banking gateway

2007-03-06 Thread Seak, Teng-Fong
Mark wrote: > Seak, Teng-Fong wrote: > >> I'm not a PHP programmer. I ask this question for a friend of >> mine. So I'm not sure if I'm using the correct terms. He's making an >> e-commerce website and he doesn't know much about how to validate credit >> card, or how to make transactions.

Re: [PHP] List all files in directory

2007-03-06 Thread Jochem Maas
Helder Lopes wrote: > Hi people > > How to php give to me a list of all files in one directory to make an > editor??? if you can't figure out how to get a list of files from a directory using php then how do you expect to write a fully fledged 'editor'? RTFM ... there are examples that show you

RE: [PHP] List all files in directory

2007-03-06 Thread Jay Blanchard
[snip] How to php give to me a list of all files in one directory to make an editor??? [/snip] RTFM, seriously. http://www.php.net/readdir -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] List all files in directory

2007-03-06 Thread Helder Lopes
Hi people How to php give to me a list of all files in one directory to make an editor???

[PHP] Re: [PHP-DB] array field type

2007-03-06 Thread Micah Stevens
Wrong! Take a look at the SET datatype http://dev.mysql.com/doc/refman/4.1/en/set.html. This allows you to have an array of values in a single field, and the user can select any number of them. Sort of, but not really: This is a really specialized keyword, and depends on binary mapping o

[PHP] Re: [PHP-DB] array field type

2007-03-06 Thread Mark
Myron Turner wrote: > Tony Marston wrote: >> "Sancar Saran" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >> >>> On Sunday 04 March 2007 23:04, Sancar Saran wrote: >>> Hi, I want to know is there any db server around there for store php arrays natively. >

[PHP] Re: [PHP-DB] array field type

2007-03-06 Thread Myron Turner
Tony Marston wrote: "Sancar Saran" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On Sunday 04 March 2007 23:04, Sancar Saran wrote: Hi, I want to know is there any db server around there for store php arrays natively. Regards Sancar Thanks for responses, it seems

[PHP] Re: Opinion on on-line payment and banking gateway

2007-03-06 Thread Mark
Seak, Teng-Fong wrote: > I'm not a PHP programmer. I ask this question for a friend of > mine. So I'm not sure if I'm using the correct terms. He's making an > e-commerce website and he doesn't know much about how to validate credit > card, or how to make transactions. What he needs is cal

[PHP] Re: Turning serialize data into an array

2007-03-06 Thread datsclark
btw, the code: $testdata='a:17:{s:11:"event_start";s:4:"2230";s:9:"event_end";s:4:"2300";s:14:"start_unixtime";i:1173076200;s:12:"end_unixtime";i:1173078000;s:10:"event_text";s:37:"Call+NANCYADKINS+-+%28276%29+681-6548";s:12:"event_length";i:1800;s:13:"event_overlap";i:0;s:11:"description";s:17:"T

[PHP] Re: Turning serialize data into an array

2007-03-06 Thread datsclark
Looks like your serialized data isn't right. I added two curly brackets }} to the end, and unserialized the string with no problems. ""Richard Kurth"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > How can I get the data out of this string that has been serialize I need > to >

Re: [PHP] Re: pictures stored in PostgreSQL DB

2007-03-06 Thread tedd
At 5:14 PM -0500 3/5/07, markw@mohawksoft.com wrote: The "science" is computer science and that is mostly mathematics based. The "art" is the creativity of coming up with novel solutions. The thing that separates "engineering" from "art" is the fact that after the abstract creativity takes place

Re: [PHP] Opinion on on-line payment and banking gateway

2007-03-06 Thread Jochem Maas
Seak, Teng-Fong wrote: > I'm not a PHP programmer. you eloi, you. :-) > I ask this question for a friend of > mine. So I'm not sure if I'm using the correct terms. He's making an > e-commerce website and he doesn't know much about how to validate credit > card, or how to make transactions

Re: [PHP] how to access private property?

2007-03-06 Thread Mikey
Németh Zoltán wrote: 2007. 03. 6, kedd keltezéssel 20.08-kor Nicholas Yim ezt írta: Hello Everyone, [code] class MyClass { private $prop; } $obj=new MyClass; [/code] is there anyway to read and write MyClass->prop, except serialize write methods to do this

RE: [PHP] how to access private property?

2007-03-06 Thread Edward Kay
> > Hello Everyone, > > [code] > class MyClass { > private $prop; > } > $obj=new MyClass; > [/code] > > is there anyway to read and write MyClass->prop, except serialize > Not directly, that's the whole point of declaring something private. You could use __set and __

Re: [PHP] how to access private property?

2007-03-06 Thread Arno Coetzee
Nicholas Yim wrote: > Hello Everyone, > > [code] > class MyClass { > private $prop; > } > $obj=new MyClass; > [/code] > > is there anyway to read and write MyClass->prop, except serialize > > Best regards, > > Nicholas Yim > [EMAIL PROTECTED] > 2007-03-06 > >

Re: [PHP] how to access private property?

2007-03-06 Thread Németh Zoltán
2007. 03. 6, kedd keltezéssel 20.08-kor Nicholas Yim ezt írta: > Hello Everyone, > > [code] > class MyClass { > private $prop; > } > $obj=new MyClass; > [/code] > > is there anyway to read and write MyClass->prop, except serialize write methods to do this class

[PHP] Re: [PHP-DB] array field type

2007-03-06 Thread Tony Marston
"Sancar Saran" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sunday 04 March 2007 23:04, Sancar Saran wrote: >> Hi, >> >> I want to know is there any db server around there for store php arrays >> natively. >> >> Regards >> >> Sancar > Thanks for responses, it seems I have to g

[PHP] Opinion on on-line payment and banking gateway

2007-03-06 Thread Seak, Teng-Fong
I'm not a PHP programmer. I ask this question for a friend of mine. So I'm not sure if I'm using the correct terms. He's making an e-commerce website and he doesn't know much about how to validate credit card, or how to make transactions. What he needs is called "banking gateway", right?

Re: [PHP] Problem with spam

2007-03-06 Thread Jochem Maas
Bc. Radek Krejca wrote: > Hello, > > JM> grep -l "mail(" *.php > > I of course tried this before but I have hundereds domains and a lot > of files where clients using function mail. that sucks then doesn't it ... there is no better way, unless you search out the patch someone wrote (which may

Re: [PHP] module and access rights

2007-03-06 Thread Sancar Saran
Hi, On every request you have to check access rights. So you need access rights. someting like this rights table page_id user_login right_type select right_type from rights_table where page_id = '".$PHP_SELF."' and user_login ='".$_SESSION['user_login']."' if this query returns someting, your c

Re: [PHP] Re: remote fopen not working, despite allow_url_fopen = on SOLVED

2007-03-06 Thread alex handle
On 2/21/07, alex handle <[EMAIL PROTECTED]> wrote: On 2/21/07, Richard Lynch <[EMAIL PROTECTED]> wrote: > > On Mon, February 19, 2007 9:43 am, alex handle wrote: > > A minute ago i tried to run my test script (remote.php) on the shell > > and the > > remote fopen works!! > > The problem must be