I coulnd't figure out the difference between the two:
function &foo(){
$x = "hello";
return $x;
}
and
function foo(){
$x = "hello";
return &$x;
}
__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
--
I faced the same problem when compile php 4.0.6 and
4.1.0 with snmp. I tried several times so i just
dropped it. Now I'm using php without snmp.
Do let me know if you get over this error.
--- Jason Signalness <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am having trouble compiling php with snmp
An array contains various values eg: list of fruits.
Now i want to retrieve only unique fruits from the
array. The array may contain duplicate names. How can
i achieve this?
__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo
while (list($key,$val)=each($yourarray)
> {
> if (!in_array($val,$distincts))
> {
> $distincts[]=$val;
> }
> }
>
> "Kancha ." wrote:
>
> > An array contains various values eg: list of
> fruits.
> > Now i want to retrieve only unique f
I've installed php 4.0.6 and sendmail in two different
servers. I want to use mail() function to send mails,
but as the server with php dosen't have a smtp server
it can't be done. Is there a way to point to my other
server which has sendmail; through
How about creating a mailing list will 19000 users and
then using the mail() function to send mail to that
list. so that you will not have to loop through.
--- John Meyer <[EMAIL PROTECTED]> wrote:
> How about croning the job and splitting up the load
> as you go.
> - Original Message -
I've users in a database classified by differnet
catagories. Now based on category I need to send mail
to all the users in a category.
Calling mail() function in a loop would be a kill for
the server as there are more than 1000 users in each
category.
Is there any way of doing this ?? Creating a
What is the maximum number of characters a variable of
type string can hold ?? Is there a restriction ??
$x = "adfafasfadfaf "
what is the max number of characters $x can hold ??
__
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every oc
what does this error mean. What should i do to make it
portable to future version of php. I'm using version
4.1.0
Warning: Call-time pass-by-reference has been
deprecated - argument passed by value; If you would
like to pass it by reference, modify the declaration
of [runtime function name](). If
I'm using php 4.1.0. In earlier versions of php i
could access parameters passed throught command line
as $argv[1], $argv[2] and so on. With the version that
i'm usign now it says undefined variable.
What is the new method of accessign command line
parameters ??
_
>> On Tuesday 19 March 2002 16:18, Kancha . wrote:
> > I'm using php 4.1.0. In earlier versions of php i
> > could access parameters passed throught command
> line
> > as $argv[1], $argv[2] and so on. With the version
> that
> > i'm usign now it sa
can anybody point me to tutorial, articles on
implementing design patterns using PHP ??
__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
'm using
Red Hat linux 7.2 and the ucd-snmp that comes along
it.
kancha
__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com
I get segmentation fault when i try to execute
snmpwalk or any other snmp related functions. I'm
running php 4.1.0 on RH linux 7.2 with ucd-snmp that
comes along with the linux distribution. I compiled
php with --with-snmp and the compilation was error
free. phpinfo() alsow displyas the snmp infor
-openssl
--- Rasmus Lerdorf <[EMAIL PROTECTED]> wrote:
> Backtrace? Works just fine for me on a RH-7.2 box.
>
> On Fri, 14 Dec 2001, Kancha . wrote:
>
> > I get segmentation fault when i try to execute
> > snmpwalk or any other snmp related functions. I'm
> &g
fault (11)
[Sat Dec 15 13:35:19 2001] [notice] child pid 15272 exit signal Segmentation
fault (11)
[Sat Dec 15 13:35:19 2001] [notice] child pid 15271 exit signal Segmentation
fault (11)
On Saturday 15 December 2001 13:01, Brian Clark wrote:
> * Kancha . ([EMAIL PROTECTED]) [Dec 15. 2001 01
4025e507 in __libc_start_main (main=0x8064648 , argc=2,
ubp_av=0xba24, init=0x8062760 <_init>, fini=0x813c500 <_fini>,
rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xba1c)
at ../sysdeps/generic/libc-start.c:129
(gdb)
On Saturday 15 December 2001 12:59, Yasuo Ohgaki
I've downloaded php 4.1.0 and ucd-snmp 4.2.3. I was able to compile snmp
successfully. Then i tried to compile php with snmp support. Followign is my
configure parameters
./configure --with-apxs=/usr/sbin/apxs --enable-calendar --with-pgsql
--with-snmp --enable-ucd-snmp-hack --enable-wddx --e
I'm in a smilar situation. I'm trying to telnet to a
RAS server using php and the process justs hangs. I
tried to telnet to other linux servers as well and the
result was same. fsockopen to other ports such as 21
or even 25 workds. It's just the port 23 that's giving
this strange problem.
So far
The following code generated garbase output. what is wrong ??
The output was as follows:
[root@ispms html]# php telnet.php
X-Powered-By: PHP/4.1.0
Content-type: text/html
ÿý▒ÿý ÿý#ÿý'[root@ispms html]#
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTEC
20 matches
Mail list logo