Re: [PHP] PhpMyAdmin slow on windows but fast on linux

2007-04-23 Thread Juergen Wind
Don Don wrote: > > Hi all how can i make my phpmyadmin run fast on windows ? I installed > phpmyadmin on a linux and windows machines, but the windows version runs > (executes) too slow, i.e. it takes to long for a page to be loaded, while > it take less that 3 secs for the linux version. Both

Re: [PHP] Saving css state in javascript and passing to php via form submit

2007-03-30 Thread Juergen Wind
Tijnema ! wrote: > > You can use session within javascript too i believe. > no, sessions are completely serverside, but you can use js to pass variables using the query string when sending a xmlHttpRequest. -- View this message in context: http://www.nabble.com/Saving-css-state-in-javascri

Re: [PHP] installing php 5.2.1

2007-03-29 Thread Juergen Wind
maybe this helps: http://de.php.net/manual/en/install.windows.php#install.windows.installer.msi you can extract missing extensions from the php zip distribution. -- View this message in context: http://www.nabble.com/installing-php-5.2.1-tf3484942.html#a9729753 Sent from the PHP - General mailin

Re: [PHP] logging erros and user access to logs

2007-03-28 Thread Juergen Wind
Tijnema ! wrote: > > > > You can simply put the phpinfo() at the end of your script. It will > show the ini_set items. > > If you don't believe me, try this script: > ini_set("allow_url_fopen","Off"); > phpinfo(); > ?> > > Under local value it will show you Off, and on master value it will

Re: [PHP] logging erros and user access to logs

2007-03-28 Thread Juergen Wind
Juergen Wind wrote: > > phpinfo() only reflects values set in php.ini (globally), http.conf (f.e. > per vhost) or .htaccess (per folder and below) > and only if phpinfo is called from inside that folder/vhost. > ini_set is only in the scope of your script. > so you can

Re: [PHP] logging erros and user access to logs

2007-03-28 Thread Juergen Wind
Jason Joines-3 wrote: > > Richard Lynch wrote: >> On Thu, March 15, 2007 8:25 am, Jason Joines wrote: >>> Richard Lynch wrote: Get the errors OFF the web page (display_errors OFF) and into the >>> >> error_reporting(E_PARSE); >>> ini_set('display_errors','On'); >>> ini_set('d

Re: [PHP] trans id problem

2007-03-24 Thread Juergen Wind
>* restart apache on the server side restarting the server is not neccessary if php_values/flags are changed via .htaccess >* in the page containing the method=POST form there must >be "" tags somewhere with the PHPSESSID in the >form's HTML source php does this automagically, you can s

Re: [PHP] close session when browser is closed

2007-03-24 Thread Juergen Wind
Your application/session will never get any information whether the user closes his browser or a tab! Even the lifetime of the session cookie is depending on which browser the user is on and if any other window is open. So the only solution would be polling some "watchdog.php" using a XMLHttpRequ

Re: [PHP] close session when browser is closed

2007-03-22 Thread Juergen Wind
Travis Doherty wrote: > By default the session cookie expires when the browseris closed. this is not always true: f.e. FF requires *all* open windows to be closed to forget that session. >If the browser refuses the cookie, sessions won't work anyway. again: this is not always true. Only if "se

Re: [PHP] logging erros and user access to logs

2007-03-16 Thread Juergen Wind
Jason Joines-3 wrote: > > My users want to be able to debug their scripts, see mysql errors, > and such. Using mysql_error(), and display_errors, problems such as > non-existent databases, or variable and such seem to get printed to the > screen. However, syntax errors do not. They get w