This is completely off the top of my head (i've never done this
before) -- but try single-quoting it to prevent interpolation
register_shutdown_function('$this-cleanup()');
Hiya,
thanks for the suggestion, but i get the same 'Unable to call ...' message.
Any other ways you can think of?
I
Try...
?
//$dirname should contain the directory name including it's full path...
$handle=opendir($dirname);
while ($file = readdir($handle)){
echo($file is located in the $dirname directory);
}
?
HTH,
Dw.
Sqlcoders.com Dynamic data driven web solutions
- Original Message
You could replace if by ASCII code (^M is actually a representation of ASCII
013, the CR character, thanks to
http://www.mindspring.com/~jc1/serial/Resources/ASCII.html for the ASCII
lookup table.).
This should fix it (untested)
?
$chrnumber = 13; //this is the ascii code for ^M
$nicestring =
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Great...
along with bieng infected with the klez virus,
everyone on php.net now has the address book of someone from the
Department of Juvenile Justice.
This is the best advertisment so far for why uncle sam should switch
to linux.
Vive le
solutions
- - Original Message -
From: Leotta, Natalie (NCI/IMS) [EMAIL PROTECTED]
To: 'Sqlcoders.com Programming Dept' [EMAIL PROTECTED]
Sent: June 06 2002 09:57 AM
Subject: RE: [PHP] Fwd: Worm Klez.E immunity - a public service by
Jess Ragaza of Internet Architecture, Inc
Message -
From: Chris Hewitt [EMAIL PROTECTED]
To: Sqlcoders.com Programming Dept [EMAIL PROTECTED]
Sent: June 06 2002 10:31 AM
Subject: Re: [PHP] Fwd: Worm Klez.E immunity - a public service by
Jess
Ragaza of Internet Architecture, Inc.
Dw,
Are you sure this originated from the source
Hiya,
You're using single quotes around all your strings,
for variables to be replaced with their values, you must use double quotes.
Try replacing every ' with .
HTH,
Dw
Sqlcoders.com Dynamic data driven web solutions
- Original Message -
From: Jule Slootbeek [EMAIL PROTECTED]
To:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi there,
I remember reading of a config setting in php.ini which lowered the
time PHP waits before clearing up/closing the socket out.
If it's a linux system you might want to try running netstat to see
the open net connections. If you see lots of
Hiya,
were you using the appropriate free_query close functions to free up the
memory more importantly the socket used to talk to the sql server?
You might want to try using the _pconnect function if it's available instead
of the usual _connect statement.
I'd guess that PHP ran out of sockets
Hiya,
I've been getting the strangest error:
Couldn't compile code. And I'm not smart enough to tell you why, sorry. in
c3.php on line 25
Here's a code listing, if anyone can give me a hint as to what's up that
would be great, this is the first time the PHP interpreter has thrown a
wobbly like
Hi there!,
In a word - script mappings.
In the IIS administrator,
you must associate the .php extension with the php interpreter.
Use the IIS help wizard to tell you how,
or:
1. Start Regedt32.exe and open the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC
Hi there!,
I've looked over this thread and from what I gather you want to know if you
can/should use JavaScript for redirecting, my usual way of going about
things is to put a JavaScript scriptlocation.href='page.aspx'/script
call in the head of the document (putting JS in the head causes it to
-
From: Sqlcoders.com Programming Dept [EMAIL PROTECTED]
To: php general [EMAIL PROTECTED]
Cc: Joshua E Minnie [EMAIL PROTECTED]
Sent: May 22 2002 09:14 PM
Subject: Re: [PHP] W2K SP2, PHP 4.2.1, IIS 5
Hi there!,
In a word - script mappings.
In the IIS administrator,
you must associate the .php
Sqlcoders.com Dynamic data driven web solutions
- Original Message -
From: David Duong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: May 22 2002 04:21 PM
Subject: [PHP] Making varibles (more than one) with a function.
I am aware that return can return strings but is their a set global
hiya,
twofish runs at just over 25MB/sec when compiled into a test VC++
application,
blowfish runs at 18MB/sec.
As far as I remember,
if you use the same keylenght (256 or 128) then you should get around the
same level of encryption (probably not exact, but if one was that much
weaker there'd be
Hiya!,
Have you tried adding this line in the very top of your script (just inside
the opening ? ):
DL(php_printer.dll);
(this call to load a dynamic extension must occur before any printer_
related functions, if it works at all)
Usually that works for me, if it doesn't work for you then check
when you make changes to php.ini.
Also, note that these functions are for the printer on the server, i.e.
where the code is running.
---John Holmes...
- Original Message -
From: Sqlcoders.com Programming Dept [EMAIL PROTECTED]
To: php general [EMAIL PROTECTED]
Cc: J. Wharto
What about MD5?
MD5 is a message digest I believe,
something akin to the oldstyle CRC32.
Then again I haven't used it much (just to verify a client's credit card
number without revealing the CC number).
HTH,
Dw.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi there!,
I've been testing some code for a company and I'm encountering something
which I've never found before,
right after making a call to a simple DB abstraction class which basically
just makes a call to odbc_connect, then odbc_do, and then loops through the
data saving the value of any
Hi there!,
When you include information from an include file, PHP treats the text as
inline code if you use the include() function.
In other words, if you use code like this:
?php
include 'file.php';
?
Then any functions inside file.php will be available just as if you'd
copy/pasted them in.
: savaidis [EMAIL PROTECTED]
To: Sqlcoders.com Programming Dept [EMAIL PROTECTED]
Sent: May 20 2002 08:42 AM
Subject: RE: [PHP] refresh (part of) a page?
Thanks a lot!
Is possible to make invisible the borders? I tried border=0 and
noborder
but didn't work.
Also to keep the 2 frames (I did
- Original Message -
From: Analysis Solutions [EMAIL PROTECTED]
To: PHP List [EMAIL PROTECTED]
Sent: May 17 2002 07:27 AM
Subject: Re: [PHP] PHP,CyberCash,Verisign,PayFlow
Hi Ryan:
Does this mean that if i want to start accepting credit cards on my site
i
wont have to pay for a
I think http://www.php.net/manual/en/function.number-format.php might
accomplish what you need.
HTH,
Dw
- Original Message -
From: Randum Ian [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: May 17 2002 08:44 AM
Subject: [PHP] Subscriber count from db
Hi all, Ive been searching
I've seen real-life examples of 100k pages going down to around 30k,
considering that decrease in size, when you remember that CPU time is
relatively cheap compared to bandwidth, it's worth the processing overhead
in my opinion.
Small (20k) pages probably aren't worth it,
for anything larger
Hiya,
I want to be able to raise an error in some code I'm creating for reuse,
most parts of this code deals with errors and just uses defaults as
appropriate,
but I need to be able to raise an error that will stop the PHP script
interpreter and throw an error back to the developer.
I've tried
25 matches
Mail list logo