Re: [PHP] curl fails to connect when not port 80

2008-03-13 Thread Chris
When running this same script through apache however, it works fine without the port directive. However, I get no results when attempting to connect to port 8080. Command line curl works fine too. It's only when connecting through apache that my script fails. Here are some specifics about my

Re: [PHP] Intercepting errors

2008-03-13 Thread Chris
Stephane Ulysse wrote: PLEASE STOP EMAILING ME THEN CLICK THE UNSUBSCRIBE LINK AT THE BOTTOM OF THE EMAIL. IT'S VERY EASY TO DO. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] class for generating ics or vcs file

2008-03-13 Thread TG
- Original Message - From: VamVan <[EMAIL PROTECTED]> To: php-general@lists.php.net Date: Thu, 13 Mar 2008 16:21:37 -0700 Subject: [PHP] class for generating ics or vcs file > Hello All, > > Can anyone share with me a simple class or code that can generate vcs > or ics calendar file in

Re: [PHP] Web host with SOAP

2008-03-13 Thread Shawn McKenzie
Shawn McKenzie wrote: > Daniel Brown wrote: >> On Thu, Mar 13, 2008 at 5:33 PM, Larry Garfield <[EMAIL PROTECTED]> wrote: >>> Hi all. I am looking for a web host for a site. The usual host I work >>> with is missing some important functionality, so I need to look elsewhere >>> for this project

Re: [PHP] Web host with SOAP

2008-03-13 Thread Shawn McKenzie
Daniel Brown wrote: > On Thu, Mar 13, 2008 at 5:33 PM, Larry Garfield <[EMAIL PROTECTED]> wrote: >> Hi all. I am looking for a web host for a site. The usual host I work >> with is missing some important functionality, so I need to look elsewhere >> for this project. Specifically, I need web

Re: [PHP] Web host with SOAP

2008-03-13 Thread Daniel Brown
On Thu, Mar 13, 2008 at 5:33 PM, Larry Garfield <[EMAIL PROTECTED]> wrote: > > Hi all. I am looking for a web host for a site. The usual host I work with > is missing some important functionality, so I need to look elsewhere for this > project. Specifically, I need web host that offers the fo

RE: [PHP] Last Friday of every month

2008-03-13 Thread Andrés Robinet
> -Original Message- > From: VamVan [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 13, 2008 9:13 PM > To: php-general@lists.php.net > Subject: [PHP] Last Friday of every month > > Can you tell me how to do this ? > > suppose I have a date variable = '02/23/2008' > > i need to know if

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Robert Cummings
On Thu, 2008-03-13 at 22:39 +0100, Aschwin Wesselius wrote: > Andrés Robinet wrote: > > why don't you show us your > > PHP work instead? Maybe you like RoR more because you suck at PHP. > > > > Regards, > > > > Rob > > Hi, can somebody please point out something to me? Did I miss something? > Is

[PHP] Last Friday of every month

2008-03-13 Thread VamVan
Can you tell me how to do this ? suppose I have a date variable = '02/23/2008' i need to know if this is the last friday of february let me know. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail function and headers

2008-03-13 Thread Chris
Alain Roger wrote: hiChris, i've read several forums where this mail() function from PHP initial package is not so great. mail() works fine. phpmailer (and zendmailer, swiftmailer and other such packages) help you with things like: - sending through an smtp server - putting a multipart em

[PHP] class for generating ics or vcs file

2008-03-13 Thread VamVan
Hello All, Can anyone share with me a simple class or code that can generate vcs or ics calendar file in php, that can be imported in to outlook. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Gustavo Narea
Oh, I get it. Thank you! On Wednesday 12 March 2008 15:26:01 Richard Heyes wrote: > > I'm wondering what's wrong with the use of __autoload(), since I see that > > projects like the Zend Framework don't use it and prefer to require_once > > each required file. > > Things that happen without you e

Re: [PHP] How to get error context

2008-03-13 Thread Jim Lucas
It Maq wrote: Hi, i need help because I'm unable to retrieve error's context. Below is the code that is working perfectly except the context that is not displayed: try doing a print_r($errcontext) here and see what you get? maybe the zero index does not exist. $

[PHP] Web host with SOAP

2008-03-13 Thread Larry Garfield
Hi all. I am looking for a web host for a site. The usual host I work with is missing some important functionality, so I need to look elsewhere for this project. Specifically, I need web host that offers the following: - PHP 5.2.x - SOAP support - MySQL 5.0.x - Allows .htaccess configuration

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Børge Holen
On Thursday 13 March 2008 22:39:51 Aschwin Wesselius wrote: > Andrés Robinet wrote: > > why don't you show us your > > PHP work instead? Maybe you like RoR more because you suck at PHP. > > > > Regards, > > > > Rob > > Hi, can somebody please point out something to me? Did I miss something? > Is th

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Aschwin Wesselius
Andrés Robinet wrote: why don't you show us your PHP work instead? Maybe you like RoR more because you suck at PHP. Regards, Rob Hi, can somebody please point out something to me? Did I miss something? Is there some initiation needed on this list which I've missed? How come it is acceptabl

RE: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Andrés Robinet
> -Original Message- > From: Greg Donald [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 13, 2008 4:17 PM > To: php-general@lists.php.net > Subject: Re: [PHP] What's wrong the __autoload()? > > On 3/13/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > > So... there we have it everyone

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Roland Häder
Are you talking about Ruby-On-Rails, which is a framework, or about Ruby? Well, to point out my view, I have to admit that PHP is not really good written. In some functions the needle is the first argument, second the haystack and vise-versa in other functions. And talk about OOP with PHP, well

Re: [PHP] avoid calling php script

2008-03-13 Thread H u g o H i r a m
HTTP_REFERER will do the job, thanks! Hugo. --- Steve Edberg escribió: At 3:55 AM +0100 3/13/08, H u g o H i r a m wrote: Hello I have a swf that runs a PHP script that generates a XML, on the PHP is there any way to detect if the file is being called from the swf or from the browser? becau

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Robert Cummings
On Thu, 2008-03-13 at 15:17 -0500, Greg Donald wrote: > On 3/13/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > > So... there we have it everyone... Greg has admitted that Ruby is as > > smart as a cat. > > Hahaha.. yeah, you really got me on that one. > > /me slaps his knee. > > > I li

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Greg Donald
On 3/13/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > So... there we have it everyone... Greg has admitted that Ruby is as > smart as a cat. Hahaha.. yeah, you really got me on that one. /me slaps his knee. > I like something a little more edgy personally. Something closer to human...

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Greg Donald
On 3/13/08, Ray Hauge <[EMAIL PROTECTED]> wrote: > This is my last post on this thread. I doubt that, but feel free to prove me wrong. > The point of this reply is I didn't say anything about how long you've > been around here. The fact is you're still here, and we're talking PHP. You said "Y

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Robert Cummings
On Thu, 2008-03-13 at 14:36 -0500, Greg Donald wrote: > On 3/13/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > > Because PHP is the dog and Ruby is the cat? > > Yeah, I guess. I have several cats. Indeed they are fast, sleek, and > smart just like Ruby. So... there we have it everyone...

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Greg Donald
On 3/13/08, Robert Cummings <[EMAIL PROTECTED]> wrote: > Because PHP is the dog and Ruby is the cat? Yeah, I guess. I have several cats. Indeed they are fast, sleek, and smart just like Ruby. -- Greg Donald http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Greg Donald
On 3/13/08, Eric Butera <[EMAIL PROTECTED]> wrote: > Ruby must really increase your work performance as you seem to have so > much free time to troll here. Awesome! :) Ruby on Rails is really amazing in how fast you can put an app together. There are generators for most everything so whipping

[PHP] How to get error context

2008-03-13 Thread It Maq
Hi, i need help because I'm unable to retrieve error's context. Below is the code that is working perfectly except the context that is not displayed: ERROR Number: ". $errno; $str .= "ERROR MESSAGE: ". $errstr; $str.= "File: ". $filename; $str.= "Line number: ". $lineno;

Re: [PHP] Launch vmware server with php script and apache

2008-03-13 Thread Daniel Brown
On Thu, Mar 13, 2008 at 1:11 PM, Julio César García Vizcaíno <[EMAIL PROTECTED]> wrote: > $tail error.log > /usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libpng12.so.0/libpng12.so.0: > no version information available (required by /usr/lib/libcairo.so.2) [snip!] This is the first result o

[PHP] Re: php cron to check and remove files

2008-03-13 Thread Shawn McKenzie
Steven Macintyre wrote: > Hi, > > I need to be able to do the following procedure; > > retrieve all items from a mysql db table, then check to see if the files from > that table exist on the server (images), if not, to "clean up" and remove the > physical file - so that only the files from the

Re: [PHP] strtotime( 'last Sunday' ) and republicans

2008-03-13 Thread David Giragosian
On 3/13/08, tedd <[EMAIL PROTECTED]> wrote: > At 10:43 AM -0500 3/12/08, Greg Donald wrote: > >No matter where we draw the borders or put the roads and highways, > >it's still just the one planet, with the same finite resources we all > >have to share. Being mad about globalization is pointless, i

Re: [PHP] Launch vmware server with php script and apache

2008-03-13 Thread Daniel Brown
On Thu, Mar 13, 2008 at 12:01 PM, Daniel Brown <[EMAIL PROTECTED]> wrote: > Try rewriting the above as follows: [code snip] > > However, I'm not really certain why you need to call the Perl > script. What I would consider doing myself is the following: [code snip] Sorry, I got jumpy

[PHP] Windows + php + oracle PL/SQL = ORA-06550

2008-03-13 Thread Martin Jerga
Hello everyone, I just installed Zend Core 2.5.0 (simply apache + php 5) with oracle instant client. I enabled the oracle extension. Everything works ok, but I ran into one strange problem. I can connect to the oracle server without problems, I can also perform SELECTs,INSERTs, etc. The problem

Re: [PHP] Unexcepted $this

2008-03-13 Thread Eric Butera
On Thu, Mar 13, 2008 at 12:56 PM, Ray Hauge <[EMAIL PROTECTED]> wrote: > > Eric Butera wrote: > > 2008/3/13 Anup Shukla <[EMAIL PROTECTED]>: > >> Murat BEŞER wrote: > >> > So what do you thing about on this thing ? > >> > > >> > >> I really would like to figure out the problem. > >> Howe

Re: [PHP] strtotime( 'last Sunday' ) and republicans

2008-03-13 Thread Robert Cummings
On Thu, 2008-03-13 at 11:49 -0400, tedd wrote: > At 10:43 AM -0500 3/12/08, Greg Donald wrote: > >No matter where we draw the borders or put the roads and highways, > >it's still just the one planet, with the same finite resources we all > >have to share. Being mad about globalization is pointles

Re: [PHP] maintaining [user] state without a session ...

2008-03-13 Thread Stut
tedd wrote: At 3:16 PM + 3/13/08, Stut wrote: tedd wrote: I question the reason why you would want to encrypt the cookie considering that before the user is going to be provided access to sensitive data that you require a password confirmation. The encryption seems to be an unnecessary ov

Re: [PHP] Launch vmware server with php script and apache

2008-03-13 Thread Daniel Brown
On Thu, Mar 13, 2008 at 11:35 AM, Julio César García Vizcaíno <[EMAIL PROTECTED]> wrote: > Hi, > > I'm working with a script which must launch vmware server 1.0.3 > (Virtualization product) and I can launch it from a terminal: > $php miscript.php > but when I use firefox it just doesn't work. [

Re: [PHP] Unexcepted $this

2008-03-13 Thread Ray Hauge
Eric Butera wrote: 2008/3/13 Anup Shukla <[EMAIL PROTECTED]>: Murat BEŞER wrote: > So what do you thing about on this thing ? > I really would like to figure out the problem. However, my simple script to mimic your code did not throw any errors. If you could provide some more details, may

Re: [PHP] maintaining [user] state without a session ...

2008-03-13 Thread Stut
tedd wrote: At 4:01 PM + 3/13/08, Stut wrote: tedd wrote: Then, when the user returns, you simply check the cookie with what's stored in the dB and continue as before. If the check fails (no session id or it has been altered), then start again. Because that negates the whole point of doi

[PHP] curl fails to connect when not port 80

2008-03-13 Thread Virgil Hilts
Curl newbie question: Here is a php script that works fine from the command line with CURL_OPT_PORT set or not -- either way. http://ethicshare.cs.umn.edu";; $ch = curl_init(); $user_agent = "Mozilla/4.0 pp(compatible; MSIE 5.01; Windows NT 5.0)"; curl_setopt ( $ch, CURLOPT_USERAGENT,

Re: [PHP] maintaining [user] state without a session ...

2008-03-13 Thread tedd
At 4:01 PM + 3/13/08, Stut wrote: tedd wrote: Then, when the user returns, you simply check the cookie with what's stored in the dB and continue as before. If the check fails (no session id or it has been altered), then start again. Because that negates the whole point of doing it which i

Re: [PHP] Unexcepted $this

2008-03-13 Thread Eric Butera
2008/3/13 Anup Shukla <[EMAIL PROTECTED]>: > Murat BEŞER wrote: > > So what do you thing about on this thing ? > > > > I really would like to figure out the problem. > However, my simple script to mimic your code did not throw any errors. > > If you could provide some more details, maybe we ca

Re: [PHP] Trouble setting httpd.conf, I need help

2008-03-13 Thread Willian Schubert Baldasso
Oh, yes, I have a D: drive anda my php is in D:\Winappl folder I'm trying use PHP x Apache folowing the instruction under http://www.php.net/manual/en/install.windows.apache2.php and notes under http://www.php.net/manual/en/install.windows.apache2.php#81318 I tried change backslashes to forward

Re: [PHP] Unexcepted $this

2008-03-13 Thread Anup Shukla
Murat BEŞER wrote: So what do you thing about on this thing ? I really would like to figure out the problem. However, my simple script to mimic your code did not throw any errors. If you could provide some more details, maybe we can figure out the problem. -- Regards, Anup Shukla -- PHP Gen

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Ray Hauge
Greg Donald wrote: On 3/12/08, Ray Hauge <[EMAIL PROTECTED]> wrote: You come to a PHP mailing list to proclaim that RoR is better? No dumbass, I have already been here for a long time: This is my last post on this thread. It's obvious nobody is going to convince anyone else of their being

Re: [PHP] Intercepting errors (skip)

2008-03-13 Thread It Maq
sorry i just forgot to print the results. It 's my mistake - Original Message From: It Maq <[EMAIL PROTECTED]> To: php-general@lists.php.net Sent: Thursday, March 13, 2008 11:22:36 AM Subject: Re: [PHP] Intercepting errors I already read th page of the manual, but i still don't understan

Re: [PHP] strtotime( 'last Sunday' ) and republicans

2008-03-13 Thread tedd
At 10:43 AM -0500 3/12/08, Greg Donald wrote: No matter where we draw the borders or put the roads and highways, it's still just the one planet, with the same finite resources we all have to share. Being mad about globalization is pointless, it's inevitable. Not if you don't live on this plane

Re: [PHP] maintaining [user] state without a session ...

2008-03-13 Thread tedd
At 3:16 PM + 3/13/08, Stut wrote: tedd wrote: Nice article. Thanks. I question the reason why you would want to encrypt the cookie considering that before the user is going to be provided access to sensitive data that you require a password confirmation. The encryption seems to be an u

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Eric Butera
On Thu, Mar 13, 2008 at 11:02 AM, Greg Donald <[EMAIL PROTECTED]> wrote: > On 3/12/08, Ray Hauge <[EMAIL PROTECTED]> wrote: > > You > > come to a PHP mailing list to proclaim that RoR is better? > > No dumbass, I have already been here for a long time: > > http://marc.info/?l=php-general&m=953

[PHP] Launch vmware server with php script and apache

2008-03-13 Thread Julio César García Vizcaíno
Hi, I'm working with a script which must launch vmware server 1.0.3 (Virtualization product) and I can launch it from a terminal: $php miscript.php but when I use firefox it just doesn't work. I've checked the permissions for vmware and the apache user but without any success. Can you help me what

Re: [PHP] Trouble setting httpd.conf, I need help

2008-03-13 Thread Daniel Brown
On Thu, Mar 13, 2008 at 9:45 AM, Willian Schubert Baldasso <[EMAIL PROTECTED]> wrote: > > My Apache 2.2.8 doen't start with these lines below: > > # load the php main library to avoid dll hell > Loadfile "d:\winappl\php\php5ts.dll" > > # load the sapi so that apache can use php > LoadModule ph

Re: [PHP] Intercepting errors

2008-03-13 Thread It Maq
I already read th page of the manual, but i still don't understand a lot of things. Below you will find a simple code that i ade for understanding more about this. In the code i'm triggering an error of type "E_USER_ERROR", so now i'm wondering why it is not considered as E_USER_ERROR in set_err

Re: [PHP] php cron to check and remove files

2008-03-13 Thread tedd
At 9:35 AM +0100 3/13/08, Steven Macintyre wrote: Hi, I need to be able to do the following procedure; retrieve all items from a mysql db table, then check to see if the files from that table exist on the server (images), if not, to "clean up" and remove the physical file - so that only the

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Robert Cummings
On Thu, 2008-03-13 at 10:02 -0500, Greg Donald wrote: > On 3/12/08, Ray Hauge <[EMAIL PROTECTED]> wrote: > > You > > come to a PHP mailing list to proclaim that RoR is better? > > No dumbass, I have already been here for a long time: > > http://marc.info/?l=php-general&m=95331489301933&w=2 > >

Re: [PHP] maintaining [user] state without a session ...

2008-03-13 Thread Stut
tedd wrote: Nice article. Thanks. I question the reason why you would want to encrypt the cookie considering that before the user is going to be provided access to sensitive data that you require a password confirmation. The encryption seems to be an unnecessary overkill. So what if a mal

Re: [PHP] PHP & Ajax progress bar

2008-03-13 Thread tedd
At 11:24 AM +0800 3/12/08, Shelley wrote: Hi all, I'm searching some file upload progress bar code. But no good result was found. :( So is there anybody please be kind enough to show some code here? Great thanks. -- Regard, Shelley (http://phparch.cn) Shelley: Here's my solution: http://we

Re: [PHP] A Quick Reminder....

2008-03-13 Thread Thijs Lensselink
Quoting tedd <[EMAIL PROTECTED]>: At 10:06 AM -0400 3/13/08, Thijs Lensselink wrote: Quoting tedd <[EMAIL PROTECTED]>: At 11:14 AM -0400 3/12/08, Jason Pruim wrote: Up here in the great big hand (Michigan for those who don't know) during the winter we have so much snow on the ground that

Re: [PHP] A Quick Reminder....

2008-03-13 Thread Thijs Lensselink
Quoting Daniel Brown <[EMAIL PROTECTED]>: On Thu, Mar 13, 2008 at 10:06 AM, Thijs Lensselink <[EMAIL PROTECTED]> wrote: It's always the Dutch huh! :) It's because in our small ountry all traffic is stuck all day long. So when it finally moves it goes all directions :) Not quite as bad

Re: [PHP] What's wrong the __autoload()?

2008-03-13 Thread Greg Donald
On 3/12/08, Ray Hauge <[EMAIL PROTECTED]> wrote: > You > come to a PHP mailing list to proclaim that RoR is better? No dumbass, I have already been here for a long time: http://marc.info/?l=php-general&m=95331489301933&w=2 And I didn't proclaim anything, Rob did: But then you'd end up with so

Re: [PHP] A Quick Reminder....

2008-03-13 Thread tedd
At 10:40 AM -0400 3/13/08, Jason Pruim wrote: On Mar 13, 2008, at 9:25 AM, tedd wrote: At 11:14 AM -0400 3/12/08, Jason Pruim wrote: Up here in the great big hand (Michigan for those who don't know) during the winter we have so much snow on the ground that you just kind of drive where ever lo

Re: [PHP] Intercepting errors

2008-03-13 Thread Richard Heyes
I'am already using that. When i call trigger_error the function set in set_error_handler handles the error. but now i don't know if this will handle all the other errors that i don't know about in case they happen. Is there anyway to test that? Read the manual page. I believe it handles all exce

[PHP] Trouble setting httpd.conf, I need help

2008-03-13 Thread Willian Schubert Baldasso
My Apache 2.2.8 doen't start with these lines below: # load the php main library to avoid dll hell Loadfile "d:\winappl\php\php5ts.dll" # load the sapi so that apache can use php LoadModule php5_module "d:\winappl\php\php5apache2_2.dll" # set the php.ini location so that you don't have to waste

Re: [PHP] A Quick Reminder....

2008-03-13 Thread tedd
At 10:06 AM -0400 3/13/08, Thijs Lensselink wrote: Quoting tedd <[EMAIL PROTECTED]>: At 11:14 AM -0400 3/12/08, Jason Pruim wrote: Up here in the great big hand (Michigan for those who don't know) during the winter we have so much snow on the ground that you just kind of drive where ever lo

RE: [PHP] Intercepting errors

2008-03-13 Thread Stephane Ulysse
PLEASE STOP EMAILING ME -Original Message- From: It Maq [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2008 10:46 AM To: php-general@lists.php.net Subject: Re: [PHP] Intercepting errors I'am already using that. When i call trigger_error the function set in set_error_handler handles

Re: [PHP] maintaining [user] state without a session ...

2008-03-13 Thread tedd
At 12:34 PM + 3/11/08, Stut wrote: On 4 Mar 2008, at 13:57, Jochem Maas wrote: Stut mentioned a little while back that he avoids using the built-in session mechanism if at all possible, but still manages to track user state ... now I can think of a way or two that he might do that but I w

Re: [PHP] Intercepting errors

2008-03-13 Thread It Maq
I'am already using that. When i call trigger_error the function set in set_error_handler handles the error. but now i don't know if this will handle all the other errors that i don't know about in case they happen. Is there anyway to test that? - Original Message From: Richard Heyes <[

[PHP] Re: php cron to check and remove files

2008-03-13 Thread Al
I handle your object a different and, I believe, a simpler way. Instead of a cronjob, I call a cleanup function whenever a page is opened. Obviously, this approach requires a time overhead and thus is not good for very high volume sites. You can mitigate this drawback by maintaining a simple t

Re: [PHP] A Quick Reminder....

2008-03-13 Thread Aschwin Wesselius
Daniel Brown wrote: On Thu, Mar 13, 2008 at 10:06 AM, Thijs Lensselink <[EMAIL PROTECTED]> wrote: It's always the Dutch huh! :) It's because in our small ountry all traffic is stuck all day long. So when it finally moves it goes all directions :) Not quite as bad as they do in I

Re: [PHP] A Quick Reminder....

2008-03-13 Thread Daniel Brown
On Thu, Mar 13, 2008 at 10:52 AM, Stephane Ulysse <[EMAIL PROTECTED]> wrote: > > > > It's always the Dutch huh! :) It's because in our small ountry all > > traffic is stuck all day long. So when it finally moves it goes all > > directions :) > > Not quite as bad as they do in India. I s

RE: [PHP] A Quick Reminder....

2008-03-13 Thread Stephane Ulysse
-Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2008 10:37 AM To: Thijs Lensselink Cc: php-general@lists.php.net Subject: Re: [PHP] A Quick Reminder On Thu, Mar 13, 2008 at 10:06 AM, Thijs Lensselink <[EMAIL PROTECTED]> wrote: > > It's alwa

Re: [PHP] A Quick Reminder....

2008-03-13 Thread Daniel Brown
On Thu, Mar 13, 2008 at 10:40 AM, Jason Pruim <[EMAIL PROTECTED]> wrote: > > Now don't go saying anything bad about the Dutch... Or my penny > pinching ass might have to make the 30 minute drive to lansing! :P Calm down, prune. -- Forensic Services, Senior Unix Engineer 1+ (570-) 362-0283

Re: [PHP] A Quick Reminder....

2008-03-13 Thread Jason Pruim
On Mar 13, 2008, at 9:25 AM, tedd wrote: At 11:14 AM -0400 3/12/08, Jason Pruim wrote: Up here in the great big hand (Michigan for those who don't know) during the winter we have so much snow on the ground that you just kind of drive where ever looks like road... Even if it means you have

Re: [PHP] A Quick Reminder....

2008-03-13 Thread Daniel Brown
On Thu, Mar 13, 2008 at 10:06 AM, Thijs Lensselink <[EMAIL PROTECTED]> wrote: > > It's always the Dutch huh! :) It's because in our small ountry all > traffic is stuck all day long. So when it finally moves it goes all > directions :) Not quite as bad as they do in India. I saw this a few

Re: [PHP] Intercepting errors

2008-03-13 Thread Richard Heyes
Now i know how to create errors with trigger_error, but i am wondering how can I make my error handling class intercept any kind of error although i'm not aware about it and i don't know if it will happen. Is this possible? You could use set_error_handler(): http://uk.php.net/manual/en/function

[PHP] Intercepting errors

2008-03-13 Thread It Maq
Hi, Now i know how to create errors with trigger_error, but i am wondering how can I make my error handling class intercept any kind of error although i'm not aware about it and i don't know if it will happen. Is this possible? Thank you __

Re: [PHP] Know a JS list serve

2008-03-13 Thread tedd
At 9:14 AM +0100 3/12/08, Frank Arensmeier wrote: 11 mar 2008 kl. 22.39 skrev Skip Evans: Hey all, I've been Googling trying to find a JavaScript list serve to post a question to, but have been, embarrassingly, unable to find one. Anyone on one they'd recommend or know of one? Evolt has

Re: [PHP] A Quick Reminder....

2008-03-13 Thread Thijs Lensselink
Quoting tedd <[EMAIL PROTECTED]>: At 11:14 AM -0400 3/12/08, Jason Pruim wrote: Up here in the great big hand (Michigan for those who don't know) during the winter we have so much snow on the ground that you just kind of drive where ever looks like road... Even if it means you have peop

Re: [PHP] A Quick Reminder....

2008-03-13 Thread tedd
At 11:30 AM -0400 3/12/08, Wolf wrote: Here in the state of North Carolina (otherwise known as confusion central during ANY type of weather) they drive anywhere between the 2 white lines, generally as slow as humanly possible with their blinkers on and tieing up all lanes... Even during a 85 d

Re: [PHP] A Quick Reminder....

2008-03-13 Thread tedd
At 11:14 AM -0400 3/12/08, Jason Pruim wrote: Up here in the great big hand (Michigan for those who don't know) during the winter we have so much snow on the ground that you just kind of drive where ever looks like road... Even if it means you have people passing on your right going the opposit

Re: [PHP] php cron to check and remove files

2008-03-13 Thread Per Jessen
Steven Macintyre wrote: > retrieve all items from a mysql db table, then check to see if the > files from that table exist on the server (images), if not, to "clean > up" and remove the physical file - so that only the files from the db > exist. When you are comparing the contents of disk vs. db,

Re: [PHP] php cron to check and remove files

2008-03-13 Thread Aschwin Wesselius
Steven Macintyre wrote: Hi, I need to be able to do the following procedure; retrieve all items from a mysql db table, then check to see if the files from that table exist on the server (images), if not, to "clean up" and remove the physical file - so that only the files from the db exist.

Re: [PHP] php cron to check and remove files

2008-03-13 Thread Aschwin Wesselius
Steven Macintyre wrote: Do you already have some code? Do you got stuck somewhere? No, i didnt even know where to start with the flow; but sitting on the toilet produces wonderfull ideas! What makes sitting on a toilet any difference than sitting anywhere else? Is it a magic toiletsea

Re: [PHP] php cron to check and remove files

2008-03-13 Thread Steven Macintyre
>Do you already have some code? Do you got stuck somewhere? No, i didnt even know where to start with the flow; but sitting on the toilet produces wonderfull ideas! I have the following in mind; list the entire directory into an array, using a foreach to check on the db if the file exists, th

Re: [PHP] mail function and headers

2008-03-13 Thread Alain Roger
hiChris, i've read several forums where this mail() function from PHP initial package is not so great. Therefore a lot of people use PHPMailer which is more convenient for that purpose...especially more flexible. thanks a lot for your help. Alain On Thu, Mar 13, 2008 at 8:35 AM, Chris <[EMAIL P

[PHP] php cron to check and remove files

2008-03-13 Thread Steven Macintyre
Hi, I need to be able to do the following procedure; retrieve all items from a mysql db table, then check to see if the files from that table exist on the server (images), if not, to "clean up" and remove the physical file - so that only the files from the db exist. This will run via cron Ha

Re: [PHP] mail function and headers

2008-03-13 Thread Chris
Alain Roger wrote: Hi Chris, interesting thing, but i get the following error message : *Warning*: mail() [function.mail ]: SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE. in */test4/common/sendmail.php* on line *119