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

2012-01-04 Thread Phil Dobbin
, 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 General Mailing List (http://www.php.net/) To unsubscribe, visit: http

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 pre into pretty quotes. Change the ‘s and ’s back to '. Hi, Simon. Thanks for that. Couldn’t see for looking... Cheers, Phil. -- Please consider

[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

Re: [PHP] Change styling depending on var value

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

[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 'trtd class=spacer'.$row[0].'/tdtd'.$row[1].'/td I want to use a CSS style for the second td cell, picking up the style from the value of a variable. I tried this:

Re: [PHP] Change styling depending on var value

2009-11-20 Thread Phil Matt
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

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

Re: RES: [PHP] CSS and variables

2009-11-20 Thread Phil Matt
Jônatas Zechim wrote: Try: echo 'td style=' . $newcolor .'' . $row[1] . '/td'; 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
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: [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
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: 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

[PHP] preg_match_all question

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

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

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

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 phil.ewing...@i-model.co.uk 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

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

2007-08-09 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 General Mailing List

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 ( $userValues['afterDark

[PHP] magic quotes

2007-07-17 Thread Phil Princely
($_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 (http://www.php.net

[PHP] ftp_get() problem

2007-06-22 Thread Phil Curry
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] 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] strtotime returns 00:00 for 7am

2007-06-20 Thread Phil Princely
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] Monitoring Remote Server Services using php !

2006-05-30 Thread Phil Martin
= $endTime - $startTime; if ($timeDiff = $timeout) { fclose($socket); return true; } else { fclose($socket); return false; } } } On 5/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Thu, 25 May 2006, Phil

[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

[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

Re: [PHP] Executing functions or scripts in parallel

2006-05-30 Thread Phil Martin
) { fclose($socket); return true; } else { fclose($socket); return false; } } } Thanks in advance Felipe Martins On 5/30/06, Dave Goodchild [EMAIL PROTECTED] wrote: On 30/05/06, Phil Martin [EMAIL PROTECTED] wrote: Hi everyone

Re: [PHP] Executing functions or scripts in parallel

2006-05-30 Thread Phil Martin
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 run this function in parallel for each host

[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

[PHP] xslt_process() error

2005-05-04 Thread Phil Ewington - 43 Plc
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 House 35

[PHP] FW: xslt_process() error

2005-05-04 Thread Phil Ewington - 43 Plc
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 House 35

[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, visit: http

[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

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'd require

[PHP] PHP Classes

2005-03-16 Thread Phil Neeb
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:

[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 to 755, perhaps because /home is owned by root? Something

[PHP] reading/writing files outside of web root

2005-02-08 Thread Phil Ewington - 43 Plc
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.com

[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
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). Version

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

2004-08-06 Thread Phil Stracchino
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: [PHP] Strange PHP problem with mod_perl and MySQL On Fri, Aug 06, 2004

[PHP] Strange PHP problem with mod_perl and MySQL

2004-08-05 Thread Phil Stracchino
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 2000

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

[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
intermittant error! Thanks in advance, Phil Mellor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Scheduling a PHP script

2004-06-14 Thread Phil Ewington - 43 Plc
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 Mailing List (http://www.php.net/) To unsubscribe

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 using ini_set() I get... Call to undefined function: mysql_connect(). I

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

2004-06-11 Thread Phil Ewington - 43 Plc
/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 unsubscribe, visit

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: Changing the directory

[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 --- Outgoing mail

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... /usr/bin/php myscript.php -args key=value You

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 command line? I know I need to use the -args option but how exactly, I have tried

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: Hi All, Can anyone tell me how to pass arguments to a PHP script from the command line? I know

[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
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/) To unsubscribe, visit: http

[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 anything really

[PHP] Problem with header

2004-03-24 Thread Phil Matt
the 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.
with an Apache directive? If so, which one? Is 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

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: fsockopen() errors. On 8

[PHP] fsockopen() errors.

2004-03-08 Thread Phil Ewington - 43 Plc
not 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

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 an error or a warning

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] fsockopen() errors. Hi Miguel

[PHP] OTP: Programming

2004-03-07 Thread Phil Dowson
in this 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
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] sorting multi-dimensional arrays

2003-12-22 Thread Phil Ewington - 43 Plc
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 General Mailing List (http

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] Re: PHP LDAP query - need to add Exchange fields

2003-12-22 Thread Phil Dowson
= ldap_get_entries($ldapconn, $read); $ii=0; for ($i=0; $ii$info[$i][count]; $ii++){ $data = $info[$i][$ii]; echo $data.:nbsp;nbsp;.$info[$i][$data][0].br; } ? Hope it helps Phil Dowson Ben Crothers wrote: Hoping this is an easy question to answer, apologise upfront if this is so basic

[PHP] Slow LDAP Queries

2003-12-16 Thread Phil Dowson
-- 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
$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 \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ Script Below \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ \/ ? $base_dn = ''; $ldappass

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

[PHP] PHP Sessions

2003-10-25 Thread Phil King
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
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 wrote

[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

[PHP] fsockopen()

2003-09-30 Thread Phil Ewington - 43 Plc
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: mailto:[EMAIL PROTECTED] W

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

RE: [PHP] fsockopen()

2003-09-30 Thread Phil Ewington - 43 Plc
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 have you tried? -- Jason Wong

[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

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

2003-09-29 Thread Phil Dowson
: Phil Dowson [mailto:[EMAIL PROTECTED] Sent: 29 September, 2003 16:22 To: [EMAIL PROTECTED] Subject: [PHP] How many Mondays in a month? Hi, I have posted a similar question in php.db, but I was wondering if someone could help out with a non-db issue. I am trying to display statistics

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 wrote Phil King ([EMAIL

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 jpeg format. I'd try

[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

[PHP] Newbie Question

2003-08-21 Thread Phil King
guidence. Phil. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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] I need a PHP alternative to Windows Scheduled Tasks

2003-07-23 Thread Phil Powell
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

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

2003-07-11 Thread Phil Powell
;', stripslashes($val))) . \\n; } $singleProfileHTML .= --\n; Beats the heck out of me! Phil - Original Message - From: David Otton [EMAIL PROTECTED] To: Phil Powell [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, July 11, 2003 2:48 AM Subject: Re: [PHP] What did I do wrong

[PHP] Mind exploded on this one!

2003-07-11 Thread Phil Powell
', 'profileNonFormVarArray'); Bluntly put, I need to get: $hasSelectedLetter $letter Etc.. I have absolutely NO idea how to do this, help! Phil

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

2003-07-10 Thread Phil Powell
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 so it can

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

[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 code,

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

[PHP] Need an explanation as to what this line does...

2003-02-01 Thread Phil Powell
$stuffArray[$i][value] = strtr($stuffArray[$i][value], array_flip(get_html_translation_table(HTML_ENTITIES))); To be bluntly honest, I don't understand hardly any of it, and the PHP Manual isn't helping this time.. maybe I'm weekend-stupid or something.. *sigh* Phil

[PHP] Problem with xml_parse_into_struct

2003-01-29 Thread Phil Powell
of the original XML structure from the contents read from the XML file: $fileID = fopen('/phil/xml/news.xml', 'r') or die('Could not open XML'); $stuff = fread($fileID, filesize('/phil/xml/news.xml')); fclose($fileID); $stuff contains the contents of news.xml, so I would have to do my cleanup

  1   2   3   4   5   >