Re: [PHP] Included php files in a cron job?

2006-01-06 Thread Rodolfo Andrade
Hi Jay, Yes, you can use include(); with cron. Regards, Rodolfo Andrade - Original Message - From: Jay Paulson (CE CEN) To: php-general@lists.php.net Sent: Friday, January 06, 2006 2:29 PM Subject: [PHP] Included php files in a cron job? I'm in the process of writing a PHP pr

Re: [PHP] test variable value?

2006-01-11 Thread Rodolfo Andrade
How about... if (!$x){ echo "x is empty"; } Regards, Rodolfo Andradee - Original Message - From: Stut To: William Stokes Cc: php-general@lists.php.net Sent: Wednesday, January 11, 2006 8:08 AM Subject: Re: [PHP] test variable value? William Stokes wrote: >Hello > >What is the

Re: [PHP] Speed

2006-01-11 Thread Rodolfo Andrade
I think calculating directly in MySQL will be faster, since less data will be "travelling" from MySQL to PHP. Just my 2¢. Regards, Rodolfo Andrade - Original Message - From: Weber Sites LTD To: 'Peter Lauri' ; php-general@lists.php.net Sent: Wednesday, January 11,

Re: [PHP] test variable value?

2006-01-11 Thread Rodolfo Andrade
I do use if(!$var) for simple application. Only _IF_ I need to know if the $var is defined but empty or so I would use especific functions. - Original Message - From: Stut To: Rodolfo Andrade Cc: William Stokes ; php-general@lists.php.net Sent: Wednesday, January 11, 2006 11:49 AM

Re: [PHP] javascript in php page to use window.open()

2006-01-12 Thread Rodolfo Andrade
Hi Olga, Your Javascript window.open() is missing one argument, the name of the pop-up window: window.open(\"add.html\",\"MyWindowName\",\"resizable=no,width=400,height=20 0\"); Best Regards, Rodolfo Andrade - Original Message - From: Olga Urban To:

Re: [PHP] PHP and Apache

2006-01-16 Thread Rodolfo Andrade
www.google.com or http://fedoraproject.org/wiki/ But it's in test yet. Best regards Rodolfo Andrade - Original Message - From: Erik Saline To: Curt Zirzow ; php-general@lists.php.net Sent: Monday, January 16, 2006 3:06 PM Subject: Re: [PHP] PHP and Apache Where do I find fc5?

[PHP] Performance & Comments Question

2006-01-19 Thread Rodolfo Andrade
Hi all! I would like to know if comments in the code affects the performance. I know that comments are ignored by the interpreter, but it does increase the file size, so I was thinking about a possible performance hit for highly commented files. Can anyone confirm this? Thanks! Rodolfo Andrade

Re: [PHP] Embedded player

2006-01-19 Thread Rodolfo Andrade
Hi, You can use readdir() function for list the files. Here's a sample code from PHP Doc www.php.net/docs. if ($handle = opendir('/path/to/files')) { echo "Handler: $handle\n"; echo "Files:\n"; while (false !== ($file = readdir($handle))) { echo "$file\n"; } I don't know

Re: [PHP] Embedded player

2006-01-19 Thread Rodolfo Andrade
at if they even use Linux, they will install the plugin, if they haven't done so. Just my 2¢ Good luck! Rodolfo Andrade - Original Message - From: Chris To: clive Cc: PHP General Sent: Thursday, January 19, 2006 10:54 AM Subject: Re: [PHP] Embedded player On Thu, 2006-01-19 at 1

Re: [PHP] Drop down directory structure list box

2006-01-19 Thread Rodolfo Andrade
This because you can't query the registry key(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Us er Shell Folders) and store the paths. Hope this is useful. Best Regards Rodolfo Andrade - Original Message - From: Jochem Maas To: Jay Blanchard Cc: '[

Re: [PHP] odd behavior

2006-01-19 Thread Rodolfo Andrade
I use PWS with Windows 98 for learning purposes. I just cut PHP.ini from C:\PHP and paste in %windir% then restart the server. Works fine for me and I can run ASP and PHP for learning. ^^ Regards, Rodolfo Andrade - Original Message - From: Jay Blanchard To: PHP General (E-mail) Sent