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 no

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

2003-08-19 Thread Chris W. Parker
Matt Babineau 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? > Hmmwond

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 (http:/

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

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 ? >a

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: $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 22:25, Decapode Azur wrote:

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 tuto

[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 w

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: http://sourceforgen.net/projects

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 "/some_freekin_unknown_real_director

[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 fu

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 us

[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_i

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

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 fr

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 to

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 quarantin

[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: www.amazon.com/o/r

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 backe

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 the

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 messag

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 H

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 co

[PHP] Problem with mktime, need to add 30 days to current date

2003-08-19 Thread James Johnson
Hi, I need to make a date that is 30 days from the current date, and, am having problems with mktime Here's what I've tried: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem with mktime, need to add 30 days to current date

2003-08-19 Thread James Johnson
Sorry about the previous post. Hi, I need to make a date that is 30 days from the current date, and, am having problems with mktime Here's what I've tried: $endDate=date('Y-m-d',mktime(0,0,0,date('m',time()),30,date('y',time())) ); Return this: 2003-08-30 Is there an easy way to do this? Th

Re: [PHP] Problem with mktime, need to add 30 days to current date

2003-08-19 Thread Sn!per
print date('Y-m-d',mktime(0,0,0,date('m'),date('d')+30,date('Y'))); Quoting James Johnson <[EMAIL PROTECTED]>: > Sorry about the previous post. > > Hi, > > I need to make a date that is 30 days from the current date, and, am > having problems with mktime > > Here's what I've tried: > > $endD

[PHP] Apache starting error

2003-08-19 Thread Rikunj
Hello all, I am new to this group please do not ignore.. I am running redhat 7.1 Linux Apache/1.3.27 (Unix). The server got restarted due to power malfunction. After it restarted again it is unable to start httpd service display below error. [warn] Loaded DSO libexec/libphp4.so uses plain Apach

[PHP] calling a user defined java class method .....

2003-08-19 Thread toby z
hay guyz i am trying to call, in php , a java class method which happens to be my own as well user defined that is how do i go about this and that also if its possible at all . thanx a million toby Want to

<    1   2