Re: [PHP] GPL question

2003-08-19 Thread Evan Nemerson
Smarty is LGPL, not GPL. The LGPL allows linking. So no. PEAR packages typically use the PHP license, but some do use GPL. If you link to a GPL'd package, you must GPL your package. Otherwise, no. So unless you link to a GPL'd PEAR package, the answer is no. Read:

Re: [PHP] mysql output

2003-08-19 Thread CPT John W. Holmes
From: Curt Zirzow [EMAIL PROTECTED] * Thus wrote Anthony Ritter ([EMAIL PROTECTED]): The following code snippet outputs a table from a mySQL database. [snipped 255+ lines of code] That is way to much information, please be a brief in your code that you post. You'll find you'll get

Re: [PHP] Code formatting issue

2003-08-19 Thread Decapode Azur
this way may be what you'd like : $thing = new whatever (); $with = array (doStuff', anotherThing', doThis', doThat', doThis', doThat', anotherThing', doThis', /* etc. etc. */ ); foreach($with as $w) $thing-$w(); -- Is there a way I can make this type

[PHP] Re: That movie

2003-08-19 Thread mv
See the attached file for details -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] in the middle of shift and pop

2003-08-19 Thread Decapode Azur
is it possible to remove an element of an indexed array such as this exemple $A = array('a', 'b', 'c', 'd', 'e', 'f'); in a way that we can optain this result : $A = array('a', 'b', 'd', 'e', 'f'); something like that perhaps ? array_remove($A, 2); If such a function does not

[PHP] is the list getting virus spammed?

2003-08-19 Thread Matt Babineau
Hmmwondering why I keep receiving email sent to the list, that has this stupid attachment...anyone else getting these? Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] in the middle of shift and pop

2003-08-19 Thread andu
On Wed, 20 Aug 2003 00:25:32 +0200 Decapode Azur [EMAIL PROTECTED] wrote: is it possible to remove an element of an indexed array such as this exemple $A = array('a', 'b', 'c', 'd', 'e', 'f'); in a way that we can optain this result : $A = array('a', 'b', 'd', 'e', 'f');

RE: [PHP] in the middle of shift and pop

2003-08-19 Thread Ralph Guzman
unset($A[2]); -Original Message- From: Decapode Azur [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 3:26 PM To: [EMAIL PROTECTED] Subject: [PHP] in the middle of shift and pop is it possible to remove an element of an indexed array such as this exemple $A = array('a',

Re: [PHP] in the middle of shift and pop

2003-08-19 Thread Decapode Azur
is it possible to remove an element of an indexed array such as this exemple $A = array('a', 'b', 'c', 'd', 'e', 'f'); in a way that we can optain this result : $A = array('a', 'b', 'd', 'e', 'f'); something like that perhaps ? array_remove($A, 2); If such a function does not

RE: [PHP] is the list getting virus spammed?

2003-08-19 Thread Chris W. Parker
Matt Babineau mailto:[EMAIL PROTECTED] on Tuesday, August 19, 2003 12:21 PM said: Hmmwondering why I keep receiving email sent to the list, that has this stupid attachment...anyone else getting these? It's the Sobig.F worm. My server has already refused 20 today as well as my users

Re: [PHP] is the list getting virus spammed?

2003-08-19 Thread Steelhead
yup, I got 5 instances. I am being slammed by viral messages today, 7 from another client. Bill - Original Message - From: Matt Babineau [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 12:20 PM Subject: [PHP] is the list getting virus spammed? Hmmwondering

Re: [PHP] is the list getting virus spammed?

2003-08-19 Thread Nelson Rodríguez-Peña Alarcón
Hi, Matt Babineau wrote: Hmmwondering why I keep receiving email sent to the list, that has this stupid attachment...anyone else getting these? Yes, I also got those mails. It's Sobig-F. -- regards, Nelson Rodríguez-Peña A. Diseño

RE: [PHP] is the list getting virus spammed?

2003-08-19 Thread Mike Brum
Yes, it's Sobig-F: http://www.sophos.com/virusinfo/analyses/w32sobigf.html Just don't run the attachment and everyone will be fine. It's just one of those viruses that spoofs the from address from somebody that it finds in the infected user's address book or their out/inbox. Hopefully the site

[PHP] (^*$*(^*$% ensim web appliance

2003-08-19 Thread Dennis Gearon
please cc me Anyone on a shared, name-based IP, ensim web appliance hosted website? Can you tell me how to set the freekin': php_value auto_prepend_file /some_freekin_unknown_real_directory_path_to_HOME/my_paths/prepend.php value in my .htaccess file? -- PHP General Mailing List

RE: [PHP] is the list getting virus spammed?

2003-08-19 Thread Jeff Pearson
Yes. A virus is trying to spread through the list. I just read details about it on zdnet's site. Jeff Pearson -Original Message- From: Matt Babineau [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 19, 2003 12:21 PM To: [EMAIL PROTECTED] Subject: [PHP] is the list getting virus spammed?

Re: [PHP] How to open a save-as dialog and then redirect after donwload?

2003-08-19 Thread Jean-Christian IMbeault
Jim Lucas wrote: actually, you should be able to do this without ever leaving the page that were clicking from. I wasn't clear enough in my original post. You are right that the user never leaves the page he is on. That's ok. But what I would like to do is have the page reload itself so that

Re: [PHP] in the middle of shift and pop

2003-08-19 Thread Decapode Azur
unset($A[2]); No this function does not exactly what I want. unset() makes empty hole with $A[2] = Null I would like to have this result : Array ( [0] = a [1] = b [2] = d [3] = e [4] = f ) and not this one : Array ( [0] = a [1] = b [3] = d [4] = e [5] = f

Re: [PHP] in the middle of shift and pop

2003-08-19 Thread David Otton
On Wed, 20 Aug 2003 00:25:32 +0200, you wrote: is it possible to remove an element of an indexed array such as this exemple $A = array('a', 'b', 'c', 'd', 'e', 'f'); in a way that we can optain this result : $A = array('a', 'b', 'd', 'e', 'f'); something like that perhaps ?

Re: [PHP] in the middle of shift and pop

2003-08-19 Thread Dan Anderson
Well, if you knew (for instance) that $A[2] should be removed then you could do something like: ?php foreach ($A as $key = $value) { if ($key 2) { $B[$key] = $value; } elseif ($key 2) { $B[($key - 1)] = $value; } } ? Modify the above code as needed... -Dan On Tue, 2003-08-19 at

Re: [PHP] mysql output

2003-08-19 Thread Anthony Ritter
You also asked a very, very common question, i.e. how to alternate colors in table rows... there are a ton of websites/tutorials out there that explain ways to do this. ---John Holmes... Apologies for the lengthy code. I've tried using a few

[PHP] Sessions in frames

2003-08-19 Thread Aris Santillan
hi how can i use session variables in a page with multiple framesets? where in all frame will get the session variables being passed thanks

Re: [PHP] is the list getting virus spammed?

2003-08-19 Thread Ryan A
Yep me, was wondering why am i getting so many virus attachments from the list...but figured that a lot of the list subscribers are probably infected...was looking out for my name in the from: field :-D I wonder which virus/worm it is thougham too lazy to check right now. Cheers, -Ryan We

Re: [PHP] in the middle of shift and pop

2003-08-19 Thread Dan Anderson
If you unset an array that isn't associative, will that mean there will be a gap in the numbers? Or will PHP realize OK I need to change the numbers indexing the other elements? -Dan On Tue, 2003-08-19 at 22:27, andu wrote: On Wed, 20 Aug 2003 00:25:32 +0200 Decapode Azur [EMAIL PROTECTED]

[PHP] HELP! I'm Desperate...

2003-08-19 Thread Michael A Smith
Hi, I'm going off to school and won't have computer access for like 9 months... :-\ .. and I need someone with a couple of hours every week to monitor my CMS for bug reports, and to fix bugs (if they want). I would appreciate it so much. The project resides at:

Re: [PHP] (^*$*(^*$% ensim web appliance

2003-08-19 Thread John W. Holmes
Dennis Gearon wrote: please cc me Anyone on a shared, name-based IP, ensim web appliance hosted website? Can you tell me how to set the freekin': php_value auto_prepend_file /some_freekin_unknown_real_directory_path_to_HOME/my_paths/prepend.php value in my .htaccess file? Heh... I went

Re: [PHP] (^*$*(^*$% ensim web appliance

2003-08-19 Thread Michael A Smith
Do you have AllowOverride All in your httpd.conf file for that dir? -Michael Dennis Gearon wrote: please cc me Anyone on a shared, name-based IP, ensim web appliance hosted website? Can you tell me how to set the freekin': php_value auto_prepend_file

[PHP] Re: in the middle of shift and pop

2003-08-19 Thread Jon Drukman
Decapode Azur wrote: is it possible to remove an element of an indexed array such as this exemple $A = array('a', 'b', 'c', 'd', 'e', 'f'); in a way that we can optain this result : $A = array('a', 'b', 'd', 'e', 'f'); something like that perhaps ? array_remove($A, 2); If such a

Re: [PHP] mysql output

2003-08-19 Thread John W. Holmes
Anthony Ritter wrote: You also asked a very, very common question, i.e. how to alternate colors in table rows... there are a ton of websites/tutorials out there that explain ways to do this. ---John Holmes... Apologies for the lengthy code. I've tried

[PHP] Your details

2003-08-19 Thread lserv
Please see the attached file for details. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql output

2003-08-19 Thread Anthony Ritter
Thanks very much John. I found the following and inserted it into my snippet for alternating backgoriund colors. However, I'm not sure I understand the logic. This part: ... $alternate = 2; while ($posts_info = mysql_fetch_array($get_posts_res)) { $post_id

Re: [PHP] mysql output

2003-08-19 Thread John W. Holmes
Anthony Ritter wrote: I found the following and inserted it into my snippet for alternating backgoriund colors. However, I'm not sure I understand the logic. [snip] if ($alternate == 1) { $color = #eaf3da; $alternate = 2; } else { $color = #d5eae9; $alternate = 1; } It's just a long way of

Re: [PHP] Sessions in frames

2003-08-19 Thread Justin French
It's the same as any other web page. When you define a frameset, you do so with URLs, so the session value can be passed to each window of the frameset via the URL. Obviously cookies or PHP enabled with enable-trans-sid will make this job easy/transparent. The real issue you have is that a

Re: [PHP] is the list getting virus spammed?

2003-08-19 Thread Ashley M. Kirchner
Steelhead wrote: yup, I got 5 instances. I am being slammed by viral messages today, 7 from another client. 27 so far have been quarantined on my end (not all originating from this list.) -- H| I haven't lost my mind; it's backed up on tape somewhere.

Re: [PHP] is the list getting virus spammed?

2003-08-19 Thread Richard Baskett
I think you guys are bragging :) I have had over 100 easily.. about 3 or 4 every 5 minutes.. it's pretty bad. I work with a bunch of colleges and I think they are the ones getting hit the worse :( Rick I look forward to the invention of faster-than-light travel. What I'm not looking forward

Re: [PHP] is the list getting virus spammed?

2003-08-19 Thread daniel
how are they ever getting through ? the funniest of all is the windows update spam virus shit, obviously targetting the ladite and the weak. Steelhead wrote: yup, I got 5 instances. I am being slammed by viral messages today, 7 from another client. 27 so far have been quarantined on my

[PHP] Your details

2003-08-19 Thread listserv
Please see the attached file for details. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Your details

2003-08-19 Thread John W. Holmes
[EMAIL PROTECTED] wrote: Please see the attached file for details. Did anyone's AV pick up a virus in this email? It went right through mine but obviously doesn't belong on this list. I just got the latest definitions from Norton, too... -- ---John Holmes... Amazon Wishlist:

Re: [PHP] Your details

2003-08-19 Thread Ashley M. Kirchner
John W. Holmes wrote: Did anyone's AV pick up a virus in this email? It went right through mine but obviously doesn't belong on this list. I just got the latest definitions from Norton, too... Mine did. MIMEDefang with SpamAssassin on the mail spool. -- H| I haven't lost my mind; it's

Re: [PHP] How to open a save-as dialog and then redirect after donwload?

2003-08-19 Thread Jason Sheets
Use PHP's file functions to read the file and output it to the browser, sending the attachment header so it opens the save as dialog. After you finish outputing the file unlink() the file. Another way to do this is to store the files outside your www root, then authorize the user to access

Re: [PHP] HELP! I'm Desperate...

2003-08-19 Thread Jason Sheets
Why not go to a cybercafe every few days or once a week and check on the project? You can also go to Kinkos or your local library, most of them have internet enabled pcs. Jason Michael A Smith wrote: Hi, I'm going off to school and won't have computer access for like 9 months... :-\ .. and

[PHP] Re: Problems send MIME multipart/alternative mail with php

2003-08-19 Thread Manuel Lemos
Hello, On 08/19/2003 04:56 PM, Dan Van Derveer wrote: I have had no success sending multipart/alternative emails with php. I have tried everyone's various code snippets with no luck. I test the results with Outlook and Outlook Express. Everytime my boundary tag ends up showing as part of my

Re: [PHP] Your details

2003-08-19 Thread daniel
i got it 10 times today [EMAIL PROTECTED] wrote: Please see the attached file for details. Did anyone's AV pick up a virus in this email? It went right through mine but obviously doesn't belong on this list. I just got the latest definitions from Norton, too... -- ---John Holmes...

Re: [PHP] How to open a save-as dialog and then redirect after donwload?

2003-08-19 Thread Jean-Christian IMbeault
Jason Sheets wrote: Use PHP's file functions to read the file and output it to the browser, sending the attachment header so it opens the save as dialog. After you finish outputing the file unlink() the file. You didn't quite catch what I wanted to do. No file exists on my server. I just

Re: [PHP] HELP! I'm Desperate...

2003-08-19 Thread Curt Zirzow
* Thus wrote Jason Sheets ([EMAIL PROTECTED]): Why not go to a cybercafe every few days or once a week and check on the project? You can also go to Kinkos or your local library, most of them have internet enabled pcs. The library is good, plenty of reading material while waiting for a

<    1   2