RE: [PHP] Re: Php function to Set focus On A form Field

2006-04-26 Thread Ing. Edwin Cruz
Or if you have header.inc.php and the body tag is global then in your form.inc.php(for example) or in your template, you can do this: script Window.onLoad=function(){ document.nameform.inputField.focus(); } /script Regards! -Mensaje original- De: Philipp Kopf [mailto:[EMAIL

RE: [PHP] PHP 5 + Apache 2 on Windows: ms sql extension problem

2006-04-26 Thread Ing. Edwin Cruz
Try changing your direcive extension_dir: extension_dir=C:/PHP/ext instead of extension_dir=C:\PHP\ext -Mensaje original- De: Laszlo Nagy [mailto:[EMAIL PROTECTED] Enviado el: MiƩrcoles, 26 de Abril de 2006 04:01 a.m. Para: php-general@lists.php.net Asunto: [PHP] PHP 5 + Apache 2 on

RE: [PHP] need help to put input text value into url

2006-04-25 Thread Ing. Edwin Cruz
Only chage method=post for method=get Regards! -Mensaje original- De: Patrick Aljord [mailto:[EMAIL PROTECTED] Enviado el: Martes, 25 de Abril de 2006 06:19 p.m. Para: php-general@lists.php.net Asunto: [PHP] need help to put input text value into url I have a form like this: form

RE: [PHP] POST arrays?

2006-04-20 Thread Ing. Edwin Cruz
I'd try this: ?php $arr_siirto = array(1,2,3); print_r($arr_siirto); $arse = $arr_siirto; print_r($arse); Foreach($arr_siirto as $value){ echo input type=text name=\arr_siirto[]\ values='$value'; } ? And when submit do this: ? $arr_sirto = $_REQUEST['arr_siirto']; Print_r($arr_sirto);

RE: [PHP] session

2006-04-20 Thread Ing. Edwin Cruz
You should set a name to your session: Index.php: ? session_name(mySession); session_start(); $_SESSION['myVar'] = something; ? LogOff.php ? session_name(mySession); session_start(); Session_destroy(); Print_r($_SESSION); ? ++ | ISC Edwin Cruz [EMAIL

RE: [PHP] PHP error log

2006-04-20 Thread Ing. Edwin Cruz
Are you using the constants predefined? __FILE__ __LINE__ Or also try using backtrace, http://mx.php.net/debug_backtrace Regards! Edwin. -Mensaje original- De: Weber Sites LTD [mailto:[EMAIL PROTECTED] Enviado el: Jueves, 20 de Abril de 2006 07:43 a.m. Para: