?
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
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 = ''
-
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
$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
[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
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:
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',
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
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
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
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
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
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
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'));
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){
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
--- 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.
--- 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
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
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
--- 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
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
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
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(
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
* 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
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
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:
* 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
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
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:
-
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
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
' '--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
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
[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:
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
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:
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
--- 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
-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,
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
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
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
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
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
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
]
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
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
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
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
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,
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
: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
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.
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
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
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
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
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
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
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
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
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
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
[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
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
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
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
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++ ){
* 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
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 --
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
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
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
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. :)
[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
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
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
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
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
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
--
..
|
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
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
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
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
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
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
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
[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/
---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
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
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
* 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
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
--- 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
* 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();
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
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:
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
301 - 400 of 600 matches
Mail list logo