I currently have 1 domain on a VPS with 1 instance of Moodle 2.3.2. To
minimize the danger of overtaxing the resources (I share a processor :-(
but have 2GBytes of guaranteed RAM) I was wondering if there were anything
I could do if I wanted to put, say, Wordpress or another domain on the same
serv
I have noticed when doing a "top" via SSH on my GoDaddy virtual dedicated
server that every time a user logs in in the COMMAND column I see the
PHP-CGI process start to run, followed by mysqld. Often when these two
processes run I start to see a spike in average load, and sometimes this
spike spins
p
would be appreciated. I thought I might want to up the timout figure in the
php5.ini file in the root directory of my shared Linux hosting with
Godaddy, but I don't think that's really the problem.
Regards,
Gary
By the way, I told GoDaddy about the # deprecation issue and they told me
that I could simply change my root directory php5.ini file. But the error
message is related to the PHP.ini file in /web/config, as I said. I could
almost hear them shrugging their shoulders, what-me-worry style. If anyone
wi
Hi,
I am running Moodle 2.2.3 and using PHP 5.3 on a Linux server with GoDaddy
and am getting the message about "depreciation" after having typed the
following command into their cron job manager:
/web/cgi-bin/php5_3 "$HOME/html/moodle223a/admin/cli/cron.php"
PHP Deprecated: Comments starting
> I want to design an application that reads news from RSS sources.
>> I have about 1000 RSS feed to collect from.
>>
>> I also will use Cron jobs every 15 minutes to collect the data.
>> the question is: Is there a clever way to collect all those feed items
>> without exhausting the server
>> any
"Steve Staples" wrote in message
news:1298570683.14826.2438.camel@webdev01...
> On Thu, 2011-02-24 at 12:52 -0500, Gary wrote:
>> "Steve Staples" wrote in message
>> news:1298568238.14826.2431.camel@webdev01...
>> > On Thu, 2011-02-24 at 11:42 -0500,
"Steve Staples" wrote in message
news:1298568238.14826.2431.camel@webdev01...
> On Thu, 2011-02-24 at 11:42 -0500, Gary wrote:
>> "Steve Staples" wrote in message
>> news:1298492194.14826.2425.camel@webdev01...
>> > On Wed, 2011-02-23 at 14:56 -0500,
"Steve Staples" wrote in message
news:1298492194.14826.2425.camel@webdev01...
> On Wed, 2011-02-23 at 14:56 -0500, Gary wrote:
>> "Steve Staples" wrote in message
>> news:1298490417.14826.2418.camel@webdev01...
>> > On Wed, 2011-02-23 at 14:17 -0
"Pete Ford" wrote in message
news:b3.66.55836.0aa26...@pb1.pair.com...
> On 22/02/11 14:40, Gary wrote:
>> "Pete Ford" wrote in message
>> news:76.48.39221.054c3...@pb1.pair.com...
>>> On 22/02/11 13:59, Gary wrote:
>>>> "Pet
"Steve Staples" wrote in message
news:1298490417.14826.2418.camel@webdev01...
> On Wed, 2011-02-23 at 14:17 -0500, Gary wrote:
>> "Jim Lucas" wrote in message
>> news:4d653673.7040...@cmsws.com...
>> > On 2/23/2011 4:35 AM, Gary wrote:
>> >&
"Jim Lucas" wrote in message
news:4d653673.7040...@cmsws.com...
> On 2/23/2011 4:35 AM, Gary wrote:
>> "Pete Ford" wrote in message
>> news:62.c1.32612.d49d4...@pb1.pair.com...
>>> This bit?
>>>
>>> On 22/02/11 22:06, Gary wrote:
"Jim Lucas" wrote in message
news:4d653673.7040...@cmsws.com...
> On 2/23/2011 4:35 AM, Gary wrote:
>> "Pete Ford" wrote in message
>> news:62.c1.32612.d49d4...@pb1.pair.com...
>>> This bit?
>>>
>>> On 22/02/11 22:06, Gary wrote:
"Pete Ford" wrote in message
news:62.c1.32612.d49d4...@pb1.pair.com...
> This bit?
>
> On 22/02/11 22:06, Gary wrote:
>> for($i=1; $i<=$_POST['counties']; $i++) {
>> if ( isset($_POST["county{$i}"] ) ) {
>
> You loop over $_POST[
i = 0;
while ( $row = mysql_fetch_array($Recordset1) ) {
$i++;
print "\n";
print "\n";
echo "{$row['state_id']}\n";
echo "{$row['name']}\n";
echo "\n";
}//end while
print "\n";
} else {
echo("Error perfo
"Pete Ford" wrote in message
news:76.48.39221.054c3...@pb1.pair.com...
> On 22/02/11 13:59, Gary wrote:
>> "Pete Ford" wrote in message
>> news:a4.c0.39221.b3ca3...@pb1.pair.com...
>>> On 22/02/11 05:40, Gary wrote:
>>>> Can someone
"Pete Ford" wrote in message
news:a4.c0.39221.b3ca3...@pb1.pair.com...
> On 22/02/11 05:40, Gary wrote:
>> Can someone tell me why this is not working? I do not get an error
>> message,
>> the results are called and echo'd to screen, the count does not
"Daniel Molina Wegener" wrote in message
news:201102220747.11...@coder.cl...
> On Tuesday 22 February 2011,
> "Gary" wrote:
>
>> Can someone tell me why this is not working? I do not get an error
>> message, the results are called and echo'd to
Thanks for your reply
"Deva" wrote in message
news:aanlktimvycqsi5nejd1lxxaqbqsb+q_onhoc7omgj...@mail.gmail.com...
>I tried your script locally. Its working for me.
>
> On Tue, Feb 22, 2011 at 11:10 AM, Gary wrote:
>
>> Can someone tell me why this is not wor
mysql_fetch_array($result))
{$i++;
echo $row['name'];
}
$county_total=mysql_num_rows($result);
echo "$county_total";
echo 'You Have ' . "$county_total" . ' Counties ';
?>
--
Gary
__ Information from ESET Smart Security, versi
"Tamara Temple" wrote in message
news:c6993909-dd90-4f52-bf6b-ab888c281...@gmail.com...
>
> On Dec 19, 2010, at 9:46 AM, Gary wrote:
>
>> I have an issue that the first record in a query is not being displayed.
>> It
>> seems that the first row in alphab
ho '' . $row['bottles'] . '';
echo '' . $row['tap'] . '';
echo '' . $row['size'] . '';
echo '' . $row['descrip'] . '';
'';
}
echo '';
}
All but the
"Steve Staples" wrote in message
news:1292447844.5460.16.ca...@webdev01...
> On Wed, 2010-12-15 at 15:41 -0500, Gary wrote:
>> ""Gary"" wrote in message
>> news:81.d1.49824.33c09...@pb1.pair.com...
>> >I cant seem to get this to connect. T
"Bastien Koert" wrote in message
news:aanlktik8s8rgeatp_aq=qjbbuebq9y13zrnhoq+rb...@mail.gmail.com...
On Wed, Dec 15, 2010 at 3:41 PM, Gary wrote:
>
> ""Gary"" wrote in message
> news:81.d1.49824.33c09...@pb1.pair.com...
>>I cant seem to get this t
""Gary"" wrote in message
news:81.d1.49824.33c09...@pb1.pair.com...
>I cant seem to get this to connect. This is to my local testing server,
>which is on, so we need not worry that I have posted the UN/PW.
>
> This is a duplicate of a script I have used count
Sent: Wednesday, December 15, 2010 2:44 PM
Subject: Re: [PHP] Error Querying Database
>> > On Wed, 2010-12-15 at 13:42 -0500, Gary wrote:
>> >> I cant seem to get this to connect. This is to my local testing
>> >> server,
>> >> which is on, so w
"Steve Staples" wrote in message
news:1292440837.5460.8.ca...@webdev01...
> On Wed, 2010-12-15 at 13:42 -0500, Gary wrote:
>> I cant seem to get this to connect. This is to my local testing server,
>> which is on, so we need not worry that I have posted the UN/PW.
>
""Daniel P. Brown"" wrote in message
news:aanlkti=gemvzmpjg1uvb4_tdacqlbzyfjcgvd+har...@mail.gmail.com...
On Wed, Dec 15, 2010 at 13:42, Gary wrote:
> I cant seem to get this to connect. This is to my local testing server,
> which is on, so we need not worry th
rror of my ways?
Gary
" method="post">
Name of Beer
Maker of Beer
Type of Beer
Imported
Domestic
Craft
Light
Sold in
Singles
Six Packs
Cans
Bottles
Draft
Size
Description
http://www.eset.com
--
PHP General Mailing List (http://
""Daevid Vincent"" wrote in message
news:7d7c84d94dd24035a620e68b5b937...@mascorp.com...
>> - Original message -
>> From: Gary
>> To: php-general@lists.php.net
>> Date: Monday, December 13, 2010, 7:47:49 PM
>> Subject: [PHP] empt
"Andre Polykanine" wrote in message
news:1110253876.20101214025...@oire.org...
> Hello Gary,
>
> Try using this:
> if (!empty($beefolives)) $msg.="Order: beef olives";
> or:
> $msg.=empty($beefolives)? "": "Order: beef olives";
"Paul M Foster" wrote in message
news:20101213181124.gq21...@quillandmouse.com...
> On Mon, Dec 13, 2010 at 12:47:49PM -0500, Gary wrote:
>
>> I have an email message
>>
>> $msg = 'Name: $fname ' . ' $lname\n'
>> . "Phone: $ph
""Daniel P. Brown"" wrote in message
news:aanlktikw+h1nvf6tcg5hgh-2xsubtuosvgkwaynb=...@mail.gmail.com...
On Mon, Dec 13, 2010 at 12:47, Gary wrote:
> I have an email message
>
> $msg = 'Name: $fname ' . ' $lname\n'
> . "Phone: $phone\n
"Bastien Koert" wrote in message
news:aanlktimimt6h+g+zg4a_78wls4bu09zzsa3jvdujj...@mail.gmail.com...
On Mon, Dec 13, 2010 at 12:47 PM, Gary wrote:
> I have an email message
>
> $msg = 'Name: $fname ' . ' $lname\n'
> . "Phone: $phone\n"
>
7;'} elseif (isset($beefolives)) { 'Order: beefolives
$beefolives\n'}
But I am getting the error
Parse error: syntax error, unexpected T_IF
Can someone point me in the right direction?
Thank you
--
Gary
__ Information from ESET Smart Security, version of virus signature
;)){$newlinecounter++;}
}
if ($newlinecounter >= 1){ die('die scum die');
}
?>
Thank you,
Gary
__ Information from ESET Smart Security, version of virus signature
database 5636 (20101121) __
The message was checked by ESET Smart Security.
http://www.eset.c
"Adam Richardson" wrote in message
news:aanlktin_9_tfe9q+dc2hoynsavccoyuecudkqd919...@mail.gmail.com...
> On Tue, Nov 16, 2010 at 10:10 PM, Gary wrote:
>
>> I was doing a test of stripslashes on a $_POST, when I recieved the
>> email,
>> all of the sla
.
I added:
echo stripslashes($fname); and did get the expected result on the page, but
not in the email from the $_POST.
I also tried
$fname = (stripslashes($_POST['fname']));
But got the same result.
Can anyone tell me what I am not understaning?
Thank you
Gary
__ Informa
"tedd" wrote in message
news:p06240800c8f339e20...@[192.168.1.2]...
> At 9:19 AM -0400 10/31/10, Gary wrote:
>>I was sure that the images were being stored and called from the images
>>folder and not directly from the DB, that is until tedd brought it up. I
>>d
.
Thank again
Gary
"Tamara Temple" wrote in message
news:94df613c-6b40-4897-b101-21cf7d83a...@gmail.com...
>
> On Oct 30, 2010, at 9:31 AM, Gary wrote:
>
>>
>> "tedd" wrote in message
>> news:p06240800c8f1d19b9...@[192.168.1.2]...
>>> At
"Tamara Temple" wrote in message
news:94df613c-6b40-4897-b101-21cf7d83a...@gmail.com...
>
> On Oct 30, 2010, at 9:31 AM, Gary wrote:
>
>>
>> "tedd" wrote in message
>> news:p06240800c8f1d19b9...@[192.168.1.2]...
>>> At 3:05 PM -0400 10/
"tedd" wrote in message
news:p06240804c8f1eaf38...@[192.168.1.2]...
> At 10:31 AM -0400 10/30/10, Gary wrote:
>>
>>I was under the impression that the image is stored in a folder called
>>images, in fact the images file do go in, however I have the DB set up for
&
"Tamara Temple" wrote in message
news:7f666311-4bc8-4064-8c70-4f2597e7b...@gmail.com...
> On Oct 29, 2010, at 2:44 PM, Gary wrote:
>> "Adam Richardson" wrote in message
>> news:aanlkti=kenxt7yewrztcm4+hyifrlqhozxse7ufmq...@mail.gmail.com...
>> On
"tedd" wrote in message
news:p06240800c8f1d19b9...@[192.168.1.2]...
> At 3:05 PM -0400 10/29/10, Gary wrote:
>>I am trying to get the watermark to work, however I am having a problem in
>>that the image is being called from a database (image sits in images
>>fil
"Adam Richardson" wrote in message
news:aanlkti=kenxt7yewrztcm4+hyifrlqhozxse7ufmq...@mail.gmail.com...
On Fri, Oct 29, 2010 at 3:05 PM, Gary wrote:
> I am trying to get the watermark to work, however I am having a problem in
> that the image is being called from a databas
me light on this for me.
Thank you
Gary
__ Information from ESET Smart Security, version of virus signature
database 5575 (20101029) __
The message was checked by ESET Smart Security.
http://www.eset.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ipslashes in the variable. The script still works, but is there a problem
with redundancy, or does one cancel the other out?
Also, which do you think is a better method to use?
Thank you
Gary
__ Information from ESET Smart Security, version of virus signature
database 5560 (2010102
""Gary"" wrote in message
news:75.f4.27779.7f063...@pb1.pair.com...
>I am getting an error of "unkown talbe "formcom" in field list".
>
> I dont understand this. I have a talbe called formcom in the database, in
> fact I created this t
as a little cloudier than
usual.
Thank you again for trying to help.
Gary
wrote in message
news:40.00.07410.a0783...@pb1.pair.com...
That's the same query.
One thing I did notice (and I wasn't sure if it was a typo as I saw a few
in the original post) but you've used a pe
x27;,'$ip')"
>> or die('error in query');
> tholland
> - Original Message -
> From: "Gary"
> To:
> Sent: Monday, October 11, 2010 8:09 PM
> Subject: [PHP] Unknown Table i field list
>
>
>>I am getting an error of "
"Ashley Sheridan" wrote in message
news:1286826713.3415.3.ca...@localhost.localdomain...
> On Mon, 2010-10-11 at 15:46 -0400, Gary wrote:
>
>> I used, and have always used phpmyadmin to create the tables. As I say,
>> it
>> is not the first time doing this,
I used, and have always used phpmyadmin to create the tables. As I say, it
is not the first time doing this, but I believe it is the first time getting
the error.
To Alexander, yes I had, ,in fact I simply C/p the script from anohter
scritp into the same db...
Thank you
Gary
"A
so tried formcom.fname, formcom.lname, formcomemail,
formcomcomment, formcom.ip
I have double triple quad checked to make sure I did not have comment and
comments mix up.
Anyone be able to help me?
Thank you
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
use near ' NULL, NULL)' at
line 1
This is the code (I have not modified it)
=1) $MM_qsChar = "&";
$MM_dupKeyRedirect = $MM_dupKeyRedirect . $MM_qsChar
."requsername=".$loginUsername;
header ("Location: $MM_dupKeyRedirect");
exit;
}
}
?>
Thanks agai
for your help.
Gary
""Gary"" wrote in message
news:1f.27.30333.1d5e3...@pb1.pair.com...
> Is there a way to insert a watermark on an image as it is being uploaded
> to the image file, then removed when it is called from a database to be
> viewed on a website?
>
"Ashley Sheridan" wrote in message
news:1284763747.12459.40.ca...@localhost...
> On Fri, 2010-09-17 at 18:41 -0400, TR Shaw wrote:
>
>> Gary
>>
>> you do realize that if you display the image in a browser without the
>> watermark, simple drag and drop
Tom
No, I had never D&D'd an image, however I just did. So I see your point.
Thanks for your input.
Gary
"TR Shaw" wrote in message
news:cff72d3b-52cf-4baf-b60f-6b3709c98...@oitc.com...
Gary
you do realize that if you display the image in a browser without the
waterma
""Gary"" wrote in message
news:1f.27.30333.1d5e3...@pb1.pair.com...
> Is there a way to insert a watermark on an image as it is being uploaded
> to the image file, then removed when it is called from a database to be
> viewed on a website?
>
> T
pilferage and I would
like to be able to show the images a little larger, hence with a bit more
clarity and detail.
Thanks for your input.
Gary
__ Information from ESET Smart Security, version of virus signature
database 5458 (20100917) __
The message was checked by ESET
On Mon, Jul 19, 2010 at 9:45 AM, Gary wrote:
> How can I get calls to scoket_read to timeout if the server stops
> responding?
Sorry. Found it:
socket_set_option($sock, SOL_SOCKET, SO_RCVTIMEO, array('sec' => 1,
'usec' => 0));
--
PHP General Mailing List (htt
How can I get calls to scoket_read to timeout if the server stops
responding? It's not clear exactly what's happening, but occasionally
the server simply stops sending data and my php code (client) then sits
there waiting endlessly. I know about set_time_limit but I don't want to
abandon the entire
crouc...@gmail.com
THX|GC
Gary Crouch
""Daevid Vincent"" wrote in message
news:a380a1570d4c4351b38e1cce2aabe...@mascorp.com...
>> -Original Message-
>> From: Gary [mailto:gp...@paulgdesigns.com]
>> Sent: Monday, July 12, 2010 11:53 AM
>>
>> I'm sure it is possibl
"Ashley Sheridan" wrote in message
news:1278962039.2202.5.ca...@localhost...
> On Mon, 2010-07-12 at 14:52 -0400, Gary wrote:
>
>> I'm sure it is possible, but I am unsure how to do this. I have created
>> a
>> Sale coupon that I was going
"Floyd Resler" wrote in message
news:e6321b00-590d-4294-9b81-81cc92883...@adex-intl.com...
On Jul 12, 2010, at 2:52 PM, Gary wrote:
> I'm sure it is possible, but I am unsure how to do this. I have created a
> Sale coupon that I was going to put up on a site that I ma
n the coupon a
serial number that increases by 1 everytime the page is viewed. I dont
really care if someone refreshes the page and skews the numbers.
Is this possible and could someone give me some help?
Thanks
Gary
__ Information from ESET Smart Security, version of virus sign
d to eliminate white space, and it seems to be working.
I will let you know if this is just premature exhuberation.
Thanks again for all your help.
Gary
"Ashley Sheridan" wrote in message
news:1278706121.2295.5.ca...@localhost...
> On Fri, 2010-07-09 at 16:04 -0400, Gary wrote:
>
"Ashley Sheridan" wrote in message
news:1278706121.2295.5.ca...@localhost...
> On Fri, 2010-07-09 at 16:04 -0400, Gary wrote:
>
>> ?>
>>
>
> That bit of the code has a newline in it, which counts as output :p
>
> I've not looked over the re
"Ashley Sheridan" wrote in message
news:1278705549.2295.4.ca...@localhost...
> On Fri, 2010-07-09 at 15:58 -0400, Gary wrote:
>
>> "Ashley Sheridan" wrote in message
>> news:1278705035.2295.2.ca...@localhost...
>> > On Fri, 2010-07-09 at 15:43
"Ashley Sheridan" wrote in message
news:1278705035.2295.2.ca...@localhost...
> On Fri, 2010-07-09 at 15:43 -0400, Gary wrote:
>
>> "Richard Quadling" wrote in message
>> news:aanlktilbmyedd8paky9dwgn0q7t6kem4zzutu_49u...@mail.gmail.com...
>> >
"Richard Quadling" wrote in message
news:aanlktilbmyedd8paky9dwgn0q7t6kem4zzutu_49u...@mail.gmail.com...
> On 9 July 2010 16:42, Gary wrote:
> [snip]
>
> Take a look at https://code.google.com/p/loginsystem-rd/
>
Richard
Thank you for your quick reply and the link.
I have a log in script that is not working. It is taken from a lesson book
that I read about a year or so ago so the lessons are not fresh in my mind.
My questions are.
1. Why is this not working?
2. Does is look secure?
3. In researching the issue, I was reading some older threads that it was
On 7/8/10, Nisse Engström wrote:
> On Thu, 8 Jul 2010 17:15:02 +0200, "Gary ." wrote:
>> I'm guessing that those attributes "must" be quoted in XML and
>> "should" be in HTML (but patently aren't)?
>
> For that attribute value, it
On 7/8/10, Marc Guay wrote:
>> And yes, I'd rather use DOM, but I can't.
>
> Could you use this: http://simplehtmldom.sourceforge.net/?
Interesting.
Although I can't use DOM or Tidy (because they're normally built in,
but TPTB decided to recompile PHP and exclude them, and I am not
allowed to rec
On 7/8/10, Richard Quadling wrote:
> On 8 July 2010 16:15, Gary wrote:
>> Okay. At least one of the problems with this so called HTML seems to
>> be that the body tag looks like
>>
>> and xml_parse complains that "> required" on that line (i.e. it is
>
Okay. At least one of the problems with this so called HTML seems to
be that the body tag looks like
and xml_parse complains that "> required" on that line (i.e. it is
claiming it can't find the end of the tag!).
I'm guessing that those attributes "must" be quoted in XML and
"should" be in HTML (
Marc Guay writes:
>> libxml_use_internal_errors(true);
>> $this->xml = new SimpleXMLElement($this->htmlString);
> I have code that looks like this:
>
> libxml_use_internal_errors(true);
> $xml = simplexml_load_string($val);
Yeah. I tried simplexml_load_string and found that "worked" (in that it
d
Richard Quadling writes:
> On 8 July 2010 08:07, Gary wrote:
>> Why am I still getting an exception when I do this:
>>
>> libxml_use_internal_errors(true);
>> $this->xml = new SimpleXMLElement($this->htmlString);
>>
>> or this
>>
Why am I still getting an exception when I do this:
libxml_use_internal_errors(true);
$this->xml = new SimpleXMLElement($this->htmlString);
or this
$this->xml = new SimpleXMLElement($this->htmlString,
LIBXML_NOERROR|LIBXML_NOWARNING);
?
The exception says "Exception: String could not be parsed
On 7/6/10, Per Jessen wrote:
> It really is _only_ the syntax. Same goes for e.g. the C lint -
Sorry, but that's not what I remember from my C days, nor what wikipedia
says "lint was the name originally given to a particular program that
flagged some suspicious and non-portable constructs (likely
On 7/6/10, Ashley Sheridan wrote:
> I have had a couple such emails, requesting me to log in somewhere in
> order to have my address 'validated' as non-spam, but I ignored it and
> nothing bad has happened to me yet!
Not yet.
*hides cattle prod behind back*
--
PHP General Mailing List (http://w
Ashley Sheridan writes:
> On Tue, 2010-07-06 at 10:54 +0200, Gary . wrote:
> If foo3 never happens to be called when I am doing my testing (for
> example if the call is in some "if" branch that is never exercised) then
> it only gets found in production, so I w
On 7/5/10, Gary[1] wrote:
> The last few times I have posted to the board, I recieved an email, which
> has the subject line of ??? ??? and is written in what appears to
> be greek
Ukrainian or Russian I would guess, looking at the headers.
> Anyone else have this happen?
Or, alternatively put, is there any way to find the kind of problems in
foo2 & foo3 (below), at "*compile* time"?
,[ lint-test.php ]
|
`
I only get errors displayed when code happens to pass down the code
path, i.e. at runtime:
,
| /home/jg/work $ php -l lint-test.php
| No syntax err
?
Gary
__ Information from ESET Smart Security, version of virus signature
database 5252 (20100705) __
The message was checked by ESET Smart Security.
http://www.eset.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
)
>
> GIGO!!!
Does that mean you do have a deathwatch beetle?
Gary
__ Information from ESET Smart Security, version of virus signature
database 5252 (20100705) __
The message was checked by ESET Smart Security.
http://www.eset.com
--
PHP General Mailing List (h
Richard
Thank you again for your kind help.
Gary
"Richard Quadling" wrote in message
news:aanlktikwujmpbqijd_ee9mbfpxa92ssexjddng2fg...@mail.gmail.com...
> On 26 June 2010 13:14, Gary wrote:
>> Richard
>>
>> Please accept my apology in that my response was
Richard
Please accept my apology in that my response was sent directly to you and
not the group, I hit 'Reply" instead of 'Reply to Group'.
Gary
"Richard Quadling" wrote in message
news:aanlktint_wieskad-fulaihpjlfrmltkpjdyqsao-...@mail.gmail.com...
> Fi
"Bastien Koert" wrote in message
news:aanlktilfxsbs83zaaa6ix32yhurqdg9azd6twq_hn...@mail.gmail.com...
On Fri, Jun 25, 2010 at 9:59 AM, Ashley Sheridan
wrote:
> On Fri, 2010-06-25 at 09:51 -0400, Gary wrote:
>
>> I am trying to have an attachment to an email from a form
"Ashley Sheridan" wrote in message
news:1277474393.2787.82.ca...@localhost...
> On Fri, 2010-06-25 at 09:51 -0400, Gary wrote:
>
>> I am trying to have an attachment to an email from a form. Email is
>> working
>> fine, am unable to get attachment. The atta
e in the right direction?
Thank you
Gary
888!";
echo "You have submitted the following information:";
echo "Name: $fname $lname";
echo "E-Mail Address: $email";
echo "Your comments or request: $comments";
echo "We have also sent you an e-mail
"Ford, Mike" writes:
>> -Original Message-
>> If I have an array that looks like
>> array(1) {
>> ["mac_address"]=>
>> string(2) "td"
>> }
>>
>> and I call
>> if (in_array($name, self::$aboveArray))
>> with $name as
>> string(11) "mac_address"
>>
>> what should be the result
If I have an array that looks like
array(1) {
["mac_address"]=>
string(2) "td"
}
and I call
if (in_array($name, self::$aboveArray))
with $name as
string(11) "mac_address"
what should be the result?
Because it is *false* and it is driving me nuts! This despite the fact
that if I d
On Mon, Jun 21, 2010 at 10:49 AM, Pete Ford wrote:
> On 21/06/10 00:45, Rick Pasotto wrote:
> I think that's right - doesn't the manual describe this sort of thing about
> using callback functions that are class members?
Yes.
http://www.php.net/manual/en/language.pseudo-types.php#language.types.
On 6/4/10, Gary wrote:
> I need to do essentially do what can be found in the "XML Tag Mapping
> example" (http://www.php.net/manual/en/example.xml-map-tags.php)
...
> I would prefer to do this in a somewhat OO manner so I can hide this
> nastiness from the rest of the code.
""Gary"" wrote in message
news:a9.ea.07323.381e8...@pb1.pair.com...
>
> "Ashley Sheridan" wrote in message
> news:1275649100.2217.45.ca...@localhost...
>> On Fri, 2010-06-04 at 06:46 -0400, Gary wrote:
>>
>>> I am trying to get
"Ashley Sheridan" wrote in message
news:1275649100.2217.45.ca...@localhost...
> On Fri, 2010-06-04 at 06:46 -0400, Gary wrote:
>
>> I am trying to get an update command to work in PHP. I am able to update
>> records going directly to phpmyadmin command line. I hav
I need to do essentially do what can be found in the "XML Tag Mapping
example" (http://www.php.net/manual/en/example.xml-map-tags.php) -
transform the names of some XML elements. Normally I'd use XSLT for
this kind of thing, but due to environmental considerations I can't. I
would prefer to do this
Sorry, just noticed that I had this line in the post. (should not post
before coffee).
> $sql = "INSERT INTO contact comments, VALUES = $test WHERE contact_id =
> 33";
It is supposed to be
$sql = UPDATE contact comments = '$test' WHERE contact_id = '33'
replicate entire forms for clients to use direct.I get no error codes, I
only get my message "It did not enter into DB";
Anyone see where I am going wrong?
Gary
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";>
1 - 100 of 555 matches
Mail list logo