Re: [PHP] problem with quotes (single and double) in forms

2006-08-10 Thread afan
My thought was to use this until I do all changes. Once the changes are done - turn off magic_quote_gpc in php.ini. but, agree, redo whole site on separate place (under 'new' or on other box) is much better solution. -afan > On Thu, August 10, 2006 7:54 am, [EMAIL PROTECTED] wrote: >> This is w

Re: [PHP] problem with quotes (single and double) in forms

2006-08-10 Thread Richard Lynch
On Thu, August 10, 2006 7:54 am, [EMAIL PROTECTED] wrote: > This is what I found and started to use: created magic_quotes_off.php > > if (get_magic_quotes_gpc()) > { > function stripslashes_deep($value) > { > $value = is_array($value) ? > array_map('str

Re: [PHP] problem with quotes (single and double) in forms

2006-08-10 Thread afan
good idea! :) thanks richard! -afan > On Wed, August 9, 2006 9:07 am, [EMAIL PROTECTED] wrote: >> Have a web site on server where magic quote is turned On. Because of >> problems with quotes within forms, I was thinking to turn it Off. I >> wonder >> how much work I'll have to change code to acc

Re: [PHP] problem with quotes (single and double) in forms

2006-08-10 Thread Richard Lynch
On Wed, August 9, 2006 9:07 am, [EMAIL PROTECTED] wrote: > Have a web site on server where magic quote is turned On. Because of > problems with quotes within forms, I was thinking to turn it Off. I > wonder > how much work I'll have to change code to accept new setting? Are we > talking about major

Re: [PHP] problem with quotes (single and double) in forms

2006-08-10 Thread afan
This is what I found and started to use: created magic_quotes_off.php if (get_magic_quotes_gpc()) { function stripslashes_deep($value) { $value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value);

Re: [PHP] problem with quotes (single and double) in forms

2006-08-10 Thread afan
hm. good idea. actually, it's, at least, the most safe way. :) thanks. -afan > [EMAIL PROTECTED] wrote: >> Hi to all. >> >> Have a web site on server where magic quote is turned On. Because of >> problems with quotes within forms, I was thinking to turn it Off. I >> wonder >> how much work I'll

Re: [PHP] problem with quotes (single and double) in forms

2006-08-10 Thread Ivo F.A.C. Fokkema
In case anyone's interested, here's the function I use in the open source project LOVD to undo Magic Quoting on all GPC arrays: function lovd_magicUnquote ($var = '') { if (!$var) { if (count($_GET)) { lovd_magicUnquote(& $_GET); } if (count($_POST)) {

Re: [PHP] problem with quotes (single and double) in forms

2006-08-09 Thread Chris
Chris wrote: Chris wrote: J R wrote: try to use this few lines of code. function stripMagicQuotes(&$var) { if (get_magic_quotes_gpc()) { $var= stripslashes($var); } return $var; } this way you don't really have to worry if magic quotes is on or off. Then he has to modify

Re: [PHP] problem with quotes (single and double) in forms

2006-08-09 Thread J R
here's an improvement jwith recursion: function stripMagicQuotes(&$var) { if (get_magic_quotes_gpc()) { if(!is_array($var)) { $var= stripslashes($var); } else { array_walk($var, stripMagicQuotes); } } return $var; } hth, john On 8/10/06, C

Re: [PHP] problem with quotes (single and double) in forms

2006-08-09 Thread Chris
Chris wrote: J R wrote: try to use this few lines of code. function stripMagicQuotes(&$var) { if (get_magic_quotes_gpc()) { $var= stripslashes($var); } return $var; } this way you don't really have to worry if magic quotes is on or off. Then he has to modify all the code

Re: [PHP] problem with quotes (single and double) in forms

2006-08-09 Thread Chris
J R wrote: try to use this few lines of code. function stripMagicQuotes(&$var) { if (get_magic_quotes_gpc()) { $var= stripslashes($var); } return $var; } this way you don't really have to worry if magic quotes is on or off. Then he has to modify all the code to call that f

Re: [PHP] problem with quotes (single and double) in forms

2006-08-09 Thread J R
try to use this few lines of code. function stripMagicQuotes(&$var) { if (get_magic_quotes_gpc()) { $var= stripslashes($var); } return $var; } this way you don't really have to worry if magic quotes is on or off. ** On 8/10/06, Chris <[EMAIL PROTECTED]> wrote: [EMAIL PROTE

Re: [PHP] problem with quotes (single and double) in forms

2006-08-09 Thread Chris
[EMAIL PROTECTED] wrote: Hi to all. Have a web site on server where magic quote is turned On. Because of problems with quotes within forms, I was thinking to turn it Off. I wonder how much work I'll have to change code to accept new setting? Are we talking about major changes or something that c

Re: [PHP] Problem with wrapper script for Tidy

2006-08-05 Thread Frank Arensmeier
Thank you Richard. I will test that (piping the output). Regarding my concerns about "rubbing security" by not validating the included code, I actually meant that the script does not validate where the included PHP script is coming from. Could someone set the environmental variable $_SERVER

Re: [PHP] Problem with wrapper script for Tidy

2006-08-04 Thread Richard Lynch
Did you try to use "-" as the file and pipe the output?... That might work... As far as the Tidy not validating the included PHP, I'm not sure what you mean, but I don't see this making the PHP code any less secure than it was before you wrapped Tidy around it... On Fri, August 4, 2006 6:21 am,

Re: [PHP] Problem with rawurlencode and euro sign.

2006-07-27 Thread Satyam
At: http://es2.php.net/manual/en/function.htmlentities.php it says that ISO-8859-15 adds the Euro sign - Original Message - From: "Jochem Maas" <[EMAIL PROTECTED]> To: "Mathijs" <[EMAIL PROTECTED]> Cc: Sent: Thursday, July 27, 2006 12:39 PM

Re: [PHP] Problem with rawurlencode and euro sign.

2006-07-27 Thread Jochem Maas
likely to be something to do with the fact that the euro character does not exist in ISO8859-1. maybe this page helps: http://www.gar.no/html/euro.htm Mathijs wrote: > Hello there, > > I have a problem with rawurlencode(). > I want to have the euro sign € to be sent by post. > To do this

Re: [PHP] Problem with rawurlencode and euro sign.

2006-07-27 Thread Mathijs van Veluw
Thx for that website :). It helped. I Think the server i am sending to is on windows, and i changed the encoding to windows-1252 and that has it on %80. Going to contact the company to ask this :). Thx for the link. Jochem Maas wrote: likely to be something to do with the fact that the euro

Re: [PHP] Problem With Cookies

2006-07-19 Thread Prathaban Mookiah
This is with regard to my earlier mail today morning. In fact I found out that, that problem is due to the way the timestamp is handled. Are there any safe ways to handle cookie expiry time regardless of the time system the client uses? Prathap -- Original Message --- From: "

Re: [PHP] PROBLEM WITH MAIL FUNCTION

2006-07-09 Thread Manuel Lemos
Hello, Juanjo Pascual wrote: > I have a problem with the mail function when I send a mail with acents > or Ñ in the subject. When I receive the mail this caracters have been > replaced by X. > > I'm using the mail function in this way: > > mail([EMAIL PROTECTED], 'Consulta Señalítica desde la

Re: [PHP] PROBLEM WITH MAIL FUNCTION

2006-07-09 Thread Ligaya Turmelle
Juanjo Pascual wrote: Hello, I have a problem with the mail function when I send a mail with acents or Ñ in the subject. When I receive the mail this caracters have been replaced by X. I'm using the mail function in this way: mail([EMAIL PROTECTED], 'Consulta Señalítica desde la página web'

Re: [PHP] Problem using fgetcsv()

2006-07-07 Thread Richard Lynch
On Thu, July 6, 2006 11:54 am, Don wrote: > I have a CSV file, comma delimited with the data enclosed by double > quotes. > > I am using the fgetcsv() function to read and into an array and update > a > database. It works great except for the odd record. After > investigating, I > have ascertained

RE: [PHP] Problem using fgetcsv()

2006-07-06 Thread KermodeBear
> I am using the fgetcsv() function to read and into an > array and update a database. It works great except > for the odd record. After investigating, I have ascertained > that it is due to a backslash character in the data which > fgetcsv() cannot parse properly. I don;t see anyway around >

Re: [PHP] PROBLEM WITH MAIL FUNCTION

2006-07-06 Thread Martin Marques
On Thu, 6 Jul 2006, Juanjo Pascual wrote: Hello, I have a problem with the mail function when I send a mail with acents or Ñ in the subject. When I receive the mail this caracters have been replaced by X. I'm using the mail function in this way: mail([EMAIL PROTECTED], 'Consulta Señalítica

Re: [PHP] Problem Displaying Images

2006-06-25 Thread Chris
Prathaban Mookiah wrote: Yes, turning off the magic_quotes_runtime directive makes a difference. But the image is still distorted. All three magic_quotes directives are now set to the same value in both the servers. Are there any other settings I should look out for? Try a CTRL+F5 to make su

Re: [PHP] Problem Displaying Images

2006-06-25 Thread Prathaban Mookiah
--- From: Chris <[EMAIL PROTECTED]> To: Prathaban Mookiah <[EMAIL PROTECTED]> Cc: "php-general@lists.php.net" Sent: Mon, 26 Jun 2006 14:52:39 +1000 Subject: Re: [PHP] Problem Displaying Images > Prathaban Mookiah wrote: > > I wish it would work. But id doesn'

Re: [PHP] Problem Displaying Images

2006-06-25 Thread Chris
Prathaban Mookiah wrote: I wish it would work. But id doesn't. But this time I do get a heavily distorted image being displayed. But as I said earlier, in combination of MySQL 5 and PHP 5 works good. The problem is with PHP4 and MySQL 5. I doubt the php5/php4 thing is an issue, I think it's

Re: [PHP] Problem Displaying Images

2006-06-25 Thread Prathaban Mookiah
t;[EMAIL PROTECTED]> To: Prathaban Mookiah <[EMAIL PROTECTED]> Cc: "php-general@lists.php.net" Sent: Mon, 26 Jun 2006 11:56:31 +1000 Subject: Re: [PHP] Problem Displaying Images > Prathaban Mookiah wrote: > > Oh sorry. I use addslashes(). > > Then you'll probab

Re: [PHP] Problem Displaying Images

2006-06-25 Thread Chris
Prathaban Mookiah wrote: Oh sorry. I use addslashes(). Then you'll probably need to use stripslashes before printing out the data. echo stripslashes($Result["data"]); -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Problem Displaying Images

2006-06-25 Thread Prathaban Mookiah
Oh sorry. I use addslashes(). -- Original Message --- From: Chris <[EMAIL PROTECTED]> To: Prathaban Mookiah <[EMAIL PROTECTED]> Cc: "php-general@lists.php.net" Sent: Mon, 26 Jun 2006 07:14:42 +1000 Subject: Re: [PHP] Problem Displaying Images > Prathaba

Re: [PHP] Problem Displaying Images

2006-06-25 Thread Chris
Prathaban Mookiah wrote: I am trying to manage images with a web database application. It works fine with MySQL 5.0.17 and PHP 5.1.1. But when I port it to another machine that runs MySQL 3.23.54 and PHP 4.2.2, I have problems viewing the images retrieved from the database in the browser. T

Re: [PHP] Problem displaying a mysql database field

2006-06-23 Thread Jochem Maas
Don wrote: > Hi, > > I have a varchar field in a MySQL database that contains a line of text like > so: > > "This is a line if text" > > The double quotes are included in the database field. > > I cannot seem to display it on my HTML page, it always shows as blank. I > have tried using bot

Re: [PHP] Problem displaying a mysql database field

2006-06-22 Thread Richard Lynch
On Tue, June 20, 2006 4:02 pm, Don wrote: > I have a varchar field in a MySQL database that contains a line of > text like > so: > > "This is a line if text" > > The double quotes are included in the database field. > > I cannot seem to display it on my HTML page, it always shows as blank. > I > h

Re: [PHP] Problem displaying a mysql database field

2006-06-20 Thread Chris
Don wrote: Hi, I have a varchar field in a MySQL database that contains a line of text like so: "This is a line if text" The double quotes are included in the database field. I cannot seem to display it on my HTML page, it always shows as blank. I have tried using both the stripslashes

Re: [PHP] Problem displaying a mysql database field

2006-06-20 Thread Stut
Don wrote: I have a varchar field in a MySQL database that contains a line of text like so: "This is a line if text" The double quotes are included in the database field. I cannot seem to display it on my HTML page, it always shows as blank. I have tried using both the stripslashes() and

Re: [PHP] Problem with the passthru function

2006-06-15 Thread Richard Lynch
On Wed, June 14, 2006 4:51 am, Venkatesh Babu wrote: > I have a small php file (test.php) whose code is shown > below: > > $retval=1; > $command='/bin/ls'; > passthru($command, $retval); > print("Exit status: " . $retval); > ?> > > This test.php works fine when I execute from comma

Re: [PHP] Problem with the passthru function

2006-06-14 Thread Venkatesh Babu
Hi, Thanks for your response safe_mode is Off but still I'm getting this problem. Thank you, Venkatesh --- Rabin Vincent <[EMAIL PROTECTED]> wrote: > On 6/14/06, Venkatesh Babu <[EMAIL PROTECTED]> > wrote: > > I have a small php file (test.php) whose code is > shown > > below: > > > > >

Re: [PHP] Problem with the passthru function

2006-06-14 Thread Rabin Vincent
On 6/14/06, Venkatesh Babu <[EMAIL PROTECTED]> wrote: I have a small php file (test.php) whose code is shown below: This test.php works fine when I execute from command prompt as "php test.php", but when I access it through web browser, it seems not to be working fine, I get an exit status of

Re: [PHP] Problem with form

2006-06-06 Thread Robert Cummings
On Wed, 2006-06-07 at 01:14, Rodrigo de Oliveira Costa wrote: > Guys I'm getting the following problem: > > I have a form that asks for one variable that goes into the input box, > this box is named chapter, and the box is in a form that is submited > to another php, and this php should receive th

Re: [PHP] Problem with a script

2006-06-02 Thread Chris
Ministério Público wrote: I showed where the problem is and after var_dump all I get is NULL. I just sent the code cause I thought it would be easier to see it in context, not to make somebody trawl trough it. If its not an array how to find out what it is? What can I do about it? Put debug

Re: [PHP] Problem with a script

2006-06-01 Thread Ministério Público
I showed where the problem is and after var_dump all I get is NULL. I just sent the code cause I thought it would be easier to see it in context, not to make somebody trawl trough it. If its not an array how to find out what it is? What can I do about it? Thanks. Rodrigo

Re: [PHP] Problem with a script

2006-06-01 Thread Chris
Ministério Público wrote: After using the var_dump the only thing I get is NULL, therefore I'll try something else that I think is more complete for the fellow programmers. Nobody's going to trawl through all of your code. Narrow down where the problem is. -- Postgresql & php tutorials http:/

Re: [PHP] Problem with a script

2006-06-01 Thread Chris
Ministério Público wrote: Hi guys I'm getting the following error and I cant seem to understand what Im doing wrong, if someone could help me I'd apreciate it. Here is the error message I get in some fileds of the output on the browser: *Warning*: Invalid argument supplied for foreach() in *

Re: [PHP] Problem after migration of script from Fedora Core to RHEL

2006-05-21 Thread Chris
Chris wrote: benmoreassynt wrote: Hi, This has me confused. Have just moved servers from FC4 box to RHEL box. Basically all the settings seem to be the same. PHP5.0.4, MySQL 5.0.20 So it is telling that the script is trying to insert duplicate entries. The exact same script works fin

Re: [PHP] Problem after migration of script from Fedora Core to RHEL

2006-05-21 Thread Chris
benmoreassynt wrote: Hi, This has me confused. Have just moved servers from FC4 box to RHEL box. Basically all the settings seem to be the same. PHP5.0.4, MySQL 5.0.20 So it is telling that the script is trying to insert duplicate entries. The exact same script works fine on the old box w

Re: [PHP] Problem with usort

2006-05-04 Thread Jon Earle
Rabin Vincent wrote: > You're missing the $ for ret_val on the return line. Clue-by-four to the head accepted. Thank you, it works well, now that it's written properly. Cheers! Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with usort

2006-05-04 Thread Martin Alterisio \"El Hombre Gris\"
Rabin Vincent escribió: On 5/4/06, Jon Earle <[EMAIL PROTECTED]> wrote: $ret_val = 0; if ($aday == $bday) {$ret_val = 0;} else {$ret_val = ($aday < $bday) ? -1 : 1;} return ret_val; You're missing the $ for ret_val on the return line. PHP thus understands the return value as a string,

Re: [PHP] Problem with usort

2006-05-04 Thread John Wells
On 5/4/06, Stut <[EMAIL PROTECTED]> wrote: Anyway, as someone else has pointed out, there is a missing $ on the return value. -Stut Yup, missed that one too. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with usort

2006-05-04 Thread Stut
John Wells wrote: Not true actually, it's a quick "if/else" using the ternary operator. It's also difficult to read all on one line: $ret_val = 0; if ($aday == $bday) { $ret_val = 0; } else { // what this does is test if $aday is less than $bday. // If so, it sets $ret_val to -1. If

Re: [PHP] Problem with usort

2006-05-04 Thread John Wells
On 5/4/06, Stut <[EMAIL PROTECTED]> wrote: Jon Earle wrote: > $ret_val = 0; > if ($aday == $bday) {$ret_val = 0;} > else {$ret_val = ($aday < $bday) ? -1 : 1;} > return ret_val; > > I could be wrong, but I think you need some extra brackets on the else line... else {$ret_val = (($aday < $b

Re: [PHP] Problem with usort

2006-05-04 Thread Rabin Vincent
On 5/4/06, Jon Earle <[EMAIL PROTECTED]> wrote: $ret_val = 0; if ($aday == $bday) {$ret_val = 0;} else {$ret_val = ($aday < $bday) ? -1 : 1;} return ret_val; You're missing the $ for ret_val on the return line. PHP thus understands the return value as a string, "ret_val", which would b

Re: [PHP] Problem with usort

2006-05-04 Thread Stut
Jon Earle wrote: $ret_val = 0; if ($aday == $bday) {$ret_val = 0;} else {$ret_val = ($aday < $bday) ? -1 : 1;} return ret_val; I could be wrong, but I think you need some extra brackets on the else line... else {$ret_val = (($aday < $bday) ? -1 : 1);} -Stut -- PHP General Mailing L

Re: [PHP] Problem with ftp_rmdir

2006-05-02 Thread Richard Lynch
On Tue, May 2, 2006 8:06 am, PJ wrote: > I'm using function ftp_rmdir to create some aplication and for testing > I've used following sample from php.net > > if (ftp_rmdir($conn_id, $dir)) { > echo "Successfully deleted $dir\n"; > } else { > echo "There was a problem while deleting $dir\n";

Re: [PHP] problem with mktime

2006-04-30 Thread Richard Lynch
On Sun, April 30, 2006 6:38 am, Ross wrote: > I am using this to compare todays date with dates retieved from a > database. > The problem is it seem to retrun the same value for the $then variable > > and can be seen ot working here > > http://nationalservicesscotland.com/cms/time.php > > > >

Re: [PHP] Problem with require_once

2006-04-07 Thread chris smith
On 4/8/06, Pablo L. de Miranda <[EMAIL PROTECTED]> wrote: > I has modified my code to this, notice wich all directories that I > refer is in the root of application: > > // File Controller.php in directory controller: > $file = '../util/ClassUtil.php'; > echo $file.''; > include $file; > $service =

Re: [PHP] Problem with require_once

2006-04-07 Thread chris smith
On 4/8/06, Pablo L. de Miranda <[EMAIL PROTECTED]> wrote: > Hey Guys, > I have the code below: > > $file = $_SERVER['HTTP_REFERER'].'util/ClassUtil.php'; > echo $file.''; > require_once($file); > > $service = ClassUtil::loadClass('service.FormularioService'); > > And the output in browser: > > http

Re: [PHP] Problem with require_once

2006-04-07 Thread Anthony Ettinger
can you do a dump of what $file is? Seems the path is incorrect. On 4/7/06, Pablo L. de Miranda <[EMAIL PROTECTED]> wrote: > > Hey Guys, > I have the code below: > > $file = $_SERVER['HTTP_REFERER'].'util/ClassUtil.php'; > echo $file.''; > require_once($file); > > $service = ClassUtil::loadClass(

Re: [PHP] problem using mysql_connect function under windows XP

2006-04-05 Thread Alain Roger
thanks a lot Brad... i was updating the php.ini from PHP installation folder and not the one that apache was reading. so i replace the php.ini in my C:\Windows folder and in my Phpinfo page i have a new part regarding MySQL. it's ok now. thanks a lot, Alain On 4/5/06, Brad Bonkoski <[EMAIL PROTE

Re: [PHP] problem using mysql_connect function under windows XP

2006-04-05 Thread Brad Bonkoski
One alternative is to try this: http://www.en.wampserver.com Otherwise, make sure the php.ini file you are editing is the one pointed to by the line: Configuration File (php.ini) Path from the phpinfo generated file Also, you could check any Apache log files to see if they output any erro

Re: [PHP] problem using mysql_connect function under windows XP

2006-04-05 Thread John Nichel
Alain Roger wrote: nothing about MySQL...only what is in my path variable :-( 1. i stopped apache server 2. i uncomment --> extension=php_mysql.dll and extension=php_mysqli.dll in my php.ini file 3. i updated my extension_dir like that --> extension_dir = "F:\WebServer\PHP511\ext" 4. i restarted

Re: [PHP] problem using mysql_connect function under windows XP

2006-04-05 Thread Alain Roger
nothing about MySQL...only what is in my path variable :-( 1. i stopped apache server 2. i uncomment --> extension=php_mysql.dll and extension=php_mysqli.dll in my php.ini file 3. i updated my extension_dir like that --> extension_dir = "F:\WebServer\PHP511\ext" 4. i restarted apache 5. phpinfo sti

Re: [PHP] problem using mysql_connect function under windows XP

2006-04-05 Thread Brad Bonkoski
Create a page like this: and see what the output tells you about mysql...might shed some light on it. -B Alain Roger wrote: i've seen that non of extension are activated...neither mysql.dll nor mysqli.dll after uncommenting them and restarting Apache, it still does not work :-( On 4/5/06, J

Re: [PHP] problem using mysql_connect function under windows XP

2006-04-05 Thread Alain Roger
i've seen that non of extension are activated...neither mysql.dll nor mysqli.dll after uncommenting them and restarting Apache, it still does not work :-( On 4/5/06, Jochem Maas <[EMAIL PROTECTED]> wrote: > > Alain Roger wrote: > > Hi, > > > > i wrote a simple testing page. it should test if it c

Re: [PHP] problem using mysql_connect function under windows XP

2006-04-05 Thread Jochem Maas
Alain Roger wrote: Hi, i wrote a simple testing page. it should test if it can connect to MySQL db. however, i have an error message as followed : *Fatal error*: Call to undefined function mysql_connect() in *F:\Mes documents\Development\Website\Immense\checklogin.php* on line *23 *on line 23,

Re: [PHP] problem with greek language

2006-04-04 Thread rouvas
Hmmm... Are you sure it is not a matter of your fonts being incapable of displaying Greek characters? Can you try with these : http://sourceforge.net/projects/font-tool BTW, are you using Windows or *nix? -Stathis On Tuesday 04 April 2006 16:52, Rosen wrote: > Thanks, > But the problem is tha

Re: [PHP] problem with greek language

2006-04-04 Thread Rosen
Thanks, But the problem is thath I can't put directly into code the greek text with copy/paste from the .doc file in the PHP editor. I chahged the encoding for the editor to greek charset, but when I paste it, the result is "??? " ( questiomarks ) . rouvas wrote: Hi Rosen, eit

Re: [PHP] problem with greek language

2006-04-04 Thread rouvas
Hi Rosen, either use ISO-8859-7 for the encoding or UTF-8. If you use ISO-8859-7 your site will not need any modifications (either than replacing the "&tau, ..., etc" symbols with the actual characters). If you use UTF-8 you will of course have to modify your strings to make them UTF-8 compatib

Re: [PHP] Problem with IE and not displaying the correct images...

2006-03-29 Thread tedd
At 12:58 PM +0200 3/29/06, Jochem Maas wrote: Gregory Machin wrote: Hi I have a site that changes the backround pic after login both have different names.. it work perfect in firefox and epiphany , but not IE , it loads the login page with the backround that's only suposed to be displayed after

Re: [Fwd: Re: Re: [PHP] Problem with IE and not displaying the correctimages...]

2006-03-29 Thread Jochem Maas
ROTECTED]> Reply-To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Cc: Subject: Re: Re: [PHP] Problem with IE and not displaying the correct images... Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Virus-Scanned: amavisd-new

Re: [PHP] Problem with IE and not displaying the correct images...

2006-03-29 Thread Barry
Gregory Machin wrote: Problem found ... IE doesn't understand comments '//' in style sheets .. so the line I had commented out refering to the background image in the style sheet was over riding my code later in the page.. Not quite right. Only // doesn't work But /* COMMENT */ does greets -

Re: [PHP] Problem with IE and not displaying the correct images...

2006-03-29 Thread Gregory Machin
Problem found ... IE doesn't understand comments '//' in style sheets .. so the line I had commented out refering to the background image in the style sheet was over riding my code later in the page.. On 3/29/06, Jochem Maas <[EMAIL PROTECTED]> wrote: > > Gregory Machin wrote: > > Hi > > I have a

Re: [Fwd: Re: Re: [PHP] Problem with IE and not displaying the correct images...]

2006-03-29 Thread gustav
qmail 414 invoked by uid 0); 29 Mar 2006 14:03:34 +0300 > Date: 29 Mar 2006 14:03:34 +0300 > Message-ID: <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > From: [EMAIL PROTECTED] > > Cc: > Subject: Re: Re: [PHP] Problem with IE and not displaying the correct > image

[Fwd: Re: Re: [PHP] Problem with IE and not displaying the correct images...]

2006-03-29 Thread Jochem Maas
03:34 +0300 Message-ID: <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Cc: Subject: Re: Re: [PHP] Problem with IE and not displaying the correct images... Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Vi

Re: [PHP] Problem with IE and not displaying the correct images...

2006-03-29 Thread Jochem Maas
Gregory Machin wrote: Hi I have a site that changes the backround pic after login both have different names.. it work perfect in firefox and epiphany , but not IE , it loads the login page with the backround that's only suposed to be displayed after login .. If I download the 2 picks manual they

Re: [PHP] Problem wih mail() and attachment

2006-03-28 Thread chris smith
On 3/27/06, Dennis N. <[EMAIL PROTECTED]> wrote: > Hello, > > I have some trouble with sending emails with an MS word attachment. I let > fill a word document from my php website. When it is finished with filling > the information, the document is saved on the webserver and the word > application w

Re: [PHP] Problem with app, condition not working.

2006-03-26 Thread PHP Mailer
Chris skrev: PHP Mailer wrote: Chris skrev: PHP Mailer wrote: Chris skrev: PHP Mailer wrote: Hey guys got a problem with an app i'm working on. App: An app to track visitors and hosts visiting certain pages in a website. Situation: the app is to populate a table (db) with IP numbers wh

Re: [PHP] Problem with app, condition not working.

2006-03-26 Thread Chris
PHP Mailer wrote: Chris skrev: PHP Mailer wrote: Chris skrev: PHP Mailer wrote: Hey guys got a problem with an app i'm working on. App: An app to track visitors and hosts visiting certain pages in a website. Situation: the app is to populate a table (db) with IP numbers which are to be

Re: [PHP] Problem with app, condition not working.

2006-03-26 Thread PHP Mailer
Chris skrev: PHP Mailer wrote: Chris skrev: PHP Mailer wrote: Hey guys got a problem with an app i'm working on. App: An app to track visitors and hosts visiting certain pages in a website. Situation: the app is to populate a table (db) with IP numbers which are to be concidered as filtere

Re: [PHP] Problem with app, condition not working.

2006-03-26 Thread Chris
PHP Mailer wrote: Chris skrev: PHP Mailer wrote: Hey guys got a problem with an app i'm working on. App: An app to track visitors and hosts visiting certain pages in a website. Situation: the app is to populate a table (db) with IP numbers which are to be concidered as filtered/excluded in

Re: [PHP] Problem with app, condition not working.

2006-03-26 Thread PHP Mailer
Chris skrev: PHP Mailer wrote: Chris skrev: PHP Mailer wrote: Hey guys got a problem with an app i'm working on. App: An app to track visitors and hosts visiting certain pages in a website. Situation: the app is to populate a table (db) with IP numbers which are to be concidered as filtere

Re: [PHP] Problem with app, condition not working.

2006-03-26 Thread Chris
PHP Mailer wrote: Chris skrev: PHP Mailer wrote: Hey guys got a problem with an app i'm working on. App: An app to track visitors and hosts visiting certain pages in a website. Situation: the app is to populate a table (db) with IP numbers which are to be concidered as filtered/excluded in

Re: [PHP] Problem with app, condition not working.

2006-03-26 Thread PHP Mailer
Chris skrev: PHP Mailer wrote: Hey guys got a problem with an app i'm working on. App: An app to track visitors and hosts visiting certain pages in a website. Situation: the app is to populate a table (db) with IP numbers which are to be concidered as filtered/excluded in the below snippet of

Re: [PHP] Problem with app, condition not working.

2006-03-26 Thread Chris
PHP Mailer wrote: Hey guys got a problem with an app i'm working on. App: An app to track visitors and hosts visiting certain pages in a website. Situation: the app is to populate a table (db) with IP numbers which are to be concidered as filtered/excluded in the below snippet of code from bei

Re: [PHP] problem

2006-03-22 Thread Kevin Kinsey
Simone O'Brien wrote: Hi, I have set up a message board and we cannot log out or do anything on the page at all. We cannot use it at all. http://myminiaturegoats.com/forum3/index.php?action=logout;sesc=331181faba9b2783a9506ad21068fb8b Database Error Please try again. If you come

Re: [PHP] problem

2006-03-22 Thread chris smith
On 3/22/06, Simone O'Brien <[EMAIL PROTECTED]> wrote: > Hi, I have set up a message board and we cannot log out or do anything on the > page at all. We cannot use it at all. > > http://myminiaturegoats.com/forum3/index.php?action=logout;sesc=331181faba9b2783a9506ad21068fb8b > > > > Database

Re: [PHP] Problem

2006-03-16 Thread chris smith
On 3/16/06, Bikram Suri <[EMAIL PROTECTED]> wrote: > Hi, > > I do phpinfo(); and I see the include path set to c:\php5\Pear. I have wamp > installed on my machine but before wamp I had done a standalone installation > of PHP 5 in c:\PHP5 diretory. I have since uninstalled it and deleted the > c:\PH

Re: [PHP] Problem with mail() on Debian

2006-02-23 Thread Manuel Lemos
Hello, on 02/23/2006 11:32 AM George Pitcher said the following: > My apache error.log says: > > sh: line 1: /usr/sbin/sendmail -t: no such file or directory /usr/sbin/sendmail is not the correct sendmail program path. The correct path is /usr/lib/sendmail . It may be odd that a program is loca

Re: [PHP] Problem with mail() on Debian

2006-02-23 Thread John Nichel
George Pitcher wrote: Jochem, personally I'd rather stick my head in a blender than use webmin to edit such conf files. (no I wouldn't but you get the point hopefully) how are you restarting apache? possibly your being told that the restart occured but really your being lied to ... try doing i

RE: [PHP] Problem with mail() on Debian

2006-02-23 Thread George Pitcher
Jochem, > > personally I'd rather stick my head in a blender than use webmin to edit > such conf files. (no I wouldn't but you get the point hopefully) > > how are you restarting apache? possibly your being told that the restart > occured but really your being lied to ... try doing it 'manually':

Re: [PHP] Problem with mail() on Debian

2006-02-23 Thread Jochem Maas
George Pitcher wrote: Manuel, I have found that any changes I make to php.ini are ignored, even after restarting Apache. I have been editing httpd.conf via Webmin, personally I'd rather stick my head in a blender than use webmin to edit such conf files. (no I wouldn't but you get the point h

RE: [PHP] Problem with mail() on Debian

2006-02-22 Thread George Pitcher
Manuel, > > I have found that any changes I make to php.ini are ignored, even after > > restarting Apache. I have been editing httpd.conf via Webmin, > which for most > > configs works fine (and is displayed in phpinfo(), the sendmail > changes are > > never displayed (always shows sendmail_path =

Re: [PHP] Problem with mail() on Debian

2006-02-22 Thread Manuel Lemos
Hello, on 02/23/2006 03:55 AM George Pitcher said the following: > Jochem, > > Thanks, but I tried that and it made no difference. > > I have found that any changes I make to php.ini are ignored, even after > restarting Apache. I have been editing httpd.conf via Webmin, which for most > configs

RE: [PHP] Problem with mail() on Debian

2006-02-22 Thread George Pitcher
displayed (always shows sendmail_path = /usr/sbin/sendmail). Cheers George > -Original Message- > From: Jochem Maas [mailto:[EMAIL PROTECTED] > Sent: 22 February 2006 7:01 pm > To: George Pitcher; [php] PHP General List > Subject: Re: [PHP] Problem with mail() on Debian >

Re: [PHP] Problem with mail() on Debian

2006-02-22 Thread Jochem Maas
George Pitcher wrote: Hi, I am in the process of moving from Windows (NT/XP) to Linux. I'm starting with a new small application which I have working on my Windows XP laptop. On my Linux box, I have php.ini saying: search this page for 'exim' - it should help: http://php.net/mail sendmail

Re: [PHP] Problem with Square Brackets [was: php+ ajax]

2006-02-21 Thread Jochem Maas
David Dorward wrote: --- Jochem Maas <[EMAIL PROTECTED]> wrote: From a php developer point of view there is one big problem with 'follow the standards' mantra as far as square brackets go (with regard to use in the value of name attributes of form fields) ... Nope. The names of form controls

Re: [PHP] Problem with Square Brackets [was: php+ ajax]

2006-02-21 Thread David Dorward
--- Jochem Maas <[EMAIL PROTECTED]> wrote: > From a php developer point of view there is one > big problem with 'follow the standards' mantra as > far as square brackets go (with regard to use in the > value of name attributes of form fields) ... Nope. The names of form controls MAY contain squar

Re: [PHP] Problem with Square Brackets [was: php+ ajax]

2006-02-21 Thread Jochem Maas
add to your list of potential book topics?: knowing when to successfully break the rules. (i.e. when to not follow the standards) From a php developer point of view there is one big problem with 'follow the standards' mantra as far as square brackets go (with regard to use in t

RE: [PHP] Problem with HUGE floating values and fmod

2006-02-18 Thread Marco Almeida
-Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 17 de Fevereiro de 2006 20:40 To: php-general@lists.php.net; [EMAIL PROTECTED] Subject: Re: [PHP] Problem with HUGE floating values and fmod On Fri, Feb 17, 2006 at 06:48:13PM -, Marco Almeida wro

Re: [PHP] Problem with HUGE floating values and fmod

2006-02-17 Thread Curt Zirzow
On Fri, Feb 17, 2006 at 06:48:13PM -, Marco Almeida wrote: > Hi there, > > I'm trying to calculate check digits for a payment system, using the ISO > 7064 (MOD 97-10) algorithm, wich is, already translated to PHP: > > $check=98-fmod(($num*100),97); > > Where $num is a huge number... > > Ex

RE: [PHP] Problem with php.ini and include_path

2006-02-15 Thread George Pitcher
uring pear. Cheers George > -Original Message- > From: Richard Lynch [mailto:[EMAIL PROTECTED] > Sent: 14 February 2006 11:56 pm > To: George Pitcher > Cc: php-general@lists.php.net > Subject: RE: [PHP] Problem with php.ini and include_path > > > http://p

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