[PHP] how to test paralelly?

2005-05-11 Thread Mario Lopez
Hi, I would like to measure how much users per minute can handle my php script, mysql db and apache server also, would like to determine how much users can be served at the same time and how script execution time changes in this case if i run a script like: $id = rand(1,70); $file = http://mydo

[PHP] problems with several JPEGs in GD2

2005-02-28 Thread Mario Lopez
Hi, PHP 4.3.10, GD2 I've noticed that there is a group of JPEG files that cannot be operated with GD2 functions. For example, if you try to imagecreatefromjpeg("my.jpg") it replies: Warning: imagecreatefromjpeg(): 'my.jpg' is not a valid JPEG file in C:\Program Files\Apache Group\Apache2\htdocs

Re: [PHP] dynamical class variable definition

2004-09-13 Thread Mario Lopez
Oh Thanks, I thought that only those variables that are defined with VAR will be accessible and trieted as class variables Mario -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] dynamical class variable definition

2004-09-13 Thread Mario Lopez
Hi, I have a class, but the problem is that its variables need to be defined dynamically. example: class class_myclass{ var $variable1; var $variable2; var $variable3; ... var $variableN how to initialize these $variableN class variables from a global array which contains the variable