Re: [PHP] syntax error

2004-01-26 Thread Phil Driscoll
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

Re: [PHP] installing php onto xitami, HELP!

2003-10-29 Thread Phil Driscoll
. 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

Re: [PHP] Going Mad

2002-11-30 Thread Phil Driscoll
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

Re: [PHP] Going Mad

2002-11-30 Thread Phil Driscoll
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

Re: [PHP] Executing a file with rtf-extension

2002-08-12 Thread Phil Driscoll
? Cheers -- Phil Driscoll -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Antialiasing with GD..?

2001-12-13 Thread Phil Driscoll
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

Re: [PHP] Re: PHP 4.1.0 released

2001-12-11 Thread Phil Driscoll
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

Re: [PHP] : IIS server doesn't recognize PHP pages

2001-12-04 Thread Phil Driscoll
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]

Re: [PHP] Error with Netscape 6.2

2001-11-14 Thread Phil Driscoll
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

Re: [PHP] php.ini executable

2001-10-29 Thread Phil Driscoll
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]

Re: [PHP] Mirroring Website

2001-10-03 Thread Phil Driscoll
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

Re: [PHP] PWS

2001-08-29 Thread Phil Driscoll
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

Re: [PHP] Re: [PHP-WIN] Installation failed ! Please Help!

2001-08-17 Thread Phil Driscoll
) 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]

Re: [PHP] Re: [PHP-WIN] Installation failed ! Please Help!

2001-08-16 Thread Phil Driscoll
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

Re: [PHP] bizarre problems with php_gd.dll and IIS

2001-08-14 Thread Phil Driscoll
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

Re: [PHP] [PHP-WIN] Re: installation on windows

2001-08-14 Thread Phil Driscoll
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

Re: [PHP] [PHP-WIN] Re: installation on windows

2001-08-14 Thread Phil Driscoll
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

Re: [PHP] Simple question (what's ISAPI ?)

2001-08-13 Thread Phil Driscoll
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]

Re: [PHP] CGI error

2001-08-10 Thread Phil Driscoll
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

Re: [PHP] CGI error

2001-08-09 Thread 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

Re: [PHP] CGI error

2001-08-09 Thread Phil Driscoll
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

Re: [PHP] warnings in php4

2001-08-01 Thread Phil Driscoll
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]

Re: [PHP] warnings in php4

2001-08-01 Thread Phil Driscoll
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

Re: [PHP] Re: Trying to avoid code exploits..

2001-08-01 Thread Phil Driscoll
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

Re: [PHP] Re: Trying to avoid code exploits..

2001-08-01 Thread Phil Driscoll
. 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

Re: [PHP] Workaround for binary arithmatic

2001-07-31 Thread Phil Driscoll
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]

Re: [PHP] Workaround for binary arithmatic

2001-07-31 Thread Phil Driscoll
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

Re: [PHP] Attitude of B van Ouwerkerk

2001-07-31 Thread Phil Driscoll
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

[PHP] character conversion - horrible characters from MS Word

2001-07-30 Thread Phil Driscoll
:) 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]

Re: [PHP] Find and Replace

2001-07-30 Thread Phil Driscoll
(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

Re: [PHP] PHP_SELF

2001-07-30 Thread Phil Driscoll
. 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]

Re: [PHP] php3 extension

2001-07-24 Thread Phil Driscoll
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]

Re: [PHP] CGI error

2001-07-24 Thread Phil Driscoll
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

Re: [PHP] 4.06 install problem

2001-07-24 Thread 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

Re: [PHP] CGI error

2001-07-24 Thread Phil Driscoll
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

Re: [PHP] String Comparison

2001-07-24 Thread Phil Driscoll
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

Re: [PHP] Strong typing?

2001-07-12 Thread Phil Driscoll
, 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]

Re: [PHP] Security of PHP code

2001-07-04 Thread Phil Driscoll
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]

Re: [PHP] Installation PHP on W2K and Apache

2001-07-02 Thread Phil Driscoll
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

Re: [PHP] PHP crashing IIS 5 on Wnidows 2K

2001-06-27 Thread Phil Driscoll
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

Re: [PHP] Authentication

2001-06-26 Thread Phil Driscoll
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

Re: [PHP] Authentication

2001-06-26 Thread Phil Driscoll
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

Re: [PHP] converting Word documents to something sensible

2001-06-25 Thread Phil Driscoll
(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

[PHP] converting Word documents to something sensible

2001-06-24 Thread Phil Driscoll
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

Re: [PHP] converting Word documents to something sensible

2001-06-24 Thread Phil Driscoll
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

Re: [PHP] converting Word documents to something sensible

2001-06-24 Thread 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

Re: [PHP] what's the diff between if($var1) and if(isset($var1)) and if(!empty($var1))???

2001-05-22 Thread Phil Driscoll
,''))... 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]

Re: [PHP] php on PWS

2001-05-15 Thread Phil Driscoll
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

Re: [PHP] Re: Reliability of Window-version of PHP

2001-05-11 Thread Phil Driscoll
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

Re: [PHP] bulletin board or forum

2001-05-10 Thread Phil Driscoll
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

Re: [PHP] Installing PHP 4.0.5 on win 2000 Professional

2001-05-07 Thread Phil Driscoll
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

Re: [PHP] PHP on PWS not working!

2001-05-06 Thread Phil Driscoll
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

Re: [PHP] PHP on PWS not working!

2001-05-06 Thread Phil Driscoll
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

Re: [PHP] ISAPI

2001-05-04 Thread Phil Driscoll
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

Re: [PHP] HELP!! PHP not working Suddenly!!!

2001-05-04 Thread Phil Driscoll
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

Re: [PHP] PHP as MODULE CGI Version of PHP

2001-05-02 Thread Phil Driscoll
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

Re: [PHP] About last release

2001-05-02 Thread Phil Driscoll
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

Re: [PHP] Loading PHP module on Win98

2001-05-01 Thread Phil Driscoll
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

Re: [PHP] Loading PHP module on Win98

2001-04-30 Thread Phil Driscoll
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

Re: [PHP] SVG PHP

2001-04-25 Thread Phil Driscoll
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

Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c

2001-04-24 Thread Phil Driscoll
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

Re: Re[3]: [PHP-CVS] cvs: php4 /main config.w32.h php_ini.c

2001-04-24 Thread Phil Driscoll
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

Re: [PHP] Building as an Apache module

2001-04-23 Thread Phil Driscoll
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

Re: [PHP] Associative arrays in strings

2001-04-23 Thread Phil Driscoll
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

Re: [PHP] Security

2001-04-18 Thread Phil Driscoll
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

Re: [PHP] temp file help

2001-04-17 Thread Phil Driscoll
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

Re: [PHP] How do i include ASP script into PHP...??!

2001-04-16 Thread Phil Driscoll
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

[PHP] Big sites running PHP

2001-04-14 Thread Phil Driscoll
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

Re: [PHP] strange error

2001-04-14 Thread Phil Driscoll
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

Re: [PHP] install question:php and mysql on win NT 4

2001-04-13 Thread Phil Driscoll
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

Re: [PHP] windows 2000 install

2001-04-11 Thread Phil Driscoll
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

Re: [PHP] String in a string

2001-04-06 Thread Phil Driscoll
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

[PHP] Cobalt RaQ XTR(slightly OT)

2001-04-03 Thread Phil Driscoll
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

Re: [PHP] file deletions ....

2001-03-28 Thread Phil Driscoll
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

Re: [PHP] Using php4.02 on IIS5

2001-03-20 Thread Phil Driscoll
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

[PHP] Benchmarks

2001-03-16 Thread Phil Driscoll
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

Re: [PHP] switch with multiple case

2001-03-14 Thread Phil Driscoll
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 --

Re: [PHP] SOS !

2001-03-12 Thread Phil Driscoll
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

Re: [PHP] Multiple Inserts

2001-03-09 Thread Phil Driscoll
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

Re: [PHP] [A bit OT but not] Anchors and Query strings

2001-03-06 Thread Phil Driscoll
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

Re: [PHP] Please Help!!!! - Really BASIC stuff!

2001-03-06 Thread Phil Driscoll
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

Re: [PHP] Problems with IIS4 (Win2k)

2001-03-04 Thread Phil Driscoll
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

Re: [PHP] PHP and SVG

2001-02-28 Thread Phil Driscoll
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

Re: [PHP] File upload problem on IIS/NT4

2001-02-20 Thread Phil Driscoll
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

Re: [PHP] How to transfer 2.2864849511949E+190 to a normal-human-readable number?

2001-02-16 Thread Phil Driscoll
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

Re: [PHP] How to transfer 2.2864849511949E+190 to a normal-human-readable number?

2001-02-16 Thread Phil Driscoll
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

Re: [PHP-CVS] cvs: php4 /sapi/isapi php4isapi.c

2001-02-16 Thread Phil Driscoll
, 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

Re: [PHP-CVS] cvs: php4 /sapi/isapi php4isapi.c

2001-02-16 Thread Phil Driscoll
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

Re: [PHP] PWS PHP

2001-02-15 Thread Phil Driscoll
\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

Re: [PHP] PWS PHP

2001-02-15 Thread Phil Driscoll
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

Re: [PHP] PWS PHP

2001-02-15 Thread Phil Driscoll
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

Re: [PHP] OOP in web development

2001-02-14 Thread Phil Driscoll
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

Re: [PHP] intput type=\file\ .....

2001-02-14 Thread Phil Driscoll
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

Re: [PHP] foo[bar] _or_ foo['bar'] ?

2001-02-13 Thread Phil Driscoll
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

Re: [PHP] foo[bar] _or_ foo['bar'] ?

2001-02-13 Thread Phil Driscoll
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

[PHP] building binary data structures

2001-02-11 Thread Phil Driscoll
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

Re: [PHP] comparisons

2001-02-11 Thread Phil Driscoll
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

Re: Re: [PHP] comparisons

2001-02-11 Thread Phil Driscoll
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

Re: [PHP] uploading file

2001-02-08 Thread Phil Driscoll
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

Re: [PHP] I wish: IIS and ISAPI $PHP_AUTH_USER

2001-02-07 Thread Phil Driscoll
' 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   2   >