php-general Digest 11 Jun 2006 14:02:40 -0000 Issue 4179

2006-06-11 Thread php-general-digest-help
php-general Digest 11 Jun 2006 14:02:40 - Issue 4179 Topics (messages 237746 through 237758): Re: sending mail via php and unix box-clients thinks it's spam 237746 by: blackwater dev 237753 by: David Robley 237755 by: Dimiter Ivanov Re: How to re-order an array

php-general Digest 12 Jun 2006 02:29:43 -0000 Issue 4180

2006-06-11 Thread php-general-digest-help
php-general Digest 12 Jun 2006 02:29:43 - Issue 4180 Topics (messages 237759 through 237775): Re: Simultaneous post/get? 237759 by: Stut 237761 by: tedd 237762 by: Stut 237764 by: tedd 237765 by: Stut 237766 by: tedd 237771 by: Lowell

Re: [PHP] How to re-order an array

2006-06-11 Thread Paul Novitski
At 06:44 PM 6/9/2006, jekillen wrote: ... A script begins with one indexed array (not associative) and one other indexed array with the same values in a different order, the final order. I want to create an interim array and progressively re order the array until it matches slot for slot one

Re: [PHP] sending mail via php and unix box-clients thinks it's spam

2006-06-11 Thread David Robley
blackwater dev wrote: Here is what I use as the header: $header=From:[EMAIL PROTECTED]: text/html; I think you need a space in there: $header=From: [EMAIL PROTECTED]: text/html; Thanks! On 5/31/06, Richard Lynch [EMAIL PROTECTED] wrote: On Tue, May 30, 2006 12:45 pm, blackwater

Re: [PHP] sending mail via php and unix box-clients thinks it's spam

2006-06-11 Thread Dimiter Ivanov
On 6/11/06, David Robley [EMAIL PROTECTED] wrote: blackwater dev wrote: Here is what I use as the header: $header=From:[EMAIL PROTECTED]: text/html; As Richard Lynch, suggested you need to check the headers from both the emails. Send exatcly the same mails to yourself, using both

[PHP] remove keys from array

2006-06-11 Thread Ahmed Abdel-Aliem
hi all when i have array in the form of : Array ( [0] = 2 [ID] = 2 [1] = asdasd [CategoryName] = asdasd ) ) how can i make it in the form of : Array ( [ID] = 2 [CategoryName] = asdasd ) ) can anyone help me with that plz ? -- Ahmed Abdel-Aliem Web Developer www.SafariStudio.net +20101108551

[PHP] Simultaneous post/get?

2006-06-11 Thread tedd
Hi gang: What I am trying to do is after the user has selected an image to upload, I want to display a gif while a file is being uploaded. (The gif can be seen at: http://xn--ovg.com/a4.php ) I am trying to use ajax to accomplish this. The following statement works great and does what I want:

Re: [PHP] Simultaneous post/get?

2006-06-11 Thread Stut
tedd wrote: I am trying to use ajax to accomplish this. The following statement works great and does what I want: input type=submit value=Submit onClick=javascript:sndReq() However, when I place the statement within a form, like thus -- form method=post enctype=multipart/form-data input

[PHP] limiting downloads

2006-06-11 Thread Michelle Konzack
Hello *, I am on over 100 Mailinglists and want to make my archive (monthly tarbals) public availlable. my problem is, that they are around 20 GByte compressed archives and I want to prevent peoples to suck the whole archive at once... I was trying several things but failed. Does anyone have a

Re: [PHP] Simultaneous post/get?

2006-06-11 Thread tedd
At 3:21 PM +0100 6/11/06, Stut wrote: tedd wrote: I am trying to use ajax to accomplish this. The following statement works great and does what I want: input type=submit value=Submit onClick=javascript:sndReq() However, when I place the statement within a form, like thus -- form method=post

Re: [PHP] Simultaneous post/get?

2006-06-11 Thread Stut
tedd wrote: At 3:21 PM +0100 6/11/06, Stut wrote: The form is being submitted to the current URL which will stop any javascript executing at the time. What you need to do is prevent the form from being submitted, or control when it is submitted. Instead of using the onclick attribute on the

Re: [PHP] limiting downloads

2006-06-11 Thread tedd
At 1:51 PM +0200 6/10/06, Michelle Konzack wrote: Hello *, I am on over 100 Mailinglists and want to make my archive (monthly tarbals) public availlable. my problem is, that they are around 20 GByte compressed archives and I want to prevent peoples to suck the whole archive at once... I was

Re: [PHP] Simultaneous post/get?

2006-06-11 Thread tedd
At 4:35 PM +0100 6/11/06, Stut wrote: -snip- Maybe I'm not understanding what you're trying to do. I think you're trying to show an animated GIF before starting the file upload. Is that right? If it is, this is what you need to do... That's exactly what I'm trying to do. The form, with

Re: [PHP] Simultaneous post/get?

2006-06-11 Thread Stut
tedd wrote: At 4:35 PM +0100 6/11/06, Stut wrote: The form, with onsubmit=return sndReq(). sndReq does the AJAX image thing (although I don't know why you're using AJAX here, I'm using ajax because it's a method to inject an image in a DOM div without having to reload the current page. All

Re: [PHP] Simultaneous post/get?

2006-06-11 Thread tedd
At 5:46 PM +0100 6/11/06, Stut wrote: tedd wrote: At 4:35 PM +0100 6/11/06, Stut wrote: The form, with onsubmit=return sndReq(). sndReq does the AJAX image thing (although I don't know why you're using AJAX here, I'm using ajax because it's a method to inject an image in a DOM div without

Re: [PHP] remove keys from array

2006-06-11 Thread Rabin Vincent
On 6/11/06, Ahmed Abdel-Aliem [EMAIL PROTECTED] wrote: when i have array in the form of : Array ( [0] = 2 [ID] = 2 [1] = asdasd [CategoryName] = asdasd ) ) how can i make it in the form of : Array ( [ID] = 2 [CategoryName] = asdasd ) ) To remove a single element you can use unset:

[PHP] MySpace stuff?

2006-06-11 Thread Brian Dunning
Has anyone made some classes for automating MySpace activities: a friend adder, comment poster, etc.? Thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: How to re-order an array

2006-06-11 Thread Rafael
jekillen wrote: [···] You misunderstand my question. I know the limitations of javascript. The server won't respond to events registered in the browser. I write tons of forms that are all processed by the client with javascript. I have written ferocious regex filters that hack apart form

[PHP] Re: parsing out quoted text

2006-06-11 Thread Stian Berger
On Fri, 09 Jun 2006 14:53:09 +0200, sam [EMAIL PROTECTED] wrote: $str='bass electric organ bagpipes'; $parser($str); $query=SELECT * FROM table WHERE tb_instr = bass AND tb_instr = electric organ //quoted phrase AND tb_instr = bagpipes; Anybody know where I can just copy

Re: [PHP] Simultaneous post/get?

2006-06-11 Thread Lowell Allen
On Jun 11, 2006, at 2:02 PM, tedd wrote: At 5:46 PM +0100 6/11/06, Stut wrote: tedd wrote: At 4:35 PM +0100 6/11/06, Stut wrote: The form, with onsubmit=return sndReq(). sndReq does the AJAX image thing (although I don't know why you're using AJAX here, I'm using ajax because it's a method

Re: [PHP] remove keys from array

2006-06-11 Thread Afan Pasalic
if you pull this array from mysql use this: $query = mysql_query(SELECT * FROM table); $result = mysql_fetch_array($query, MYSQL_ASSOC); -afan Rabin Vincent wrote: On 6/11/06, Ahmed Abdel-Aliem [EMAIL PROTECTED] wrote: when i have array in the form of : Array ( [0] = 2 [ID] = 2 [1] = asdasd

Re: [PHP] transform RDF to HTML via XSL and PHP

2006-06-11 Thread Anthony Ettinger
xsl:template match=rdf:RDF html body table border=1 xsl:for-each select=item tr tdxsl:value-of select=title//td tdxsl:value-of select=link//td /tr /xsl:for-each /table /body /html /xsl:template /xsl:stylesheet I'ts been awhile, but try the

Re: [PHP] MySpace stuff?

2006-06-11 Thread Thorsten Suckow-Homberg
Has anyone made some classes for automating MySpace activities: a friend adder, comment poster, etc.? Thanks... http://blog.phpdoc.info/archives/39-MySpace-Welcome-to-Web-0.5-and-a-Y!Maps-toy.html I don't know if it will help you, but it is worth the read :D -- PHP General Mailing List

Re: [PHP] mail() function dying half way through. [SOLVED]

2006-06-11 Thread Dave M G
Chris, Richard, Thank you for your advice. Inserting sleep(1) into the script seems to have done the trick. I will also look into the other alternatives you suggest, such as different mail programs and the error output of mail() to see if I can optimize the system further. Thank you for

Re: [PHP] Re: How to re-order an array

2006-06-11 Thread jekillen
On Jun 11, 2006, at 1:21 PM, Rafael wrote: jekillen wrote: [···] You misunderstand my question. I know the limitations of javascript. The server won't respond to events registered in the browser. I write tons of forms that are all processed by the client with javascript. I have written

Re: [PHP] Mail sending program (beginner)

2006-06-11 Thread aci india
Since it was sunday I was not able to thank instently. Thanks for the help. Thanks to all. [snipped...]