Re: [PHP] ERROR

2004-09-07 Thread Wouter van Vliet
? session_start(); //echo session_id(); if (!isset($_SESSION['Id'])){ echo(scripttop.location.href='../portada.php';/script); } ? Can somebody helps me ? the error is that login don' t access and I don't found the error. Jorge, can

Re: [PHP] ERROR IN THIS CODE

2004-09-05 Thread Jorge
I resolve the problem. Thank you for all. - Original Message - From: Jorge [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, September 05, 2004 6:23 PM Subject: [PHP] ERROR IN THIS CODE the problem is that when i do a echo shows me: SELECT * FROM oposicions WHERE id = '' -

Re: [PHP] ERROR IN THIS CODE

2004-09-05 Thread John Nichel
Jorge wrote: I resolve the problem. And the solution was? -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ERROR IN THIS CODE

2004-09-05 Thread Jorge
$id = ( isset($_GET['id']) )?$_GET['id']:'1'; this was the solution. - Original Message - From: John Nichel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, September 05, 2004 9:36 PM Subject: Re: [PHP] ERROR IN THIS CODE Jorge wrote: I resolve the problem. And the solution

RE: [PHP] Error message

2004-08-23 Thread Jay Blanchard
[snip] Notice: Use of undefined constant DB_PORTABILITY_ALL - assumed 'DB_PORTABILITY_ALL' in D:\utf8php5\config.php on line 16 What can I do about this? [/snip] http://www.php.net/constant DEFINE the constant DB_PORTABILITY_ALL -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Error message

2004-08-23 Thread Matt M.
Notice: Use of undefined constant DB_PORTABILITY_ALL - assumed 'DB_PORTABILITY_ALL' in D:\utf8php5\config.php on line 16 What can I do about this? include PEAR::DB before you include this config file -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Error message

2004-08-23 Thread Thijs Lensselink
define constant with DB_PORTABILITY_ALL; Pete wrote: Hi List, I am getting a strange error notice for the following config file: ?php /** * Database */ $dsn = array( 'phptype' = 'mysql', 'username' = 'root', 'password' = 'secretpass', 'hostspec' = 'localhost',

RE: [PHP] Error parsing php.ini

2004-07-23 Thread Pablo Gosse
Jason Davidson wrote: whats on line 102 of the php.ini file ??? Jason On Fri, 23 Jul 2004 10:27:29 -0700, Pablo Gosse [EMAIL PROTECTED] wrote: Hi folks. I've written a CMS which uses a cron job to execute a script that pushes/pulls content from our website. It's been working very

RE: [PHP] Error parsing php.ini

2004-07-23 Thread Pablo Gosse
snip Jason Davidson wrote: Can you show whats on either side of that too please /snip The following are lines 91 - 112 ; You can redirect all of the output of your scripts to a function. For ; example, if you set output_handler to ob_gzhandler, output will be ; transparently compressed for

RE: [PHP] Error parsing php.ini

2004-07-23 Thread Pablo Gosse
snip Jason Davidson wrote: Oh, it was a one time error, strange, youve never had this error before, and this definately is the php.ini file your using, ie, there isnt another somewhere thats getting used? /snip Quothe the terminal: [EMAIL PROTECTED] html]$ find / -type f -name php.ini

Re: [PHP] Error parsing php.ini

2004-07-23 Thread Jason Davidson
Im beat, unless there is any more information that could possibly clue me in, im lost. A one time error on a section of file that is commented out i dont understand. im sorry :( .. some hardware glich or something maybe??? ... i dunno. haha Jason On Fri, 23 Jul 2004 14:10:09 -0700, Pablo

Re: [PHP] Error when using HTTP Location header

2004-07-21 Thread Marek Kilimajer
Arnout Boks wrote: Hi, I'm building a login page that redirects the user to the login form when an incorrect password is entered. An error message is passed as an URL parameter. Something like: if(!$pwd == $correctPwd){ header('Location: ' . urlencode('loginForm.php?error=Incorrect

Re: [PHP] Error when using HTTP Location header

2004-07-21 Thread Jason Wong
On Thursday 22 July 2004 01:00, Arnout Boks wrote: if(!$pwd == $correctPwd){ header('Location: ' . urlencode('loginForm.php?error=Incorrect You only urlencode() the values of each individual parameter and NOT the whole url. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open

Re: [PHP] Error when using HTTP Location header

2004-07-21 Thread Matthew Sims
Hi, I'm building a login page that redirects the user to the login form when an incorrect password is entered. An error message is passed as an URL parameter. Something like: if(!$pwd == $correctPwd){ header('Location: ' . urlencode('loginForm.php?error=Incorrect password'));

Re: [PHP] Error when using HTTP Location header

2004-07-21 Thread Justin Patrin
On Wed, 21 Jul 2004 19:00:06 +0200, Arnout Boks [EMAIL PROTECTED] wrote: Hi, I'm building a login page that redirects the user to the login form when an incorrect password is entered. An error message is passed as an URL parameter. Something like: if(!$pwd == $correctPwd){

Re: [PHP] Error when using HTTP Location header

2004-07-21 Thread Arnout Boks
Ok, thnx, problem solved. But about the XSS attacks: what is a XSS attack, and is there a way I can let users still use some HTML tags (like B and BR)? TIA, Arnout Marek Kilimajer [EMAIL PROTECTED] schreef in bericht news:[EMAIL PROTECTED] Arnout Boks wrote: Hi, I'm building a login page

Re: [PHP] Error when using HTTP Location header

2004-07-21 Thread Chris Shiflett
--- Arnout Boks [EMAIL PROTECTED] wrote: header('Location: ' . urlencode('loginForm.php?error=Incorrect password')); The Location header requires an absolute URL. Also, this is the header you are sending: Location: loginForm.php%3Ferror%3DIncorrect+password I doubt that's the URL you meant.

Re: [PHP] Error when using HTTP Location header

2004-07-21 Thread Chris Shiflett
--- Arnout Boks [EMAIL PROTECTED] wrote: But about the XSS attacks: what is a XSS attack, and is there a way I can let users still use some HTML tags (like B and BR)? You might find this article helpful: http://shiflett.org/articles/foiling-cross-site-attacks One easy way to mitigate most of

Re: [PHP] Error when using HTTP Location header

2004-07-21 Thread Jonathan Haddad
I've seen it work with a relative URL, which suprised me, because until I had saw that I would have agreed with you. Jon Chris Shiflett wrote: --- Arnout Boks [EMAIL PROTECTED] wrote: header('Location: ' . urlencode('loginForm.php?error=Incorrect password')); The Location header requires

Re: [PHP] Error when using HTTP Location header

2004-07-21 Thread Justin Patrin
Most browsers work fine with relative URLs in the Location header. The spec says it has to be absolute, though, and a few browsers require it. On Wed, 21 Jul 2004 15:11:37 -0400, Jonathan Haddad [EMAIL PROTECTED] wrote: I've seen it work with a relative URL, which suprised me, because until I

Re: [PHP] Error when using HTTP Location header

2004-07-21 Thread Chris Shiflett
--- Jonathan Haddad [EMAIL PROTECTED] wrote: I've seen it work with a relative URL, which suprised me, because until I had saw that I would have agreed with you. I assume you mean that you disagree with me. There is a difference between works and right (not that a malformed Location header

Re: [PHP] Error when using HTTP Location header

2004-07-21 Thread John W. Holmes
Chris Shiflett wrote: There is a difference between works and right Man... where have I heard that before?!? ;) -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals www.phparch.com -- PHP General Mailing List

[PHP] Re: PHP error catching....

2004-07-20 Thread Torsten Roehr
Scott Fletcher [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What are those php functions that catch the PHP errors, not display it and do something to it while the user load a webpage. I don't remember what those are. :-( FletchSOD You can write your own error handling

Re: [PHP] Error: unexpected T_ELSE on line 14...?

2004-07-19 Thread Dennis Gearon
There is a book/CD by 'Stroup' called 'More effective c++'. VERY excellent book. It give someting like 54 specific technicques to employ that save LOTS of time for a C++programmer. One of the ones from that book, applies here: DON'T write if ( variable ==/= constant){;} INSTEAD write if(

Re: [PHP] Error: unexpected T_ELSE on line 14...?

2004-07-18 Thread John W. Holmes
Harlequin wrote: if ($_SESSION[Authorised]=Yes); You know this will _always_ be true, don't you? -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals www.phparch.com -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Error: unexpected T_ELSE on line 14...?

2004-07-18 Thread Curt Zirzow
* Thus wrote Harlequin: if ($_SESSION[Authorised]=Yes); { // Body ~ Verified User: echo brbrbr; echo pThank you $UserCName, Now please just provide the following information and your aProfile will be loaded.; } else - The offending line...! { echo You need to go back and

Re: [PHP] Error: unexpected T_ELSE on line 14...?

2004-07-18 Thread Rodrigo Castro Hernandez
Hi, You have two problems in these line: Harlequin said: if ($_SESSION[Authorised]=Yes); 1. The obvious ; at the end of the line. 2. $_SESSION[Authorised]=Yes it's different to write: $_SESSION[Authorised]==Yes Cheers, -- Rodrigo Castro Hernandez -- PHP General Mailing List

Re: [PHP] Error: unexpected T_ELSE on line 14...?

2004-07-18 Thread Sean Malloy
1. The obvious ; at the end of the line. 2. $_SESSION[Authorised]=Yes it's different to write: $_SESSION[Authorised]==Yes Gotta love c style languages where variable assignment is like variable comparison. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Error: unexpected T_ELSE on line 14...?

2004-07-18 Thread Curt Zirzow
* Thus wrote Rodrigo Castro Hernandez: Hi, You have two problems in these line: Harlequin said: if ($_SESSION[Authorised]=Yes); 1. The obvious ; at the end of the line. 2. $_SESSION[Authorised]=Yes it's different to write: $_SESSION[Authorised]==Yes nice catch. Curt

Re: [PHP] Error Reporting

2004-06-28 Thread Larry E . Ullman
I ave a strange problem with my error reporting! I have set php.ini to: error_reporting = E_ALL but I don't see any errors. (After I was happy things were working on my Apache Test Server, I uploaded to my web host and discovered errors.) Make sure that display_errors is on and that you

Re: [PHP] error with PHP MySQL extension

2004-06-22 Thread John Nichel
Nguyen, Long P (Mission Systems) wrote: This is where I am stuck at with this DRES installation, it's complaining about the mysql extension. I tried ./configure --with-mysql=/usr/local/mysql; make; make install and still the same error:

RE: [PHP] error with PHP MySQL extension

2004-06-22 Thread Nguyen, Long P (Mission Systems)
- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 22, 2004 10:33 AM To: php-general Mailing List Subject: Re: [PHP] error with PHP MySQL extension Nguyen, Long P (Mission Systems) wrote: This is where I am stuck at with this DRES installation, it's complaining about the mysql

RE: [PHP] error with PHP MySQL extension

2004-06-22 Thread R'twick Niceorgaw
Quoting Nguyen, Long P (Mission Systems) [EMAIL PROTECTED]: I was task with this... Unfortunately the person that installed it is not here anymore. Is there a way to find out, like any commands or files to look for? I do see _SERVER[SERVER_SOFTWARE] Apache/2.0.40 (Red Hat Linux) show up on

RE: [PHP] error with PHP MySQL extension

2004-06-22 Thread Nguyen, Long P (Mission Systems)
' '--with-apxs2=/usr/sbin/apxs' -Original Message- From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 22, 2004 10:04 AM To: Nguyen, Long P (Mission Systems) Cc: John Nichel; php-general Mailing List Subject: RE: [PHP] error with PHP MySQL extension Quoting Nguyen, Long P (Mission

Re: [PHP] error with PHP MySQL extension

2004-06-22 Thread John Nichel
Nguyen, Long P (Mission Systems) wrote: I didn't see a phpinfo, I do see mysql as below in the Configure Command section. So if I run up2date php-mysql, it will update mysql extension? Where do I run this from, like the path? Sorry - I'm new to this. At the command prompt (and as root), run

Re: [PHP] Error Downloading files using FOpen

2004-06-04 Thread Matt Matijevich
[snip] When you go to download a file off a page it corrupts the download. [/snip] not sure what the exact problem is, but have you tried other functions, like readfile http://www.php.net/manual/en/function.readfile.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Error Downloading files using FOpen

2004-06-04 Thread Winkler, Gerald
That gives me the same junk data problems. -Original Message- From: Matt Matijevich [mailto:[EMAIL PROTECTED] Sent: Friday, June 04, 2004 2:29 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Error Downloading files using FOpen [snip] When you go to download a file off

Re: [PHP] Error Downloading files using FOpen

2004-06-04 Thread John W. Holmes
Winkler, Gerald wrote: That gives me the same junk data problems. Define junk data? How is it corrupting the file? try downloading a simple text file with a basic sentence in it. What does it look like after it's corrupted? -- ---John Holmes... Amazon Wishlist:

Re: [PHP] Error building PHP with PostgreSQL support

2004-05-25 Thread Ray Hunter
On Mon, 2004-05-24 at 17:14, Robert Fitzpatrick wrote: I am getting the following problem with trying to install from source PHP 4.3.6 with PG support on FreeBSD 5.2.1. I have PostgreSQL 7.4.2 recently upgraded from 7.3.x and it is up and running fine. I also have Heimdal 0.6 installed and

Re: [PHP] Error Passing Command in URL

2004-05-14 Thread Chris Shiflett
--- Dragon [EMAIL PROTECTED] wrote: If I/You try to open the Admin-Sektion ?open=admin Nothing happens, you will only reload the main view. Use $_GET['open']. It will work. Chris = Chris Shiflett - http://shiflett.org/ PHP Security - O'Reilly Coming Fall 2004 HTTP Developer's

Re: [PHP] Error compiling php-4.3.6 on Redhat 7.3 - need help please

2004-04-20 Thread Elfyn McBratney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Mike, On Tuesday 20 Apr 2004 20:46, Mike Ryerse wrote: Hi, I've been racking my brain on this for quite a while now. Any help at all is much appreciated (I might start going bald early at this rate of frustration!) When I compile php,

Re: [PHP] Error compiling php-4.3.6 on Redhat 7.3 - need help please

2004-04-20 Thread Mike Ryerse
I re-installed openssl 0.9.7d to /usr/local/ssl and changed my ./configure to --with-openssl=/usr/local/ssl and now I can make install w/o errors, but when apache tries loading libphp4.so, I am getting the following error: Syntax error on line 264 of /etc/httpd/conf/httpd.conf: Cannot load

Re: [PHP] Error compiling php-4.3.6 on Redhat 7.3 - need help please

2004-04-20 Thread Mike Ryerse
I was reading http://bugs.php.net/bug.php?id=24774 where someone mentioned to someone else getting this error that they should do a 'ldd libphp4.so' so I did and I noticed that libphp4.so is pointing to some old libraries. Here is the output: ldd libphp4.so: libcrypt.so.1 = /lib/libcrypt.so.1

Re: [PHP] Error messages configuration

2004-04-07 Thread John W. Holmes
From: Germán M. Rivera [EMAIL PROTECTED] I would like to know if it is possible to change the format of error and warning messages that PHP shows. Now my error notifications look like: [Fatal error | Warning | ...]: error in file on line line. It would be helpful for me that

Re: [PHP] Error

2004-02-21 Thread Jason Wong
On Saturday 21 February 2004 10:02, Tim Trimble wrote: Warning: Failed opening '/var/www/html/phpadmin/index.php' for inclusion (include_path='.:/php/include :/usr/share/php') in Unknown on line 0 Can you direct me to a fix for this... Look at php.ini and check the settings for the

Re: [PHP] Error

2004-02-20 Thread John Nichel
Tim Trimble wrote: I'm stuck. I'm running a default copy of Redhat 7.2. with PHP - 4.0.6-7 and Mysql - 3.23.41-1 running on Apache - 1.3020-16. When I try to load a php page I get this error. Warning: Failed opening '/var/www/html/phpadmin/index.php' for inclusion

Re: [PHP] Error

2004-02-20 Thread John Nichel
Please don't reply directly to me (or other members of the list) unless asked to do so. When you reply off-list, the messages do not get archived, and will not be searchable to those who may encounter the same problem. Also, please don't post HTML formatted / multi-part messages. Plain text

Re: [PHP] Error

2004-02-20 Thread Nitin Mehta
] To: PHP List [EMAIL PROTECTED] Sent: Saturday, February 21, 2004 10:54 AM Subject: Re: [PHP] Error Please don't reply directly to me (or other members of the list) unless asked to do so. When you reply off-list, the messages do not get archived, and will not be searchable to those who may encounter

Re: [PHP] error : session_start

2004-02-15 Thread Binay
set the session.save_path directive in php.ini file.. By default this is set to /tmp but as u working on win mchine please create a session directory and specify the corresponding path to aforesaid directive. Cheers Binay - Original Message - From: ajay [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] error : session_start

2004-02-15 Thread Tom Rogers
Hi, Monday, February 16, 2004, 2:27:21 PM, you wrote: a hi! a i have a login page that after validating the login and passwords does something a like a // initiate a session a session_start(); a // register some session variables a

Re: [PHP] Error with ftp_get()

2004-02-14 Thread Adam Bregenzer
On Fri, 2003-11-14 at 07:33, Thorben wrote: Warning: ftp_get(): 'RETR ' not understood. I guess 'RETR' is a message from FTPServer to PHP and PHP don't understand it. So, can you tell me, how to avoid this? When you request (get) a file using the ftp command you send a RETR command to the

Re: [PHP] Error with ftp_get()

2004-02-14 Thread Thorben
Oh. Yes. I forget the code. With an normal FTP-client i can get the file easily. Ah! I've found the error. My code was ftp_get($conn, tmp, $file, FTP_BINARY); The var $file is a GET-var, but on my server register_globals is off. So i had to write $_GET['file']. It was so easy. On Fri,

Re: [PHP] Error fread() after switching Register Globals Off

2004-01-29 Thread John W. Holmes
From: Daniel Perez Clavero [EMAIL PROTECTED] Warning: fread(): supplied argument is not a valid stream resource in c:\program files\apache group\apache\htdocs\dpc\modulos\mod_ins_doc.php on line 13 I´ve got a form that calls a module to insert data. IT WAS WORKING before I switched the

Re: [PHP] Error Reporting help

2004-01-20 Thread Chris Edwards
:53 PM Subject: Re: [PHP] Error Reporting help Chris Edwards wrote: but do I need to do something to get PHP to actually work off of these setting once they have been changed, Restart your web server. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php

Re: [PHP] Error Reporting help

2004-01-19 Thread Chris Edwards
Thanks for all you replies, most of what you have suggested, I had already tried, in vain, before joining the list. I retried most of the combinations and still cannot get it to report syntax errors. If I have errors, from say undefined variables, the error handler catches those just fine.

Re: [PHP] Error Reporting help

2004-01-19 Thread Jason Wong
On Monday 19 January 2004 22:34, Chris Edwards wrote: I retried most of the combinations and still cannot get it to report syntax errors. If I have errors, from say undefined variables, the error handler catches those just fine. Again: But if display_errors (in php.ini) is disabled then

Re: [PHP] Error Reporting help

2004-01-19 Thread Chris Edwards
Here's a snippet from my PHI_INI ; - Show all errors ; error_reporting = E_ALL ;error_reporting = E_ALL ~E_NOTICE ~E_WARNING ~E_CORE_WARNING ~E_USER_WARNING ~E_USER_NOTICE ~E_COMPILE_WARNING display_errors = On The commented out error_reporting was the original setting and

Re: [PHP] Error Reporting help

2004-01-19 Thread John W. Holmes
Chris Edwards wrote: but do I need to do something to get PHP to actually work off of these setting once they have been changed, Restart your web server. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals

Re: [PHP] Error Reporting help

2004-01-19 Thread Jason Wong
On Tuesday 20 January 2004 03:44, Chris Edwards wrote: Here's a snippet from my PHI_INI ; - Show all errors ; error_reporting = E_ALL ;error_reporting = E_ALL ~E_NOTICE ~E_WARNING ~E_CORE_WARNING ~E_USER_WARNING ~E_USER_NOTICE ~E_COMPILE_WARNING display_errors = On With those

Re: [PHP] Error Reporting help

2004-01-18 Thread Adam i Agnieszka Gasiorowski FNORD
Chris Edwards wrote: [cut] For example if I code echo This is a syntax error because of the double quote start and the single quote end '; I just get a blank screen. I have 14 pages of PHP settings printed out, so for any kind person that can help, I can respond with their

Re: [PHP] Error Reporting help

2004-01-18 Thread John W. Holmes
Chris Edwards wrote: My hosting company recently upgraded to PHP 4.3.0. Since doing this I no longer get syntax type errors, from my typo's inside my PHP scripts. These use to come up in my browser when that page was requested and the script run. You probably need to have them turn on

Re: [PHP] Error Reporting help

2004-01-18 Thread Chris Edwards
Tried that, thanks, no joy. It's almost like it parses it before it tries to execute any lines and if a syntax error occurs, it doesn't execute any of the script. The prior version would run up until the syntax error and then give you the line if error, which usually meant the syntax error was

Re: [PHP] Error Reporting help

2004-01-18 Thread Jason Wong
On Monday 19 January 2004 07:30, Chris Edwards wrote: It's almost like it parses it before it tries to execute any lines and if a syntax error occurs, it doesn't execute any of the script. That's right. The prior version would run up until the syntax error and then give you the line if

Re: [PHP] Error with Absolute URLs

2003-12-24 Thread CPT John W. Holmes
From: Brad [EMAIL PROTECTED] I keep getting errors on my websites, that contain absolute URLs, e.g. http://www.url.com/blah.html. With most, being in the folder of my website, it's fine, i can just add $_SERVER['DOCUMENT_ROOT'], but there's a script I use to display the network statistics of

Re: [PHP] error in mysql SQL syntax

2003-12-12 Thread Jason Wong
You have started a new thread by taking an existing posting and replying to it while you changed the subject. That is bad, because it breaks threading. Whenever you reply to a message, your mail client generates a References: header that tells all recipients which posting(s) your posting refers

RE: [PHP] error in mysql SQL syntax

2003-12-12 Thread Chris W. Parker
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] on Friday, December 12, 2003 12:43 AM said: First I'm going to +1 Jason's comment. Then I'm going to give you a tip. Could somebody tell me way I am getting an error in this SQL syntax. $query = insert into majordomoaliases

Re: [PHP] Error that I can't find causing header() to fail

2003-12-11 Thread Justin Patrin
Rogue wrote: Yes. The html is after the call to header(). I am very clear on header() now :) That isn't the problem since the header() should be called way before any output... this is something bizarre here... The offending code is a block right smack in the middle of a bunch of other html

Re: [PHP] Error that I can't find causing header() to fail

2003-12-10 Thread TheHeadSage
Is the HTML code before or after the header? As the header(); function should be before any output is passed to the browser. I advise you read about the header() function in the PHP manual. - Original Message - From: rogue [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December

Re: [PHP] Error that I can't find causing header() to fail

2003-12-10 Thread rogue
Yes. The html is after the call to header(). I am very clear on header() now :) That isn't the problem since the header() should be called way before any output... this is something bizarre here... The offending code is a block right smack in the middle of a bunch of other html stuff - which

RE: [PHP] Error message trying to include a file

2003-12-02 Thread Wouter van Vliet
On maandag 1 december 2003 23:17 Curt Zirzow told the butterflies: * Thus wrote Matthias Wulkow ([EMAIL PROTECTED]): I have an array filled with urls of javascript files and then I include them one by one in a loop. for( $i = 0 ; $i sizeof($this-page-javascript) ; $i++ ){

Re: [PHP] Error message trying to include a file

2003-12-01 Thread Curt Zirzow
* Thus wrote Matthias Wulkow ([EMAIL PROTECTED]): I have an array filled with urls of javascript files and then I include them one by one in a loop. for( $i = 0 ; $i sizeof($this-page-javascript) ; $i++ ){ include($this-page-javascript[$i]); //This line above is line 52 shown

Re: [PHP] Error 1045

2003-11-22 Thread Burhan Khalid
ike strong wrote: I don't know if this is the right place to ask this, This is not the right place to ask this. Ask on a MySQL mailing list. This is php. but can anyone help me to figure out why each time I try to access my database using: c:\mysql\bin\inmysql -root -p In windows --

RE: [PHP] Error 1045

2003-11-21 Thread Nigel Jones
I don't think it is the right place But try using a Blank Passwd if it is a New MySQL setup -Original Message- From: ike strong [mailto:[EMAIL PROTECTED] Sent: Saturday, November 22, 2003 11:01 AM To: [EMAIL PROTECTED] Subject: [PHP] Error 1045 I don't know if this is the right

Re: [PHP] Error 1045

2003-11-21 Thread RT
On Fri, 2003-11-21 at 17:01, ike strong wrote: I don't know if this is the right place to ask this, but can anyone help me to figure out why each time I try to access my database using: c:\mysql\bin\inmysql -root -p and afterwards:(i.e. after the password prompt) Enter

Re: [PHP] Error 1148 and 1045

2003-10-28 Thread Burhan Khalid
Steve Buehler wrote: I have upgraded my mysql version to 3.23.58 and am coming up with a couple of errors using phpmyadmin to Insert data from a textfile into table I didn't get this on the previous versions of mysql. Here are the errors: [ snip ] --- Can anybody shed some light

Re: [PHP] error reporting

2003-10-17 Thread Mike Migurski
Heh yes umm i know this. But how i could i catch this before is spits out to an ugly error page so i can send to a custom error page. Why would anyone but you ever see a parse error? It's the sort of thing you fix before setting up custom error handling. :)

RE: [PHP] Error Handling

2003-10-17 Thread Jay Blanchard
[snip] I have found some great code that handles errors through PHP_SELF However I have radio buttons and drop down selections that I cannot do a $_POST (the POST only works on my text fields). Does someone have some sample code that can check for errors on a drop down selection or radio buttons

Re: [PHP] Error Handling

2003-10-17 Thread Robert Cummings
On Fri, 2003-10-17 at 16:29, Frank Tudor wrote: I have found some great code that handles errors through PHP_SELF However I have radio buttons and drop down selections that I cannot do a $_POST (the POST only works on my text fields). Does someone have some sample code that can check for

Re: [PHP] Error Handling

2003-10-17 Thread John W. Holmes
Robert Cummings wrote: Error Handling?? Do you mean form validation? InterJinn does form validation and allows custom validators for any kind of form field. I believe PEAR's Quickform can also do similar. I'm thinking about getting a vasectomy; what does InterJinn recommend? Seriously, is it

Re: [PHP] Error Handling

2003-10-17 Thread Robert Cummings
On Fri, 2003-10-17 at 18:49, John W. Holmes wrote: Robert Cummings wrote: Error Handling?? Do you mean form validation? InterJinn does form validation and allows custom validators for any kind of form field. I believe PEAR's Quickform can also do similar. I'm thinking about getting a

Re: [PHP] Error Handling

2003-10-17 Thread John Nichel
John W. Holmes wrote: Robert Cummings wrote: Error Handling?? Do you mean form validation? InterJinn does form validation and allows custom validators for any kind of form field. I believe PEAR's Quickform can also do similar. I'm thinking about getting a vasectomy; what does InterJinn

Re: [PHP] Error Handling

2003-10-17 Thread Robert Cummings
On Fri, 2003-10-17 at 23:14, John Nichel wrote: I had InterJinn Simonize my car this morning. :) Hmm, that's an odd word to use... I hope your car enjoyed its simonizing. But don't let it get carried away :) Cheers, Rob -- .. |

Re: [PHP] Error Handling

2003-10-17 Thread Frank Tudor
Interjinn looks great but my development box is a windows me machine with easyphp (globals turned off) How am I supposes to get this stuff to work. I actually just unzipped it to my www dir and it has been sitting there the whole day. and I still have my vailidation (form handling) problem. I

Re: [PHP] Error Handling

2003-10-17 Thread Greg Beaver
Frank, http://pear.php.net/HTML_QuickForm It's that easy. There are full docs accessible from the page listed above. Average time from download to output of your first form with validation: 30 minutes to 1 hour. Tops. Regards, Greg Frank Tudor wrote: I would really be interested in

Re: [PHP] Error Handling

2003-10-17 Thread Robert Cummings
On Sat, 2003-10-18 at 00:07, Frank Tudor wrote: Interjinn looks great but my development box is a windows me machine with easyphp (globals turned off) How am I supposes to get this stuff to work. I actually just unzipped it to my www dir and it has been sitting there the whole day. and I

Re: [PHP] error reporting

2003-10-16 Thread John W. Holmes
Richard Baskett wrote: If I use: ini_set(error_reporting, 0); ini_set(display_errors, 0); It still shows the errors.. if I use the error_reporting function.. it still shows the errors, no matter what I do.. it still shows the errors! What am I missing? I have it set in the php,ini to show

Re: [PHP] error reporting

2003-10-16 Thread Richard Baskett
on 10/16/03 16:51, John W. Holmes at [EMAIL PROTECTED] wrote: Richard Baskett wrote: If I use: ini_set(error_reporting, 0); ini_set(display_errors, 0); It still shows the errors.. if I use the error_reporting function.. it still shows the errors, no matter what I do.. it still shows the

Re: [PHP] error reporting

2003-10-16 Thread Richard Baskett
on 10/16/03 16:51, John W. Holmes at [EMAIL PROTECTED] wrote: Richard Baskett wrote: If I use: ini_set(error_reporting, 0); ini_set(display_errors, 0); It still shows the errors.. if I use the error_reporting function.. it still shows the errors, no matter what I do.. it still shows the

Re: [PHP] error reporting

2003-10-16 Thread daniel
on the topic of error reporting, am i able to catch fatal/parse errors yet ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] error reporting

2003-10-16 Thread John W. Holmes
[EMAIL PROTECTED] wrote: on the topic of error reporting, am i able to catch fatal/parse errors yet ? How could a PHP script catch a Parse Error? The script hasn't started because there is, ummm, a Parse Error! :) -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

Re: [PHP] error reporting

2003-10-16 Thread daniel
---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Heh yes umm i know this. But how i could i

Re: [PHP] Error in creating BTML(BT Markup Language)

2003-10-13 Thread Pavel Jartsev
Bas wrote: ... echo IMG SRC=\ . $bttags['image'] . \; Seems that U don't have closing double-quote () in line above. It should be: echo IMG SRC=\ . $bttags['image'] . \; -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Error in creating BTML(BT Markup Language)

2003-10-13 Thread Bas
Now I get the output: (in html, if you get a mail, you get the real output.) HTMLHEADTITLEWelcome! /TITLE/HEADBODYH1Welcome! /h1brbr / bNotice/b: Undefined index: text in bC:\pub\include\btml.php/b on line b13/bbr / IMG SRC=noimage.gif /body/html Pavel Jartsev [EMAIL PROTECTED] wrote in

Re: [PHP] Error in BTML parser 2

2003-10-13 Thread Curt Zirzow
* Thus wrote Bas ([EMAIL PROTECTED]): This error is not so stupid as a deleted closing . Okay, for all of you who missed my code here is it again: read-tags.php --- ?php // Tag Parser v1.1 // v1.0 First release(not working) // v1.1 Edited: // Uses Regular Expressions function

Re: [PHP] Error in BTML parser 2

2003-10-13 Thread Bas
Yes! It works!!! This is also an good beginner-HTML. If you have improvements then i like it from you to post them in an reply or email me. Regards, Bas Curt Zirzow [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] * Thus wrote Bas ([EMAIL PROTECTED]): This error is not so stupid as

Re: [PHP] Error catching script

2003-10-08 Thread Chris Shiflett
--- James Johnson [EMAIL PROTECTED] wrote: Is there a way, on a hosted server, to prevent PHP errors from showing in a browser? I am assuming you are asking how to change php.ini directives, since you probably don't have access. On most shared hosts, they are configured to use a .htaccess file

Re: [PHP] Error catching script

2003-10-08 Thread Curt Zirzow
* Thus wrote James Johnson ([EMAIL PROTECTED]): Hello, Is there a way, on a hosted server, to prevent PHP errors from showing in a browser? Instead of error whatever at line 107 in filename.php to have it redirect to a Sorry, please report this error page See: set_error_handler();

Re: [PHP] error cannot instantiate non-existent class

2003-09-12 Thread CPT John W. Holmes
From: Golawala, Moiz M (IndSys, GE Interlogix) [EMAIL PROTECTED] I am newbie with php and I am trying to instantiate a class. Welcome to PHP. this-$config = $config; $this-config = $config; Parse error: parse error, unexpected T_OBJECT_OPERATOR in C:\Program Files\Apache

Re: [PHP] Error when using built in functions

2003-09-07 Thread Raditha Dissanayake
what's the error message? Ben C. wrote: I am having problems using the following functions; trim(), ucwords(), and others. Do I have a setting wrong? Ben -- http://www.radinks.com/upload Drag and Drop File Uploader. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] error in apache log

2003-08-20 Thread Marek Kilimajer
Should be application/x-httpd-php. I bet you have this mistake in your apache config files. Peter Berglund wrote: I got alot of this error in my apache log, how do I fix it? [warn] Cannot get media type from 'application-x-httpd-php' -- PHP General Mailing List (http://www.php.net/) To

<    1   2   3   4   5   6   7   >