php-general Digest 21 Feb 2005 09:51:27 -0000 Issue 3298
Topics (messages 209092 through 209115):
undefined ap_block_alarms in libphp5.so in spite of SHARED_CORE
209092 by: Gene
209107 by: Joe Wollard
Re: [NEWBIE] Cant get $_POST to work
209093 by: eatc7402
209094 by: b1nary Developement Team
209095 by: Andre Dubuc
209096 by: John Nichel
209097 by: Randy Johnson
209098 by: The Disguised Jedi
209099 by: Randy Johnson
209100 by: b1nary Developement Team
209102 by: John Nichel
209103 by: John Nichel
209104 by: The Disguised Jedi
PHP Extension & Arrays
209101 by: Chris Cranford
209106 by: Joe Wollard
Is there a way I can read full path names of files on the server and enter it
into the database ?
209105 by: Vaibhav Sibal
Samba wrapper
209108 by: Joe Wollard
Re: PHP to C interface?
209109 by: N Deepak
php request entity body help
209110 by: ţ��
Re: [NEWBIE] Confused about usage of $_SERVER['DOCUMENT_ROOT'] [SOLVED]
209111 by: Dave
Maximum number of emails in mail() command
209112 by: Dave
209114 by: Bostjan Skufca . domenca.com
209115 by: AdamT
Re: Call to Oracle stored procedure
209113 by: Jose Angel Sanchez \(Jone\)
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
Hi -
I'm trying to get PHP5 to run with Apache 2.0.5 on FreeBSD 5.3. However,
I keep getting the following:
Cannot load /usr/local/libexec/apache2/libphp5.so into server:
/usr/local/libexec/apache2/libphp5.so: Undefined symbol "ap_block_alarms"
Googling for this error brought lot's of results, all pointing to the
manual and saying to recompile with --enable-rule=SHARED_CORE.
I did so, yet the error persists.
Reinstalling has no effect, and I've found nothing in the manual.
Has anyone any idea how to corect this?
Thanks for taking the time to help
Gene
--- End Message ---
--- Begin Message ---
Gene.
I ran into a similar problem a long time ago and found that my issue was
that I had foolishly tried to recompile php5 into the same paths without
cleaning out the old php binaries. I don't know if this is what you are
doing but if it is then as a thought you might want to make sure that
all traces of the earlier version of php has been wiped off of your system.
In my case I think what was happening was I wasn't rebuilding all of the
binaries and libraries from scratch, so I had a broken php4/ php5 hybrid
without realizing it. :-/
If you are upgrading but this doesn't help I would also make sure that
you comment out all of the mod_php4 and/ or libphp4.so lines in httpd.conf.
Hope this is of some help!
Gene wrote:
Hi -
I'm trying to get PHP5 to run with Apache 2.0.5 on FreeBSD 5.3.
However, I keep getting the following:
Cannot load /usr/local/libexec/apache2/libphp5.so into server:
/usr/local/libexec/apache2/libphp5.so: Undefined symbol "ap_block_alarms"
Googling for this error brought lot's of results, all pointing to the
manual and saying to recompile with --enable-rule=SHARED_CORE.
I did so, yet the error persists.
Reinstalling has no effect, and I've found nothing in the manual.
Has anyone any idea how to corect this?
Thanks for taking the time to help
Gene
--- End Message ---
--- Begin Message ---
Thanks for the input. However it does no good if the variables are empty,
which is my problem. The darn $_POST thing does not work at all
for me, and I am trying to find out why.
-----Original Message-----
From: b1nary Developement Team [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 20, 2005 3:40 PM
To: David Freedman; php
Subject: Re: [PHP] [NEWBIE] Cant get $_POST to work
What's up David... This script *should* work... I don't see any errors,
but try this anyways. In your change your print command to this:
print("Hello, " . $name . "! You are " . $age . " years old!");
What those periods do is simply append them to each other, so in this
case, you have the string, then you're appending the variable, then
appending another string, then another variable, then the last string.
Instead of having it all bunched up.
David Freedman wrote:
>I have this simple form file:
><html>
><head>
> </head>
><body>
> <form action="test.php" method="post">
>Name: <input type="text" name="name" value="your name" /><br/>
>Age: <input type="text" name="age" value="your age" /><br/> <input
>type="submit" name="submit" value="submit" /> </form>
></body>
></html>
>Which passes (I wish!) data to this script:
>
><?php
>$name = $_POST['name'] ;
>$age = $_POST['age'] ;
>print("Hello, $name! You are $age years old!");
>?>
>
>It does not work unless I turn register_globals ON in the php.ini
>file. The php documentation leads me to believe this script SHOULD work
>with register_globals
>OFF.
>
>This a NEW instasllation of the Windows IIS Server also. Is there
>perhaps some configuration on the WINDOWS SERVER that must be set for
>general global data to be passed from a 'form' type page?
>
>David F.
>
>
>
--- End Message ---
--- Begin Message ---
Well this form *is* sending the data because there are no errors in your
code... Their has to be some minor little mistake somewhere that we
can't see in the code you gave us... look for typos, make sure the php
code *is* on test.php. Also, when getting the variables from the post,
try using $_REQUEST instead of $_POST, it may work. Try switching the
method on the form page to get and see of they show up in the URL. You
just gotta do some testing and rule out errors until you can pinpoint it.
eatc7402 wrote:
Thanks for the input. However it does no good if the variables are empty,
which is my problem. The darn $_POST thing does not work at all
for me, and I am trying to find out why.
-----Original Message-----
From: b1nary Developement Team [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 20, 2005 3:40 PM
To: David Freedman; php
Subject: Re: [PHP] [NEWBIE] Cant get $_POST to work
What's up David... This script *should* work... I don't see any errors,
but try this anyways. In your change your print command to this:
print("Hello, " . $name . "! You are " . $age . " years old!");
What those periods do is simply append them to each other, so in this
case, you have the string, then you're appending the variable, then
appending another string, then another variable, then the last string.
Instead of having it all bunched up.
David Freedman wrote:
I have this simple form file:
<html>
<head>
</head>
<body>
<form action="test.php" method="post">
Name: <input type="text" name="name" value="your name" /><br/>
Age: <input type="text" name="age" value="your age" /><br/> <input
type="submit" name="submit" value="submit" /> </form>
</body>
</html>
Which passes (I wish!) data to this script:
<?php
$name = $_POST['name'] ;
$age = $_POST['age'] ;
print("Hello, $name! You are $age years old!");
?>
It does not work unless I turn register_globals ON in the php.ini
file. The php documentation leads me to believe this script SHOULD work
with register_globals
OFF.
This a NEW instasllation of the Windows IIS Server also. Is there
perhaps some configuration on the WINDOWS SERVER that must be set for
general global data to be passed from a 'form' type page?
David F.
--- End Message ---
--- Begin Message ---
On Sunday 20 February 2005 05:07 pm, b1nary Developement Team wrote:
> Well this form *is* sending the data because there are no errors in your
> code... Their has to be some minor little mistake somewhere that we
> can't see in the code you gave us... look for typos, make sure the php
> code *is* on test.php. Also, when getting the variables from the post,
> try using $_REQUEST instead of $_POST, it may work. Try switching the
> method on the form page to get and see of they show up in the URL. You
> just gotta do some testing and rule out errors until you can pinpoint it.
>
> eatc7402 wrote:
> >Thanks for the input. However it does no good if the variables are empty,
> >which is my problem. The darn $_POST thing does not work at all
> >for me, and I am trying to find out why.
> >
> >
> >-----Original Message-----
>
> From: b1nary Developement Team [mailto:[EMAIL PROTECTED]
>
> >Sent: Sunday, February 20, 2005 3:40 PM
> >To: David Freedman; php
> >Subject: Re: [PHP] [NEWBIE] Cant get $_POST to work
> >
> >
> >What's up David... This script *should* work... I don't see any errors,
> >but try this anyways. In your change your print command to this:
> >
> > print("Hello, " . $name . "! You are " . $age . " years old!");
> >
> >What those periods do is simply append them to each other, so in this
> >case, you have the string, then you're appending the variable, then
> >appending another string, then another variable, then the last string.
> >Instead of having it all bunched up.
> >
> >David Freedman wrote:
> >>I have this simple form file:
> >><html>
> >><head>
> >></head>
> >><body>
> >><form action="test.php" method="post">
> >>Name: <input type="text" name="name" value="your name" /><br/>
> >>Age: <input type="text" name="age" value="your age" /><br/> <input
> >>type="submit" name="submit" value="submit" /> </form>
> >></body>
> >></html>
> >>Which passes (I wish!) data to this script:
> >>
> >><?php
> >>$name = $_POST['name'] ;
> >>$age = $_POST['age'] ;
> >>print("Hello, $name! You are $age years old!");
> >>?>
> >>
> >>It does not work unless I turn register_globals ON in the php.ini
> >>file. The php documentation leads me to believe this script SHOULD work
> >>with register_globals
> >>OFF.
> >>
> >>This a NEW instasllation of the Windows IIS Server also. Is there
> >>perhaps some configuration on the WINDOWS SERVER that must be set for
> >>general global data to be passed from a 'form' type page?
> >>
> >>David F.
Hi David,
I had the same problem before -- do you have a </form> tag in there?
Just an idea,
Andre
--- End Message ---
--- Begin Message ---
dbfreedman wrote:
I am so new I don't know what you mean by 'test.php"
David
Please reply to the list...better chance of finding the answer to your
problem that way.
You have the action of your form set to 'test.php', i.e. you should have
a file in the same directory as your form called test.php. In that
file, put this...
<pre>
<?php
print_r ( $_POST );
?>
</pre>
If you get the values that you submitted (with globals off, like it
_should_ work), then all is fine. You can also change $_POST to
$_REQUEST if you wish, just to see all the data being passed to your script.
--
By-Tor.com
...it's all about the Rush
http://www.by-tor.com
--- End Message ---
--- Begin Message ---
try $HTTP_POST_VARS maybe it is an older version of PHP
Randy
eatc7402 wrote:
Thanks for the input. However it does no good if the variables are empty,
which is my problem. The darn $_POST thing does not work at all
for me, and I am trying to find out why.
-----Original Message-----
From: b1nary Developement Team [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 20, 2005 3:40 PM
To: David Freedman; php
Subject: Re: [PHP] [NEWBIE] Cant get $_POST to work
What's up David... This script *should* work... I don't see any errors,
but try this anyways. In your change your print command to this:
print("Hello, " . $name . "! You are " . $age . " years old!");
What those periods do is simply append them to each other, so in this
case, you have the string, then you're appending the variable, then
appending another string, then another variable, then the last string.
Instead of having it all bunched up.
David Freedman wrote:
I have this simple form file:
<html>
<head>
</head>
<body>
<form action="test.php" method="post">
Name: <input type="text" name="name" value="your name" /><br/>
Age: <input type="text" name="age" value="your age" /><br/> <input
type="submit" name="submit" value="submit" /> </form>
</body>
</html>
Which passes (I wish!) data to this script:
<?php
$name = $_POST['name'] ;
$age = $_POST['age'] ;
print("Hello, $name! You are $age years old!");
?>
It does not work unless I turn register_globals ON in the php.ini
file. The php documentation leads me to believe this script SHOULD work
with register_globals
OFF.
This a NEW instasllation of the Windows IIS Server also. Is there
perhaps some configuration on the WINDOWS SERVER that must be set for
general global data to be passed from a 'form' type page?
David F.
--- End Message ---
--- Begin Message ---
i think you have to use the ID parameter in the input tag in your HTML
Name: <input type="text" name="name" value="your name" id="name" /><br/>
Age: <input type="text" name="age" value="your age" id="age" /><br/>
try that and see how it goes....
On Sun, 20 Feb 2005 17:52:26 -0500, Randy Johnson <[EMAIL PROTECTED]> wrote:
> try $HTTP_POST_VARS maybe it is an older version of PHP
>
> Randy
>
> eatc7402 wrote:
> > Thanks for the input. However it does no good if the variables are empty,
> > which is my problem. The darn $_POST thing does not work at all
> > for me, and I am trying to find out why.
> >
> >
> > -----Original Message-----
> > From: b1nary Developement Team [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, February 20, 2005 3:40 PM
> > To: David Freedman; php
> > Subject: Re: [PHP] [NEWBIE] Cant get $_POST to work
> >
> >
> > What's up David... This script *should* work... I don't see any errors,
> > but try this anyways. In your change your print command to this:
> >
> > print("Hello, " . $name . "! You are " . $age . " years old!");
> >
> > What those periods do is simply append them to each other, so in this
> > case, you have the string, then you're appending the variable, then
> > appending another string, then another variable, then the last string.
> > Instead of having it all bunched up.
> >
> > David Freedman wrote:
> >
> >
> >>I have this simple form file:
> >><html>
> >><head>
> >></head>
> >><body>
> >><form action="test.php" method="post">
> >>Name: <input type="text" name="name" value="your name" /><br/>
> >>Age: <input type="text" name="age" value="your age" /><br/> <input
> >>type="submit" name="submit" value="submit" /> </form>
> >></body>
> >></html>
> >>Which passes (I wish!) data to this script:
> >>
> >><?php
> >>$name = $_POST['name'] ;
> >>$age = $_POST['age'] ;
> >>print("Hello, $name! You are $age years old!");
> >>?>
> >>
> >>It does not work unless I turn register_globals ON in the php.ini
> >>file. The php documentation leads me to believe this script SHOULD work
> >>with register_globals
> >>OFF.
> >>
> >>This a NEW instasllation of the Windows IIS Server also. Is there
> >>perhaps some configuration on the WINDOWS SERVER that must be set for
> >>general global data to be passed from a 'form' type page?
> >>
> >>David F.
> >>
> >>
> >>
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
The Disguised Jedi
[EMAIL PROTECTED]
Now you have my $0.02. Or .01 Pounds, .014 Euros, or $0.025 CAN. I'm
already internationally compatible!
PHP rocks!
"Knowledge is Power. Power Corrupts. Go to school, become evil"
Disclaimer: Any disclaimer attached to this message may be ignored.
However, I must say that the ENTIRE contents of this message are
subject to other's criticism, corrections, and speculations.
This message is Certified Virus Free
--- End Message ---
--- Begin Message ---
Why do you need the ID? I never use that in my forms.
Randy
The Disguised Jedi wrote:
i think you have to use the ID parameter in the input tag in your HTML
Name: <input type="text" name="name" value="your name" id="name" /><br/>
Age: <input type="text" name="age" value="your age" id="age" /><br/>
try that and see how it goes....
On Sun, 20 Feb 2005 17:52:26 -0500, Randy Johnson <[EMAIL PROTECTED]> wrote:
try $HTTP_POST_VARS maybe it is an older version of PHP
Randy
eatc7402 wrote:
Thanks for the input. However it does no good if the variables are empty,
which is my problem. The darn $_POST thing does not work at all
for me, and I am trying to find out why.
-----Original Message-----
From: b1nary Developement Team [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 20, 2005 3:40 PM
To: David Freedman; php
Subject: Re: [PHP] [NEWBIE] Cant get $_POST to work
What's up David... This script *should* work... I don't see any errors,
but try this anyways. In your change your print command to this:
print("Hello, " . $name . "! You are " . $age . " years old!");
What those periods do is simply append them to each other, so in this
case, you have the string, then you're appending the variable, then
appending another string, then another variable, then the last string.
Instead of having it all bunched up.
David Freedman wrote:
I have this simple form file:
<html>
<head>
</head>
<body>
<form action="test.php" method="post">
Name: <input type="text" name="name" value="your name" /><br/>
Age: <input type="text" name="age" value="your age" /><br/> <input
type="submit" name="submit" value="submit" /> </form>
</body>
</html>
Which passes (I wish!) data to this script:
<?php
$name = $_POST['name'] ;
$age = $_POST['age'] ;
print("Hello, $name! You are $age years old!");
?>
It does not work unless I turn register_globals ON in the php.ini
file. The php documentation leads me to believe this script SHOULD work
with register_globals
OFF.
This a NEW instasllation of the Windows IIS Server also. Is there
perhaps some configuration on the WINDOWS SERVER that must be set for
general global data to be passed from a 'form' type page?
David F.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
That's it right there... Damn, why didn't I think of that. Hey David,
what version of php are you running?
Randy Johnson wrote:
try $HTTP_POST_VARS maybe it is an older version of PHP
Randy
--- End Message ---
--- Begin Message ---
The Disguised Jedi wrote:
i think you have to use the ID parameter in the input tag in your HTML
Name: <input type="text" name="name" value="your name" id="name" /><br/>
Age: <input type="text" name="age" value="your age" id="age" /><br/>
try that and see how it goes....
If I'm not mistaken, ID in a form element will assign it a 'style', much
the same way as 'class' does. It's been a while since I've done any
HTML/CSS, so I could be wrong.
--
By-Tor.com
...it's all about the Rush
http://www.by-tor.com
--- End Message ---
--- Begin Message ---
Randy Johnson wrote:
try $HTTP_POST_VARS maybe it is an older version of PHP
Randy
Good catch.
--
By-Tor.com
...it's all about the Rush
http://www.by-tor.com
--- End Message ---
--- Begin Message ---
Well, I guess I was wrong...I looked it up and that is correct...I
couldn't remember which was the one that was needed to get the params
in the right spot.....
--
The Disguised Jedi
[EMAIL PROTECTED]
Now you have my $0.02. Or .01 Pounds, .014 Euros, or $0.025 CAN. I'm
already internationally compatible!
PHP rocks!
"Knowledge is Power. Power Corrupts. Go to school, become evil"
Disclaimer: Any disclaimer attached to this message may be ignored.
However, I must say that the ENTIRE contents of this message are
subject to other's criticism, corrections, and speculations.
This message is Certified Virus Free
--- End Message ---
--- Begin Message ---
If I have a function that creates an array using add_assoc_string and then
adds it to the return value as add_property_zval, then how do I iterate over
the array and get the key and its value?
--- End Message ---
--- Begin Message ---
Chris,
I have a feeling I'm missing something but from what I'm gathering you
want to be able to use the key of the array right along with the value.
If that's what you need then the following should work:
$array = my_array_creating_function();
while(list($key, $val) = each($array)){
echo "<br />" . $val . " is the value of " . $key;
}
Hope this was of some help!
Chris Cranford wrote:
If I have a function that creates an array using add_assoc_string and then
adds it to the return value as add_property_zval, then how do I iterate over
the array and get the key and its value?
--- End Message ---
--- Begin Message ---
Hello,
I wanted to ask whether there is a way whereby a script can read
filenames from a particular directory on the server and enter those
filenames with the complete path into the MySQL database? I am trying
to do this, because I am developing an application where a supervisor
will be distributing files to different users, and those users are to
work on the files allocated to them by the supervisor. There is a big
pool of files containing around 10k-15k files and the supervisor will
be instructed to allocate around 200 files to a user each day, and the
user should be able to open that file and work on it. I am using a
Linux Fedora core 2 server running Apache 2.0.53 and PHP 5.0.3 and
MySQL, and my clients are Windows clients. So I wanted to ask all of
you people what would be a better approach to do this, the following
are the 2 options :
(1)As soon as the supervisor selects say around 200 files for a user
called robert, 200 files from the file pool automatically get copied
to the home directory of robert. While they are copied to the home
directory of Robert, the name of each file with their complete path
name gets logged onto the database. Now I am doing since because I
need to know where each file went and what user is working on what
file. Now since robert is working on a client running on windows, we
can map a drive of windows onto the home directory of robert. In this
scenario can we instruct PHP to open files from a local directory
(i.e. the mapped directory of windows)? Because I need to, somehow,
log when a user opened the file and when he closed it.
(2) The second scenario is that, I just enter the name of the files
allocated to a user alongwith the complete pathnames to a database and
I have another column this time where I store the user's name. Now
whenever the user logs into our system using his username and
password, and checks to see his work, he sees a list of files on the
browser itself, but now we will have to convert this list of files
into links so that the user can click on the links and directly open
the file in the required software from the server itself. The issue,
again, in this kind of design is that how do i open the file in the
required software and even if i do it then how do i record when the
user opened the file and when he finished working on it.
I would request all of you to please help me in this, since I am a
student and in the learning phase and this is a part of my project. If
you have any doubts about whatever I have written here please write
to me. I would be really grateful if you all could help me in this
endeavour.
Thanks in advance
Vaibhav
--- End Message ---
--- Begin Message ---
Greetings,
I am toying around with the idea of building a very basic script to do a
_VERY_ basic index of the network shares at work. Almost all of them are
Samba shares but I didn't see any easy way to access them without
mounting them all to my servers local file system at some point or
another _OR_ by using the packages that come in the samba suite (e.g.
smbfind, smbtree, etc). I was wondering if anyone knew of a samba stream
wrapper out there or if anyone has been working on one. I'm not even
sure this is a practical solution since I don't know a tremendous amount
of information about samba its self, but I would like to be able to
access them as such:
$res = fopen("smb://username:[EMAIL PROTECTED]/myserver/myshare/");
or at least something similar to that. For a more detailed idea of what
I'm talking about please see www.php.net/stream_wrapper_register and
thanks for any help or direction you can send me!
-Joe Wollard
--- End Message ---
--- Begin Message ---
On Fri, Feb 18, 2005 at 09:20:02AM -0800, Richard Lynch wrote:
> > Is there a way to invoke C functions in a library (.so) from PHP?
> > Like Xs in Perl?
>
> By definition, then, all you have to do is learn how to write a PHP
> extension, which Rasmus tells you how to do in a one-hour lecture at any
> PHP/Linux/Apache/OpenSource conference you care to name :-)
>
> But rather than spend hundreds to attend a conference, you can access his
> talk on this topic at:
>
> http://talks.php.net
>
Thanks for pointing out. When I look up the 'Extensions' category, I get
mostly presentations on HTML Tidy under PHP?
http://talks.php.net/index.php/Extensions?PHPSESSID=b8b25bec4cebea1f748893292ab077e5
Thanks,
Deepak
--
N Deepak || http://www.ndeepak.info/
--- End Message ---
--- Begin Message ---
Dear phpers,
I'm trying to get the entity body part from an http request. Is there an API
which can do the job?
We use post to communicate. But I don't the name of post.
Please help!
Any help would be appreciated. Thanks in advance.
Sincerely,
Kun
--- End Message ---
--- Begin Message ---
Thank you all for your responses. The problem is now half solved. In
the majority of cases, using a period before the directory path ( i.e.
./directory ) will give me the correct path to the directory I specify
from the relative path from the web root.
However, it still will not work with the random_image function I
created when called from within the web forum I'm using, which is the
PHP based "Simple Machines Forum".
I will take this inquiry to their support forum to see if there is
any special considerations about their PHP that I should know about.
Thank you all for your time and explanations. I have learned a lot
about the DOCUMENT_ROOT variable.
--
Dave Gutteridge
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
PHP General,
The Situation:
I would like to set up a few newsletters that goes out to people
listed in a MySQL database by sending the message from a web form
generated by PHP. The mail will be sent out using the mail() command.
Most of the newsletters that users can subscribe to are unlikely to
have more than 100 or 200 recipients. But the main one will start out
with 500, and soon reach 1000. Beyond that it's hard to say. It's
conceivable it might even get to 2000 or more, but for now I'm assuming
I should build something that can handle 1500 recipients.
The Question:
I know I can specify multiple email addresses in the BCC field by
comma delineating them. But I'm wondering if there is an upper limit to
how many email addresses can be attached this way. Is there any upper
limit? Are there performance considerations? Is the limit within PHP or
the mail server or a combination of both?
--
Dave Gutteridge
[EMAIL PROTECTED]
Tokyo Comedy Store
http://www.tokyocomedy.com/english/
--- End Message ---
--- Begin Message ---
Mailserver is the limit.
regards,
B
On Monday 21 February 2005 10:22, Dave wrote:
> PHP General,
>
> The Situation:
> I would like to set up a few newsletters that goes out to people
> listed in a MySQL database by sending the message from a web form
> generated by PHP. The mail will be sent out using the mail() command.
> Most of the newsletters that users can subscribe to are unlikely to
> have more than 100 or 200 recipients. But the main one will start out
> with 500, and soon reach 1000. Beyond that it's hard to say. It's
> conceivable it might even get to 2000 or more, but for now I'm assuming
> I should build something that can handle 1500 recipients.
>
> The Question:
> I know I can specify multiple email addresses in the BCC field by
> comma delineating them. But I'm wondering if there is an upper limit to
> how many email addresses can be attached this way. Is there any upper
> limit? Are there performance considerations? Is the limit within PHP or
> the mail server or a combination of both?
>
> --
> Dave Gutteridge
> [EMAIL PROTECTED]
> Tokyo Comedy Store
> http://www.tokyocomedy.com/english/
--- End Message ---
--- Begin Message ---
I don't know about PHP, but the maximum number of recipients per
message is configurable in your mail server's SMTP MTA. Also note
that if you send a message to 2,000 people at a foreign domain, their
server may reject it if they have their limit set to <2,000.
--
AdamT
"Justify my text? I'm sorry, but it has no excuse."
--- End Message ---
--- Begin Message ---
Hi everybody..
I have two servers:
LINUX DEBIAN WEB SERVER (apache, php, oracle client) and LINUX REDHAT
ADVANCED SERVER (Oracle Database Server)
I can execute all kind of basic sql from php to oracle, it works fine
except accents and symbol of html's ñ (I'm Spanish)
But the problem comes when I try to call a stored procedure using
variable binding:
$db_conn = ocilogon ($GLOBALS["User"],
$GLOBALS["Password"],$GLOBALS["DatabaseName"]);
$cmdstr = 'begin MyPackage.MyProcedure(:var1, :var2); end;';
$parsed = ociparse($db_conn, $cmdstr);
OCIBindByName($parsed,':var1',$firstVar);
OCIBindByName($parsed,':var2',$secondVar);
OCIExecute($parsed,OCI_DEFAULT);
Output error:
Warning: ociexecute(): OCIStmtExecute: ORA-06550: line 1, column 30:
PLS-00553: character set name is not recognized ORA-06550: line 0,
column 0: PL/SQL: Compilation unit analysis terminated in
/var/www/test.php on line 913
Column 29 is ':' character.
I have been looking for solutions all around the whole web and many
forums, setting environment variables like NLS_LANGUAGE and others... on
linux, apache and php, but the same.
Does anybody know what must I exactly set on system or code to make it
works?
I'have this problem from 2 months ago to now, and nobody knows how to
do!! (except any of you, I wish).
Thx for reading...
--- End Message ---