[PHP-WIN] Global variable

2001-04-27 Thread Olivier Botineau
Hi Im looking for an equivalent in PHP3 for $PATH_INFO avaible in PHP4? $DOCUMENT_ROOT exists on the server but not $PATH_INFO :( Is there a way to script and get all server variable like ASP does: For Each item In Request.ServerVariable Response.Write "ServerVar( " & item & " ) = " & Requ

[PHP-WIN] include

2001-04-20 Thread Olivier Botineau
Good evening all, do you know if its possible to give an absolute path instead of a relative path for include: include( '../../menu.php' );is OK incude( '/inculde/menu.php' ); is Not OK Depend where im in tree directory i have to change '../', then relative path is not usefu

[PHP-WIN] Managing SQL errors in php pages

2001-04-20 Thread Olivier Botineau
hi is there a way to get control when an error occurs executing sql querry? I mean to have a detailled message like in phpMyAdmin. When I do in my php page ( table t_reffet doesn't exist, thats for the purpose ) : $query_effet = "SELECT t_effet.lib_effet FROM t_reffet, tr_scene_effet, t_scene "

[PHP-WIN] Error message configuration

2001-04-19 Thread Olivier Botineau
Hello Is there anyway to configure PHP and/or mySQl and/or Apache that a detailled message appears when an error occurs executing a query like in phpMyAdmin 2.1.0? * mysql-3.23.36-win * apache_1.3.19-win32 * php-4.0.4pl1-Win32 Olivier. NB about sub-select on this morning I save myself without

[PHP-WIN] Subquerries

2001-04-18 Thread Olivier Botineau
Hi everybody I use * mysql-3.23.36-win * apache_1.3.19-win32 * php-4.0.4pl1-Win32 On NT4 SP5 I try this : that works. Whereas : doesn't work. Does it mean I can't use sub querr