, 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
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
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
.
Cheers --- Phil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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:
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
.
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
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
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
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
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
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
:(.*)\}\}/, $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
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
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
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
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
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
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
($_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
or direction is greatly appreciated.
-Phil Curry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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.
= $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
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
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
) {
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
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
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
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
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
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
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
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
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
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:
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.
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
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
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
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 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
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
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
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
intermittant error!
Thanks in advance,
Phil Mellor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
/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
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
[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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
= 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
-- END
?
Thanks
Phil Dowson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$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
.
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
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
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
, 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
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
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
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
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
: 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
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
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
.
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
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
guidence.
Phil.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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 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
;', 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
',
'profileNonFormVarArray');
Bluntly put, I need to get:
$hasSelectedLetter
$letter
Etc..
I have absolutely NO idea how to do this, help!
Phil
with this, what did I miss?
Phil
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
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
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!
Where can I find information on using PHP along with secure online Credit
Card orders?
Thanks!
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!
[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
[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,
[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
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?
$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
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 - 100 of 413 matches
Mail list logo