Hi Chris,
interesting thing, but i get the following error message :
*Warning*: mail()
[function.mailhttp://test4.rogtek.com/common/function.mail]:
SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE
MODE. in */test4/common/sendmail.php* on line *119*
how can i solve this by
Alain Roger wrote:
Hi Chris,
interesting thing, but i get the following error message :
*Warning*: mail() [function.mail
http://test4.rogtek.com/common/function.mail]: SAFE MODE Restriction
in effect. The fifth parameter is disabled in SAFE MODE. in
*/test4/common/sendmail.php* on line *119*
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
Has
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
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,
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
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.
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, you
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
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
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
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
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
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():
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 weeks
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
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.
--
/Daniel P. Brown
Forensic Services, Senior Unix Engineer
1+
-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 always
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 saw this a
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 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
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
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
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
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
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
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
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
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-generalm=95331489301933w=2
And I didn't proclaim anything, Rob did:
snip
But then you'd end up with
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 as
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 you
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:
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
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-generalm=95331489301933w=2
And I didn't
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
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
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 php5_module
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
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:
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
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
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 understand
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
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
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
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 can figure
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
Curl newbie question:
Here is a php script that works fine from the command line with
CURL_OPT_PORT set or not -- either way.
?php
$fp = fopen( ./results.txt, w );
$searchUrl = http://ethicshare.cs.umn.edu;;
$ch = curl_init();
$user_agent = Mozilla/4.0 pp(compatible; MSIE 5.01;
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
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, maybe
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.
[snip!]
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
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 pointless,
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.
However, my simple script to
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
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 with
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, it's
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
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 on
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:
?php
function error_handler($errno, $errstr, $filename, $lineno, $errcontext)
{
$str = ;
$str .=
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 up
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 unsubscribe,
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... Greg
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 You
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...
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 like something
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?
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,
-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... Greg
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
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 there some
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
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:
?php
function error_handler($errno, $errstr, $filename, $lineno, $errcontext)
{
try doing a
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
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
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
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
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 there some
-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 this is
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
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 host
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.
- 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 php,
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
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
85 matches
Mail list logo