Hello!
I would like to know whether some limits on the mail function
could be set.
We host a lot of virtual hosts and some of our users send a lot
of messages by the mail() function. However I would like to
implement a limit such as max. 512 emails per virtualhost per hour.
Is it possible with
[EMAIL PROTECTED] wrote:
Hello!
I would like to know whether some limits on the mail function
could be set.
We host a lot of virtual hosts and some of our users send a lot
of messages by the mail() function. However I would like to
implement a limit such as max. 512 emails per virtualhost per
On Mon, 2006-02-13 at 10:07 +0100, Barry wrote:
> No, but you can configure the virtual hosts that PHP uses POP3 logins to
> send mail.
> Then you can configure your mail server like that.
>
Or you could update and increment a file/dbtable or something every mail
sent. That way you could disable
hello everybody,
i am having one doubt in sending mail
in php.in my company our mail server is in windows,but
my php code for mail function in linux,i set the code
as
if(@mail('[EMAIL PROTECTED]','hi suresh','this is
test','From:[EMAIL PROTECTED]')):
both from and to addr
On Mon, 2006-02-13 at 10:05 +, suresh kumar wrote:
> both from and to address are valid but mail
> is not receiving to [EMAIL PROTECTED],
>
The PHP mail() function will use sendmail/postfix/etc (your hosts MTA),
if you plan on using a mail relay i.e. an SMTP server to send mail, you
suresh kumar wrote:
hello everybody,
i am having one doubt in sending mail
in php.in my company our mail server is in windows,but
my php code for mail function in linux,i set the code
as
if(@mail('[EMAIL PROTECTED]','hi suresh','this is
test','From:[EMAIL PROTECTED]')):
he Kurt,
Given the question you ask is very much a beginners question I assume that you
are not working for LCMG as a programmer? nothing wrong with that, per se
... BUT working for a large IT company you are expected to
realise that the whole internet community is not just there to answer you
y
Stuart Bailey wrote:
Hi
I'm developing an app to administer LDAP (phpLdapAdmin is too complex for the
customer).
I have created an LDAP class, in a file class_ldap.php. It include methods for
connecting to the server, binding a DN (effectively login), and adding posix
groups.
I have an index
Curt Zirzow wrote:
On Sun, Feb 12, 2006 at 10:32:27AM -0500, Mark Charette wrote:
Let me give an example:
on fileplanet.com, they have something so called "download slot"
and "lines". They limit the number of concurrent downloads. If
there are too many users, they will disallow new user to
dow
PHP list,
I wanted to adjust my register global settings in my php.ini file. I
found instructions on this page:
http://www.dmcinsights.com/phpmysql/phpini.php
The first thing it says to do is take a look at the results of
phpinfo(); to see where the php.ini file actually is.
So
Dave M G wrote:
PHP list,
I wanted to adjust my register global settings in my
php.ini file. I found instructions on this page:
http://www.dmcinsights.com/phpmysql/phpini.php
The first thing it says to do is take a look at the
results of phpinfo(); to see where the php.ini file actual
[snip]
I wanted to adjust my register global settings in my php.ini file. I
found instructions on this page:
http://www.dmcinsights.com/phpmysql/phpini.php
The first thing it says to do is take a look at the results of
phpinfo(); to see where the php.ini file actually is.
So I c
Hi,
I try to use move_upload_file function with safe_mode (with PHP 4.3.10).
When I turn the safe_mode off, the function works fine, but when I turn it
back to on, the function doesn't work (with no error message).
When I read the documentation about safe_mode, I do not see any
restriction conce
[snip]
I try to use move_upload_file function with safe_mode (with PHP 4.3.10).
When I turn the safe_mode off, the function works fine, but when I turn it
back to on, the function doesn't work (with no error message).
When I read the documentation about safe_mode, I do not see any
restriction con
I am using php as a cgi. The data from my html is piped through stdin using
this code:
The result I am getting looks like this: (which is correct)
sender_name=zedleon&[EMAIL PROTECTED]&sender_msg=This+is+a
+test&Submit=Submit
What I need to do now is to convert the piped string into the individu
Le Mon, 13 Feb 2006 09:09:54 -0600, Jay Blanchard a écrit :
> From TFM
>
> http://us2.php.net/manual/en/function.move-uploaded-file.php
>
> "Note: move_uploaded_file() is both safe mode and open_basedir aware.
> However, restrictions are placed only on the destination path as to allow
> the movi
[snip]
I am using php as a cgi. The data from my html is piped through stdin using
this code:
The result I am getting looks like this: (which is correct)
sender_name=zedleon&[EMAIL PROTECTED]&sender_msg=This+is+a
+test&Submit=Submit
What I need to do now is to convert the piped string into the i
I am using php as a cgi. The data from my html is piped through stdin using
this code:
The result I am getting looks like this: (which is correct)
sender_name=zedleon&[EMAIL PROTECTED]&sender_msg=This+is+a
+test&Submit=Submit
What I need to do now is to convert the piped string into the individu
Hi all,
I'm trying to use GPG encryption on a server with Safe Mode on so exec,
system ... do not work. Also I can not load any pecl modules.
Is any other way I can encrypt/decrypt from PHP using the public/secret key
model?
Many Thanks,
Mike
This works for me:
' . $arr['sender_name']; ?>
That routine should create variables with the names of the arguments as well
as an associative array of the string
HTH
Dan
-Original Message-
From: zedleon [mailto:[EMAIL PROTECTED]
Sent: 13 February 2006 14:38
To: php-general@lists.php.n
also check out these 2 funcs:
http://php.net/parse_str
http://php.net/parse_url
Dan Parry wrote:
This works for me:
$temp = 'sender_name=zedleon&[EMAIL PROTECTED]&
sender_msg=This+is+a+test&Submit=Submit';
$arr = array();
foreach (explode('&', $temp) as $v) {
$split = explode('=', $v)
I found another way to deal with this. And that's to run the encrypted
string through base64_encode before inserting into database and running
base64_decode when pulling it out of the database.
Mark
-Original Message-
From: Mark Steudel [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 1
this is my code
if(@mail('[EMAIL PROTECTED]','subject','hai this is
the test','[EMAIL PROTECTED]')):
print "mail sent succesfully";
else:
print "mail can send";
endif;
i dont know whether there is any problem
with my coding or server problem.both from
suresh kumar wrote:
hello everybody,
i am having one doubt in sending mail
the way I read it you don't have a 'doubt' but a 'problem' ...
(an example of the proper use of the word would be:
"I doubt whether you bothered to research your
problem at all before
suresh kumar wrote:
this is my code
if(@mail('[EMAIL PROTECTED]','subject','hai this is
the test','[EMAIL PROTECTED]')):
print "mail sent succesfully";
else:
print "mail can send";
endif;
i dont know whether there is any problem
with my coding or se
On 13 February 2006 14:38, zedleon wrote:
> I am using php as a cgi. The data from my html is piped through stdin
> using this code:
> $fp=popen("cat","r");
> $str=fgets($fp);
> print $str;
> >
>
> The result I am getting looks like this: (which is correct)
> sender_name=zedleon&[EMAIL PROTECTE
Hiya all!
I'm trying to set up PHP 5.1 with a Win 2003 server running IIS6, but
all I can out of it is a page saying:
CGI Error
The specified CGI application misbehaved by not returning a complete set
of HTTP headers.
I doubt this is anything new, but I can't find any decent solution for
i
Hi,
I'm looking for a good IDE on Linux to code my php files... I'd like
auto-completion (in php and html) and a file explorer...
I've tested Eclipse (with PHP Eclipse) and Komodo but I couldn't have
auto-completion on php commands !!!
Do you have any idea ?
Thank you very much.
David.
signatu
Assuming you are open to commercial (non-freeware) IDEs and are looking
for a GUI IDE, I would strongly suggest Zend Studio. It's JAVA-based so
it works across multiple OSes, including Linux.
It supports auto-completion and has a file explorer in addition to other
nifty features.
Shaunak Kashyap
On Mon, February 13, 2006 2:33 pm, Shaunak Kashyap wrote:
> I've tested Eclipse (with PHP Eclipse) and Komodo but I couldn't have
> auto-completion on php commands !!!
When I saw Komodo demo-ed years and years ago, it had PHP
auto-completion...
It's difficult to believe that there isn't some kind
Im using phpmailer to send emails, with htmlbody and an alternate textbody.
Any suggestions on how to test the text only body?
Thanks, Mark
If you have a linux box, use mutt or pine. Also, most Windows mail
clients allow you to turn off HTML mail. Check your client
documentation / help files.
Brady
> -Original Message-
> From: Mark Steudel [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 13, 2006 1:40 PM
> To: php-genera
Mark Steudel wrote:
Im using phpmailer to send emails, with htmlbody and an alternate textbody.
Any suggestions on how to test the text only body?
Thanks, Mark
Sure. Use a text-only MUA?*
But, seriously, most 'Nix gurus have access to text
only mail if they care to. If you've a friend
[snip]
I'm looking for a good IDE on Linux to code my php files... I'd like
auto-completion (in php and html) and a file explorer...
I've tested Eclipse (with PHP Eclipse) and Komodo but I couldn't have
auto-completion on php commands !!!
Do you have any idea ?
[/snip]
Are you sure that you have E
I have a client who wants to blog or he wants a blog on his website. I don't
know anything about these blogs except it's sort of a fad I think.
Isn't a blog just a simple web form with a big textarea on the blogger's
side writing to a database and then the data is displayed in chronological
orde
[snip]
I have a client who wants to blog or he wants a blog on his website. I don't
know anything about these blogs except it's sort of a fad I think.
Isn't a blog just a simple web form with a big textarea on the blogger's
side writing to a database and then the data is displayed in chronological
Wordpress is free and easy to setup.
On 2/13/06, Sam Smith <[EMAIL PROTECTED]> wrote:
>
>
> I have a client who wants to blog or he wants a blog on his website. I don't
> know anything about these blogs except it's sort of a fad I think.
>
> Isn't a blog just a simple web form with a big textarea
Finally, I discovered that I need to have PHP and Apache on my computer
in order than Eclipse may give me auto-complete...
I'll install them tomorrow !!!
Thank you.
David.
Le lundi 13 février 2006 à 15:42 -0600, Jay Blanchard a écrit :
> [snip]
> I'm looking for a good IDE on Linux to code my ph
I have an application that delivers files to the client browser. These
files a very large video files. 250mb+ each. I have two options: 1) I
could have PHP deliver the file with "fread", or 2) I could have PHP
present a link to the file. However, for security purposes, I would
rather not h
I've seen this problem many times before, but I'm not sure what solution was
found.
Possible solutions:
Encrypt the file, make it publicly available, and then give the right people
the encryption key.
Put it behind a .htaccess file allowing only the IP of the correct person -
remove the .htacces
http://us2.php.net/manual/en/function.move-uploaded-file.php
"Note: move_uploaded_file() is both safe mode and open_basedir aware.
However, restrictions are placed only on the destination path as to allow
the moving of uploaded files in which filename may conflict with such
restrictions. move_u
I was able to get part of my page to load when I created the
Validation class and put a call to the validation class within my
table. When I did that the page loaded up until the php code to call
the method and then it does not load the rest of the page.Can
anyone help me with this? By the w
Hi there...
i simply prefer using kde's quanta ... it even got some "dynamic"
autocompletion...
cheers
bb
>Finally, I discovered that I need to have PHP and Apache on my computer
>in order than Eclipse may give me auto-complete...
>I'll install them tomorrow !!!
>
>Thank you.
>
>David.
>
>Le lu
Thank you for the input. For now we are just using PHP to create symbolic
links to the video files and the links are removed when they are done
viewing the video. We are open to other suggest still, but for now, this
fills our needs and bypasses putting so much stress on PHP as to put
hundred
Jonathan,
Not sure how you're using fread, but here's a slightly modified version of
what's in the manual that might help:
If my understanding of this code is correct you won't be trying to load the
entire file into memory and you're not trying to store the file in a
variable. All that this sho
Eli schrieb:
> Is PHP gonna support multi-threading (not multi-processing) capabilities
> in the future?
Not in the near future, sorry. Depending on what you are trying to
implement: Ruby has multithreading.
OLLi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
> Finally, I discovered that I need to have PHP and Apache on my computer
> in order than Eclipse may give me auto-complete...
No you don't. Eclipse does code completion out-of-the-box w/out
installing additional software. Check your Preferences.
--
PHP General Mailing List (http://www.php.net/
Best group member,
I am sending HTML email with PHP. I use the example code in the manual to
try, and the email is sent. However, it is not decoded correctly in my
Outlook. I checked thru webmail clients, and then it work. I thought it was
my Outlook that was not correct, but I am receiving HTML e
I am busy porting/rewriting our framework
(http://avoir.uwc.ac.za/projects/nextgen & http://kngforge.uwc.ac.za)
from PHP4 to PHP5, and would like to know if there are any additional
mailing lists that anyone knows of that are specifically focused around
this topic. If there are none, I would like t
Anders Norrbring skrev:
Hiya all!
I'm trying to set up PHP 5.1 with a Win 2003 server running IIS6, but
all I can out of it is a page saying:
CGI Error
The specified CGI application misbehaved by not returning a complete set
of HTTP headers.
I doubt this is anything new, but I can't find a
http://www.unf.edu/~rita0001/eresources/php_tutorials/index.htm
LOL - I remember going to school with Albert. Never knew he got into PHP
after I left.
--
life is a game... so have fun.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anders Norrbring skrev:
Anders Norrbring skrev:
Hiya all!
I'm trying to set up PHP 5.1 with a Win 2003 server running IIS6, but
all I can out of it is a page saying:
CGI Error
The specified CGI application misbehaved by not returning a complete
set of HTTP headers.
I doubt this is anythin
52 matches
Mail list logo