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...]

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 feroci

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 t

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 (h

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

2006-06-11 Thread Anthony Ettinger
I'ts been awhile, but try the above. -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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] => as

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 metho

[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" //< AND tb_instr = "bagpipes"; Anybody know where I can just copy code that

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 submis

[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] 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: unset

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

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. Al

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 on

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

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 butt

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: >> >> >> >>However, when I place the statement within a form, like thus -- >> >> >type="hidden" name="MAX_FILE_SIZE" value="3"> >type="

[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 Stut
tedd wrote: I am trying to use ajax to accomplish this. The following statement works great and does what I want: However, when I place the statement within a form, like thus -- -- the statement appears to no longer work. The form is being submitted to the current URL which will stop

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

[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 +2010110855

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

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

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 of