with . and also date(F) should be date('F'). If you
really want to add 2003.php to the end then you should add it and not
2003.htm.
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
If you are requesting the web page in the form http://127.0.0.1/myphpfile.php
then I guess it must be the former. Can you access a plain html non-php file
on the server?
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the AddType line for php in
httpd.conf and restarted Apache. If your file is test.php then the
.php must be part of the AddType line.
...or you are viewing the page as file://foo.php rather than
http://localhost/foo.php
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net
be on a windows box - something like c:/program files/apache
group/apache/htdocs maybe.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
?
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the line into a bitmap which was exactly twice the size required
and then scale the image back to the correct size when you've done with
imagecopyresampled.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
preparation and will be posted on the site ASAP. We'll make an
announcement on the lists once they are there.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
file supplied with the
windows distribution of php.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
there is a problem in your code.
...or, if your platform is windows, php is not installed correctly or your
web server is not configured correctly - in which case the install.txt file
which comes with the windows distribution will help you out.
Cheers
--
Phil Driscoll
--
PHP General Mailing List
to get the software working.
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
the internal links within the pages.
Might be time to write my own ...
Try httrack - think there are versions for multiple platforms. I've used the
windows version to great effect.
http://httrack.free.fr
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
just that you have not configured the web server to map
.php3 extensions. The installer defaults to only mapping .php although you
can explicitly enable the deprecated .php and .phtml extensions for backward
compatibility if you want.
Post again if that's not the problem.
Cheers
--
Phil
) is to
pass the script name to the exe it calls.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
this problem with Apache
under win32, but I have with IIS. I would definitely leave them in there.
I'll have to strongly disagree with your disagreement ;)
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Usually when PHP brings other IIS services down it is because you are running
the ISAPI module version of PHP rather than the CGI. If this is the case, you
need to switch to using php.exe.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
On Tuesday 14 August 2001 19:23, Phil Driscoll wrote:
as long as phpts.dll is in the same directory as the main php executable or
but should have written
as long as php4ts.dll is in the same directory as the main php executable or
Sorry!
--
Phil Driscoll
--
PHP General Mailing List (http
think that working this way vastly reduces the chances of 'old' php files
messing up an installation.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
the Apache module version of PHP.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
the 'Installer' distribution, it will have configured PWS
correctly.
Sometimes, PWS seems to get itself into a strage state where you can't get it
to work no matter what you try. Some people have had success after
reinstalling PWS. Others just dump it and use Xitami or Apache.
Cheers
--
Phil Driscoll
are:
Why is this error happening ?
Read, and follow the instructions on this matter as documented towards the
end of the install.txt file which came with your distribution.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
not exist then the server will return a 404
error instead.
There is also the additional benefit that IIS will do any authentication
required for you
based on the NTLanMan permissions on your script file.
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
compromised.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
On Wednesday 01 August 2001 13:29, Phil Driscoll wrote:
Every warning message you get represents an
opportunity for a malicious user to find a secutiry hole in your code.
Oops - I meant to say 'security hole' - I wish both my hands would type at
the same speed :)
--
Phil Driscoll
--
PHP
Is this staement safe ?
eval('$a = $GLOBALS[pass1]==$GLOBALS[pass2]');
Maybe I'm missing the point, but why not just go:
$a = $GLOBALS[pass1]==$GLOBALS[pass2];
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
. If it was my project, I think I would devise a system
which avoided the use of eval - even if it meant losing some performance and
versatility.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Use the gmp extension.
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
On Tuesday 31 July 2001 15:26, Richard Ellerbrock wrote:
I thought about that but that would require almost everybody using my app
(OpenSource) requiring a rebuild of php. This would really detract from its
usefulness.
--
Richard Ellerbrock
[EMAIL PROTECTED]
Phil Driscoll [EMAIL
of
time to construct an email, and plenty of patience for someone who should
have RTFM.
I say, be grateful he is sparing some time to contribute!
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
:)
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
(other than moving the included
files outside your webroot), as it means there is no chance of an included
file being parsed without it's normal surrounding code which may provide a
security hole in your system.
Do it this way
--
Phil Driscoll
--
PHP General Mailing List (http
.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
is the same as the entry you currently have
for .php.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
headers (or does all that NT
authentication unpleasantness if you have it enabled) in order to attempt to
get sufficient permission to read the file.
Basically, this is just the way IIS works. You'd get exactly the same results
with any other cgi script interpreter.
Cheers
--
Phil Driscoll
remedies ?
There are some tips on what to do near the bottom of install.txt
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
you are telling me, it should've given me a 404
error.
No - if you didn't get a 404 error then the file was there, but maybe the
browser did a secret handshake with IIS to give it permission to load the
file.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net
On Tuesday 24 July 2001 23:59, Jason Bell wrote:
if (image/pjpeg == $type) { print Type is JPG; };
you need to put image/jpeg in quotes.
Ideally you would also do a safer string comparison than ==
eg if(!strcmp('image/jpeg',$type))
--
Phil Driscoll
--
PHP General Mailing List (http
, then PHP is not the language for you!
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
syntax checking you
do.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
not working becouse nothing happen when I load some PHP file.
I need your help, I spend some time on these and I can not do PHP works.
Can you show us the changes you made to your httpd.conf file?
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
or if you can, change
from IIS to Apache and use the Apache module version of PHP.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail
have serious
problems with the stability of the ISAPI module version of PHP.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
On Tuesday 26 June 2001 11:24, Brave Cobra wrote:
So, people, when using PHP authentication, please use a Linux box!!! The
windows version doesn't really work (at all).
...or the Apache module on NT.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
(and I'm sure
others on the list) would be grateful to hear your results.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
so I am
determined to translate them to something sensible (html, rtf or pdf will do)
at the server. The server is a Linux box so there's no opportunity to play
any tricks with COM.
Has anyone come across any tools to do this, using php or otherwise?
Cheers
--
Phil Driscoll
--
PHP General
On Sunday 24 June 2001 15:06, Duncan Hill wrote:
Google reveals
http://www.logictran.com/
They seem to have an RTF to html utility which will run on multiple
platforms, but the thing that converts word documents directly requires a
copy of Word on the server :-(
Cheers
--
Phil Driscoll
a Word file
from the project I'm working on, the software crashed and exited with a load
of panic messages :(
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
,''))...
Just a dream :)
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
check the registry settings, try to reinstall
PWS, or better yet, install Apache or Xitami.
Cheers
--
Phil Driscoll
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators
on the stability/robustness
front. Depending on the complexity of your scripts, you may have some
performance issues at times of peak load. Suck it and see if you can.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing
www.phorum.org
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
for you)?
If so, create a file called test.php containing
?php phpinfo(); ?
and save it into your web root directory (usually C:\inetpub\wwwroot
then from your browser go to
http://localhost/test.php
and you should be up and running.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http
good.
If you are using ASP then I think that moving to Xitami is not an option
(someone correct me if I'm wrong with that guess).
In the same vein, IIS only runs on NT server and W2K so that may not be an
option - and in any case that would fall over with the ISAPI module as well.
Cheers
--
Phil
and
rebooting will ensure that the module is no longer loaded in the filters
list, and as long as PWS still starts then you are on to a winner!
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing List (http
As it says in the installation notes, the ISAPI module is not ready for
production use - and what you are witnessing is its favourite trick!
If you are an IIS wizard and are able to investigate why it goes wrong, your
input would be most welcome!
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0
if you get a page full of html - the output of
phpinfo() - or some error messages. If you get the html, then php is working
fine but your PWS configuration is not.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing
There is an ISAPI module version of PHP but it is very creaky on anything
less than Windows 2K, however if you are prepared to change from PWS to
Apache, the PHP module for that server API is much more robust.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http
the cgi
version - the 4.0.5 on does exactly the same.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
I downloaded the distribution from www.php.net, so it's from the same
distribution but it doesn't work. What should I do?
Try again with 4.0.5 when once the binary zip appears on the downloads page.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http
4.0.5 later today if all goes to plan.
Cheers
PS When you do get it working you still may have problems since you have
configured PWS to use the ISAPI module which you may find to be pretty
unstable. I would advise use of the CGI version of PHP if things are a bit
flakey.
--
Phil Driscoll
Dial
for your server platform - which it probably isn't if your server is
powerful enough for the job :)
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
listened to the opinion and chickened out defaulting the installation to
C:\php (easily overridden by the user). I never did any tests on the space
issue, but it may be worth considering here before coming to a conclusion.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http
in C:\ IMHO.
I don't care too much where things go as long as it works, but certainly, if
we want to make things easier for users, we should bear in mind that all the
IIS/PWS management tools default to looking in SYSTEMROOT\system32\inetsrv
for things when configuring scriptmapping.
Cheers
--
Phil
Download the larger Windows binary zip from the php downloads page - that
includes the Apache module.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
echo Here is a $string, {$myArray[joe]} with $alot of PHP $variables;
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
service manager, but
frightening to find out you've been running your servers for several years
whilst unaware of the problem.
Cheer
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Instead of:
header("Content-disposition: filename=backup.csv");
try
header('Content-Disposition: attachment; filename=backup.csv');
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing List (http://w
Richard wrote:
ASP is a pathetic framwork.
So it's a good idea to give people ways of migrating from it to PHP :)
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
For those who need to convince their bosses that PHP (+mysql +apache) is up
to the job, the following (recently slashdotted) link may be useful:
http://www.webtechniques.com/archives/2001/05/hong/
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http
It may not be responsible for the error, but you ought to move your fclose
to before your return(true) statement, as it never gets executed at all in
your code.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General
Except that I get this error:
open(/tmp\sess_fdf19ffc4a1192dd55183d067fc765fd, O_RDWR) failed: m (2) in
Looks like your session.save_path is set incorrectly - set it to a sensible
windows path (eg C:\php\session or similar)
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http
are playing with, the .php file extension is mapped onto the
php.exe.
Run a .php file containing just ?php phpinfo();? from your web browser on
localhost.
If that works, great. If not, tell us exactly what happens.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
try preg_match
A bit of a big hammer for cracking nuts.
strstr and stristr will tax your server much more lightly, and, no doubt, do
the job quicker as well.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing
like a dream, I'd be most grateful.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
this
period.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
I guess you have installed the ISAPI module which, as stated in the
instructions, is not very stable.
Switch to the cgi version and all will come good. Change php4isapi.dll to
php.exe in your script mappings, and remove phpp from the filters list.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0
Posted in a discussion on Slashdot today was a this link:
http://www.perlmonth.com/features/benchmarks/benchmarks.html?issue=4id=9351
4159
A performance comparison of various web scripting languages. PHP does rather
well!
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http
Same as C
switch($something)
{
case "this": do that;break;
case "those":case "them": do other; break
...
default: print error
}
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
a simple setup, or
Apache if your needs are more complex. Either way you'll have less bother
than with PWS.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
statement and see if that looks silly in any way.
Good luck.
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Friday, March 09
The # goes at the end of the URL after the query string stuff. Once there,
it should be easy to strip off the joe by looking for the last # in the
string (not that there will be more than 1!).
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http
and
then process them as you wish (eg with nl2br etc).
No doubt, you will be told another hundred ways to do it as well :)
Cheers
PS Interesting postal address - I frequent the Beeswing pub on Hull Rd every
Thursday evening with members of the old car club I'm in!
--
Phil Driscoll
Dial Solutions
+44 (0
acted on them. This affects authentication
and probably some other stuff as well.
You will probably also find that the CGI version is much more reliable than
the ISAPI module.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP
a simple
drawing program for schools which exports SVG, and I had toyed with the idea
of generating an SVG extension module for PHP, however I couldn't dream up
many functions which you couldn't easily implement in php itself.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http
Make sure that upload_tmp_dir in your php.ini file is set to something
sensible for a windows machine.
I have it set to f:\php\temp (and you also need to make sure that the
directory specified actually exists).
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http
point, the inaccuracies are phenomenal - you
can't really expect to do any useful calculations with the numbers, and
you're not too far away from banging into numeric overflows.
It would be interesting to know what you are doing!
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http
Well, the numbers are a bit silly for doing this sort of thing, but the seg
fault is clearly a bug!
Can you report it please. (bugs.php.net)
Thanks
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
-Original Message-
From: Ben
, but if anyone has brewed
up a windows binary with this fix in, I'd be happy (even delighted if it
works!) to spend 10 minutes testing it on my NT4 box as I have never been
able to get the ISAPI module to work reliably on it.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http
That's probably not what you were having trouble with, because this entire
piece of code didn't really exist until recently...
Drat :)
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP CVS Mailing List (http://www.php.net
\CurrentControlSet\Services\w3svc\parameters\Scrip
t Map]
".html"="[PUT PATH HERE]\\php.exe"
The registry entry will be the same as the .php one you already have, but
will be called .html
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dt
were accessing them
as something like http://localhost/myfile.php
With the PWS scriptmap key set for .html, are you saying that accessing a
file http://localhost/myfile.html just returns you the unparsed raw php
stored in myfile.html
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
First Thanks !
well yes when i call http://localhost/myfile.html
it skips the php syntaxes it shows wht is only in the html tags!
Can you check that a view source shows all your php code.
What OS are you running - 9x or NT WS?
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http
t=create_table();
$t['options'] = "nowrap";
$t['heading']['bgcolor']= "black";
etc.
As you can see, there is hardly any difference at all.
My point is really that you can use whatever technique you want, but you can
get your code reuse, readability and maintainability from
retty sure it can't be done.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contac
This is the correct format:
doWhatSoEver($foo['bar']);
If your error reporting level is set high enough, php will complain about
$foo[bar] unless you have defined bar as a constant elsewhere.
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http
mple could be written
print "Hello there {$client['name']}";
Sorry to sound stroppy :)
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
-Original Message-
From: Derek Sivers [EMAIL PROTECTED]
To: Matthias Krehl [EMAIL P
represent the number as floating point, and I'll probably lose
some precision.
Has anybody been here before and found a good mode of working in the
unsigned 32bit arena?
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General
In spite of yor best efforts here, PHP converts the string values to numbers (because
the strings look like numbers) before doing the comparison.
Force a string comparison by using strcmp and everything will work fine - remember
that strcmp returns true if the strings are not equal and false
Can I also write that like the following?
if (strcmp($pick1,$pick2) == 0)
{
perform some action;
}
that will work, but I prefer
Can I also write that like the following?
if (!strcmp($pick1,$pick2))
{
perform some action;
}
Cheers
Phil
--
PHP General Mailing List
Everyone say : "Good morning mr. Lynch" !
Hear Hear! I was all overcome with a wave of nostalgia :)
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
' script will sometimes work, so the dll definitely gets
loaded.
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
1 - 100 of 107 matches
Mail list logo