Re: [PHP] Suggestions of some good, simple file upload 'in progress' code?

2009-04-22 Thread Manuel Lemos
Hello, on 04/22/2009 04:46 PM scubak1w1 said the following: > I am thinking that is where I am at... as you said, the user just needs to > know that there computer is busy, hang on a second already! > > I like those icons - if I may be so bold though, and excuse the broadness of > the questio

Re: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-22 Thread Edward Diener
Chris wrote: Edward Diener wrote: Chris wrote: Any light anyone can throw on the 'nob...@myserver.com' address would be most welcome. It is using the apache user @ your host name as the default. Try this: ini_set('sendmail_from', 'whate...@wherever.com'); I will try this but I do not

[PHP] Re: Unable to send mail from PHP to AT&T e-mail address

2009-04-22 Thread Al
Edward Diener wrote: I have a PHP script which uses the PHP 'mail' function. When the script's 'to' address is an AT&T address, such as my own as an AT&T ISP customer, the mail never gets to me. If the 'to' address is anything other than an AT&T address, the mail gets to the recipient. The PH

Re: [PHP] ! and !=

2009-04-22 Thread George Langley
Doh, of course! Just not thinking about the scope of the operator. If $var1 = 1, then !$var1 = 0 Thanks everyone! George - Original Message - From: Tom Rogers Date: Wednesday, April 22, 2009 17:01 Subject: Re: [PHP] ! and != To: George Langley Cc: php-general@lists.

Re: [PHP] @$_POST[...]

2009-04-22 Thread 9el
On Thu, Apr 23, 2009 at 5:26 AM, PJ wrote: > 9el wrote: >> Rather than looking for cheatsheets you should read the ZCE >> preparation guide book and PHP manual. >> >> > That's a lame duck response. I'm not stupid enough to not search and try > to find answers on G and in the manuals & tutorials. T

Re: [PHP] Suggestions of some good, simple file upload 'in progress' code?

2009-04-22 Thread scubak1w1
""scubak1w1"" wrote in message news:44.c6.33545.6747f...@pb1.pair.com... > > "tedd" wrote in message > news:p0624080ac614d6bf9...@[192.168.1.101]... >> At 9:28 PM -0600 4/21/09, scubak1w1 wrote: >>>Hello, >>> >>>Can someone pass on some suggestions of some good, simple file upload 'in >>>progr

Re: [PHP] @$_POST[...]

2009-04-22 Thread Chris
Luke wrote: 2009/4/22 PJ Could somebody explain to me the meaning of @ in $var = @$_POST['title'] ; where could I find a cheat sheet for those kinds of symbols or what are they called? Sorry for my ignorance, but maybe this will take the fog filter our of my neurons. :-\ I believe placing an

Re: [PHP] @$_POST[...]

2009-04-22 Thread PJ
9el wrote: > Rather than looking for cheatsheets you should read the ZCE > preparation guide book and PHP manual. > > That's a lame duck response. I'm not stupid enough to not search and try to find answers on G and in the manuals & tutorials. They are not always obvious so I often rely on the g

Re: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-22 Thread Chris
9el wrote: Does ini_set actually change the php.ini file in any way ? The reason I ask is that after putting in: Yes it does. :)you should have refered to the manual before using the line. It does not. It changes a setting for the script only. It does not change the physical php.ini fil

Re: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-22 Thread 9el
> Does ini_set actually change the php.ini file in any way ? The reason I ask > is that after putting in: Yes it does. :)you should have refered to the manual before using the line. Did you write your own myem...@myserver.com? or you kept that exactly like in code? > > ini_set('sendmail_fro

Re: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-22 Thread Chris
Edward Diener wrote: Chris wrote: Any light anyone can throw on the 'nob...@myserver.com' address would be most welcome. It is using the apache user @ your host name as the default. Try this: ini_set('sendmail_from', 'whate...@wherever.com'); I will try this but I do not understand why

Re: [PHP] ! and !=

2009-04-22 Thread Tom Rogers
Hi, Thursday, April 23, 2009, 8:30:34 AM, you wrote: GL> Hi all. Maybe I'm just getting confused by all the GL> languages I'm trying to work with! But, isn't: GL> if(!$var1 == $var2){ GL> the same thing as GL> if($var1 != $var2){ GL> #1 doesn't work, #2 does. GL> Thanks

Re: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-22 Thread Edward Diener
Chris wrote: Any light anyone can throw on the 'nob...@myserver.com' address would be most welcome. It is using the apache user @ your host name as the default. Try this: ini_set('sendmail_from', 'whate...@wherever.com'); I will try this but I do not understand why it should work. I have

Re: [PHP] ! and !=

2009-04-22 Thread Chris
George Langley wrote: Hi all. Maybe I'm just getting confused by all the languages I'm trying to work with! But, isn't: if(!$var1 == $var2){ the same thing as if($var1 != $var2){ #1 doesn't work, #2 does. Thanks! No. The second is seeing if $var1 is not equal to $v

Re: [PHP] Re: Suggestions of some good, simple file upload 'in progress' code?

2009-04-22 Thread Michael Shadle
On Wed, Apr 22, 2009 at 2:41 PM, haliphax wrote: > On Wed, Apr 22, 2009 at 11:25 AM, Michael Shadle wrote: >> On Wed, Apr 22, 2009 at 6:20 AM, haliphax wrote: >> >>> Michael, >>> >>> Given the fact that Gears requires a client-side installation, has an >>> awful penetration percentage, and his o

Re: [PHP] ! and !=

2009-04-22 Thread 9el
On Thu, Apr 23, 2009 at 4:30 AM, George Langley wrote: >        Hi all. Maybe I'm just getting confused by all the languages I'm > trying to work with! But, isn't: > > if(!$var1 == $var2){ Means if (NOT($var1) == $var2) > > the same thing as > > if($var1 != $var2){ means $var1 NOTEQUALS $var2

Re: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-22 Thread Chris
Any light anyone can throw on the 'nob...@myserver.com' address would be most welcome. It is using the apache user @ your host name as the default. Try this: ini_set('sendmail_from', 'whate...@wherever.com'); I will try this but I do not understand why it should work. I have a 'From:...'

[PHP] ! and !=

2009-04-22 Thread George Langley
Hi all. Maybe I'm just getting confused by all the languages I'm trying to work with! But, isn't: if(!$var1 == $var2){ the same thing as if($var1 != $var2){ #1 doesn't work, #2 does. Thanks! George Langley    Multimedia Developer    Audio/Video Editor    Musician, Ar

Re: [PHP] @$_POST[...]

2009-04-22 Thread 9el
Rather than looking for cheatsheets you should read the ZCE preparation guide book and PHP manual. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] @$_POST[...]

2009-04-22 Thread Luke
2009/4/22 PJ > Could somebody explain to me the meaning of @ in $var = @$_POST['title'] ; > where could I find a cheat sheet for those kinds of symbols or what are > they called? > Sorry for my ignorance, but maybe this will take the fog filter our of > my neurons. :-\ > > -- > unheralded genius:

[PHP] @$_POST[...]

2009-04-22 Thread PJ
Could somebody explain to me the meaning of @ in $var = @$_POST['title'] ; where could I find a cheat sheet for those kinds of symbols or what are they called? Sorry for my ignorance, but maybe this will take the fog filter our of my neurons. :-\ -- unheralded genius: "A clean desk is the sign of

Re: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-22 Thread Edward Diener
Shawn McKenzie wrote: Edward Diener wrote: Phpster wrote: On Apr 21, 2009, at 20:32, Edward Diener wrote: I have a PHP script which uses the PHP 'mail' function. When the script's 'to' address is an AT&T address, such as my own as an AT&T ISP customer, the mail never gets to me. If the 'to'

Re: [PHP] Re: Suggestions of some good, simple file upload 'in progress' code?

2009-04-22 Thread haliphax
On Wed, Apr 22, 2009 at 11:25 AM, Michael Shadle wrote: > On Wed, Apr 22, 2009 at 6:20 AM, haliphax wrote: > >> Michael, >> >> Given the fact that Gears requires a client-side installation, has an >> awful penetration percentage, and his original solution is all >> server-side (though it does req

Re: [PHP] checkboxes

2009-04-22 Thread PJ
Lists wrote: > PJ wrote: >> How to deactivate checkboxes when one in a series is checked? >> >> >> >> >> So that only 1 of the other inputs could be used in a search. Probably >> do the rest with switch stuff. >> Would be neat if the deactivated checkboxes would go grey. >> Is this an HTML ques

Re: [PHP] Suggestions of some good, simple file upload 'in progress' code?

2009-04-22 Thread scubak1w1
"tedd" wrote in message news:p0624080ac614d6bf9...@[192.168.1.101]... > At 9:28 PM -0600 4/21/09, scubak1w1 wrote: >>Hello, >> >>Can someone pass on some suggestions of some good, simple file upload 'in >>progress' code? > > > After all is said, you can pick anything you want from here: > > http

Re: [PHP] checkboxes

2009-04-22 Thread Lists
PJ wrote: How to deactivate checkboxes when one in a series is checked? So that only 1 of the other inputs could be used in a search. Probably do the rest with switch stuff. Would be neat if the deactivated checkboxes would go grey. Is this an HTML question? Use onclick?But I think I need to

Re: [PHP] Re: checkboxes

2009-04-22 Thread Ashley Sheridan
On Wed, 2009-04-22 at 14:55 -0400, PJ wrote: > Ashley Sheridan wrote: > > On Wed, 2009-04-22 at 01:38 -0400, PJ wrote: > > > >> Ashley Sheridan wrote: > >> > >>> On Wed, 2009-04-22 at 07:17 +0530, kranthi wrote: > >>> > yeh an onclick event handler is required to achieve this. b

Re: [PHP] Re: checkboxes

2009-04-22 Thread PJ
Ashley Sheridan wrote: > On Wed, 2009-04-22 at 01:38 -0400, PJ wrote: > >> Ashley Sheridan wrote: >> >>> On Wed, 2009-04-22 at 07:17 +0530, kranthi wrote: >>> yeh an onclick event handler is required to achieve this. but as Shawn has suggested radio buttons are better in th

RE: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-22 Thread kyle.smith
> Phpster wrote: >> >> >> On Apr 21, 2009, at 20:32, Edward Diener wrote: >> >>> I have a PHP script which uses the PHP 'mail' function. When the >>> script's 'to' address is an AT&T address, such as my own as an AT&T >>> ISP customer, the mail never gets to me. If the 'to' address is >>> anyt

RE: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-22 Thread kyle.smith
Edward Diener wrote: > Phpster wrote: >> >> >> On Apr 21, 2009, at 20:32, Edward Diener wrote: >> >>> I have a PHP script which uses the PHP 'mail' function. When the >>> script's 'to' address is an AT&T address, such as my own as an AT&T >>> ISP customer, the mail never gets to me. If the 'to'

Re: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-22 Thread Shawn McKenzie
Edward Diener wrote: > Phpster wrote: >> >> >> On Apr 21, 2009, at 20:32, Edward Diener wrote: >> >>> I have a PHP script which uses the PHP 'mail' function. When the >>> script's 'to' address is an AT&T address, such as my own as an AT&T >>> ISP customer, the mail never gets to me. If the 'to' ad

Re: [PHP] MAIL Error

2009-04-22 Thread tedd
At 6:31 PM +0200 4/22/09, Jan G.B. wrote: I believe that you all should just overread the huge signature. You've wasted a lot bandwidth with this discussion about the signature. :-) It's not interesting. You could have send your pointless replies to the person, skipping the mailing list, so that

Re: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-22 Thread Edward Diener
Phpster wrote: On Apr 21, 2009, at 20:32, Edward Diener wrote: I have a PHP script which uses the PHP 'mail' function. When the script's 'to' address is an AT&T address, such as my own as an AT&T ISP customer, the mail never gets to me. If the 'to' address is anything other than an AT&T ad

Re: [PHP] MAIL Error

2009-04-22 Thread Daniel Brown
On Wed, Apr 22, 2009 at 12:31, Jan G.B. wrote: > I believe that you all should just overread the huge signature. > You've wasted a lot bandwidth with this discussion about the signature. :-) > It's not interesting. > You could have send your pointless replies to the person, skipping the > mailing

Re: [PHP] Re: Suggestions of some good, simple file upload 'in

2009-04-22 Thread Bradley Broerman
If you'd like a simple Java Applet that can do the file upload, and is scriptable through JavaScript, I have a fairly nice one that uses FTP to upload the file. It has real-time feedback to the webapp, and has a PHP webservice that it communicates with for authentication, and notification. I als

Re: [PHP] MAIL Error

2009-04-22 Thread Jan G.B.
I believe that you all should just overread the huge signature. You've wasted a lot bandwidth with this discussion about the signature. :-) It's not interesting. You could have send your pointless replies to the person, skipping the mailing list, so that we aren't annoyed by your drivel which is se

Re: [PHP] Re: Suggestions of some good, simple file upload 'in progress' code?

2009-04-22 Thread Michael Shadle
On Wed, Apr 22, 2009 at 6:20 AM, haliphax wrote: > Michael, > > Given the fact that Gears requires a client-side installation, has an > awful penetration percentage, and his original solution is all > server-side (though it does require APC and YUI-JS), I wouldn't say > this is a very good sugges

Re: [PHP] Regex not working with ":"

2009-04-22 Thread Merlin Morgenstern
Richard Quadling wrote: 2009/4/22 kyle.smith : Have you tried escaping the : with a \? Like: mb_ereg_replace('^(.*)this is the test\: replace(.*)$', '', $contents ,'UTF-8'); Also, have you tried removing the : and adjusting the input string to verify your belief that it's the :? HTH, Kyle

RE: [PHP] Re: Suggestions of some good, simple file upload 'in progress' code?

2009-04-22 Thread Andrea Giammarchi
nobody knows my last creation? http://code.google.com/p/noswfupload/ full example with PHP back end in the zip. P.S. ... just in case ... the first upload progress for PHP with Ajax and NO APC ( ages ago, still me: http://www.devpro.it/upload_progress/ ) Flash FileReference porting ... still me

Re: [PHP] Suggestions of some good, simple file upload 'in progress' code?

2009-04-22 Thread tedd
At 9:28 PM -0600 4/21/09, scubak1w1 wrote: Hello, Can someone pass on some suggestions of some good, simple file upload 'in progress' code? After all is said, you can pick anything you want from here: http://webbytedd.com/bb/wait/ This is as simple as it gets for there is no simple solution

Re: [PHP] MySQL, MD5 and SHA1

2009-04-22 Thread Jan G.B.
2009/4/21 Per Jessen : > Jan G.B. wrote: > >> A web application that uses an external db server would be quite ... >> uhm... slow! Anyone did this, yet? ;) > > Certainly, and it's not slow.  It depends entirely on your connection to > the public internet. > > As we're speaking of the internet, it

Re: [PHP] Re: checkboxes

2009-04-22 Thread kranthi
i find var_dump, trigger_error really useful in situations like these. just do var_dump($_POST); var_dump($_GET); in the action{.php} script and u'll find a good deal of useful information -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] MAIL Error

2009-04-22 Thread tedd
At 10:45 AM +0530 4/22/09, wrote: Yeah its all garbage. But its from the company. I don't know how to trim it. Can anyone suggest? First, tell your company that they are making a fool of themselves on the net and do they want to continue the practice? After all, their practice is hindering y

Re: [PHP] Re: Suggestions of some good, simple file upload 'in progress' code?

2009-04-22 Thread haliphax
On Tue, Apr 21, 2009 at 11:35 PM, Michael Shadle wrote: > On Tue, Apr 21, 2009 at 9:02 PM, scubak1w1 wrote: >> >> ""scubak1w1"" wrote in message >> news:cf.13.21597.2ee8e...@pb1.pair.com... >>> Hello, >>> >>> Can someone pass on some suggestions of some good, simple file upload 'in >>> progress'

Re: [PHP] Regex not working with ":"

2009-04-22 Thread Richard Quadling
2009/4/22 kyle.smith : > Have you tried escaping the : with a \? > > Like: > mb_ereg_replace('^(.*)this is the test\: replace(.*)$', '', $contents > ,'UTF-8'); > > Also, have you tried removing the : and adjusting the input string to > verify your belief that it's the :? > > HTH, > Kyle > > -Or

RE: [PHP] Regex not working with ":"

2009-04-22 Thread kyle.smith
Have you tried escaping the : with a \? Like: mb_ereg_replace('^(.*)this is the test\: replace(.*)$', '', $contents ,'UTF-8'); Also, have you tried removing the : and adjusting the input string to verify your belief that it's the :? HTH, Kyle -Original Message- From: Merlin Morgenstern

Re: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-22 Thread Richard Quadling
2009/4/22 Edward Diener : > scubak1w1 wrote: >> >> "Edward Diener" wrote in message >> news:d9.64.21597.c829e...@pb1.pair.com... >>> >>> Chris wrote: kranthi wrote: > > of u are sure that the mail was not received as spam... > > check the log files of the mail server on t

Re: [PHP] Unable to send mail from PHP to AT&T e-mail address

2009-04-22 Thread Edward Diener
scubak1w1 wrote: "Edward Diener" wrote in message news:d9.64.21597.c829e...@pb1.pair.com... Chris wrote: kranthi wrote: of u are sure that the mail was not received as spam... check the log files of the mail server on the server to be sure that the mail actually reached the mail server from

Re: [PHP] Can PHP determine if the STDOUT to a CLI script is being redirected?

2009-04-22 Thread Per Jessen
Richard Quadling wrote: > 2009/4/22 Per Jessen : >> Richard Quadling wrote: >> >>> Hi. >>> >>> Is there a simple way for a CLI based PHP script to determine if its >>> output is being redirected to a file or piped through a filter >>> (find, sort, etc.) >>> >>> I'm using ANSI escape sequences to c

Re: [PHP] Can PHP determine if the STDOUT to a CLI script is being redirected?

2009-04-22 Thread Richard Quadling
2009/4/22 Per Jessen : > Richard Quadling wrote: > >> Hi. >> >> Is there a simple way for a CLI based PHP script to determine if its >> output is being redirected to a file or piped through a filter (find, >> sort, etc.) >> >> I'm using ANSI escape sequences to colour the output (all working very >

Re: [PHP] Can PHP determine if the STDOUT to a CLI script is being redirected?

2009-04-22 Thread Per Jessen
Richard Quadling wrote: > Hi. > > Is there a simple way for a CLI based PHP script to determine if its > output is being redirected to a file or piped through a filter (find, > sort, etc.) > > I'm using ANSI escape sequences to colour the output (all working very > nicely), but I want to suppres

[PHP] Can PHP determine if the STDOUT to a CLI script is being redirected?

2009-04-22 Thread Richard Quadling
Hi. Is there a simple way for a CLI based PHP script to determine if its output is being redirected to a file or piped through a filter (find, sort, etc.) I'm using ANSI escape sequences to colour the output (all working very nicely), but I want to suppress the codes if the output is being filter

[PHP] Regex not working with ":"

2009-04-22 Thread Merlin Morgenstern
Hi there, I am trying to remove a text which does contain a : inside. Somehow the regex does not match, no matter what I do: $contents = mb_ereg_replace('^(.*)this is the test: replace(.*)$', '', $contents ,'UTF-8'); Looks like this is a result of the :. Does anybody have an idea how to do