[PHP] SCORM & PHP

2005-06-25 Thread Rodolfo Gonzalez Gonzalez
Hello, I have searched freshmeat/hotscripts/google/... for some class or "simple" PHP script (not a full LMS) to display SCORM content, without success. Does someone know about this topic or if such a class/script exists?, thanks a lot in advanced for your help. Regards. -- PHP General Mai

[PHP] Re: css/html expertise??

2005-06-25 Thread Jasper Bryant-Greene
bruce wrote: > i'm playing around with css (classes/ids/etc...) does anybody here > have any experience with this or could answer a few questions?? Email me directly with your issues and I'll try to help you sort it out. Cheers, Jasper Bryant-Greene -- PHP General Mailing List (http://www.php.n

[PHP] css/html expertise??

2005-06-25 Thread bruce
hi i know this is a php list, but i have a prob/question. i'm playing around with css (classes/ids/etc...) does anybody here have any experience with this or could answer a few questions?? thanks bruce [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

Re[3]: [PHP] Best way to use other objects within classes?

2005-06-25 Thread Tom Rogers
Hi, Sunday, June 26, 2005, 12:27:44 PM, you wrote: TR> Hi, TR> Here it is for anyone that would like to try it. TR> if(preg_match('/^win/i',PHP_OS)){ TR> define('OS_SEP','\\'); TR> define('OS_JOIN',';'); TR> }else{ TR> define('OS_SEP','/'); TR> define('OS_JOIN',':'); TR> } TR> class cl

Re[2]: [PHP] Best way to use other objects within classes?

2005-06-25 Thread Tom Rogers
Hi, Here it is for anyone that would like to try it. $info){ $class_name = strtolower($class); $name = $info['name']; $hash = mhash(MHASH_TIGER,serialize($info['vars'])); if(isset($GLOBALS['loaded_classes'][$class_name])){ $varcount = count($info['vars']

[PHP] MySQL-4.1.x support for PHP-4.3.11 under Windows

2005-06-25 Thread Dan
Hi all. The mysql dlls bundled with php-4.3.11 for Windows are for mysql-3.x. Are there any pre-compiled dlls for mysql-4.1.x? I kinda need them, pronto, and don't have the time / expertise to compile them under Windows. Dan -- BEGIN-ANTISPAM-VOTING-LINKS

Re: [PHP] a basic array question!

2005-06-25 Thread Brian V Bonini
On Sat, 2005-06-25 at 17:01, bruce wrote: > feel kind of foolish posting this.. but i can't seem to figure it out for > now.. > > i have an array, i can do a print_r($foo) and get the following: > Array > ( > [bookmark] => 1 > [facets] => Array > ( > [0] => Array >

Re: [PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture

2005-06-25 Thread Matthew Weier O'Phinney
* Colin Ross <[EMAIL PROTECTED]> : > I don't think a lot of people think tat PEAR sucks, we are all, as a > community, just looking for ways to make it better. I don't think a lot of people think it sucks; it's just that I often see statements on this list like 'PEAR sucks' or 'PEAR is bloated' wi

[PHP] Module testing; WAS Re: [PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture

2005-06-25 Thread Matthew Weier O'Phinney
* Chris Shiflett <[EMAIL PROTECTED]> : > Matthew Weier O'Phinney wrote: > > The perl culture is one that includes testing and documentation as > > the norm > > You might be interested to know that there is a PHP equivalent for > Test::More, the CPAN library that prompted the "testing revolution" t

[PHP] Re: Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture

2005-06-25 Thread Catalin Trifu
Hi, I feel like I should answer your "anger" towards my opinion. First of all I consider PEAR to be bloated for the following reasons; it's a large library, it tries to cover a very general approach and please 99% of case one may encounter. It's exception system is overused and the overh

Re: [PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture

2005-06-25 Thread Colin Ross
I don't think a lot of people think tat PEAR sucks, we are all, as a community, just looking for ways to make it better. C On 6/25/05, Chris Shiflett <[EMAIL PROTECTED]> wrote: > > Matthew Weier O'Phinney wrote: > > The perl culture is one that includes testing and documentation as > > the norm

Re: [PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture

2005-06-25 Thread Chris Shiflett
Matthew Weier O'Phinney wrote: The perl culture is one that includes testing and documentation as the norm You might be interested to know that there is a PHP equivalent for Test::More, the CPAN library that prompted the "testing revolution" that Perl seems to have undergone in the past five

Re: [PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture

2005-06-25 Thread Matthew Weier O'Phinney
* Paul Waring <[EMAIL PROTECTED]> : > On Sat, Jun 25, 2005 at 10:32:41AM -0400, Matthew Weier O'Phinney wrote: > > If somebody could offer some *constructive* criticism of PEAR -- PEAR as > > it is TODAY, not "3 years ago, when I last tried it" -- these comments > > would have more weight. As it is

Re: [PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture

2005-06-25 Thread Matthew Weier O'Phinney
* Robert Cummings <[EMAIL PROTECTED]> : > On Sat, 2005-06-25 at 11:06, Matthew Weier O'Phinney wrote: > > * Robert Cummings <[EMAIL PROTECTED]> : > > > On Sat, 2005-06-25 at 10:32, Matthew Weier O'Phinney wrote: > > > > * Catalin Trifu <[EMAIL PROTECTED]> : > > > > > I also tend to stay away from P

Re: [PHP] Strange is_dir() behavior

2005-06-25 Thread Marek Kilimajer
Marcos Mendonça wrote: Hello I'm using PHP 4.3.9, under Windows XP with Apache. I have the following directory structure on a given app, i'm working on. photos/ > folder1 > folder2 > folder3 > ... and so on I'm trying the following code to make a list of folder under p

RE: [PHP] a basic array question!

2005-06-25 Thread Robbert van Andel
If you want to get the lastname value of the array you supplied you would do this $value = $foo['facets'][0]['lastname']; This would give you the HTML form that you have stored in your array. Robbert -Original Message- From: bruce [mailto:[EMAIL PROTECTED] Sent: Saturday, June 25, 2005

[PHP] a basic array question!

2005-06-25 Thread bruce
feel kind of foolish posting this.. but i can't seem to figure it out for now.. i have an array, i can do a print_r($foo) and get the following: Array ( [bookmark] => 1 [facets] => Array ( [0] => Array ( [lastname] => Name:

[PHP] Re: send email at certain hour

2005-06-25 Thread Arthur Wiebe
vlad georgescu wrote: i want to make a "reminder" application which sends emails at certain hour in php. is this posibile ? if not, what else can I use ? I've done it using pure PHP for a calendar script. What I did was write a PHP script with a loop that checks every second whether or not

Re: [PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture

2005-06-25 Thread Robert Cummings
On Sat, 2005-06-25 at 11:06, Matthew Weier O'Phinney wrote: > * Robert Cummings <[EMAIL PROTECTED]> : > > On Sat, 2005-06-25 at 10:32, Matthew Weier O'Phinney wrote: > > > * Catalin Trifu <[EMAIL PROTECTED]> : > > > > I also tend to stay away from PEAR, which is kinda bloated for my > > > > taste,

Re: [PHP] send email at certain hour

2005-06-25 Thread Rory Browne
That would depend a lot: Using your PHP/Webserver alone wouldn't be the best way of doing things - unless you have no other choice. If you do have a choice, I would use cron on Unix, and task schecduler, on windos, as mentioned above. You could use these schecdulers to call a PHP CLI script. If c

Re: [PHP] Re: send email at certain hour

2005-06-25 Thread Nicolas Diez
It also exists one website to do that : http://www.webcron.org/ On 6/25/05, janbro <[EMAIL PROTECTED]> wrote: > vlad georgescu schrieb: > > i want to make a "reminder" application which sends emails at certain hour > > in php. is this posibile ? if not, what else can I use ? > > > > For Linux yo

[PHP] Re: send email at certain hour

2005-06-25 Thread janbro
vlad georgescu schrieb: i want to make a "reminder" application which sends emails at certain hour in php. is this posibile ? if not, what else can I use ? For Linux you could start a cron job, with windows I'd use the taskmanager to start a batch file which contains something like cd\progra

Re: [PHP] Strange is_dir() behavior

2005-06-25 Thread Marcos Mendonça
Yes, if i try to to echo the variable $entry outside the if is returns the expected directories list. I tried giving it the full path and it still doesn't work. On 6/25/05, Edward Vermillion <[EMAIL PROTECTED]> wrote: > > On Jun 25, 2005, at 8:34 AM, Marcos Mendonça wrote: > > > Hello > > > > I

Re: [PHP] send email at certain hour

2005-06-25 Thread Paul Waring
On Sat, Jun 25, 2005 at 06:29:16PM +0300, vlad georgescu wrote: > i want to make a "reminder" application which sends emails at certain hour > in php. is this posibile ? if not, what else can I use ? It's sort of possible - I know vBulletin uses a hidden image or something to call a file called c

Re: [PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture

2005-06-25 Thread Chris Shiflett
Paul Waring wrote: I've used both PEAR and CPAN for a few years now and I've noticed that CPAN tends to win hands down in terms of documentation and updates. That might just be down to the particular packages I've happened to use but given a choice I know which one I'd rather use. Yeah, you're

Re: [PHP] Verifying images with getimagesize()

2005-06-25 Thread Jack Jackson
Edward Vermillion wrote: Sorry to reply to this message but I wanted the OP to find it too... On Jun 23, 2005, at 9:42 AM, Jack Jackson wrote: [snip] Through your help I was able to validate image files using getimagesize() and have made a nice script to upload and rename images. [\snip]

Re: [PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture

2005-06-25 Thread Paul Waring
On Sat, Jun 25, 2005 at 10:32:41AM -0400, Matthew Weier O'Phinney wrote: > If somebody could offer some *constructive* criticism of PEAR -- PEAR as > it is TODAY, not "3 years ago, when I last tried it" -- these comments > would have more weight. As it is, I feel they're just FUD based on > ignoran

[PHP] Php-MySQL general function for insert, update,delete, count query

2005-06-25 Thread Rasim ÞEN
Hi friends, I am using one perfect function for my queries for PHP+Oracle pages, this is below == function sorgu($sql) { global $baglanti; $stmt=ociparse($baglanti,$sql); $sonuc=ociexecute($stmt,OCI_DEFAULT); $erra=OCIError(); $e=$erra['me

[PHP] send email at certain hour

2005-06-25 Thread vlad georgescu
i want to make a "reminder" application which sends emails at certain hour in php. is this posibile ? if not, what else can I use ?

Re: [PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture

2005-06-25 Thread Chris Shiflett
Matthew Weier O'Phinney wrote: > I also tend to stay away from PEAR, which is kinda bloated for my > taste, except the Log package. I hear that a lot on this list, and I don't understand the reasoning behind such comments -- perhaps because nobody offers any reasoning, only the opinion? There

Re: [PHP] Strange is_dir() behavior

2005-06-25 Thread Edward Vermillion
On Jun 25, 2005, at 8:34 AM, Marcos Mendonça wrote: Hello I'm using PHP 4.3.9, under Windows XP with Apache. I have the following directory structure on a given app, i'm working on. photos/ folder1 folder2 folder3 ... and so on I'm trying the following code to make a list of folder unde

Re: [PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture

2005-06-25 Thread Matthew Weier O'Phinney
* Robert Cummings <[EMAIL PROTECTED]> : > On Sat, 2005-06-25 at 10:32, Matthew Weier O'Phinney wrote: > > * Catalin Trifu <[EMAIL PROTECTED]> : > > > I also tend to stay away from PEAR, which is kinda bloated for my > > > taste, except the Log package. > > > > > > I hear that a lot on this list,

Re: [PHP] Strange is_dir() behavior

2005-06-25 Thread Burhan Khalid
Marcos Mendonça wrote: Hello I'm using PHP 4.3.9, under Windows XP with Apache. I have the following directory structure on a given app, i'm working on. photos/ > folder1 > folder2 > folder3 > ... and so on I'm trying the following code to make a list of folder under p

Re: [PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture

2005-06-25 Thread Robert Cummings
On Sat, 2005-06-25 at 10:32, Matthew Weier O'Phinney wrote: > * Catalin Trifu <[EMAIL PROTECTED]> : > > I also tend to stay away from PEAR, which is kinda bloated for my > > taste, except the Log package. > > > I hear that a lot on this list, and I don't understand the reasoning > behind such com

[PHP] Stop spreading PEAR FUD; WAS Re: [PHP] Re: PHP web archeticture

2005-06-25 Thread Matthew Weier O'Phinney
* Catalin Trifu <[EMAIL PROTECTED]> : > I also tend to stay away from PEAR, which is kinda bloated for my > taste, except the Log package. I hear that a lot on this list, and I don't understand the reasoning behind such comments -- perhaps because nobody offers any reasoning, only the opinion? I

[PHP] Strange is_dir() behavior

2005-06-25 Thread Marcos Mendonça
Hello I'm using PHP 4.3.9, under Windows XP with Apache. I have the following directory structure on a given app, i'm working on. photos/ > folder1 > folder2 > folder3 > ... and so on I'm trying the following code to make a list of folder under photos:

Re: [PHP] SAFEMODE w/ PEAR

2005-06-25 Thread Marek Kilimajer
Ashley M. Kirchner wrote: I'm having a small problem with SAFE MODE and PEAR that I'm unsure how to solve: [error] PHP Warning: raiseerror(): SAFE MODE Restriction in effect. The script whose uid is 524 is not allowed to access /usr/lib/php/PEAR.php owned by uid 0 in /path/to/script

Re: [PHP] Re: PHP web archeticture

2005-06-25 Thread Catalin Trifu
Hi, I personally use phrame because it's small, pretty fast, easy to setup and was enough for my needs, although it does not seem to be maintained anymore. I think you should choose the one which better suits the needs of your project. It's rather hard to say that framework is b

[PHP] Re: MMcache question

2005-06-25 Thread Catalin Trifu
The use of mmcache (try eaccelerator btw!) is not visible without some stress on the server. Try building a rahter complex PHP script, which does some crazy iterations but without DB connections and such things which are not related to PHPs abilities and use ab (apache benchmark tool) to issue

[PHP] MMcache question

2005-06-25 Thread Merlin
Hi there, I just steped over mmcache: http://turck-mmcache.sourceforge.net/index_old.html#install After installing it, I can not see a real performance gain at all. The system is installed corectly and mmcache.php tells me it is active and running. Now I saw that there is a mmcache API. Does

[PHP] Problems with MMCache

2005-06-25 Thread Merlin
Hi there, I just steped over mmcache: http://turck-mmcache.sourceforge.net/index_old.html#install After installing it, I can not see a real performance gain at all. The system is installed corectly and mmcache.php tells me it is active and running. Now I saw that there is a mmcache API. Does

Re: [PHP] How do I create an Outlook calendar entry?

2005-06-25 Thread Jasper Bryant-Greene
Daevid Vincent wrote: > There are some pretty crazy "Thread-Index:" and "UID:" things in there. > Do I have to generate them somehow? No. They are email headers relating to the tracking of replies and the internal tracking of emails on the mail server. It should be safe to leave them out, in fa

Re: [PHP] How do I create an Outlook calendar entry?

2005-06-25 Thread Burhan Khalid
Daevid Vincent wrote: You are on to something. Maybe I did get an email with a confirmation. I could swear it was via their website though... There are some pretty crazy "Thread-Index:" and "UID:" things in there. Do I have to generate them somehow? Anyways, for those interested, this is w

Re: [PHP] Correcting contractions

2005-06-25 Thread Dotan Cohen
On 6/25/05, Bob Winter <[EMAIL PROTECTED]> wrote: > Dotan, > > Your task intrigued me, so I put together a function that will help process > your data: > ><<< snippped and trimmed as per Buehan Khalid suggeted >>> > ?> > > --Bob > Thank you Bob! This is the route that I had tried going do

[PHP] Re: SAFEMODE w/ PEAR

2005-06-25 Thread Jasper Bryant-Greene
Ashley M. Kirchner wrote: >I'm having a small problem with SAFE MODE and PEAR that I'm unsure > how to solve: > >[error] PHP Warning: raiseerror(): SAFE MODE Restriction in effect. > The script whose uid is 524 is not allowed to access > /usr/lib/php/PEAR.php owned by uid 0 in /path/to/s