Re: [PHP] syntax error

2004-01-26 Thread Phil Driscoll
.htm"); ?> replace the + symbols 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
have a DNS lookup failure. 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
docs directory. Can't remember exactly where that would 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] Going Mad

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

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

2002-08-12 Thread Phil Driscoll
he tree by a child node? 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
you can in external libraries. I would draw 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 unsubscr

Re: [PHP] Re: PHP 4.1.0 released

2001-12-11 Thread Phil Driscoll
re currently under 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 PROTEC

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

2001-12-04 Thread Phil Driscoll
l.txt 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
sounds like 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 Gen

Re: [PHP] php.ini executable

2001-10-29 Thread Phil Driscoll
ttings 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
re-structure 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/)

Re: [PHP] PWS

2001-08-29 Thread Phil Driscoll
so, maybe it's 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 proble

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

2001-08-17 Thread Phil Driscoll
the sensible behaviour) 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
e will work or not. I never had 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: [EMA

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

2001-08-16 Thread Phil Driscoll
php.exe (you don't need the %s %s stuff). If you do this to the master web site properties and tell it to override other script map extensions then all your web sites will map onto php. If you have different settings for each of the websites then you will have to configure each one

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 (h

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

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

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] Simple question (what's ISAPI ?)

2001-08-13 Thread Phil Driscoll
ility, change from IIS to Apache and run 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
ugh if you installed php using 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

Re: [PHP] CGI error

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

Re: [PHP] CGI error

2001-08-09 Thread Phil Driscoll
rs. The headers it did return 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://w

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

2001-08-01 Thread Phil Driscoll
after careful study. 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 addition

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

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 D

Re: [PHP] warnings in php4

2001-08-01 Thread Phil Driscoll
has been 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] Attitude of B van Ouwerkerk

2001-07-31 Thread Phil Driscoll
rom a native speaker who had plenty 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 PROTECT

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]

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] PHP_SELF

2001-07-30 Thread Phil Driscoll
t guarantee that your script is being called with sanitised data from on of your own pages. 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
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://www.php.net/) To unsu

[PHP] character conversion - horrible characters from MS Word

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

Re: [PHP] CGI error

2001-07-24 Thread Phil Driscoll
d if I understand what 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

Re: [PHP] 4.06 install problem

2001-07-24 Thread Phil Driscoll
this problem ? are there any > quick 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 cont

Re: [PHP] CGI error

2001-07-24 Thread Phil Driscoll
hat the web server does not have permission to read it, it sends authentication 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

Re: [PHP] php3 extension

2001-07-24 Thread Phil Driscoll
g for .php3 which 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] Strong typing?

2001-07-12 Thread Phil Driscoll
rong typing, 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
the PHP > looks 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

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

2001-06-27 Thread Phil Driscoll
0.6 unstable either change from ISAPI to CGI 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]

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

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] converting Word documents to something sensible

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

Re: [PHP] converting Word documents to something sensible

2001-06-24 Thread Phil Driscoll
a its gui and load 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 PROTECT

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 Dr

[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 Ge

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

2001-05-22 Thread Phil Driscoll
ays end up going if(isset($var) && strcmp($var,''))... 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
n is not. If the latter, you can double 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 P

Re: [PHP] PHP's OO is bad?

2001-05-13 Thread Phil Driscoll
e slowly than the non-OO. 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: Reliability of Window-version of PHP

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

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
configure IIS for you)? If so, create a file called test.php containing 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

Re: [PHP] PHP on PWS not working!

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

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 --

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 Mail

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] About last release

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

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] 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.dialso

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
available 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,

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

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

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

2001-04-24 Thread Phil Driscoll
me. I just 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

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 PROTE

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] Security

2001-04-18 Thread Phil Driscoll
pping in the internet 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 Lis

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

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

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

2001-04-16 Thread Phil Driscoll
;), "r"); if($f) { /*read the data from the file handle and deal with it as you wish - you might want to process it somehow, or just output it as part of the current page*/ fclose($fp); } Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://ww

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

[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] 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 511

Re: [PHP] windows 2000 install

2001-04-11 Thread Phil Driscoll
te you are playing with, the .php file extension is mapped onto the php.exe. Run a .php file containing just 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.dialsolution

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 Mail

[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 PROTECTE

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=4&id=9351 4159 A performance comparison of various web scripting languages. PHP does rather well! Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112

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
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

Re: [PHP] Multiple Inserts

2001-03-09 Thread Phil Driscoll
of the time, echo out the SQL 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] <[E

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

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

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] Help Please: Php configuration

2001-03-04 Thread Phil Driscoll
I'm guessing that you are adding the ISAPI version of php. If so, try installing it as a CGI instead (set the script mappings to php.exe instead of php4isapi.dll and remove php4isapi.dll from the filters list). Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112

Re: [PHP] Problems with IIS4 (Win2k)

2001-03-04 Thread Phil Driscoll
t the headers before IIS has already 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

Re: [PHP] PHP and SVG

2001-02-28 Thread Phil Driscoll
tainly on my 'to do' list. We do 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 -- P

Re: [PHP] access violation

2001-02-21 Thread Phil Driscoll
If you are using the ISAPI module, try changing to the cgi version and see if the problem goes away. Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org -Original Message- From: Wade Halsey <[EMAIL PROTECTED]> To:

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-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://

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

2001-02-16 Thread Phil Driscoll
d not allocated per-connection. Bad bad bad! I'm up to my eyeballs in another job at the moment, 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 IS

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] How to transfer "2.2864849511949E+190" to a normal-human-readable number?

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

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

Re: [PHP] PWS & PHP

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

Re: [PHP] PWS & PHP

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

Re: [PHP]

2001-02-14 Thread Phil Driscoll
hole. I'm pretty 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: [EM

Re: [PHP] OOP in web development

2001-02-14 Thread Phil Driscoll
;; could more fairly have used something like: $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 wa

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

2001-02-13 Thread Phil Driscoll
7;t see any advantage at all to missing the quotes out. Your example 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 -Or

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.dialsolut

  1   2   >