[PHP] Re: New to mac and trying to define a php.ini file.

2012-01-04 Thread Phil Dobbin
/etc/php.ini If you want to use the php installed by xampp, you have to adjust the PATH to php in your .bashrc/.bash_profile to suit. There are about a million examples of how to achieve this on Google. Cheers, Phil... -- Nothing to see here... move along, move along -- PHP Genera

Re: [PHP] PHP syntax - novice question

2011-10-29 Thread Phil Dobbin
On 30/10/11 at 01:18, si...@welsh.co.nz (Simon J Welsh) wrote: > It seems as though your editor has changed the normal quotes around > into "pretty" > quotes. Change the ‘s and ’s back to '. Hi, Simon. Thanks for that. Couldn’t see for looking... Cheers, Phil

[PHP] PHP syntax - novice question

2011-10-29 Thread Phil Dobbin
} ### The syntax checker calls the first instance ofecho ‘’; saying unexpected > I’m at a loss to understand why... I’m using PHP 5.3.8 & PEAR 1.9.4 with MySQL 5.1.59 on Mac OS X 10.6.8. Any help appreciated. C

[PHP] Need help debugging random httpd segfault

2011-03-09 Thread Phil
Hello list, We've been experiencing random crashes on httpd, error_log shows a bunch of [notice] child pid 12984 exit signal Segmentation fault (11) PHP 5.2.17: ./configure --with-apxs2=/var/www/bin/apxs --with-gd --with-jpeg-dir=/usr/local --with-pgsql --with-pdo-pgsql --with-png-dir=/usr/local

Re: [PHP] Change styling depending on var value

2009-11-23 Thread Phil Matt
just plain dumb. Cheers --- Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Change styling depending on var value

2009-11-20 Thread Phil Matt
Ashley Sheridan wrote: put var_dump($row); I inserted this line in the script at the end of the html table, still inside the PHP echo statement. This yields: bool(false) Cheers --- Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Change styling depending on var value

2009-11-20 Thread Phil Matt
count for var_dump() in... I reread the PHP manual for var_dump. I still don't see where it goes in the PHP script or how to implement it. Cheers --- Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Change styling depending on var value

2009-11-20 Thread Phil Matt
Ashley Sheridan wrote: That's not a vardump, a vardump would contain the type of variable. I wanted to see the whole thing. I played with this for a while and checked the PHP manual; not sure how to use this. Cheers --- Phil -- PHP General Mailing List (http://www.php.net

Re: [PHP] Change styling depending on var value

2009-11-20 Thread Phil Matt
test data until I get the formatting right. Cheers --- Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: RES: [PHP] CSS and variables

2009-11-20 Thread Phil Matt
Jônatas Zechim wrote: Try: echo '' . $row[1] . ''; Thanks, Jônatas. This was the solution. Cheers --- Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Change styling depending on var value

2009-11-20 Thread Phil Matt
. Thanks, Dan. I had checked that a while ago. I also tried the same script on a different row, changing the strings in the variables to match the data in the fields - same result, always defaults to the ELSE color. Cheers --- Phil -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Change styling depending on var value

2009-11-20 Thread Phil Matt
of $newcolor, all of the styled cells change to whatever color I specify there. I went back and browsed the db table to see to make sure I had the right row and that the entries matched my references - no probs there. Cheers --- Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Change styling depending on var value

2009-11-20 Thread Phil Matt
I am trying to style HTML table cells depending on the values stored in a MySQL db. Thanks to other on this list, I can now refer to the variable that holds a CSS styling value. Now, I need to apply different values of that variable, depending on the content of the table cell itself. I tried

[PHP] CSS and variables

2009-11-20 Thread Phil Matt
De-lurking here. I'm trying, with no success, to use some CSS styling on my PHP output. Here's the code I want to style: echo ''.$row[0].''.$row[1].' I want to use a CSS style for the second cell, picking up the style from the value of a variable. I tried this: $newcolor = "color: red"; '

Re: [PHP] preg_match_all question

2009-01-16 Thread Phil Ewington - iModel Ltd.
Robert Cummings wrote: On Fri, 2009-01-16 at 09:42 +, Phil Ewington - iModel Ltd. wrote: Hi All, Having an issue with regular expressions, never been my strong point! The following pattern only picks up one instance per line, if more than one instance exists all text from first {{ to

[PHP] preg_match_all question

2009-01-16 Thread Phil Ewington - iModel Ltd.
{lang:(.*)\}\}/", $str, $tags); Here is an example of what needs to be processed {{lang:PA1Feature1}}{{lang:PA1Feature2}} {{lang:PA2Feature1}}{{lang:PA2Feature2}} TIA Phil. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PECL JSON package

2008-12-11 Thread Phil Ewington - iModel
Eric Butera wrote: On Thu, Dec 11, 2008 at 5:43 AM, Phil Ewington - iModel wrote: Phil Ewington - iModel wrote: Hi All, I have just installed the PECL JSON package, or at least think I have!! But how do I use it?? I was expecting /usr/share/pear/Services/JSON.php to be found on my

Re: [PHP] PECL JSON package

2008-12-11 Thread Phil Ewington - iModel
Phil Ewington - iModel wrote: Hi All, I have just installed the PECL JSON package, or at least think I have!! But how do I use it?? I was expecting /usr/share/pear/Services/JSON.php to be found on my system for include but not so. My system tells me I have 1.2.1 successfully installed but I

[PHP] PECL JSON package

2008-12-11 Thread Phil Ewington - iModel
me how to make use of it. I am running PHP 5.1.6 at present. TIA Phil. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] I know this is not easy and I'm not stupid but...

2007-08-09 Thread Phil Curry
Please include the list when replying. Phil Curry wrote: Phil Curry wrote: how can this be? This is not the first time I've run into a situation like this. What am I missing? line 102echo ($userValues['afterDark']); // outputs 1 line 103if ( $userVa

[PHP] I know this is not easy and I'm not stupid but...

2007-08-08 Thread Phil Curry
how can this be? This is not the first time I've run into a situation like this. What am I missing? line 102echo ($userValues['afterDark']); // outputs 1 line 103if ( $userValues['afterDark'] == 0 ) {// passes Thanks. -Phil --

[PHP] magic quotes

2007-07-17 Thread Phil Princely
ipslashes_array($_POST); stripslashes_array($_REQUEST); stripslashes_array($_COOKIE); } What do people on this list usually do with this kind of problem. To me, the .htaccess seems the easiest solution, since I don't have to change any scripts. cheers Phil P. -- PHP General Mailing List (htt

[PHP] ftp_get() Pt2

2007-06-22 Thread Phil Curry
Oops. Forgot to mention If I use an ftp client of ftp from the command line, I can 'get' the file. This is why I thought it was my code. Thanks. -Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ftp_get() problem

2007-06-22 Thread Phil Curry
' it. Any help or direction is greatly appreciated. -Phil Curry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] strtotime returns 00:00 for 7am

2007-06-20 Thread Phil Princely
un 18 00:00:00 Thursday, Jun 21 00:00:00 Thursday, Jun 21 07:00:00 Friday, Jun 8 I'm wondering why the 2nd and 3rd last both give 00:00 as the time. Especially why 5am tomorrow doesn't work. Using PHP5. Thanks Phil P.

Re: [PHP] Executing functions or scripts in parallel

2006-05-30 Thread Phil Martin
fast, or there is no way to have all my servers services checked in parallel. Thanks in advance. Felipe Martins On 5/30/06, Jochem Maas <[EMAIL PROTECTED]> wrote: Phil Martin wrote: > Sure, sorry about that. I have a function that tells me if the host is DOWN > or UP. I want to r

Re: [PHP] Executing functions or scripts in parallel

2006-05-30 Thread Phil Martin
$endTime = time(); $timeDiff = $endTime - $startTime; if ($timeDiff >= $timeout) { fclose($socket); return true; } else { fclose($socket); return false; } } } Thanks in advance Felipe Martins On 5/30/06,

[PHP] Executing functions or scripts in parallel

2006-05-30 Thread Phil Martin
Hi everyone, I've made a very basic and small function to suit my needs in monitoring some hosts services. I've noticed that the script is a little bit slow because of the number of hosts and services to monitor. Is there a way to execute my function servstatus(); in parallel with every hos

[PHP] Executing functions or scripts in parallel

2006-05-30 Thread Phil Martin
Hi everyone, I've made a very basic and small function to suit my needs in monitoring some hosts services. I've noticed that the script is a little bit slow because of the number of hosts and services to monitor. Is there a way to execute my function servstatus(); in parallel with every hos

Re: [PHP] Monitoring Remote Server Services using php !

2006-05-30 Thread Phil Martin
return false; } } } On 5/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: On Thu, 25 May 2006, Phil Martin wrote: > Hi everybody, > > I'm new to the list and also new to php, I hope I can learn many > things from here. > My first doubt is

[PHP] Monitoring Remote Server Services using php !!!

2006-05-25 Thread Phil Martin
Hi everybody, I'm new to the list and also new to php, I hope I can learn many things from here. My first doubt is the following: I'm trying to create a small monitor system, just to suit my needs in monitoring some services in my application. I've found some functions that return to me

[PHP] FW: xslt_process() error

2005-05-04 Thread Phil Ewington - 43 Plc
iles all display correctly in browsers and it all works with CF, what can the problem be? I have read articles about a bug in the Sablotron libraries so the XSL file must not have any headers, this makes no difference. Can anyone help? Thanks in advance, --- Phil Ewington 43 Plc - Ashdale Hous

[PHP] xslt_process() error

2005-05-04 Thread Phil Ewington - 43 Plc
iles all display correctly in browsers and it all works with CF, what can the problem be? I have read articles about a bug in the Sablotron libraries so the XSL file must not have any headers, this makes no difference. Can anyone help? Thanks in advance, --- Phil Ewington 43 Plc - Ashdale Hous

[PHP] Best Server OS

2005-03-28 Thread Phil Neeb
I'm lookin for some opinions on this one ... What do you think the best OS is for running a server with PHP and MySQL? If you're going to say Linux, please, which Linux OS, there are so many. Gracias, Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

Re: [PHP] Remove rows from a MySQL table?

2005-03-24 Thread Phil Neeb
John Nichel wrote: Phil Neeb wrote: Is it possible to remove a row(s) from a MySQL table? I looked through the PHP manual and didn't see anything about it. Call me crazy, but the MySQL manual _might_ have something about it. Oh c'mon, you expect me to go look at a second website? That

[PHP] Remove rows from a MySQL table?

2005-03-24 Thread Phil Neeb
Is it possible to remove a row(s) from a MySQL table? I looked through the PHP manual and didn't see anything about it. Phil Neeb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Classes

2005-03-16 Thread Phil Neeb
em to me. What are the benefits of using classes? What's the format of a class? I'd like to know things like that and anything else you folks would like to teach me. Thanks Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP file as homepage?

2005-03-15 Thread Phil Neeb
I've noticed that PHP.net uses index.php as its homepage and well, I'm curious as to how that's possible. Is it the server setup that allows them to load a php file as their homepage or something else? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

[PHP] Array Help

2005-03-14 Thread Phil Neeb
Greets, I'm running into the problem of not having a server that gives me database access or ability to use files to store my data ... Yeah, I know, it sucks. Anyway ... My page has a number of profiles about people involved with my organization and all the profiles load into a set appearance.

RE: [PHP] reading/writing files outside of web root

2005-02-17 Thread Phil Ewington - 43 Plc
> Jason Wong wrote: > > On Wednesday 09 February 2005 02:31, Richard Lynch wrote: > >> Phil Ewington - 43 Plc wrote: > >> > For some reason user_prefs will not open > >> > for read/write even when I tested it under apache.apache and chmod'd > >

[PHP] reading/writing files outside of web root

2005-02-08 Thread Phil Ewington - 43 Plc
ily/safely edit files outside of the web root using PHP or is there a 3rd party command line tool to do this? TIA --- Phil Ewington 43 Plc - Ashdale House 35 Broad Street, Wokingham Berkshire RG40 1AU T: +44 (0)1189 789 500 F: +44 (0)1189 784 994 E: mailto:[EMAIL PROTECTED] W: www.soyouthink.co

[PHP] Permissions

2004-11-19 Thread Phil Ewington - 43 Plc
running PHP 4.3.8 on Linux Redhat Fedora 1 installed as an Apache module. TIA --- Phil Ewington 43 Plc - Ashdale House 35 Broad Street, Wokingham Berkshire RG40 1AU T: +44 (0)1189 789 500 F: +44 (0)1189 784 994 E: mailto:[EMAIL PROTECTED] W: www.soyouthink.com --- Outgoing mail is certified Virus

[PHP] WDDX functions not working!!

2004-10-08 Thread Phil Ewington - 43 Plc
not! Has anyone else found this? What version does it work on? Installing PHP 5 is not an option at the moment as all our classes would need re-writing to conform to the new standards. TIA - Phil. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com)

[PHP] SOLVED Re: [PHP] Strange PHP problem with mod_perl and MySQL

2004-08-06 Thread Phil Stracchino
oth PHP and DBD::mysql. Thanks for the pointer. > > -Justin > > - Original Message - > From: "Phil Stracchino" <[EMAIL PROTECTED]> > To: "Justin Hannus" <[EMAIL PROTECTED]> > Sent: Friday, August 06, 2004 2:23 PM > Subject: Re: [PH

Re: [PHP] Strange PHP problem with mod_perl and MySQL

2004-08-05 Thread Phil Stracchino
On Fri, Aug 06, 2004 at 12:32:19AM -0400, Phil Stracchino wrote: > Note that the only change is the addition of --with-gd. After > installing php-4.3.8 and restarting Apache, all of the mod_perl registry > CGIs are dying at various points with SEGVs. Each one dies in a > consist

[PHP] Strange PHP problem with mod_perl and MySQL

2004-08-05 Thread Phil Stracchino
make mod_perl and mod_php4 work together again, as they were up until today? -- == Fight Back! It may not be just YOUR life at risk. == [EMAIL PROTECTED] : [EMAIL PROTECTED] : [EMAIL PROTECTED] phil stracchino : unix ronin : renaissance man : mystic zen biker geek

[PHP] PHP Bespoke Email Solutions

2004-07-20 Thread Phil Ewington - 43 Plc
know of any PHP scripts that will generate emails from a database of email addresses and an HTML template with bespoke content I.E greetings, unsubscribe email address links, etc... and send to an SMTP server? TIA Phil Ewington. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus

[PHP] Got a problem with Slashes on my CMS

2004-07-09 Thread Phil Mellor
ripslashes from the file on disk, because then it fails because of the same intermittant error! Thanks in advance, Phil Mellor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Scheduling a PHP script

2004-06-14 Thread Phil Ewington - 43 Plc
> On Mon, 14 Jun 2004 12:10:30 +0100 > "Phil Ewington - 43 Plc" <[EMAIL PROTECTED]> wrote: > > > PHP > > - > > /usr/bin/php /home/sites/home/web/schedules/index.php arg1 arg2 arg3 > > > > After resolving include path issues

[PHP] Scheduling a PHP script

2004-06-14 Thread Phil Ewington - 43 Plc
.. Undefined index: arg2 Only the first argument is available again! Any ideas anyone? TIA - Phil. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.705 / Virus Database: 461 - Release Date: 12/06/2004 -- PHP General Mail

RE: [PHP] Re: Changing the directory that PHP runs from (CLI)

2004-06-11 Thread Phil Ewington - 43 Plc
Justin, I think I will go for the ini_set() option, seems to be the best bet to not affect anything else. Thanks. - Phil. > -Original Message- > From: Justin Patrin [mailto:[EMAIL PROTECTED] > Sent: 11 June 2004 15:42 > To: [EMAIL PROTECTED] > Subject: [PHP] Re: Changin

[PHP] Changing the directory that PHP runs from (CLI)

2004-06-11 Thread Phil Ewington - 43 Plc
/php /path/to/my/script.php arg1 arg2 arg3 > /dev/null TIA - Phil. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.701 / Virus Database: 458 - Release Date: 07/06/2004 -- PHP General Mailing List (http://www.php.net/) To unsub

RE: [PHP] Passing args to a PHP script from the command line

2004-06-10 Thread Phil Ewington - 43 Plc
> Phil Ewington - 43 Plc wrote on donderdag 10 juni 2004 15:11: > > >> Phil Ewington - 43 Plc wrote on donderdag 10 juni 2004 14:27: > >> > >>>> Phil Ewington - 43 Plc wrote on donderdag 10 juni 2004 12:58: > >>>> > >>>>> H

RE: [PHP] Passing args to a PHP script from the command line

2004-06-10 Thread Phil Ewington - 43 Plc
> Phil Ewington - 43 Plc wrote on donderdag 10 juni 2004 14:27: > > >> Phil Ewington - 43 Plc wrote on donderdag 10 juni 2004 12:58: > >> > >>> Hi All, > >>> > >>> Can anyone tell me how to pass arguments to a PHP script from the >

RE: [PHP] Passing args to a PHP script from the command line

2004-06-10 Thread Phil Ewington - 43 Plc
> Phil Ewington - 43 Plc wrote on donderdag 10 juni 2004 12:58: > > > Hi All, > > > > Can anyone tell me how to pass arguments to a PHP script from the > > command line? I know I need to use the -args option but how exactly, > > I have tried the following... >

[PHP] Passing args to a PHP script from the command line

2004-06-10 Thread Phil Ewington - 43 Plc
["key"] in my script. Any pointers will be much appreciated. TIA Phil. --- Phil Ewington - Technical Director 43 Plc - Ashdale House 35 Broad Street, Wokingham Berkshire RG40 1AU T: +44 (0)1189 789 500 F: +44 (0)1189 784 994 E: mailto:[EMAIL PROTECTED] W: www.soyouthink.com --- Outgoi

[PHP] How to verify that data is in a blob?

2004-05-31 Thread phil
I want to verify that there is data (doesn't matter whether it's valid data or not) inside a MySQL blob using a PHP function. How do I do this? Thanks!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] fsockopen() throwing errors

2004-05-28 Thread Phil Ewington - 43 Plc
ise here will be much appreciated as this code is mission critical. TIA - Phil. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.690 / Virus Database: 451 - Release Date: 22/05/2004 -- PHP General Mailing List (http://www.php.net/)

[PHP] Parse XML

2004-05-25 Thread Phil Dowson
look into parsing XML, so I am not sure of the terminology :-). How can I have both entries in this XML file parsed to an array that I can use to build a table. (I just really need the array, I can take it from there). Thanks ! Phil Here's my code (please let me know if I'm missing anythin

[PHP] Problem with header

2004-03-24 Thread Phil Matt
e other statement go? header("Location:error.shtml"); TIA for any advice you can offer. I must be really missing the point here. Cheers --- Phil Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Apache directive to "expand unqualified host names"?

2004-03-16 Thread Phil Frisbie, Jr.
this on an Intranet where you would resolve 'automobiles' to an IP address? Thanks for any help, -Matt -- Remove the obvious text (including the dash) to email me. -- Phil Frisbie, Jr. Hawk Software http://www.hawksoft.com -- PHP General Mailing List (http://www.php.net/) To unsubscri

RE: [PHP] Re: fsockopen() errors.

2004-03-09 Thread Phil Ewington - 43 Plc
Tom, Thought about that one or simply trying to catch the error in my site wide error handler, will give it a try, thanks. -- Phil. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 08 March 2004 15:53 > To: PHP > Subject: [PHP] Re: fso

RE: [PHP] fsockopen() errors.

2004-03-08 Thread Phil Ewington - 43 Plc
Hmm, added @ to fsockopen() function, still happens, can anyone shed any light on this? TIA Phil. > -Original Message- > From: Phil Ewington - 43 Plc [mailto:[EMAIL PROTECTED] > Sent: 08 March 2004 12:57 > To: Miguel J. Jiménez > Cc: PHP > Subject: RE: [PHP]

RE: [PHP] fsockopen() errors.

2004-03-08 Thread Phil Ewington - 43 Plc
Hi Miguel, I am giving it a test at the moment, thanks. -- Phil. > -Original Message- > From: Miguel J. Jiménez [mailto:[EMAIL PROTECTED] > Sent: 08 March 2004 12:29 > To: Phil Ewington - 43 Plc > Cc: PHP > Subject: Re: [PHP] fsockopen() errors. > > > Is it a

[PHP] fsockopen() errors.

2004-03-08 Thread Phil Ewington - 43 Plc
trigger an error if fsockopen() failed. Any help will be greatly appreciated. Phil. --- Phil Ewington - Technical Director 43 Plc - Ashdale House 35 Broad Street, Wokingham Berkshire RG40 1AU T: +44 (0)1189 789 500 F: +44 (0)1189 784 994 E: mailto:[EMAIL PROTECTED] W: www.soyouthink.com -- PHP

[PHP] OTP: Programming

2004-03-07 Thread Phil Dowson
capacity, would PHP work for me to create applications with a GUI? I am sorry if this really is an off topic post! Thanks Phil Dowson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

[PHP] Re: PHP LDAP query - need to add Exchange fields

2003-12-22 Thread Phil Dowson
$ldapconn, $base_dn, $filter); $info = ldap_get_entries($ldapconn, $read); $ii=0; for ($i=0; $ii<$info[$i]["count"]; $ii++){ $data = $info[$i][$ii]; echo $data.":  ".$info[$i][$data][0].""; } ?> Hope it helps Phil Dowson Ben Crothers wrote: Hoping this is a

RE: [PHP] sorting multi-dimensional arrays

2003-12-22 Thread Phil Ewington - 43 Plc
Ooops, forgot to specify the compare function with usort(); all working now. Phil. -Original Message- From: Phil Ewington - 43 Plc [mailto:[EMAIL PROTECTED] Sent: 22 December 2003 14:08 To: [EMAIL PROTECTED] Subject: [PHP] sorting multi-dimensional arrays Hi All, I am trying to sort

[PHP] sorting multi-dimensional arrays

2003-12-22 Thread Phil Ewington - 43 Plc
ort($this->MXRecs); Can anyone point me in the right direction? TIA Phil. --- Phil Ewington - Technical Director 43 Plc - Ashdale House 35 Broad Street, Wokingham Berkshire RG40 1AU T: +44 (0)1189 789 500 F: +44 (0)1189 784 994 E: mailto:[EMAIL PROTECTED] W: www.soyouthink.com -- PHP Genera

[PHP] Slow LDAP Queries

2003-12-16 Thread Phil Dowson
-client-2.0.27 My code is below. alert('$totaltime')"); //Script Time Debug -- END ?> Thanks Phil Dowson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ldap_modify(): Modify: Server is unwilling to perform

2003-12-11 Thread Phil Dowson
oblem with the unset $base_dn? I had left the $base_dn blank, as I had no idea what it should be. I would appreciate any help, comments or suggestions. Thanks! Phil Dowson \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \

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

[PHP] PHP Sessions

2003-10-25 Thread Phil King
Can anyone shed any light on why a simple login page could crash a server.? Thanks for any advice so that I can pass information to my host to rectify what maybe a configuration error. Thanks again. Phil. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] ftp_connect() issues

2003-10-13 Thread Phil Ewington - 43 Plc
were network issues that stopped the request reaching the target server. Phil. -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: 10 October 2003 17:51 To: [EMAIL PROTECTED] Subject: Re: [PHP] ftp_connect() issues On Saturday 11 October 2003 00:01, Phil Ewington - 43 Plc w

[PHP] ftp_connect() issues

2003-10-10 Thread Phil Ewington - 43 Plc
, no specific RFC error codes :o( Can anyone suggest where I can start looking for a resolution to this matter? Running PHP 4.2.3 on a Cobalt RAQ4. TIA Phil. Phil Ewington - Technical Director -- 43 Plc 35 Broad Street, Wokingham Berkshire RG40 1AU T: +44 (0)118 978

RE: [PHP] fsockopen()

2003-09-30 Thread Phil Ewington - 43 Plc
kopen() On Tuesday 30 September 2003 20:39, Phil Ewington - 43 Plc wrote: > Positive, I am deliberately using invalid domains to test how to catch > errors when users misspell their domain. Did you read that article (or are you aware of what it is about)? And what "invalid domains&

RE: [PHP] fsockopen()

2003-09-30 Thread Phil Ewington - 43 Plc
18:46, Phil Ewington - 43 Plc wrote: > I am having problems with fsockopen() and wondered if anyone else has > encountered this behaviour. My problem is that when connecting to an > invalid domain I cannot trap the errors. Have you checked that it is really an invalid domain and not si

[PHP] fsockopen()

2003-09-30 Thread Phil Ewington - 43 Plc
rrors rather than socket initialisation? I need to know why the socket could not be opened so I can give an appropriate error message. TIA Phil Ewington - Technical Director -- 43 Plc 35 Broad Street, Wokingham Berkshire RG40 1AU T: +44 (0)118 978 9500 F: +44 (0)118 978 4994 E:

Re: [PHP] How many Mondays in a month?

2003-09-29 Thread Phil Dowson
The other function I have does this: /* * nth_day * * A function that takes a number and a day and returns the date of * nth occurrence of that day in the given month and year. * * Arguments: * nth - the nth occurence required * day - the day required * month - which month are we talking

[PHP] How many Mondays in a month?

2003-09-29 Thread Phil Dowson
of ways to do this, but I cannot work out a way to show the number for example Mondays that will be in a given month, which I need to work out the average. I can work out the total easy enough, just not the average. TIA Phil Dowson -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Displaying Blobs by a newbie

2003-09-14 Thread Phil King
Hi Curt, Thanks for the tip. I created the two scripts . The image tag on the main page calls the image from the other script with an incremented id parameter. Thanks for your help. Phil. "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrot

Re: [PHP] Displaying Blobs by a newbie

2003-09-13 Thread Phil King
Hi Warren, Thanks for your reply. I imported the blobs into mysql database. They were in jpeg format. Phil. "Warren Vail" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > You didn't say how the images were placed in the db but you did indicate they were

[PHP] Displaying Blobs by a newbie

2003-09-12 Thread Phil King
. Can anyone advise me or point me in the right direction to rectify this. Thanks very much. Phil. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie Question

2003-08-22 Thread Phil King
Hi Everyone, Thanks a lot for all your advice, I really appreciate it. PHP / mysql is new to me so excuse my ignorance of the subject.. I will go get phpMyAdmin and give it a whirl. Thanks again. Phil. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Newbie Question

2003-08-21 Thread Phil King
Hi Robbert, I beleive my ISP does not allow any GUI interface into mysql databases on the server. They have advised me that ALL functions, table creation, modification, loading data etc has to be done from PHP. It appears I have to use SQL statements within a PHP page to load the data. Phil

[PHP] Newbie Question

2003-08-21 Thread Phil King
SP has no GUI interface into mysql so all manipulation is done via PHP. Thanks very much for any guidence. Phil. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] I need a PHP alternative to Windows Scheduled Tasks

2003-07-23 Thread Phil Powell
. I'm thinking PHP since I am very comfortable with it, were it possible within my bizarre Win2000 environment, but I need something that will clean those XML files remotely on a regular basis, it's important for website maintenance. Any help appreciated. Thanx Phil

[PHP] Mind exploded on this one!

2003-07-11 Thread Phil Powell
ng', 'maritalstatus', 'birthday', 'favemovie', 'faveplace', 'favetv', 'imgpath', 'imgext'); $profileNonFormVarArray = array('profileName', 'letter', 'name'); $arrayListArray = array('booleanNonFormVars', 'booleanVars', 'profileVarArray', 'profileNonFormVarArray'); Bluntly put, I need to get: $hasSelectedLetter $letter Etc.. I have absolutely NO idea how to do this, help! Phil

Re: [PHP] What did I do wrong to cause a parse error?

2003-07-10 Thread Phil Powell
Thanx I got it to work, however, I have no idea why it works now considering I did nothing different: $singleProfileHTML .= "\n"; Beats the heck out of me! Phil - Original Message - From: "David Otton" <[EMAIL PROTECTED]> To: "Phil Powell" <[

[PHP] What did I do wrong to cause a parse error?

2003-07-10 Thread Phil Powell
uot;$singleProfileHTML.." line. I'm completely don't get it; I see absolutely nothing wrong with this, what did I miss? Phil

Re: [PHP] mail()

2003-07-05 Thread Phil Dowson
Perfect solution. Thanks!!! - Original Message - From: "Dan Anderson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 05, 2003 4:30 am Subject: Re: [PHP] mail() > > > Could someone let me know if it is possible to pass a resultset of a query > > > to a single variable

[PHP] mail()

2003-07-04 Thread Phil Dowson
Hi, Could someone let me know if it is possible to pass a resultset of a query to a single variable so it can be included as the message part of the mail function? Thanks! Phil Dowson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Finding the height of a JPG in pixels using PHP

2003-04-05 Thread Phil Schwarzmann
I have JPG files stored as binary in a MySQL database. I am displaying the JPGs on the screen and also want to know the height (in pixels) of the JPG. Can PHP do this? Thanks!

[PHP] Using PHP & Credit Card orders

2003-04-01 Thread Phil Schwarzmann
Where can I find information on using PHP along with secure online Credit Card orders? Thanks!

[PHP] Storing a graphic file in a MySQL database

2003-03-29 Thread Phil Schwarzmann
Where can I find some information on storing a graphic file such as a JPG or GIF into a MySQL database. I'm assuming I have to convert it to a binary format and store it that way. Or maybe this isn't possible? Thanks!

[PHP] Re: Tutorials on OOP

2003-02-23 Thread Phil Roberts
[EMAIL PROTECTED] (Davy Obdam) wrote in news:[EMAIL PROTECTED]: > Hi people,. > > I have to build several classes for a project i am doing, but i am quite > new to OOP programming. I need to make a database abstraction layer > class and a user login class.. Does anyone know some good tutorials

[PHP] Re: OOP and object references, not copies - how to do?

2003-02-23 Thread Phil Roberts
[EMAIL PROTECTED] (Erik FranzéN) wrote in news:[EMAIL PROTECTED]: > Say the you are going to create a simple forum and you want to have a > number of classes: > > Class Sql - handles the DB interface > Class User - handles users > Class Messages - handles messages > > When you are writing the c

[PHP] Re: preg_replace question

2003-02-23 Thread Phil Roberts
[EMAIL PROTECTED] (Electroteque) wrote in news:[EMAIL PROTECTED]: > yet another regex question how could i hange the value within the > quotes with preg_replace > > php_value upload_max_filesize "5M" > > $str = preg_replace("#php_value upload_max_filesize\s?['\"](.+?)[\"']#i", "php_value upl

[PHP] PHP connecting to MS Access

2003-02-05 Thread Phil Schwarzmann
If a MS Access database and a PHP server were on the same machine, could they connect without having to use something like MS SQL Server?

  1   2   3   4   5   >