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
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 how
, 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 14:44, clive wrote:
true
);
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: '[EMAIL PROTECTED
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
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?
Erik
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: php-general@lists.php.net
Sent: Thursday
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
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, 2006 6:07 AM
Subject
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
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 program
11 matches
Mail list logo