php-general Digest 30 Dec 2004 16:23:49 -0000 Issue 3199

Topics (messages 205342 through 205368):

Re: Align pic
        205342 by: Curt Zirzow
        205344 by: Matthew Fonda
        205355 by: John Nichel

Re: 
        205343 by: Rasmus Lerdorf

COM Bug in PHP 4.3.10
        205345 by: Tohar Trabinovitch
        205349 by: M. Sokolewicz
        205353 by: Rasmus Lerdorf

Re: wrong value from define
        205346 by: Arthur

Re: PEAR DB vs ADODB
        205347 by: Lester Caine

Question: arrays and form elements
        205348 by: Stuart Felenstein
        205352 by: Jay Blanchard

authentication problem...
        205350 by: Ali
        205351 by: Christophe Chisogne

Re: 4.3.10 & mySQL
        205354 by: John Nichel

distributed architecture....
        205356 by: Bruce Douglas
        205357 by: Greg Beaver
        205359 by: Jones, Douglas 1

what am I doing wrong? PHP5 on Fedora
        205358 by: blackwater dev
        205361 by: John Nichel
        205362 by: Jason Wong
        205364 by: blackwater dev
        205365 by: blackwater dev

Understanding flock()
        205360 by: Gerard Samuel

Re: build list of available functions and classes
        205363 by: Jason Barnett

Re: authentication
        205366 by: zerof

Warnings on the bottom of the pages on Linux
        205367 by: M�rio Gamito
        205368 by: Jason Barnett

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
* Thus wrote Labunski:
> Sorry for posting this here,
> but this is only newsgroup I'm using, and I can't solve simple HTML problem.
> yeah, it's funny, but still.. ;)

there are reason's why there are other groups to join.


Curt
-- 
Quoth the Raven, "Nevermore."

--- End Message ---
--- Begin Message ---
or just use css, set it to the background image of the body and use
background-position: center center;

On Wed, 2004-12-29 at 20:20, Jonathan wrote:
> <table align="center">
> 
> 
> 
> "Labunski" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Sorry for posting this here,
> > but this is only newsgroup I'm using, and I can't solve simple HTML
> problem.
> > yeah, it's funny, but still.. ;)
> >
> > I need to center image on the blank screen without using javascript.
> > - so I wrote:
> >
> > <table width="100%" height="100%">
> > <tr>
> > <td width="100%" height="100%" align="center" valign="middle">
> > <img src="logo.jpg">
> > </td>
> > </tr>
> > </table>
> >
> > this should work, but it's not.
> > now the image is centered horizontally, but I need it vertically, too.
> > what to do?
> >
> > Thank you,
> > Lab.
-- 
Regards,
Matthew Fonda

--- End Message ---
--- Begin Message --- Labunski wrote:
Sorry for posting this here,
but this is only newsgroup I'm using, and I can't solve simple HTML problem.
yeah, it's funny, but still.. ;)

So join a HTML or CSS newsgroup.

--
John C. Nichel
�berGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

--- End Message ---
--- Begin Message --- Andrew Kreps wrote:
On Wed, 29 Dec 2004 08:35:28 -0800, Tony Di Croce <[EMAIL PROTECTED]> wrote:

So far, I really love PHP... It just makes web development so much
more convenient... But I sometimes wonder why so much server side work
is done with intrpreted scripting languages... Why haven't languages
been created that when "compiled" result in C code, which could then
itself be compiled and run natively?



Back when CGI was the thing to do, most of the 'scripts' were compiled
C programs with hooks to the Common Gateway Interface.  Then Perl
happened, and the whole landscape changed.

The modern version of this is a Java-based web application server like
ATG Dynamo or IBM Websphere.  Everything, right down to the front-end
JSP (or JHTML in Dynamo's case) pages are compiled into Java Objects
and then cached and run accordingly.  I think you'd find that
architecture very interesting.


It should be possible to create a "reintrepreter" capable of
translating code written in a language like PHP into C code, which
could then be compiled and executed natively... (IE, Faster)... If it
was desired, it could even copy the syntax of the PHP language
exactly... You would get the rapid development of PHP combined with
the execution speed of C...

Their must be a good reason this has never been done (or has it?).



I'm pretty sure pre-compiling PHP has been tackled before, but it
certainly doesn't seem to be popular.  I'm not sure anyone has ever
tried your idea of porting it to a different language, and then
compiling it.

I think the main reason web development is so widespread is that it's
an easy 2 step process.  When you're writing C code, you write,
compile (with errors), modify, compile, then run.  With PHP, you just
write and reload ad infinitum.  Scripting languages compress the
compile/run steps (and debug, in most cases), and makes it as easy as
a couple of keystrokes to get your application running.  Since the
application server is running the entire time you're developing,
there's no lag time to wait for it to load libraries, load a GUI, etc.
 It's such a rapid development process, I think you'd have a hard time
convincing PHP developers to go back to the more structured method.

I can understand the execution speed argument, but so much of what PHP
does can be tuned at the application level, you often don't need to
change your code to make your site run significantly faster. The time
you'll save having your scripts pre-compiled pales in comparison with
doing a little tuning of your SQL queries. In my experience,
compile/execution time isn't the most constricting factor when dealing
with web apps. I usually get more hung up on data transfer times.
From DB server to the App server, and then from the Web server to the
client for example.

You could certainly label me a skeptic on this topic.  I just don't
see a huge amount of gain possible for what seems like a lot of work
to me.  Then again, I've been scripting about as long as you've been
compiling, so I might not have the full picture.  :)

The idea is to compile the bits that need to be compiled and avoid compiling the bits that don't. When you need to perform an SQL query, for example, it is obvious that your database needs to be a compiled native application and it is also very beneficial that the client library that sends the request and talks to the DB server over a socket is a natively compiled library. But the little bit of logic that decides which query to send or builds the query from some user input will never be the bottleneck and at the same time it is the piece of the puzzle that you will be tweaking over and over again, so you leave that in something that is easier to work with.


This has been the approach of PHP from day 1. Anything that is performance-sensitive you write in C and compile it in. Anything that isn't you leave in PHP. There is nothing wrong with writing your own PHP extensions for the bits of a larger application that can benefit from that. The pear/pecl installer even makes it easy to distribute that extension in a way that anybody can compile and build your extension on their platform.

-Rasmus
--- End Message ---
--- Begin Message ---
Hi,

 

I need to know when will be the next PHP 4.3.x release with the fix for
the COM bug which was in 4.3.10.

This is CRITICAL for us, because we run our application over windows
using COM object and we use earlier version of PHP which has security
bugs.

 

COM Bug URL:

http://bugs.php.net/bug.php?id=31159

 

Thanks,

 

Tohar Trabinovitch

Software Engineer

E: [EMAIL PROTECTED]

T: 972-3-9008269

C: 054-777 30 43

====================

This message is intended only for the person(s) to which it is addressed
and may contain Sphera Corporation privileged, confidential and/or
proprietary information. If you have received this communication in
error, please notify us immediately by replying to the message and
deleting it from your computer. Any disclosure, copying, distribution,
or the taking of any action concerning the contents of this message and
any attachment(s) by anyone other than the named recipient(s) is
strictly prohibited.

 


--- End Message ---
--- Begin Message --- as stated in news://news.php.net:119/[EMAIL PROTECTED] (internals) the status of this is still unknown. The PHP Development Team is working on it however, and my guess is that it will be fixed for 4.3.11 (due for beta in January)

- Tul
Tohar Trabinovitch wrote:
Hi,



I need to know when will be the next PHP 4.3.x release with the fix for
the COM bug which was in 4.3.10.

This is CRITICAL for us, because we run our application over windows
using COM object and we use earlier version of PHP which has security
bugs.



COM Bug URL:

http://bugs.php.net/bug.php?id=31159



Thanks,



Tohar Trabinovitch

Software Engineer

E: [EMAIL PROTECTED]

T: 972-3-9008269

C: 054-777 30 43

====================

This message is intended only for the person(s) to which it is addressed
and may contain Sphera Corporation privileged, confidential and/or
proprietary information. If you have received this communication in
error, please notify us immediately by replying to the message and
deleting it from your computer. Any disclosure, copying, distribution,
or the taking of any action concerning the contents of this message and
any attachment(s) by anyone other than the named recipient(s) is
strictly prohibited.





--- End Message ---
--- Begin Message --- M. Sokolewicz wrote:
as stated in news://news.php.net:119/[EMAIL PROTECTED] (internals) the status of this is still unknown. The PHP Development Team is working on it however, and my guess is that it will be fixed for 4.3.11 (due for beta in January)

- Tul
Tohar Trabinovitch wrote:

Hi,



I need to know when will be the next PHP 4.3.x release with the fix for
the COM bug which was in 4.3.10.

This will be fixed in 4.3.11. The first release candidate will be out next week.


-Rasmus
--- End Message ---
--- Begin Message ---
> Arthur wrote:
> > Hi,
> >
> > in the following code, i want to get a constant value from config.php. I
> > don't receive the value, that is defined, but the name of the constant.
> > I tested the defines in config.php by echoing all defines, and it was
> > allright, so i'm quite confused why it doesn't work here.
> >
> > That's my piece of code (which is in a class in a file which is in the
same
> > dir as config.php):
> >
> > function reg($name, $pw, $ally, $act) {
> >   include('config.php');
> >   echo(DB_SERV_NAME . '<br>');
> >   $dbp = mysql_connect(DB_SERV_NAME, DB_USR_NAME, DB_PW);
> >   if(!$dbp) die ("MySQL-Fehler");
> >
> > Thats my error message:
> >
> > Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL Server
Host
> > 'DB_SERV_NAME' (11001) in
> > C:\apachefriends\xampp\htdocs\alliance\script\cl.member.php on line 34
> > MySQL-Fehler
> >
> > Normally, i should get 'localhost'.
> > Anyone who can help me?
> place this at the top of the file: error_reporting(E_ALL);
>
> Either you don't define the consatnts properly or the include file
> doesn't exist.

Well, I tested the constants by another script and they were fine and i
tried it with an non-exisitng file and there was an error message, thus this
file is found.
By the error_reporting i get follwing message:
Notice: Use of undefined constant 'DB_SERV_NAME' - assumed 'DB_SERV_NAME'...
That message occurs for every constant used in the mysql_connect statement.

--- End Message ---
--- Begin Message ---
Matthew Weier O'Phinney wrote:

There's not much benefit or point in PEAR developers developing for a
non-PEAR library -- the idea is to create a set of high quality
libraries following a common set of coding standards and practices;
compatibility with outside libraries doesn't make sense if those
libraries do not follow the same guidelines.

But since ADOdb is well established, and has a large following, there will be moves from non-PEAR developers to at least try and create a level of compatibility. ADOdb already has a PEAR compatibility mode, which should work into any PEAR based component.


Some of us are already running PEAR only code as part of an existing ADOdb framework, but will probably end up re-coding the PEAR stuff to take out another layer of abstraction ;)

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services

--- End Message ---
--- Begin Message ---
Generally, when I set up a form where, for example,
I'll be taking multiple selections from a list I would
set the variable / element name as "myvar[]".  So I
have the brackets [] after the variable name to make
it an array. 

What I want to know is there a way to get around the
use  of this syntax ? If the variable name was just
"myvar" (no brackets) is there a way for me to still
grab all the selections and put them into an array ?

Hope this question is clear.

Thank you
Stuart 

--- End Message ---
--- Begin Message ---
[snip]
Generally, when I set up a form where, for example,
I'll be taking multiple selections from a list I would
set the variable / element name as "myvar[]".  So I
have the brackets [] after the variable name to make
it an array. 

What I want to know is there a way to get around the
use  of this syntax ? If the variable name was just
"myvar" (no brackets) is there a way for me to still
grab all the selections and put them into an array ?
[/snip]

Nope, this is the method for doing what you say.

--- End Message ---
--- Begin Message ---
Hi there....

this is a tutorial am trying to do...chk out the code..

if ( ( !isset( $PHP_AUTH_USER )) || (!isset($PHP_AUTH_PW))
     || ( $PHP_AUTH_USER != 'user' ) || ( $PHP_AUTH_PW != 'open' ) ) {

    header( 'WWW-Authenticate: Basic realm="Private"' );
    header( 'HTTP/1.0 401 Unauthorized' );
    echo 'Authorization Required.';
    exit;

} else {

    echo 'Success!';

}

when i tried to access the page..the dialogue box appears asking for user
name and password..and when i type the "user" and "open"...it just keeps on
asking for the user name and password rather than logging in and showing
success..Is there anything to do with the any settings in the apache or
php...am using apache 1.3.33 and php 4.3.10 on winXP pro SP1..and i have php
installed as a module...OR is there anything to do with the code....

thanks...

--- End Message ---
--- Begin Message --- Ali a �crit :
if ( ( !isset( $PHP_AUTH_USER )) || (!isset($PHP_AUTH_PW))
     || ( $PHP_AUTH_USER != 'user' ) || ( $PHP_AUTH_PW != 'open' ) ) {

Better use $_SERVER['PHP_AUTH_USER'] instead of $PHP_AUTH_USER and $_SERVER['PHP_AUTH_PW'] instead of $PHP_AUTH_PW.

Chapter 33. HTTP authentication with PHP
http://www.php.net/manual/en/features.http-auth.php

Christophe
--- End Message ---
--- Begin Message ---
Please reply to the list.

GH wrote:
how do i do that on windows?


On Wed, 29 Dec 2004 16:58:53 -0500, John Nichel <[EMAIL PROTECTED]> wrote:

GH wrote:

Hi all
I just installed PHP & MySql on my laptop together with IIS (go ahead
and boo)...

I just ran a <?PHP phpinfo(); ?> script to test that the server was
working and got a strange result....

it says that I have version  3.23.49  when I have 4.1.8 of mysql
installed on the machine... what happened?

3.x are the libraries bundled with PHP. I you want to use the client libraries to match your version of MySQL, you will have to build (compile) php against them.


On Windows? Don't know. I don't use it. But I'm sure there are compliers out there. Replying to the list rather than to just one person will increase your chances of someone being able to answer this question for you.


--
John C. Nichel
�berGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
hi...

i'm contemplating a project where a number of websites would communicate with 
each other via some network of round robin/distributed servers. Each 'client' 
website/app would be considered to be a 'node' of the overall network, and be 
able to upload/download information to the network. The master servers would 
maintain the information, such that if a request for information came from one 
of the 'client' sites, the master server would shove the information back to 
the client for display. 

the overall goal of the project would be a way of allowing a client site to 
'share/exchange' information with other client sites within the network, and to 
allow the content of a given client site to be influenced by the content of 
other sites within the network...

has anybody heard/seen anything like this...??

in searching google/sourceforge/freenet/etc.. i can't find anything that's 
similar, or that could be used as a starting point for the architecture... the 
closest i can find is the open source gnutella/limeware p2p app structure...

thanks

bruce
[EMAIL PROTECTED]

--- End Message ---
--- Begin Message --- Bruce Douglas wrote:
hi...

i'm contemplating a project where a number of websites would communicate with each other via some network of round robin/distributed servers. Each 'client' website/app would be considered to be a 'node' of the overall network, and be able to upload/download information to the network. The master servers would maintain the information, such that if a request for information came from one of the 'client' sites, the master server would shove the information back to the client for display.

the overall goal of the project would be a way of allowing a client site to 
'share/exchange' information with other client sites within the network, and to 
allow the content of a given client site to be influenced by the content of 
other sites within the network...

has anybody heard/seen anything like this...??

in searching google/sourceforge/freenet/etc.. i can't find anything that's similar, or that could be used as a starting point for the architecture... the closest i can find is the open source gnutella/limeware p2p app structure...

Do a websearch for XML REST.

Regards,
Greg

--- End Message ---
--- Begin Message ---
I would also suggest that you look into SOAP for this project.  My
office hosts a search program that uses SOAP to go out and search the
databases of remote sites, most of which run architectures completely
different than ours.  It would probably be pretty easy to use SOAP to
get the data off of the master servers (use RPC calls) and it would
probably be pretty simple to upload the data using SOAP as well.


--
Doug Jones
Co-Op Web Developer
[EMAIL PROTECTED]    (856) 792-9454


-----Original Message-----
From: Bruce Douglas [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 30, 2004 9:52 AM
To: [email protected]
Subject: [PHP] distributed architecture....


hi...

i'm contemplating a project where a number of websites would communicate
with each other via some network of round robin/distributed servers.
Each 'client' website/app would be considered to be a 'node' of the
overall network, and be able to upload/download information to the
network. The master servers would maintain the information, such that if
a request for information came from one of the 'client' sites, the
master server would shove the information back to the client for
display. 

the overall goal of the project would be a way of allowing a client site
to 'share/exchange' information with other client sites within the
network, and to allow the content of a given client site to be
influenced by the content of other sites within the network...

has anybody heard/seen anything like this...??

in searching google/sourceforge/freenet/etc.. i can't find anything
that's similar, or that could be used as a starting point for the
architecture... the closest i can find is the open source
gnutella/limeware p2p app structure...

thanks

bruce
[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
**First let me say that I am a linux newbie**

I have installed Fedora 3 on a development box.  I then downloaded the
php5 source and followed the php documentation:
# ./configure --with-mysql 
# make
# make install

Everything went fine, I then went to add the loadmodule line and did a
locate on my box for libphp5.so and it can't find it...shoudln't it be
there?  It can find libphp4.so but that was left over from the Fedora
install.  For the heck of it I added the loadmodule line for
libphp4.so and gave it the path to libphp4.so, I then added the
AddType lines and restarted apache.  Problem is, it doesn't parse the
php file at all.

What are some possible reasons when I don't have libphp5.so?

Thanks!

--- End Message ---
--- Begin Message --- blackwater dev wrote:
**First let me say that I am a linux newbie**

I have installed Fedora 3 on a development box. I then downloaded the
php5 source and followed the php documentation:
# ./configure --with-mysql # make
# make install

What did you build it against? You have no webserver type in your configure line. If I'm not mistaken, all you have above will do is build the cli, and not the loadable module.


--
John C. Nichel
�berGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
On Thursday 30 December 2004 22:56, blackwater dev wrote:
> **First let me say that I am a linux newbie**
>
> I have installed Fedora 3 on a development box.  I then downloaded the
> php5 source and followed the php documentation:
> # ./configure --with-mysql
> # make
> # make install
>
> Everything went fine, I then went to add the loadmodule line and did a
> locate on my box for libphp5.so and it can't find it...shoudln't it be
> there? 

[snip]

> What are some possible reasons when I don't have libphp5.so?

By default the database that the 'locate' command uses is updated once a day. 
If you have only just installed something and have not updated that database 
then 'locate' will have no idea about the new files.

Use:

  find / -name libphp5.so

Better still, when inside the php5 source directory use:

  configure --help | less

to see where exactly the installation will place your files.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
The world has many unintentionally cruel mechanisms that are not
designed for people who walk on their hands.
  -- John Irving, "The World According to Garp"
*/

--- End Message ---
--- Begin Message ---
I don't seem to have an apxs directory. �I don't even have an apache
directory as apachectl resides in /usr/sbin/apachectl

Of course apache was installed from the fedora install.


How do I install this against apache?

On Thu, 30 Dec 2004 10:20:01 -0500, John Nichel <[EMAIL PROTECTED]> wrote:
> blackwater dev wrote:
> > **First let me say that I am a linux newbie**
> >
> > I have installed Fedora 3 on a development box.  I then downloaded the
> > php5 source and followed the php documentation:
> > # ./configure --with-mysql
> > # make
> > # make install
> 
> What did you build it against?  You have no webserver type in your
> configure line.  If I'm not mistaken, all you have above  will do is
> build the cli, and not the loadable module.
> 
> --
> John C. Nichel
> �berGeek
> KegWorks.com
> 716.856.9675
> [EMAIL PROTECTED]
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
>

--- End Message ---
--- Begin Message ---
I don't seem to have an apxs directory. �I don't even have an apache
directory as apachectl resides in /usr/sbin/apachectl

Of course apache was installed from the fedora install.


How do I install this against apache?

On Thu, 30 Dec 2004 10:20:01 -0500, John Nichel <[EMAIL PROTECTED]> wrote:
> blackwater dev wrote:
> > **First let me say that I am a linux newbie**
> >
> > I have installed Fedora 3 on a development box.  I then downloaded the
> > php5 source and followed the php documentation:
> > # ./configure --with-mysql
> > # make
> > # make install
> 
> What did you build it against?  You have no webserver type in your
> configure line.  If I'm not mistaken, all you have above  will do is
> build the cli, and not the loadable module.
> 
> --
> John C. Nichel
> �berGeek
> KegWorks.com
> 716.856.9675
> [EMAIL PROTECTED]
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
>

--- End Message ---
--- Begin Message ---
Im trying to simulate conditions, to see how flock works.
Can anyone verify with the example code below,
that data, never gets written to the file.
//1 & //2 are supposed to be processes???
For me, the var_dump() reports ->
int(7) bool(false)
Thanks

$fp = fopen('foo.txt', 'w'); //1
flock($fp, LOCK_EX) or die('Unable to lock'); //1
unlink('foo.txt') or die('Unable to remove foo.txt'); //2
$bytes = fwrite($fp, 'testing'); //1
fclose($fp); //1
var_dump($bytes, file_get_contents('foo.txt')); //1

--- End Message ---
--- Begin Message ---

You may want to check out phpm, an attempt at creating a CLI for the PHP manual:

http://eide.org/?epc=php

Sounds interesting, I will look at it.


I'm not sure if that developer's work will answer your questions or not, but he appears to have tackled the issue already.

Also, Rasmus Lerdorf has provided a dictionary of all PHP functions for
use with VIM; this may also be useful (google for 'rasmus vim
dictionary').


Many thanks for this tip! I knew there was a reason I subscribed to this newsgroup! :)


What exactly are your requirements? If all you need is an extension (including standard PHP functions) / class / function list then you can look into the Reflections API. For example to get a class's list of functions (public, protected and private) you can use the following:

<?php

$class = 'DomDocument';
$reflection = new ReflectionClass( $class );
$methods = $reflection->getMethods();
print( nl2br( print_r( $methods, TRUE ) ) );

?>

At this point the $methods array has a bunch of ReflectionMethod objects and you can get function names from there. You can also get Parameters (I think) and comments. However, I have only gotten user-defined class and function comments to print properly.


-- Teach a person to fish...

Ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html
PHP Manual: http://php.net/manual/
php-general archives: http://marc.theaimsgroup.com/?l=php-general&w=2

--- End Message ---
--- Begin Message --- Ali wrote:
Hi everyone...
can anyone lead me to a good tutorial on authentication...it wud be good if
i can get a one in connection with a database..
thnks
----
If you understand portuguese: http://www.educar.pro.br/
---
zerof

--- End Message ---
--- Begin Message ---
Hi,

A friend of mine told me that in Windows, PHP shows its warnings at the bottom of the pages.

Actually, i've never had thought about this issue before.
Better still... i even didn't know PHP for Windows had this behaviour.

In Linux they're shown at the top and now i'm in the mood to make PHP warnings appear at the bottom too. But...

... i've browsed php.ini and didn't found any way (obvious, at least) to do the same thing in Linux.

Already googled also, but nothing.

Is it possible to achieve this in Linux ?

Any help would be apreciated.

Warm regards.
--
M�rio Gamito
Administra��o de sistemas e desenvolvimento
Netual - Multim�dia e Telecomunica��es, Lda.
Rua Jo�o Afonso, N�1
3800-198 Aveiro - Portugal
Tel. +351 234 371 431 / Fax. +351 234 371 438
E-mail: [EMAIL PROTECTED]
www.netual.pt

--- End Message ---
--- Begin Message --- I haven't done it (what's the point since I'm a Windows user lol), but you can change the default error handler. If it's error messages at the bottom of HTML pages you want then just choose appropriate HTML elements you need to align a message at the bottom of your page.

http://php.net/function.set-error-handler


-- Teach a person to fish...

Ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html
PHP Manual: http://php.net/manual/
php-general archives: http://marc.theaimsgroup.com/?l=php-general&w=2

--- End Message ---

Reply via email to