Re: [PHP] problem sending emamil across one postfix server

2008-01-05 Thread Miren Urkixo
rig_to=<[EMAIL PROTECTED]>, relay=none, delay=0, status=deferred (delivery temporarily suspended: transport is unavailable) - Original Message - From: "Jim Lucas" <[EMAIL PROTECTED]> To: "Miren Urkixo" <[EMAIL PROTECTED]> Cc: Sent: Saturday, Jan

Re: [PHP] problem sending emamil across one postfix server

2008-01-04 Thread Miren Urkixo
But how can i make it? thanks, a lot of thanks - Original Message - From: "Jim Lucas" <[EMAIL PROTECTED]> To: "Miren Urkixo" <[EMAIL PROTECTED]> Cc: Sent: Saturday, January 05, 2008 12:08 AM Subject: Re: [PHP] problem sending emamil across one post

Re: [PHP] problem sending emamil across one postfix server

2008-01-04 Thread Jim Lucas
Miren Urkixo wrote: > Hello i want from one php page to send emails but i have one great problem. > The server is one postfix into one suse and the php pages are into the same > server with apache 2 and php 5. > it doesn't sent the messages and into the email server logs appears this: > Jan 3 16:2

[PHP] problem sending emamil across one postfix server

2008-01-04 Thread Miren Urkixo
Hello i want from one php page to send emails but i have one great problem. The server is one postfix into one suse and the php pages are into the same server with apache 2 and php 5. it doesn't sent the messages and into the email server logs appears this: Jan 3 16:28:55 server postfix/pickup[18

Re: [PHP] problem with url_fopen on free hosting environment

2007-11-29 Thread Samuel Vogel
Ok, I did find a solution by accident. I just blocked all tcp requests on port 80 and 443 comming from my own outside IP. Since I have a couple of servers, I just dropped the following into rc.local on all of them: # Blocking url_fopen requests ownip=`curl -s http://checkip.dyndns.org | awk '{

Re: [PHP] problem with url_fopen on free hosting environment

2007-11-28 Thread Samuel Vogel
Thanks for the infos. I read through the very interesting post, but I did not find it to be a solution for my problem. I tried to limit connections with iptables, but it did not work out. I'm not an expert at this, I tried like it is described here: http://www.linux-noob.com/forums/index.php?sh

Re: [PHP] problem with url_fopen on free hosting environment

2007-11-28 Thread Samuel Vogel
, FL 33308 | TEL 954-607-4207 | FAX 954-337-2695 Email: [EMAIL PROTECTED] | MSN Chat: [EMAIL PROTECTED] | SKYPE: bestplace | Web: http://www.bestplace.biz | Web: http://www.seo-diy.com -Original Message- From: Samuel Vogel [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 27, 2007

RE: [PHP] problem with url_fopen on free hosting environment

2007-11-27 Thread Andrés Robinet
eb: http://www.seo-diy.com > -Original Message- > From: Samuel Vogel [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 27, 2007 6:13 PM > To: php-general > Subject: [PHP] problem with url_fopen on free hosting environment > > Hey guys, > > I am running an free host

[PHP] problem with url_fopen on free hosting environment

2007-11-27 Thread Samuel Vogel
Hey guys, I am running an free hosting environment and do have some trouble with allow_url_fopen. Right now we prohibit this, but it's requested by many of our users. The problem is something like to following script, which calls itself over and over again, being run on our server: http://dom

Re: [PHP] Problem retrieving $_POST values

2007-11-13 Thread Jon Westcot
Hi Chris, et al.: > > Here's a section of what comes back when I do this: > > > > [mls] => 1234567 > > [property_address] => Main St > > [city_arr] => Array > > ( > > [0] => CHNDHT > > [1] => CHNDLR > > [2] => GILBER > > [3] =

Re: [PHP] Problem retrieving $_POST values

2007-11-13 Thread Philip Thompson
On Nov 13, 2007 7:01 AM, chris smith <[EMAIL PROTECTED]> wrote: > On Nov 13, 2007 7:10 PM, Jon Westcot <[EMAIL PROTECTED]> wrote: > > Hi Chris: > > > > > Exactly as you have there. > > > > > > print_r($_POST); > > > > > > will show you everything. > > > > Here's a section of what comes back wh

Re: [PHP] Problem retrieving $_POST values

2007-11-13 Thread chris smith
On Nov 13, 2007 7:10 PM, Jon Westcot <[EMAIL PROTECTED]> wrote: > Hi Chris: > > > Exactly as you have there. > > > > print_r($_POST); > > > > will show you everything. > > Here's a section of what comes back when I do this: > > [mls] => 1234567 > [property_address] => Main St > [cit

Re: [PHP] Problem retrieving $_POST values

2007-11-13 Thread Jon Westcot
Hi Chris: > Exactly as you have there. > > print_r($_POST); > > will show you everything. Here's a section of what comes back when I do this: [mls] => 1234567 [property_address] => Main St [city_arr] => Array ( [0] => CHNDHT [1] => CHNDLR

Re: [PHP] Problem retrieving $_POST values

2007-11-12 Thread Chris
Jon Westcot wrote: Hi all: I'm having problems retrieving an array value that should be in a $_POST setting. In fact, I'm having trouble with the code hanging with no warnings or errors whatsoever, so I've got no clue why it's not working. Working code: if(isset($_POST["mls"]))

[PHP] Problem retrieving $_POST values

2007-11-12 Thread Jon Westcot
Hi all: I'm having problems retrieving an array value that should be in a $_POST setting. In fact, I'm having trouble with the code hanging with no warnings or errors whatsoever, so I've got no clue why it's not working. Working code: if(isset($_POST["mls"])) { if(strlen(t

Re: [PHP] Problem with input name, how can i use . (dot) in a name of a input type text?

2007-11-05 Thread Jochem Maas
Jônata Tyska Carvalho wrote: > with regard to things not to do, don't f'ing reply off-list (unless asked), > etiquette asks that you keep the conversation on the mailing list. if you > wAnt to call me an ass because you don't like the way I tried to help that's > fine > but please do it in public :

Re: [PHP] Problem with input name, how can i use . (dot) in a name of a input type text?

2007-11-05 Thread Jônata Tyska Carvalho
with regard to things not to do, don't f'ing reply off-list (unless asked), etiquette asks that you keep the conversation on the mailing list. if you wAnt to call me an ass because you don't like the way I tried to help that's fine but please do it in public :-) sorry but i thought when im hitting

Re: [PHP] Problem with input name, how can i use . (dot) in a name of a input type text?

2007-11-05 Thread Jochem Maas
Jônata Tyska Carvalho wrote: > Well if i cant, i cant! But dont say i dont need why not? > Im working with a > framework that works in that way. Need to put the name of the column of please name the framework - I like to know what to avoid :-) > my database like the name of the input. And

Re: [PHP] Problem with input name, how can i use . (dot) in a name of a input type text?

2007-11-05 Thread Stut
Jochem Maas wrote: Stut wrote: Jônata Tyska Carvalho wrote: Im having a big problem because the name of one input type text that is ' table.name' in my html, becomes 'table_name' in php, it is a kind of bug?? =S in PHP we have: $_POST["table_name"] instead of $_POST["table.name"] someone

Re: [PHP] Problem with input name, how can i use . (dot) in a name of a input type text?

2007-11-05 Thread Jochem Maas
Stut wrote: > Jônata Tyska Carvalho wrote: >> Im having a big problem because the name of one input type text that is ' >> table.name' in my html, becomes 'table_name' in php, it is a kind of >> bug?? >> =S >> >> >> >> >> >> in PHP we have: >> >> $_POST["table_name"] instead of $_POST["table.nam

Re: [PHP] Problem with input name, how can i use . (dot) in a name of a input type text?

2007-11-05 Thread Stut
Jônata Tyska Carvalho wrote: Im having a big problem because the name of one input type text that is ' table.name' in my html, becomes 'table_name' in php, it is a kind of bug?? =S in PHP we have: $_POST["table_name"] instead of $_POST["table.name"] someone knows some way to put this to wo

[PHP] Problem with input name, how can i use . (dot) in a name of a input type text?

2007-11-05 Thread Jônata Tyska Carvalho
Hi Im having a big problem because the name of one input type text that is ' table.name' in my html, becomes 'table_name' in php, it is a kind of bug?? =S in PHP we have: $_POST["table_name"] instead of $_POST["table.name"] someone knows some way to put this to work?? i wanna send 'table.

Re: [PHP] problem with bind_param

2007-10-29 Thread Jeremy Mcentire
The PHP docs show: $stmt = $mysqli->prepare("INSERT INTO CountryLanguage VALUES (?, ?, ?, ?)"); $stmt->bind_param('sssd', $code, $language, $official, $percent); for usage. Your $prep->bind_param() doesn't seem to include the definitions. 'sssd' in the above example, string, string, string

[PHP] problem with bind_param

2007-10-29 Thread Hulf
Hi, I am still having poblems with the php5 functions. I have 4 variables in each. What is the problem? Warning: mysqli_stmt::bind_param() [function.mysqli-stmt-bind-param]: Number of elements in type definition string doesn't match number of bind variables in on line 21 $prep = $mysqli

Re: [PHP] problem with foreach

2007-10-23 Thread Andrew Ballard
On 10/23/07, tedd <[EMAIL PROTECTED]> wrote: > At 12:01 PM -0500 10/22/07, Adam Williams wrote: > >I have an html page with checkboxes: > > > > > >Modern > >Mississippi > >Civil Rights > >MilitaryHistory > > > > > >and mailform2.php containing: > > > >echo "you selected: "; > >/* line 81 */ foreach

Re: [PHP] problem with foreach

2007-10-23 Thread tedd
At 12:01 PM -0500 10/22/07, Adam Williams wrote: I have an html page with checkboxes: Modern Mississippi Civil Rights MilitaryHistory and mailform2.php containing: echo "you selected: "; /* line 81 */ foreach ($_POST[option] as $a) { echo "$a"; } but I'm getting the

RE: [PHP] problem with foreach

2007-10-22 Thread Robert Cummings
On Mon, 2007-10-22 at 19:59 -0400, Bastien Koert wrote: > I am sure that I am late to the party, but am sure that > double or single quotes at least are needed around the > attribute values to make this work Late to the party and completely off the mark taboot. Don't need quotes at all. It's bad p

RE: [PHP] problem with foreach

2007-10-22 Thread Bastien Koert
; CC: php-general@lists.php.net> Subject: Re: [PHP] problem with foreach>>>> Robert Cummings wrote:>> On Mon, 2007-10-22 at 18:07 +0100, Stut wrote:>>>>> Adam Williams wrote:>>>>>>> I have an html page with checkboxes:>>>>>>&

Re: [PHP] problem with foreach

2007-10-22 Thread Greg Donald
On 10/22/07, Nathan Hawks <[EMAIL PROTECTED]> wrote: > Also, AFAIK, PHP has always thrown a warning or notice if you use > foreach() on a non-associative array. PHP arrays are always associative: > cat array.php #!/usr/bin/env php ./array.php Array ( [0] => 1 [1] => 2 [2] => 3 ) Array (

Re: [PHP] problem with foreach

2007-10-22 Thread Nathan Hawks
Also, AFAIK, PHP has always thrown a warning or notice if you use foreach() on a non-associative array. That doesn't mean it won't work, but the strict standard is apparently: foreach ($assoc as $key => $val) not foreach ($indexed as $item) However, as we all know, the latter still works fine.

Re: [PHP] problem with foreach

2007-10-22 Thread Philip Thompson
On 10/22/07, Adam Williams <[EMAIL PROTECTED]> wrote: > > I have an html page with checkboxes: > > > Modern > Mississippi Change to: ... Someone mentioned this earlier, but I thought I'd reiterate. I'm not sure how the browser will deal with *arrays* that aren't quoted. It's very good practice

Re: [PHP] problem with foreach

2007-10-22 Thread Stut
Robert Cummings wrote: On Mon, 2007-10-22 at 18:07 +0100, Stut wrote: Adam Williams wrote: I have an html page with checkboxes: Modern Mississippi Civil Rights MilitaryHistory and mailform2.php containing: echo "you selected: "; /* line 81 */ foreach ($_POST[option] as $a) {

Re: [PHP] problem with foreach

2007-10-22 Thread Ludovic André
Adam Williams a écrit : I have an html page with checkboxes: [...] but I'm getting the error: you selected: *Warning*: Invalid argument supplied for foreach() in */var/www/sites/mdah-test/museum/mmhsurvey/mailform2.php* on line *81* I googled some checkbox/foreach pages on google, but I don'

Re: [PHP] problem with foreach

2007-10-22 Thread Robert Cummings
On Mon, 2007-10-22 at 12:20 -0500, Adam Williams wrote: > > Yeah, thats the problem I'm having for some reason. When I do: > > print_r($_POST['option']); > > it prints nothing. It's usually more informative to see everything that was posted so you might have more of an idea what may have went

RE: [PHP] problem with foreach

2007-10-22 Thread Jay Blanchard
[snip] print_r($_POST['option']); it prints nothing. [/snip] Try resetting the array first, you may be at the end of the array; reset($_POST); print_r($_POST); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problem with foreach

2007-10-22 Thread Adam Williams
Robert Cummings wrote: On Mon, 2007-10-22 at 18:07 +0100, Stut wrote: Adam Williams wrote: I have an html page with checkboxes: Modern Mississippi Civil Rights MilitaryHistory and mailform2.php containing: echo "you selected: "; /* line 81 */ foreach ($_POST[option] as $a)

Re: [PHP] problem with foreach

2007-10-22 Thread Robert Cummings
On Mon, 2007-10-22 at 18:07 +0100, Stut wrote: > Adam Williams wrote: > > I have an html page with checkboxes: > > > > > > Modern > > Mississippi > > Civil Rights > > MilitaryHistory > > > > > > and mailform2.php containing: > > > > echo "you selected: "; > > /* line 81 */ foreach ($_POST[opt

Re: [PHP] problem with foreach

2007-10-22 Thread Andrew Ballard
On 10/22/07, Adam Williams <[EMAIL PROTECTED]> wrote: > I have an html page with checkboxes: > > > Modern > Mississippi > Civil Rights > MilitaryHistory > > > and mailform2.php containing: > > echo "you selected: "; > /* line 81 */ foreach ($_POST[option] as $a) > { > echo "$a"; >

Re: [PHP] problem with foreach

2007-10-22 Thread Stut
Adam Williams wrote: I have an html page with checkboxes: Modern Mississippi Civil Rights MilitaryHistory and mailform2.php containing: echo "you selected: "; /* line 81 */ foreach ($_POST[option] as $a) { echo "$a"; } but I'm getting the error: you selected: *Warn

Re: [PHP] problem with foreach

2007-10-22 Thread Jason Pruim
On Oct 22, 2007, at 1:01 PM, Adam Williams wrote: I have an html page with checkboxes: Modern Mississippi Civil Rights MilitaryHistory and mailform2.php containing: echo "you selected: "; /* line 81 */ foreach ($_POST[option] as $a) { echo "$a"; } but I'm getting t

[PHP] problem with foreach

2007-10-22 Thread Adam Williams
I have an html page with checkboxes: Modern Mississippi Civil Rights MilitaryHistory and mailform2.php containing: echo "you selected: "; /* line 81 */ foreach ($_POST[option] as $a) { echo "$a"; } but I'm getting the error: you selected: *Warning*: Invalid argument

Re: [PHP] problem calling functions

2007-10-20 Thread Robin Vickery
On 19/10/2007, afan pasalic <[EMAIL PROTECTED]> wrote: > > > Robin Vickery wrote: > > On 19/10/2007, afan pasalic <[EMAIL PROTECTED]> wrote: > > > >> hi > >> I have a problem with calling functions: > >> > >> >> function solution1($var1){ > >> // some code > >> } > >> > >> function solutio

RE: [PHP] problem calling functions

2007-10-19 Thread Zoltán Németh
2007. 10. 19, péntek keltezéssel 11.33-kor Jay Blanchard ezt írta: > [snip] > function solution1($var1){ > // some code > } > > function solution2($var2){ > // some code > } > > function solution3($var3){ > // some code > } > > if ($function == 'solution1' or $function =

Re: [PHP] problem calling functions

2007-10-19 Thread afan pasalic
yup! it works perfect. obviously, it's MY fault. :-) thanks stut -afan Stut wrote: > afan pasalic wrote: >> actually, what example you are talking about? I got jay's example only? > > http://dev.stut.net/php/varfunc.php > > -Stut > -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] problem calling functions

2007-10-19 Thread Stut
afan pasalic wrote: actually, what example you are talking about? I got jay's example only? http://dev.stut.net/php/varfunc.php -Stut -- http://stut.net/ Stut wrote: afan pasalic wrote: why then the code doesn't work? the error I'm getting is: "Fatal error: Call to undefined function solu

Re: [PHP] problem calling functions

2007-10-19 Thread afan pasalic
actually, what example you are talking about? I got jay's example only? Stut wrote: > afan pasalic wrote: >> why then the code doesn't work? >> the error I'm getting is: "Fatal error: Call to undefined function >> solution1() in ..." even the function itself is just above the line that >> calls f

Re: [PHP] problem calling functions

2007-10-19 Thread afan pasalic
Stut wrote: > afan pasalic wrote: >> why then the code doesn't work? >> the error I'm getting is: "Fatal error: Call to undefined function >> solution1() in ..." even the function itself is just above the line that >> calls function? > > I can only guess that you're not showing us the code you're a

Re: [PHP] problem calling functions

2007-10-19 Thread Stut
afan pasalic wrote: why then the code doesn't work? the error I'm getting is: "Fatal error: Call to undefined function solution1() in ..." even the function itself is just above the line that calls function? I can only guess that you're not showing us the code you're actually running. See the

Re: [PHP] problem calling functions

2007-10-19 Thread afan pasalic
why then the code doesn't work? the error I'm getting is: "Fatal error: Call to undefined function solution1() in ..." even the function itself is just above the line that calls function? -afan Stut wrote: > Jay Blanchard wrote: >> I don't think you can put a function name in a variable and cal

Re: [PHP] problem calling functions

2007-10-19 Thread Stut
Jay Blanchard wrote: I don't think you can put a function name in a variable and call it like $function($var). Yes you can - it's basically the same as variable variables. -Stut -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

Re: [PHP] problem calling functions

2007-10-19 Thread afan pasalic
Jay Blanchard wrote: > [snip] > [snip] > function solution1($var1){ > // some code > } > > function solution2($var2){ > // some code > } > > function solution3($var3){ > // some code > } > > if ($function == 'solution1' or $function == 'solution2' or $function == > 'soluti

Re: [PHP] problem calling functions

2007-10-19 Thread afan pasalic
Jay Blanchard wrote: > [snip] > function solution1($var1){ > // some code > } > > function solution2($var2){ > // some code > } > > function solution3($var3){ > // some code > } > > if ($function == 'solution1' or $function == 'solution2' or $function == > 'solution3') > {

Re: [PHP] problem calling functions

2007-10-19 Thread afan pasalic
Robin Vickery wrote: > On 19/10/2007, afan pasalic <[EMAIL PROTECTED]> wrote: > >> hi >> I have a problem with calling functions: >> >> > function solution1($var1){ >> // some code >> } >> >> function solution2($var2){ >> // some code >> } >> >> function solution3($var3){ >

RE: [PHP] problem calling functions

2007-10-19 Thread Jay Blanchard
[snip] [snip] [/snip] I don't think you can put a function name in a variable and call it like $function($var). You'd be better of with a case statement in one function and call the proper solution (quick syntax, may need a little fixing; function my_solution($function, $var){ switch $f

RE: [PHP] problem calling functions

2007-10-19 Thread Jay Blanchard
[snip] [/snip] I don't think you can put a function name in a variable and call it like $function($var). You'd be better of with a case statement in one function and call the proper solution (quick syntax, may need a little fixing; function my_solution($function, $var){ switch $function{

Re: [PHP] problem calling functions

2007-10-19 Thread Zoltán Németh
2007. 10. 19, péntek keltezéssel 11.15-kor afan pasalic ezt írta: > hi > I have a problem with calling functions: > > function solution1($var1){ > // some code > } > > function solution2($var2){ > // some code > } > > function solution3($var3){ > // some code > } > > if

Re: [PHP] problem calling functions

2007-10-19 Thread Robin Vickery
On 19/10/2007, afan pasalic <[EMAIL PROTECTED]> wrote: > hi > I have a problem with calling functions: > > function solution1($var1){ > // some code > } > > function solution2($var2){ > // some code > } > > function solution3($var3){ > // some code > } > > if ($function ==

[PHP] problem calling functions

2007-10-19 Thread afan pasalic
hi I have a problem with calling functions: suggestions? thanks. -afan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problem with download script on safari and ie 7

2007-10-08 Thread Jim Lucas
Hulf wrote: header("Content-Length: ".filesize($file)); Ok, for the third time, I am going to ask, why are you running filesize() on a variable that doesn't exist. You are pulling a variable out of the DB called $size. From the scripts that you posted a few weeks ago, the upload handling sc

Re: [PHP] problem with download script on safari and ie 7

2007-10-08 Thread Robert Cummings
On Mon, 2007-10-08 at 14:59 +0100, Hulf wrote: > The problem I am getting is safari just downloads the .php file. IE7 > corrupts the binary file. It opens fine on FF and IE6. Is this a headers > problem? What's the value of $type? Cheers, Rob. > > Thanks, > > > R. > > > > if(isset($_GET

[PHP] problem with download script on safari and ie 7

2007-10-08 Thread Hulf
The problem I am getting is safari just downloads the .php file. IE7 corrupts the binary file. It opens fine on FF and IE6. Is this a headers problem? Thanks, R. http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with eAccelerator 0.9.5.2

2007-10-04 Thread Robert Cummings
I would check for an eaccelerator mailing list. Personally I never use the web interface. Cheers, Rob. On Thu, 2007-10-04 at 17:29 +0200, "Miguel J. Jiménez" wrote: > Hi, I am new to eAccelerator... when I use purge or clean the apache > error log says: > > * File does not exist: /var/www/PHPE

[PHP] Problem with eAccelerator 0.9.5.2

2007-10-04 Thread Miguel J. Jiménez
Hi, I am new to eAccelerator... when I use purge or clean the apache error log says: * File does not exist: /var/www/PHPE6F78DE9-13E4-4dee-8518-5FA2DACEA803, referer: https://pitufina/eaccelerator.php * It does everytime I use eaccelerator_purge() or eaccelerator_clean() ... The error is alw

Re: [PHP] Problem with pasting text from word into php form

2007-10-01 Thread tedd
At 8:01 AM +0200 10/1/07, Crab Hunt wrote: Hi, Is there a fix for removing the junk characters that appear when we copy and paste some text from Microsoft word into a php form ? For example the double quotes "" turn into something like *â??* thanks in advance. Crab: That's something I'm worki

Re: [PHP] Problem with pasting text from word into php form

2007-10-01 Thread Robert Cummings
On Mon, 2007-10-01 at 08:01 +0200, Crab Hunt wrote: > Hi, > Is there a fix for removing the junk characters that appear when we copy and > paste some text from Microsoft word into a php form ? For example the double > quotes "" turn into something like *â??* > > thanks in advance. http://www.goog

Re: [PHP] Problem with pasting text from word into php form

2007-09-30 Thread Jeffery Fernandez
On Monday 01 October 2007 16:01, Crab Hunt wrote: > Hi, > Is there a fix for removing the junk characters that appear when we copy > and paste some text from Microsoft word into a php form ? For example the > double quotes "" turn into something like *â??* > > thanks in advance. Some WYSIWYG edit

[PHP] Problem with pasting text from word into php form

2007-09-30 Thread Crab Hunt
Hi, Is there a fix for removing the junk characters that appear when we copy and paste some text from Microsoft word into a php form ? For example the double quotes "" turn into something like *â??* thanks in advance.

Re: [PHP] Problem With mysql_query

2007-09-05 Thread Janet Valade
Brian Welter wrote: I have the following code and it doesn't behave properly but I can't find my error. The code is designed to validate user login. When I pass in an invalid email name to the checkLogin function it returns a result, not FALSE as the documentation describes. I can SELECT * from t

Re: [PHP] Problem With mysql_query

2007-09-05 Thread Stut
Brian Welter wrote: I have the following code and it doesn't behave properly but I can't find my error. The code is designed to validate user login. When I pass in an invalid email name to the checkLogin function it returns a result, not FALSE as the documentation describes. I can SELECT * from t

Re: [PHP] Problem With mysql_query

2007-09-05 Thread Zoltán Németh
2007. 09. 5, szerda keltezéssel 16.31-kor Brian Welter ezt írta: > I have the following code and it doesn't behave properly but I can't find my > error. The code is designed to validate user login. When I pass in an > invalid email name to the checkLogin function it returns a result, not FALSE > as

[PHP] Problem With mysql_query

2007-09-05 Thread Brian Welter
I have the following code and it doesn't behave properly but I can't find my error. The code is designed to validate user login. When I pass in an invalid email name to the checkLogin function it returns a result, not FALSE as the documentation describes. I can SELECT * from the table being used an

[PHP] Problem downloading files in IE

2007-08-15 Thread Richard S. Crawford
My users are having problems downloading .doc or .xls files linked to from PHP pages; when they click on the link, IE returns an error stating that the file cannot be found. Firefox, however, seems to be able to find the file and open it just fine. From what I can tell, this is related to a kn

RE: [PHP] problem with require_once

2007-08-15 Thread Sanjeev N
] Sent: Wednesday, August 15, 2007 11:30 AM To: php-general@lists.php.net Subject: [PHP] problem with require_once Good day to all... I would like to ask for some help.. I have a form created in javascript codes. The page is a pop up window. I am passing the values of the form using the method "

Re: [PHP] problem with require_once

2007-08-14 Thread Chris
Vanessa Vega wrote: Good day to all... I would like to ask for some help.. I have a form created in javascript codes. The page is a pop up window. I am passing the values of the form using the method "post". The PHP file that handles the form displays the values from that and had the following

Re: [PHP] problem with require_once

2007-08-14 Thread Tijnema
On 8/15/07, Vanessa Vega <[EMAIL PROTECTED]> wrote: > Good day to all... > > I would like to ask for some help.. > I have a form created in javascript codes. The page is a pop up window. > I am passing the values of the form using the method "post". The PHP file > that handles the form displays the

[PHP] problem with require_once

2007-08-14 Thread Vanessa Vega
Good day to all... I would like to ask for some help.. I have a form created in javascript codes. The page is a pop up window. I am passing the values of the form using the method "post". The PHP file that handles the form displays the values from that and had the following code in the beginnin

Re: [PHP] problem in

2007-08-14 Thread Richard Lynch
On Mon, August 13, 2007 11:35 pm, shivendra wrote: > > > Sir,u r not getting what i m trying to say,my problem is how can i > send the > values of s in a perticuler row,by a function in onClick event of > that > row.actuallly the values are coming from database,and i what i want > when i > click a

Re: [PHP] problem in

2007-08-14 Thread sanjeevn
basically you want your page needs to be submitted to the next page when you click on the so do one thing. create 2 forms.. form 1 will have your main table and the datas form 2 will have hidden inputs for each you need to assign a variable called rownumber and create the hidden fields in each

Re: [PHP] problem in

2007-08-13 Thread shivendra
Sir,u r not getting what i m trying to say,my problem is how can i send the values of s in a perticuler row,by a function in onClick event of that row.actuallly the values are coming from database,and i what i want when i click a perticuler row the values are sent to some other page: monu23

Re: [PHP] problem in

2007-08-13 Thread Richard Lynch
On Sat, August 11, 2007 4:58 am, shivendra wrote: > > hello friends, > i need your ehlp,actually i have a tablbe in my php page,the format is > something like this: > > > monu23 > > > monu23 > > > What i want,when i click a row like row "t1" the values of this > particuler > row,i means to sa

Re: [PHP] problem in

2007-08-13 Thread Jim Lucas
shivendra wrote: hello friends, i need your ehlp,actually i have a tablbe in my php page,the format is something like this: monu23 monu23 What i want,when i click a row like row "t1" the values of this particuler row,i means to say the value in s((monu,23) of this row is send to some other

[PHP] problem in

2007-08-11 Thread shivendra
hello friends, i need your ehlp,actually i have a tablbe in my php page,the format is something like this: monu23 monu23 What i want,when i click a row like row "t1" the values of this particuler row,i means to say the value in s((monu,23) of this row is send to some other page similarly,whe

Re: [PHP] Problem with php mail

2007-08-05 Thread Carlton Whitehead
essage is getting blocked) Regards, Carlton Whitehead - Original Message - From: "Tijnema" <[EMAIL PROTECTED]> To: "Jason Sia" <[EMAIL PROTECTED]> Cc: php-general@lists.php.net Sent: Sunday, August 5, 2007 11:22:13 AM (GMT-0500) America/New_York Subject: Re:

Re: [PHP] Problem with php mail

2007-08-05 Thread Tijnema
On 8/5/07, Jason Sia <[EMAIL PROTECTED]> wrote: > Hi Everyone, >I'm having problem with php mail. When I try to create an html message > with only mydomain, gmail is registering it as a > spam while yahoo is not. Can you suggest solutions to my problem. > > Thanks, > Jason > There are a lo

RE: [PHP] Problem with php mail

2007-08-05 Thread Bastien Koert
Can you post the headers that you are using...they play a role how the message is viewed by the receiving agent bastien > Date: Sat, 4 Aug 2007 21:06:53 -0700 > From: [EMAIL PROTECTED] > To: php-general@lists.php.net > Subject: [PHP] Prob

Re: [PHP] Problem with php mail

2007-08-05 Thread Richard Heyes
I'm having problem with php mail. When I try to create an > html message with only mydomain, gmail is registering it as a spam while yahoo is not. Can you suggest solutions to my problem. Try sending a real message. Messages being too small is one indicator of a message being junk. -- Rich

[PHP] Problem with php mail

2007-08-04 Thread Jason Sia
Hi Everyone, I'm having problem with php mail. When I try to create an html message with only mydomain, gmail is registering it as a spam while yahoo is not. Can you suggest solutions to my problem. Thanks, Jason Send instant messages to your online friends http://uk.messenger.yahoo.com

RE: [PHP] Problem with getting time in EST

2007-08-04 Thread Jan Reiter
s ... ;-) Jan -Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: Saturday, August 04, 2007 5:02 PM To: Jan Reiter; 'Crab Hunt'; php-general@lists.php.net Subject: RE: [PHP] Problem with getting time in EST Jan: That's the problem, it doesn't work. I have mine s

RE: [PHP] Problem with getting time in EST

2007-08-04 Thread tedd
At 3:57 PM +0200 8/4/07, Jan Reiter wrote: Hi! Try setting the timezone to one of the cities inside it from this list: http://www.php.net/manual/en/timezones.america.php DST will be taken into account automatically. Hope that helps. Jan Jan: That's the problem, it doesn't work. I have min

Re: [PHP] Problem with getting time in EST

2007-08-04 Thread Michael Preslar
if time() is always 1 hour behind what you want, why not time() + 3600 // 60 seconds * 60 minutes On 8/4/07, Crab Hunt <[EMAIL PROTECTED]> wrote: > Hi, > I need to get the current time in EST timezone while my current timezone is > CEST. I use the function : > > date_default_timezone_set('EST') >

RE: [PHP] Problem with getting time in EST

2007-08-04 Thread Jan Reiter
Hi! Try setting the timezone to one of the cities inside it from this list: http://www.php.net/manual/en/timezones.america.php DST will be taken into account automatically. Hope that helps. Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

Re: [PHP] Problem with getting time in EST

2007-08-04 Thread Leonard Burton
HI, Are you looking for EDT or EST? EST = EDT -1. EDT = EST +1 Take care, Leonard On 8/4/07, Crab Hunt <[EMAIL PROTECTED]> wrote: > Hi, > I need to get the current time in EST timezone while my current timezone is > CEST. I use the function : > > date_default_timezone_set('EST') > > > But now

[PHP] Problem with getting time in EST

2007-08-04 Thread Crab Hunt
Hi, I need to get the current time in EST timezone while my current timezone is CEST. I use the function : date_default_timezone_set('EST') But now the time that I get is 1 hour less than the time in EST ( http://wwp.greenwichmeantime.com/time-zone/usa/eastern-time/), probably without taking car

Re: [PHP] Problem with filemtime

2007-07-31 Thread Eddie Dunckley
On Tue 31 Jul 07 22:57, Kevin Murphy wrote: > $csv_file = "myFile.csv"; > $last_modified_csv = filemtime($csv_file); > > $fh = fopen($csv_file, 'w') or die("can't open file"); > fwrite($fh, "Data Goes Here"); > fclose($fh); add a clearstatcache() in here. (and sometimes just for because you might

Re: [PHP] Problem with filemtime

2007-07-31 Thread Stut
Kevin Murphy wrote: I'm running the following script (simplified for discussion) to create a CSV file. My problem here is that the first filemtime and the last filemtime always equal each other. What I am trying to get is the filemtime ($new_last_modified) of the file that was just executed 3

[PHP] Problem with filemtime

2007-07-31 Thread Kevin Murphy
I'm running the following script (simplified for discussion) to create a CSV file. My problem here is that the first filemtime and the last filemtime always equal each other. What I am trying to get is the filemtime ($new_last_modified) of the file that was just executed 3 lines earlier. Is

Re: [PHP] problem with install php 5.2.3 on apache 2.2.4 in windows xp sp2

2007-07-26 Thread Richard Lynch
On Fri, July 20, 2007 7:57 pm, arvin lee wrote: > system: windows xp sp 2 > apache: apache_2.2.4-win32-x86-no_ssl > PHP: php-5.2.3-win32-installer.msi > > i try to install php on my computer so that i can finish my homework, > but > after download these files nightmare begins. Install apache wi

Re: [PHP] Problem iterating over an array with foreach and a reference variable

2007-07-25 Thread Robin Vickery
On 24/07/07, Chris Mika <[EMAIL PROTECTED]> wrote: I don't know if I'm doing something wrong or if this is a bug. Very simply: I created an array with values 1-5. I use a foreach loop to iterate over it to add 1 to the values. It correctly iterates over the array except for the last value. Code

Re: [PHP] Problem compile 5.2.3 souce under SUSE 10.1

2007-07-24 Thread Richard Lynch
On Mon, July 23, 2007 9:48 am, Jeff Lanzarotta wrote: > I am not sure if this is the right mailing list or not, but here > goes... > > I am attempting to compile php 5.2.3 from source under SUSE 10.1. The > compile is fine, it is the 'make test' that is failing... > > When I run 'make test' I am ge

Re: [PHP] Problem iterating over an array with foreach and a reference variable

2007-07-24 Thread Jochem Maas
Chris Mika wrote: > I don't know if I'm doing something wrong or if this is a bug. the problem is due ot reuse of the variable you define by reference in the second loop - cant really explain why its doing what you see but IIRC its not a bug, an artifact of the way references work. someone with a

<    1   2   3   4   5   6   7   8   9   10   >