just want to ask how can i compile IMAP php in windows 98/2000 os?
the manual says that
"To get these functions to work, you have to compile PHP with --with-imap.
That requires the c-client library to be installed. Grab the latest version
from ftp://ftp.cac.washington.edu/imap/ and compile it. T
you can set the maximum execution timeu using either the
max_execution_time = 30 ; Maximum execution time of each script, in
seconds
setting in php.ini
or can set it at runtime for a script using the set_time_limit() function
check the php manual for more details.
hope that helps
Ankur
Richard,
I didn't test it but I would imagine that as long as your server is
configured correctly, the box (or site) IUSR account wouldn't have the
necessary priveledges to do anything chaotic. I didn't test that, so might
be worth testing.
If for some reason it does work (again I'd be surprised
Hi,
Has anyone had any luck accessing windows shares with the dir class?
ie.
$directory = "nt4server\\wwwroot";
This works in PHP3.0.16 but not in php4?
Anyone know why?
Attached is some test code which will list the contents of a directory on the screen.
--
PHP Windows Mailing List (h
The ISAPI version of PHP4 is very fast compared to the CGI version.
Unfortunately, it's about as unstable as it is fast. Unless you really need
the speed, stick with the CGI version. Also, the downloads might include more
dlls for use with the CGI version (read the info on the download...pretty
php-windows Digest 12 Feb 2001 22:49:30 - Issue 442
Topics (messages 5510 through 5533):
Re: How to save a file to a blob field?
5510 by: Winston Valenzuela
5512 by: Tom Mathews
Re: PHP 'include' function
5511 by: Tom Mathews
5519 by: Bikes
5521 by:
dHJ5IGFzc2lnbmluZyBpdCB0byBhbm90aGVyIHZhcmlhYmxlIGZpcnN0Og0KZm9yIC4uLi4NCgkk
dGFnID0gIiR0YWdfbnVtJGkiOw0KCSR0eXBlID0gInRhZ190eXBlJGkiOw0KCSRzcWwgPSAuLi4u
IFZBTFVFUyAoLi4uLCAkdGFnLCAkdHlwZS4uLi4pOw0KDQpJZ25hdGl1cw0KDQo+IC0tLS0tT3Jp
Z2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEFzZW5kb3JmLCBKb2huIFttYWlsdG8
I've written a little script that makes a form using a simple for loop:
if ( $num_reg != "" ) { //we're doing regulars
for ( $i = 1 ; $i <= $num_reg ; $i++ ) {
echo "A";
echo "";
echo "";
echo "\n";
}
The Article on PHP Builder is a great introduction to the XSL functions, but the
sample code uses file pointers instead of strings. Just this weekend I created the
following code based on the PHP sample:
$templateXSL = "d:/xml/filename.xsl"
// load the xls file as a strin
I have to agree with Phil. I've been running PHP on our NT 4 / IIS 4 box
for almost a year now without any problems while installed as a CGI. IMHO,
the ISAPI module should not be used on production machines on NT yet.
You should tell them that "hearing" and "researching the truth" are usually
t
Hi Phil,
On 12 February 2001 at 16:11:16 - (which was 16:11 where I live) words
of wisdom emanated from Phil Driscoll.
PD> PHP on NT as an ISAPI module is unstable on many systems. PHP as a CGI
PD> is rock solid stable - I have had no problems at all with php on any of
PD> my production (or
PHPBuilder.com has a good article:
Transforming XML with XSL using Sablotron
- http://www.phpbuilder.com/columns/justin20001025.php3
Regards,
Paul
- Original Message
From: "Antonio Lopez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 12, 2001 12:06 PM
Subject: [PHP
Hi,
I found following problem (maybe bug ?) in PHP 4.0.x.
When I try to read contents of UNC named directory, function:
opendir() always return success even when the directory doesn't exist.
readdir() always returns nothing even when the directory exists and contain
files.
PHP on NT as an ISAPI module is unstable on many systems. PHP as a CGI is
rock solid stable - I have had no problems at all with php on any of my
production (or test!) NT4 boxes.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
I need a sample code of a php that has a xml string, a xsl string, and
generates
html output.
I've seen the php.net manual sample, but doesn't work correctly !!!.
Thank you for your help!!!
===
Antonio López Luna
Ingeniería e Integración Ava
One of our ISPs is refusing to put PHP on their server(s) (I believe they
are using IIS). The reason they give is that they have heard that PHP is
unstable on the NT platform. Has anyone heard of problems using PHP in the
NT environment and if so what problems are there?
Thanks!
Victor Johansen
Guys
It was a while ago, and I recall two ways of doing it - the blunt and
clumsy way which is not good for internet applications (OK for intranet
where download time isn't an issue) (which I can remember) and the
really cool sophisticated way (which I can't remember off hand, so I'll
have to dig
Hello.
I have been asked to provide php support for all the websites on my IIS5
server, but I am not entirely sure what benefits the bigger 3.6meg API
install will bring me over the smaller CGI install. Do I need it? Should I
use it?! Any comments much appreciated!
Thanks
Jeremy
_
Me too!
Gonzalo.
> Mathews, could you dig out that script please? I think I might need it.
> Bikes
> -Original Message-
> From: Tom Mathews
> Cc: [EMAIL PROTECTED]
> Sent: 2/12/01 11:02 AM
> Subject: Re: [PHP-WIN] PHP 'include' function
> I'm going to sound like a database freak,
How are these functions controlled? Like, if I install this dll, will
anyone with a site on my server be able to use these functions? Are there
any restrictions as to how they can be used?
Thanks,
Rick
-Original Message-
From: David Harrison [mailto:[EMAIL PROTECTED]]
Sent: Sunday, Feb
Mathews, could you dig out that script please? I think I might need it.
Bikes
-Original Message-
From: Tom Mathews
Cc: [EMAIL PROTECTED]
Sent: 2/12/01 11:02 AM
Subject: Re: [PHP-WIN] PHP 'include' function
I'm going to sound like a database freak, but my solution to nearly all
'dynam
Don't run it from the browser - just grab the php.exe and invoke the script
thusly:
php.exe script.php
from the command line.
Make sure you have set_time_limit(0) in there at the top.
To make sure its progressing as expected, put in some sort of progress
indicator - ie, if you're processing 1,
Something doesn't seem right here.
I've executed scripts that have taken 4 hours to complete in the past and
the only thing I had to set was:
set_time_limit(0);
Are you echoing anything to the screen, if not maybe you should after every
loop increment, you may also need to use the flush() comma
I'm using a mySQL database but to be honest I think the only thing that was
timing out was the browser, since hacking the registry to eliminate that
timeout the only thing I can do is wonder why it only finishes half what it
is supposed to do.
I'll try it on a faster machine later - it's on a AMD
I think there are timeouts on php as well:
This is taken from the php.ini file.
max_execution_time = 30 ; Maximum execution time of each script, in
seconds
I hope this helps you, you can find php.ini in your windows directory.
If you are using a database, also check that for timeouts.
D.
You could try putting this at the top of your script:
ignore_user_abort(true);
Although, if it taking 20-30 mins, then I think you may need to optimize
your code, or get a WinNT box with a bit more boot.
If you want, I can quote
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel:
Hi,
I have PHP3 and MySQL on Win98 and am trying to run a script that loops
through a file making process and it needs about 20 - 30 minutes to run. It
generates static HTML files based on content in a database. I've increased
Internet Explorer's timeout to allow for this but for some reason only
Easier to diagnose if you tell us what the error was?
Winston Valenzuela wrote:
> I'm using ODBC to connect to my Interbase 6 database. Using the code:
>
> $post_stmt = "Insert into
> MSGTABLE(firstname,middlename,lastname,msg_subject,msgbody,remote_ip)
> values('$fname','$mname','$lname','$subj
I'm going to sound like a database freak, but my solution to nearly all
'dynamic' pages is to pull everything out of a database -
My implementation would probably be four fields - ID, Name (to display in
the select list), text and image. You query the db to get a list of 'Name's
and then use the I
And this is the error that appears on the browser..
Warning: SQL error: [INTERSOLV][ODBC InterBase driver][InterBase]conversion
error from string "BLOB", SQL state S1000 in SQLExecDirect in
c:/homepages/message/post.php on line 7
> I'm using ODBC to connect to my Interbase 6 database. Using the
php-windows Digest 12 Feb 2001 09:28:52 - Issue 441
Topics (messages 5507 through 5509):
Re: addslashes() and binary data
5507 by: Ignatius Teo
Re: php access query problem
5508 by: Bob Hall
How to save a file to a blob field?
5509 by: Winston Valenzuela
Administr
I'm using ODBC to connect to my Interbase 6 database. Using the code:
$post_stmt = "Insert into
MSGTABLE(firstname,middlename,lastname,msg_subject,msgbody,remote_ip)
values('$fname','$mname','$lname','$subj','$mssg','$remote_ip')";
and the msgbody field is a blob type. and the data came from a t
32 matches
Mail list logo