[PHP] error warning while connecting to posgreSQL

2008-09-28 Thread Alain Roger
Hi, i try to understand the error_reporting statement and to avoid all warning or error messages. for example i stop the postgresql service and i try to connect to it. when error_reporting is set to E_ALL, i get the following warning : *Warning*: pg_connect()

Re: [PHP] error warning while connecting to posgreSQL

2008-09-28 Thread Ashley Sheridan
On Sun, 2008-09-28 at 11:00 +0200, Alain Roger wrote: Hi, i try to understand the error_reporting statement and to avoid all warning or error messages. for example i stop the postgresql service and i try to connect to it. when error_reporting is set to E_ALL, i get the following warning :

Re: [PHP] error warning while connecting to posgreSQL

2008-09-28 Thread Alain Roger
i only set it via php code like error_reporting(0); On Sun, Sep 28, 2008 at 11:11 AM, Ashley Sheridan [EMAIL PROTECTED]wrote: On Sun, 2008-09-28 at 11:00 +0200, Alain Roger wrote: Hi, i try to understand the error_reporting statement and to avoid all warning or error messages. for

Re: [PHP] Error message

2008-09-21 Thread Ashley Sheridan
On Sat, 2008-09-20 at 23:48 -0500, Shawn McKenzie wrote: Terry J Daichendt wrote: The error message told it all. Jochem was correct albiet not in the style I prefer. I had the code in an HTML page after the header. I've been a programmer for 15 years but I'm brand new to PHP. Anyone can

Re: [PHP] Error message

2008-09-21 Thread tedd
At 10:26 AM +0100 9/21/08, Ashley Sheridan wrote: It's an easy mistake to make, not just reserved for rookies ;) I had a similar problem Me too, I think we've all been bitten by that. The point is simply don't send anything to the browser before ?php if you're going to be using

Re: [PHP] Error message

2008-09-20 Thread Terry J Daichendt
The error message told it all. Jochem was correct albiet not in the style I prefer. I had the code in an HTML page after the header. I've been a programmer for 15 years but I'm brand new to PHP. Anyone can make a rookie mistake. Thanks everyone for the help. Everyone was partially correct in

Re: [PHP] Error message

2008-09-20 Thread Shawn McKenzie
Terry J Daichendt wrote: The error message told it all. Jochem was correct albiet not in the style I prefer. I had the code in an HTML page after the header. I've been a programmer for 15 years but I'm brand new to PHP. Anyone can make a rookie mistake. Thanks everyone for the help. Everyone

Re: [PHP] Error message

2008-09-19 Thread Jochem Maas
Terry J Daichendt schreef: You have a real attitude problem, please don't bother with me again. actually it's you who has a problem with my attitude, not me. although I'll grant you that people like you are usually 'bother' ... and I won't anymore. -- PHP General Mailing List

[PHP] Error message

2008-09-18 Thread Terry J Daichendt
I'm pasting this code from the example at php.net and getting these errors. Can anyone determine what I'm doing wrong? ?php // page1.php session_start(); echo 'Welcome to page #1'; $_SESSION['favcolor'] = 'green'; $_SESSION['animal'] = 'cat'; $_SESSION['time'] = time(); // Works if

Re: [PHP] Error message

2008-09-18 Thread CanihoJR
No puedes tener ningun espacio en blanco delante de session_start(); Sorry for my english: you cant have any blank spaccing before SESSION_START() Prueba: TRY: ?php session_start(); echo 'Welcome to page #1'; $_SESSION['favcolor'] = 'green'; $_SESSION['animal'] = 'cat'; $_SESSION['time']

Re: [PHP] Error message

2008-09-18 Thread Andrew Barnett
It sounds like there is a space or output before the ?php line. It should be the very first line on a PHP page, and have no spaces before it. Andrew 2008/9/19 CanihoJR [EMAIL PROTECTED]: No puedes tener ningun espacio en blanco delante de session_start(); Sorry for my english: you cant have

Re: [PHP] Error message

2008-09-18 Thread Jochem Maas
Terry J Daichendt schreef: I'm pasting this code from the example at php.net and getting these which example might that be, with 1000's of built in functions you can imagine there is probably more than one. errors. Can anyone determine what I'm doing wrong? yes. but can your read? the

Re: [PHP] Error message

2008-09-18 Thread Jochem Maas
Andrew Barnett schreef: It sounds like there is a space or output before the ?php line. It should be the very first line on a PHP page, and have no spaces before it. a blank space before the ?php tag ... on LINE 6??? Andrew 2008/9/19 CanihoJR [EMAIL PROTECTED]: No puedes tener ningun

Re: [PHP] Error message

2008-09-18 Thread Terry J Daichendt
You have a real attitude problem, please don't bother with me again. Jochem Maas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Terry J Daichendt schreef: I'm pasting this code from the example at php.net and getting these which example might that be, with 1000's of built in

Re: [PHP] Error message

2008-09-18 Thread Micah Gersten
Si, puedes tener espacio en blanco delante de session_start(), pero no puedes tener espacio delante de '?php'. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com CanihoJR wrote: No puedes tener ningun espacio en blanco delante de session_start(); Sorry for

Re: [PHP] Error message

2008-09-18 Thread Jim Lucas
Terry J Daichendt wrote: You have a real attitude problem, please don't bother with me again. Jochem Maas [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Terry J Daichendt schreef: I'm pasting this code from the example at php.net and getting these which example might that be,

Re: [PHP] Error message

2008-09-18 Thread Eric Gorr
On Sep 18, 2008, at 5:52 PM, Terry J Daichendt wrote: I'm pasting this code from the example at php.net and getting these errors. Can anyone determine what I'm doing wrong? ?php // page1.php session_start(); echo 'Welcome to page #1'; $_SESSION['favcolor'] = 'green'; $_SESSION['animal']

[PHP] Error Reporting

2008-09-16 Thread Naz
I am trying to turn on errors in the browser, but for some reason they are being suppressed. In php.ini I have display_errors = On and error_reporting = E_STRICT What else could be suppressing errors? السلام عليكم - Naz. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Error Reporting

2008-09-16 Thread Micah Gersten
E_STRICT only shows one type of error. If you want everything than you need to set E_ALL | E_STRICT http://usphp.com/manual/en/errorfunc.constants.php#errorfunc.constants.errorlevels.e-strict Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Naz wrote: I am

[PHP] Error handling, apache and ErrorDocument

2008-07-10 Thread Daniele Grillenzoni
Hi, I'm having trouble with a framework I'm developing, apparently when a non-catchable error occurs (E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING types) not only I can't fire up my error handling function, I can't even display the static html page I set

Re: [PHP] error Failed opening for inclusion

2008-06-12 Thread Lou Baccari
Hello, Sorry to brother you but I'm really in a pinch with this problem and I need to resolve it. The older Fedora Apache server runs just fine with DocumentRoot pointing to the NFS share. The NFS share is on our OS X file server. The new CentOS runs fine when DocumentRoot is pointing to

[PHP] error Failed opening for inclusion

2008-06-11 Thread Lou Baccari
sorry if I double posted: Hello, I'm trying to move my apache server from a Fedora Core 1 with PHP V 4.3.8 onto a newly built Centos 5 with PHP 5.1.6, all applications installed by rpms. The www root dir is /projects/proj2/www/html and it is a nfs mounted share. During the installation

[PHP] Error handling

2008-03-11 Thread It Maq
Hi, I need help with a simple script that i made for handling errors. The problem is that the script displays the same message several times while i want it displayed just one time. He is the code: ?php function error_handler($errno, $errstr, $filename, $lineno, $context) { if ($errno ==

Re: [PHP] Error handling (skip this message my mistake)

2008-03-11 Thread It Maq
Sorry, i found the error. it was my mistake - Original Message From: It Maq [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, March 11, 2008 11:38:10 AM Subject: [PHP] Error handling Hi, I need help with a simple script that i made for handling errors. The problem

Re: [PHP] PHPTriad and php error

2008-02-25 Thread Daniel Brown
On Sun, Feb 24, 2008 at 1:53 PM, hE [EMAIL PROTECTED] wrote: hi to all, I set up phptriad on my computer running windows xp. When I tried to test php with the following program I got an error Parse error: parse error, expecting `','' or `';'' in C:\apache\htdocs\mytest.php on line 10

[PHP] PHPTriad and php error

2008-02-24 Thread hE
hi to all, I set up phptriad on my computer running windows xp. When I tried to test php with the following program I got an error Parse error: parse error, expecting `','' or `';'' in C:\apache\htdocs\mytest.php on line 10 html head titlePHP Test/title /head body pThis is an HTML line p ?php

Re: [PHP] PHPTriad and php error

2008-02-24 Thread hE
thanks for the help. I am a C/C++ programmer and decide to learn php and mysql to develop web pages. is it the correct place to ask questions similar to this? or is there any other group suitable for this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] PHPTriad and php error

2008-02-24 Thread Bastien Koert
To: php-general@lists.php.net Date: Sun, 24 Feb 2008 20:53:03 +0200 From: [EMAIL PROTECTED] Subject: [PHP] PHPTriad and php error hi to all, I set up phptriad on my computer running windows xp. When I tried to test php with the following program I got an error Parse error: parse error

RE: [PHP] PHPTriad and php error

2008-02-24 Thread Bastien Koert
This is a good place, other include various forums and the manual bastien To: php-general@lists.php.net Date: Sun, 24 Feb 2008 21:21:01 +0200 From: [EMAIL PROTECTED] Subject: Re: [PHP] PHPTriad and php error thanks for the help. I am a C/C++ programmer and decide to learn php and mysql

Re: [PHP] php error loadin file

2008-02-11 Thread miren
On Feb 11, 2008 10:40 AM, [EMAIL PROTECTED] wrote: HEllo with the next code i am trying for loading one file $mibool = FALSE; $Descriptor2 = fopen(usuarios.txt,r); Does this file exist in the directory from which the script is ultimately run, and is it readable? yes (both)

[PHP] php error loadin file

2008-02-11 Thread miren
HEllo with the next code i am trying for loading one file $mibool = FALSE; $Descriptor2 = fopen(usuarios.txt,r); $usuarios=array(); $i=0; while(!feof($Descriptor2)){ $buffer = fgets($Descriptor2,4086); $usuarios[$i]=$buffer; $i++; } fclose($Descriptor2); $miusername =

Re: [PHP] php error loadin file

2008-02-11 Thread Shawn McKenzie
Daniel Brown wrote: On Feb 11, 2008 11:12 AM, [EMAIL PROTECTED] wrote: On Feb 11, 2008 10:40 AM, [EMAIL PROTECTED] wrote: HEllo with the next code i am trying for loading one file $mibool = FALSE; $Descriptor2 = fopen(usuarios.txt,r); Does this file exist in the directory from which

Re: [PHP] php error loadin file

2008-02-11 Thread Daniel Brown
On Feb 11, 2008 10:40 AM, [EMAIL PROTECTED] wrote: HEllo with the next code i am trying for loading one file $mibool = FALSE; $Descriptor2 = fopen(usuarios.txt,r); Does this file exist in the directory from which the script is ultimately run, and is it readable? $usuarios=array();

Re: [PHP] php error loadin file

2008-02-11 Thread Daniel Brown
On Feb 11, 2008 11:12 AM, [EMAIL PROTECTED] wrote: On Feb 11, 2008 10:40 AM, [EMAIL PROTECTED] wrote: HEllo with the next code i am trying for loading one file $mibool = FALSE; $Descriptor2 = fopen(usuarios.txt,r); Does this file exist in the directory from which the script

[PHP] Error sending email using php into one linux with postfix. S.O.S.

2008-01-08 Thread Miren Urkixo
hello i have one great problem using php for sinding email across one email server (in the same machine) that is one Linux suse with postfix. it doesn't is sent, alwats appears one error into the mail log (bellow). Can you help me please? I am trying to solve this problem during several weeks

Re: [PHP] Error sending email using php into one linux with postfix. S.O.S.

2008-01-08 Thread Chris
Jan 5 13:52:02 server postfix/qmgr[7450]: 20EB589B68: to=[EMAIL PROTECTED], orig_to=[EMAIL PROTECTED], relay=none, delay=0, status=deferred (delivery temporarily suspended: transport is unavailable) Which means it's a postfix problem and has nothing to do with php at all. Ask on the postfix

Re: [PHP] error messages

2007-10-07 Thread tbt
Yes i was looking for view parse errors on my browser but now I guess will have to use an IDE Like zend :) tedd wrote: At 10:27 PM +0200 10/5/07, Zoltán Németh wrote: 2007. 10. 5, péntek keltezéssel 12.57-kor tedd ezt írta: I long for the time where my editor said Offending syntax on

Re: [PHP] error messages

2007-10-06 Thread tedd
At 10:27 PM +0200 10/5/07, Zoltán Németh wrote: 2007. 10. 5, péntek keltezéssel 12.57-kor tedd ezt írta: I long for the time where my editor said Offending syntax on line 236. my editor still says parse error and shows me the line number... ;) greets Zoltán Németh Consider yourself lucky,

Re: [PHP] error messages

2007-10-05 Thread Larry Garfield
On Friday 05 October 2007, Paul Scott wrote: On Thu, 2007-10-04 at 22:38 -0700, tbt wrote: I'm a newbie to php and i would like to know a way of viewing runtime errors on the browser. Currently when an error occurs nothing is displayed on the browser. Is there any way of viewing all error

Re: [PHP] error messages

2007-10-05 Thread tbt
I added the following lines to the top of my script but still no error messages show up on the browser. When a php error occurs the entire page is still shown blank. Larry Garfield wrote: On Friday 05 October 2007, Paul Scott wrote: On Thu, 2007-10-04 at 22:38 -0700, tbt wrote: I'm

Re: [PHP] error messages

2007-10-05 Thread Paul Scott
On Fri, 2007-10-05 at 00:32 -0700, tbt wrote: I added the following lines to the top of my script but still no error messages show up on the browser. When a php error occurs the entire page is still shown blank. Is your script *supposed* to output something? --Paul All Email originating

RE: [PHP] error messages

2007-10-05 Thread Ford, Mike
-Original Message- From: Paul Scott [mailto:[EMAIL PROTECTED] Sent: 05 October 2007 06:44 On Thu, 2007-10-04 at 22:38 -0700, tbt wrote: I'm a newbie to php and i would like to know a way of viewing runtime errors on the browser. Currently when an error occurs nothing is

Re: [PHP] error messages

2007-10-05 Thread tbt
yes it is pscott wrote: On Fri, 2007-10-05 at 00:32 -0700, tbt wrote: I added the following lines to the top of my script but still no error messages show up on the browser. When a php error occurs the entire page is still shown blank. Is your script *supposed* to output

Re: [PHP] error messages

2007-10-05 Thread Aleksandar Vojnovic
try putting this on the top of your PHP page ?php error_reporting(E_ALL); ? tbt wrote: yes it is pscott wrote: On Fri, 2007-10-05 at 00:32 -0700, tbt wrote: I added the following lines to the top of my script but still no error messages show up on the browser. When a php

Re: [PHP] error messages

2007-10-05 Thread Aleksandar Vojnovic
Maybe display errors is set on off? ? ini_set('display_errors','1'); ? Aleksander tbt wrote: yes it is pscott wrote: On Fri, 2007-10-05 at 00:32 -0700, tbt wrote: I added the following lines to the top of my script but still no error messages show up on the browser. When a php

Re: [PHP] error messages

2007-10-05 Thread Jim Lucas
tbt wrote: Hi I'm a newbie to php and i would like to know a way of viewing runtime errors on the browser. Currently when an error occurs nothing is displayed on the browser. Is there any way of viewing all error messages on the browser itself. Thanks From what I read in your other posts, it

Re: [PHP] error messages

2007-10-05 Thread tedd
At 10:38 PM -0700 10/4/07, tbt wrote: Hi I'm a newbie to php and i would like to know a way of viewing runtime errors on the browser. Currently when an error occurs nothing is displayed on the browser. Is there any way of viewing all error messages on the browser itself. Thanks tbt: Welcome

Re: [PHP] error messages

2007-10-05 Thread Zoltán Németh
2007. 10. 5, péntek keltezéssel 12.57-kor tedd ezt írta: At 10:38 PM -0700 10/4/07, tbt wrote: Hi I'm a newbie to php and i would like to know a way of viewing runtime errors on the browser. Currently when an error occurs nothing is displayed on the browser. Is there any way of viewing all

[PHP] error messages

2007-10-04 Thread tbt
Hi I'm a newbie to php and i would like to know a way of viewing runtime errors on the browser. Currently when an error occurs nothing is displayed on the browser. Is there any way of viewing all error messages on the browser itself. Thanks -- View this message in context:

Re: [PHP] error messages

2007-10-04 Thread Paul Scott
On Thu, 2007-10-04 at 22:38 -0700, tbt wrote: I'm a newbie to php and i would like to know a way of viewing runtime errors on the browser. Currently when an error occurs nothing is displayed on the browser. Is there any way of viewing all error messages on the browser itself. You can up

Re: [PHP] Error Handling question

2007-08-07 Thread Richard Lynch
On Mon, August 6, 2007 4:41 am, debussy007 wrote: I am new to PHP and need some help for error handling. I read in the docs that i can handle the errors this way in my PhP: set_error_handler('errorHandler'); function errorHandler($errnum,$errmsg,$file,$lineno){ [...] } But does that

[PHP] Error Handling question

2007-08-06 Thread debussy007
Hi, I am new to PHP and need some help for error handling. I read in the docs that i can handle the errors this way in my PhP: set_error_handler('errorHandler'); function errorHandler($errnum,$errmsg,$file,$lineno){ [...] } But does that mean that I have to copy paste this code in all my

Re: [PHP] Error Handling question

2007-08-06 Thread brian
debussy007 wrote: Hi, I am new to PHP and need some help for error handling. I read in the docs that i can handle the errors this way in my PhP: set_error_handler('errorHandler'); function errorHandler($errnum,$errmsg,$file,$lineno){ [...] } But does that mean that I have to copy paste

[PHP] error reporting

2007-07-26 Thread Bruce Cowin
I'm running PHP 5.1 on IIS. My dev environment is all local on my machine. My php.ini has the following error reporting settings: error_reporting = E_ALL display_errors = Off display_startup_errors = Off log_errors = On log_errors_max_len = 1024 ignore_repeated_errors = Off

[PHP] Error on installing under Windows Vista leads to inability to uninstall 5.2.3

2007-07-18 Thread Stephan G
Hello. Please pardon the cross-post - I posted this on the php.install newsgroup a couple of days ago, but there has been no activity on that news group, and I see that other installation issues are posted here. I have tried to install the following on my Windows Vista Home Premium System:

Re: [PHP] Error on installing under Windows Vista leads to inability to uninstall 5.2.3

2007-07-18 Thread Alan Milnes
On 18/07/07, Stephan G [EMAIL PROTECTED] wrote: I have tried to install the following on my Windows Vista Home Premium System: Ah I see the problem there Vista is not a mature OS yet - wait until at least SP1 before trying it. 1. How can I uninstall this and remove it from my

Re: [PHP] Error on installing under Windows Vista leads to inability to uninstall 5.2.3

2007-07-18 Thread Stephan G
Dear Alan: Thank you for your suggestion on wiping the disk and reloading the OS, which I imagine you might be suggesting because of your political feelings to Microsoft... which I don't think are wrong. However, this would not be a practical solution for me in any way, and this installer

Re: [PHP] Error on installing under Windows Vista leads to inability to uninstal

2007-07-18 Thread Instruct ICC
He did say or Win XP. I'll have to go back to find your original post to see if I can help. Well, from your subject, maybe you can use a System Restore point? --- If you need a stable, secure OS, get Ubuntu. If you need a stable, secure OS, and need new hardware, get a

Re: [PHP] Error on installing under Windows Vista leads to inability to uninstall 5.2.3

2007-07-18 Thread Stut
Stephan G wrote: Please pardon the cross-post - I posted this on the php.install newsgroup a couple of days ago, but there has been no activity on that news group, and I see that other installation issues are posted here. I have tried to install the following on my Windows Vista Home Premium

RE: [PHP] Error on installing under Windows Vista leads to inability to uninstal

2007-07-18 Thread Instruct ICC
From: Stephan G [EMAIL PROTECTED] php-5.2.3-win32-installer.msi It has the following md5 sum, taken locally on my system: 4d042f649d9c264477e1b421c64c6435 I can confirm the same md5 sum. The installer has encountered an unexpected error installing this package. This may

[PHP] PHP error catching

2007-06-20 Thread Miguel J. Jiménez
Hi. I have been asked to try to catch the php error generated when the PHP script exceed execution time, but I do not know if that can be done... Any ideas? Mainly I want to show a custimized error page instead of that error (kind of Sorry but we are busy right now or something similar

Re: [PHP] PHP error catching

2007-06-20 Thread Stut
Miguel J. Jiménez wrote: Hi. I have been asked to try to catch the php error generated when the PHP script exceed execution time, but I do not know if that can be done... Any ideas? Mainly I want to show a custimized error page instead of that error (kind of Sorry but we are busy right now

Re: [PHP] Error logging

2007-06-04 Thread Vincent Tumwijukye
I suggest each student adds the line error_reporting(E_ALL); This will echo the errors and will not affect the php.ini settings. Hope that will work for you cheers On 5/31/07, Clark Alexander [EMAIL PROTECTED] wrote: We have the following php.ini settings: error_reporting = E_ALL

[PHP] Error logging

2007-05-31 Thread Clark Alexander
We have the following php.ini settings: error_reporting = E_ALL display_errors = Off display_startup_errors = Off log_errors = On log_errors_max_len = 1024 ignore_repeated_errors = Off ignore_repeated_source = Off report_memleaks = On track_errors = Off on a SuSE 10.1 server and the errors are

Re: [PHP] Error logging

2007-05-31 Thread Jochem Maas
Clark Alexander wrote: We have the following php.ini settings: error_reporting = E_ALL display_errors = Off display_startup_errors = Off log_errors = On log_errors_max_len = 1024 ignore_repeated_errors = Off ignore_repeated_source = Off report_memleaks = On track_errors = Off on a

Re: [PHP] Error logging

2007-05-31 Thread Clark Alexander
Yes, it does write to the file, but the only things going in there are notice type entries. Also, for further information, it is php 5.1.2 using the Suse rpm. On 5/31/07 5:14 PM, in article [EMAIL PROTECTED], Jochem Maas [EMAIL PROTECTED] wrote: Clark Alexander wrote: We have the following

Re: [PHP] Error logging

2007-05-31 Thread Clark Alexander
Upon review, I also discover that fatal error entries are being made as well. On 5/31/07 5:14 PM, in article [EMAIL PROTECTED], Jochem Maas [EMAIL PROTECTED] wrote: Clark Alexander wrote: We have the following php.ini settings: error_reporting = E_ALL display_errors = Off

Re: [PHP] Error logging

2007-05-31 Thread Richard Lynch
On Thu, May 31, 2007 3:25 pm, Clark Alexander wrote: We have the following php.ini settings: error_reporting = E_ALL display_errors = Off display_startup_errors = Off log_errors = On log_errors_max_len = 1024 ignore_repeated_errors = Off ignore_repeated_source = Off report_memleaks = On

[PHP] Error after add php_apc.dll

2007-04-06 Thread Bagus Nugroho
Hi All, I'm just add php_apc.dll in my module, but when I'm restart apache there error as : The instruction at 0x097f2e5e referenced memory at 0x0019. The memory could not be read. Is this cause of the module or apache itself? Thanks in advance bn

Re: [PHP] RE:[[PHP] Error in Script!!!

2007-03-06 Thread Tijnema !
On 3/5/07, Helder Lopes [EMAIL PROTECTED] wrote: Helder Lopes wrote: ?php // Conexão com o banco de dados include mysql.php; // Inicia sessões session_start(); // Recupera o login $login = $_POST[username]; // Recupera a senha $senha = $_POST[password]; // Usuário não forneceu a senha ou o

[PHP] Error in Script!!!

2007-03-05 Thread Helder Lopes
?php // Conexão com o banco de dados include mysql.php; // Inicia sessões session_start(); // Recupera o login $login = $_POST[username]; // Recupera a senha $senha = $_POST[password]; // Usuário não forneceu a senha ou o login if($login== $senha= ) { echo Você deve digitar sua senha e

Re: [PHP] Error in Script!!!

2007-03-05 Thread Brad Bonkoski
Helder Lopes wrote: ?php // Conexão com o banco de dados include mysql.php; // Inicia sessões session_start(); // Recupera o login $login = $_POST[username]; // Recupera a senha $senha = $_POST[password]; // Usuário não forneceu a senha ou o login if($login== $senha= ) { echo Você deve

[PHP] error in Script

2007-03-05 Thread Helder Lopes
In other file -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE:[[PHP] Error in Script!!!

2007-03-05 Thread Helder Lopes
Helder Lopes wrote: ?php // Conexão com o banco de dados include mysql.php; // Inicia sessões session_start(); // Recupera o login $login = $_POST[username]; // Recupera a senha $senha = $_POST[password]; // Usuário não forneceu a senha ou o login if($login== $senha= ) { echo Você deve

Re: [PHP] error in Script

2007-03-05 Thread Brad Bonkoski
Helder Lopes wrote: In other file I asked because it might prove helpful to see how that is set because this appears to be what is causing your error. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] error in Script

2007-03-05 Thread Jochem Maas
Helder Lopes wrote: In other file sarcasmwell then it *must* be correct./sarcasm have you tried actually looking at $con to see what it contains??? the connection to mysql failed or was never even attempted, the error you get makes that quite clear. -- PHP General Mailing List

Re: [PHP] Error in Script!!!

2007-03-05 Thread Stut
Helder Lopes wrote: snipped code Why this script give me a error: *Warning*: mysql_query(): supplied argument is not a valid MySQL-Link resource in *ver.php* on line *23* This means that the second parameter to the mysql_query call ($con) is not a valid connection to a MySQL database. How

[PHP] RE:[[PHP] Error in Script!!! - SOLVED

2007-03-05 Thread Helder Lopes
Thanxs for helping! The error has that i was not calling the database, neither the connection!! Im so stupid! Sorry for your time lost!

[PHP] Error handling

2007-03-01 Thread Chris Ditty
I am trying to add some error handling to my code. Instead of reinventing the wheel, I searched and found the code below. For the most part, it seems to work. When I have an error, it doesn't get shown. However, I don't get any output. I tracked it down to the $errno. It is outputting a

Re: [PHP] Error handling

2007-03-01 Thread Richard Lynch
E_USER_WARNING is a 'constant' whose value is a number. It is not a string. If you do this: echo E_USER_WARNING is set to ', E_USER_WARNING, 'br /\n; you will see exactly what number it is. So whatever you thought was going wrong, this is not it. In addition... The check for $query should

Re: [PHP] Error handling for Memcached PHP Extension

2007-02-27 Thread Richard Lynch
Didja see this one: http://us3.php.net/manual/en/function.memcache-debug.php Not, perhaps, the best answer, and maybe even not possible in your environment, but it may be useful for development, if not production. You could also check the getServerStats functions to see if their stats provide

[PHP] Error compiling lib

2007-02-08 Thread Mário Gamito
Hi, I want to compile PHP with IMAP support. I've downloaded imap2006e and run: # make slx but i got this error: make[2]: Entering directory `/usr/local/src/imap-2006e/mtest' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o

RE: [PHP] Error compiling lib

2007-02-08 Thread Tim
-Message d'origine- De : Mário Gamito [mailto:[EMAIL PROTECTED] Envoyé : jeudi 8 février 2007 16:56 À : php-general@lists.php.net Objet : [PHP] Error compiling lib Hi, I want to compile PHP with IMAP support. I've downloaded imap2006e and run: # make slx but i got

Re: [PHP] Error compiling lib

2007-02-08 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-02-08 15:56:25 +: Hi, I want to compile PHP with IMAP support. I've downloaded imap2006e and run: # make slx but i got this error: make[2]: Entering directory `/usr/local/src/imap-2006e/mtest' `cat ../c-client/CCTYPE` -I../c-client `cat

[PHP] Php Error Output Redirection

2006-12-18 Thread Sancar Saran
Hi, Is anyone know that errors generated by php (like Notice: Uninitialized string offset: 0 in ...) may stored in a php variable and print out later ? I want to put them some other location and show them in a debug window. I do this for my error reporting and I could not manage how to do with

Re: [PHP] Php Error Output Redirection

2006-12-18 Thread Saqib Ali
Use the set_error_handle function: http://us2.php.net/manual/en/function.set-error-handler.php saqib http://www.full-disk-encryption.net On 12/18/06, Sancar Saran [EMAIL PROTECTED] wrote: Hi, Is anyone know that errors generated by php (like Notice: Uninitialized string offset: 0 in ...) may

Re: [PHP] Php Error Output Redirection

2006-12-18 Thread Jochem Maas
Sancar Saran wrote: Hi, Is anyone know that errors generated by php (like Notice: Uninitialized string offset: 0 in ...) may stored in a php variable and print out later ? I want to put them some other location and show them in a debug window. I do this for my error reporting and I

Re: [PHP] Php Error Output Redirection

2006-12-18 Thread Sancar Saran
On Monday 18 December 2006 15:39, Jochem Maas wrote: Sancar Saran wrote: Hi, Is anyone know that errors generated by php (like Notice: Uninitialized string offset: 0 in ...) may stored in a php variable and print out later ? I want to put them some other location and show them in a

Re: [PHP] Php Error Output Redirection

2006-12-18 Thread Robert Cummings
On Mon, 2006-12-18 at 20:55 +0200, Sancar Saran wrote: Oh really? so where is my spy-adware windows trojan prize ? Thank you Jochem, asking you always easy than the searching documentation and I always wonder what can I do without you and your great comments :). I promise, next time

Re: [PHP] Error Display

2006-12-13 Thread Jochem Maas
Craige Leeder wrote: I have been working with PHP5 since it's release, and until a few months ago, have never experienced the problem I am about to describe to you. I am not sure weather it has been discovered previously or not, nor do I know exactly how to replicate it, but I would like to

[PHP] Error Display

2006-12-09 Thread Craige Leeder
I have been working with PHP5 since it's release, and until a few months ago, have never experienced the problem I am about to describe to you. I am not sure weather it has been discovered previously or not, nor do I know exactly how to replicate it, but I would like to know if you have

Re: [PHP] Error in php doc?

2006-12-05 Thread MS P
Hi. First thanks for the replies. Can anyone confirm that the php 5.2.0 engine takes the file name from the path automatically and so basename() can be omitted? I understand that leaving basename() in the code won't hurt, but I need the info for other purpose. Thanks. Hi. There seems to

Re: [PHP] Error in php doc?

2006-12-05 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-12-05 21:50:44 +0800: Hi. First thanks for the replies. Can anyone confirm that the php 5.2.0 engine takes the file name from the path automatically and so basename() can be omitted? I understand that leaving basename() in the code won't hurt, but I need the info

[PHP] Error with array and include

2006-12-05 Thread Fernando M. M.
Hi, I'm having a strange problem when trying to show a array after its value was defined on a file that was included. Something like this: ?php $lang = 'pt_BR'; include('lang/'. $lang .'/login.php'); echo $lang['Username']; ? On the file lang/pt_BR/login.php i have this... ?php

Re: [PHP] Error with array and include

2006-12-05 Thread T . Lensselink
How can you use an array as string in the include statement and two lines lower as array? Think it echo's 'S' because it see's $lang as a string and not an array. On Tue, 05 Dec 2006 13:11:12 -0200, Fernando M. M. [EMAIL PROTECTED] wrote: Hi, I'm having a strange problem when trying to show

Re: [PHP] Error with array and include

2006-12-05 Thread Fernando M. M.
T.Lensselink, Ok, problem solved. I didn't realized that i was using the same variable. Thanks for the help! T.Lensselink escreveu: How can you use an array as string in the include statement and two lines lower as array? Think it echo's 'S' because it see's $lang as a string and not an

Re: [PHP] Error with array and include

2006-12-05 Thread Richard Lynch
On Tue, December 5, 2006 9:11 am, Fernando M. M. wrote: Hi, I'm having a strange problem when trying to show a array after its value was defined on a file that was included. Something like this: ?php $lang = 'pt_BR'; include('lang/'. $lang .'/login.php'); echo

[PHP] Error in php doc?

2006-12-03 Thread MS P
Hi. There seems to be a minor error in the page http://www.php.net/manual/en/features.file-upload.php. In Example 38-2 Validating file uploads, there is a line: $uploadfile = $uploaddir . basename($_FILES['userfile']['name']); It looks like basename() is not required there. Because i found

Re: [PHP] Error in php doc?

2006-12-03 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-12-03 18:39:41 +0800: Hi. There seems to be a minor error in the page http://www.php.net/manual/en/features.file-upload.php. In Example 38-2 Validating file uploads, there is a line: $uploadfile = $uploaddir . basename($_FILES['userfile']['name']); It looks

Re: [PHP] Error in php doc?

2006-12-03 Thread Richard Lynch
On Sun, December 3, 2006 4:39 am, MS P wrote: Hi. There seems to be a minor error in the page http://www.php.net/manual/en/features.file-upload.php. In Example 38-2 Validating file uploads, there is a line: $uploadfile = $uploaddir . basename($_FILES['userfile']['name']); It looks like

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