On 23-10-2012 23:54, Steven Pogue wrote:
Dan,
I assume you meant to add a system() call into it...if so, here is what
was presented.
-rwxrwxrwx. 1 root root 3878 Sep 6 14:45 /opt/james-2.3.2/bin/sendmail.py
-rwxrwxrwx. 1 root root 3878 Sep 6 14:45 /opt/james-2.3.2/bin/sendmail.py
Steve
On Thu, Oct 25, 2012 at 5:32 AM, Maciek Sokolewicz
maciek.sokolew...@gmail.com wrote:
On 23-10-2012 23:54, Steven Pogue wrote:
Dan,
I assume you meant to add a system() call into it...if so, here is what
was presented.
-rwxrwxrwx. 1 root root 3878 Sep 6 14:45
On Tue, Oct 23, 2012 at 5:00 PM, Steven Pogue spo...@us.ibm.com wrote:
Has anyone been successful at using the above on a RHEL 6.2 environment? I
am able to use Postfix using the php.ini SENDMAIL_PATH but when I bring
down PostFix, start Apache James and switch the sendmail_path value to
point
To:
Steven Pogue/Raleigh/IBM@IBMUS
Cc:
php-general@lists.php.net
Date:
10/23/2012 05:24 PM
Subject:
Re: [PHP] Help using PHP 5.3.3 mail() with Apache James
Sent by:
paras...@gmail.com
On Tue, Oct 23, 2012 at 5:00 PM, Steven Pogue spo...@us.ibm.com wrote:
Has anyone been successful at using the above
On Wed, Aug 29, 2012 at 3:14 PM, Phillip Baker phil...@freewolf.net wrote:
I am trying to access a MSSQL DB on another system.
I am having trouble executed a stored proc and debugging the problem./
I have included the code below.
I can connect to the DB just fine.
I also can run regular
Jack jacklistm...@gmail.com wrote:
Hello All,
I have this string defined for my query and it shows the different
types of
categories fine, but when I change a.categoryid = c.categoryid to
a.categoryid = 1 which is only one of the categories
It shows me the same record twice.
$query =
On 06/07/2012 09:37 AM, Jack wrote:
$query = select a.startdate, a.articleid, c.name, a.title, a.intro,
a.datecreated from articles as a, categories as c where (a.startdate = -1 or
a.startdate= {$now}) and (a.enddate = -1 or a.enddate= {$now}) and
a.categoryid = c.categoryid order by a.startdate
Thanks Jim, worked like a charm.
-Original Message-
From: Jim Lucas [mailto:li...@cmsws.com]
Sent: Thursday, June 07, 2012 4:08 PM
To: Jack
Cc: PHP
Subject: Re: [PHP] help with query
On 06/07/2012 09:37 AM, Jack wrote:
$query = select a.startdate, a.articleid, c.name, a.title
On 2012-06-03 22:37, Robert Williams wrote:
On Jun 3, 2012, at 17:28, Chris Purvesch...@northfolk.ca wrote:
I know that the text ends 'end', but I don't know what the Something,
something is. I am using preg_match as follows:
preg_match('/[^]*end/',$curl_response,$matches);
I want to
On Jun 3, 2012, at 17:28, Chris Purves ch...@northfolk.ca wrote:
I know that the text ends 'end', but I don't know what the Something,
something is. I am using preg_match as follows:
preg_match('/[^]*end/',$curl_response,$matches);
I want to match 'end' and everything before it that is not
-Original Message-
From: Chris Purves [mailto:ch...@northfolk.ca]
Sent: Sunday, June 03, 2012 8:26 PM
To: php-general General
Subject: [PHP] help with preg_match
Hello,
I am trying to use preg_match to match something from an html file.
Within the html file is some text that looks
I wonder why you use cURL as SimpleXML itself can load URLs:
$vastdata = new
SimpleXMLElement('http://afe.specificclick.net/?l=32259t=xrnd=123456',0,true);
See http://de.php.net/manual/en/simplexmlelement.construct.php
Am 09.02.2012 04:44, schrieb Rob Gould:
Can anyone tell me what I'm doing
On Thu, Feb 9, 2012 at 9:10 AM, Yared Hufkens y4...@yahoo.de wrote:
I wonder why you use cURL as SimpleXML itself can load URLs:
$vastdata = new
SimpleXMLElement('http://afe.specificclick.net/?l=32259t=xrnd=123456
',0,true);
See http://de.php.net/manual/en/simplexmlelement.construct.php
On Wed, Feb 8, 2012 at 10:44 PM, Rob Gould gould...@mac.com wrote:
Can anyone tell me what I'm doing wrong here? I'm trying to get the
VASTAdTagURI field from the XML data at this url:
http://afe.specificclick.net/?l=32259t=xrnd=123456
Here's my code. (below). It works maybe 30% of
On Thu, 2011-10-27 at 17:40 -0700, UltraMega Admin wrote:
On 10/27/2011 5:33 PM, Daniel Brown wrote:
On Thu, Oct 27, 2011 at 20:06, Jason Pruimli...@pruimphotography.com
wrote:
Most likely you have in included in 2 files... Look into it from that
angle... It only needs to be included
A function with that name already exists in PHP as of 5.3.0. You'll have
to
rename it or something.
http://us2.php.net/manual/en/function.date-diff.php
That looks like what happened that new function was added and we had written
one with the same name from the stone age...
Thanks!
--
Jason Pruim
li...@pruimphotography.com
On Oct 27, 2011, at 7:55 PM, Jack wrote:
Hello All,
I have some code that just broke with a PHP upgrade, the error says:
PHP Fatal error: Cannot redeclare date_diff() the line of the error is the
close bracket of the function which is below.
On Thu, Oct 27, 2011 at 20:06, Jason Pruim li...@pruimphotography.com wrote:
Most likely you have in included in 2 files... Look into it from that
angle... It only needs to be included in 1 file to work throughout all the
files.
Prune is spot-on. That error generally happens when you
On 10/27/2011 5:33 PM, Daniel Brown wrote:
On Thu, Oct 27, 2011 at 20:06, Jason Pruimli...@pruimphotography.com wrote:
Most likely you have in included in 2 files... Look into it from that angle...
It only needs to be included in 1 file to work throughout all the files.
Prune is
On Sep 16, 2011, at 6:02, Dare Williams darrenwi...@yahoo.com wrote:
I have a 5 Digits set of number and need to match it with another set of
five digits and return how many number are match and the figures that are
match.
Check out array_intersect().
At 08:36 AM 9/16/2011, Dare Williams wrote:
Dear PHP Group, I need a Function of any category in either PHP or
MySQL RDBMS customize Function, Class, Methods or anything that
could help me compare a particular set of number and return their
matching result. e.g If I have a 5 Digits set of
Hello Dare,
DW I need a Function of any category in either PHP or MySQL RDBMS
DW customize Function, Class, Methods or anything that could help me
DW compare a particular set of number and return their matching
DW result.
consider using array_intersect().
--
With best regards from
If one or both of your data sets are in MySQL already, there may be no
need to do the comparison in PHP. Just use IN() or INNER JOIN. Or is
there some particular reason why neither of these will work in your case?
Cheers,
Mattias
On 09/16/2011 05:36 AM, Dare Williams wrote:
Dear PHP Group,
On Wed, Jun 22, 2011 at 18:43, Adam Preece a...@blueyonder.co.uk wrote:
Hi Gang!
i have 2 assoc arrays from 2 querys,
first one is page categorys it consists of:
id
name
second is pages
name
cat_id
now, i am using smarty, so i pass arrays into the view.
On 6/22/2011 3:43 PM, Adam Preece wrote:
Hi Gang!
i have 2 assoc arrays from 2 querys,
first one is page categorys it consists of:
id
name
second is pages
name
cat_id
now, i am using smarty, so i pass arrays into the view. this i would like to
pass to
I remember that there's 2 php.ini in Fedora, one is for SAPI like apache or
other CGIServer, and another is for CLI.
Can you confirm that you edited a right config file?
On Mon, Jun 6, 2011 at 4:55 AM, Camilo Sperberg unrea...@gmail.com wrote:
On 05-06-2011, at 10:31, Adam Tong
And here is the output of phpinfo():
-
In the same phpinfo() output, what is the path/location of the php.ini
file you are using?
Loaded Configuration File D:\PHP\INI\php-cgi-fcgi.ini
for example.
--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling :
On 05-06-2011, at 10:31, Adam Tong adam.to...@gmail.com wrote:
Hi,
I can't set correctly the error display and reporting properties. I
don't know what i'm doing wrong.
Here is the section that i modified in php.ini:
-
display_errors = On
; Default Value: On
; Development
Jack wrote:
Hello All,
I'm having a problem with this line of code which worked fine for years:
$l_url2 = ..$_GET[SERVER_NAME];
Here is the error:
[Wed Mar 23 13:33:49 2011] [error] [client 16.139.201.61] PHP Notice: Use
of undefined constant SERVER_NAME - assumed 'SERVER_NAME' in
On Mon, Mar 14, 2011 at 21:12, Jack jacklistm...@gmail.com wrote:
Hello All,
Im writing a script that creates a temp file which it then encrypts and
sends out in an email.
This works 100% on servers that don't have safe mode, but this server with
safe mode doesn't understand it's all the
On 7 March 2011 17:29, Marc Guay marc.g...@gmail.com wrote:
Hi Richard,
It's not a SOAP service, and I've actually decided to have ask the
client to upgrade their server software before continuing. But for
the sake of study:
Depending upon your requirement, you could use
The ease I had in running multiple versions of PHP on Windows would
suggest it should be pretty easy to do for non-windows.
Funny and true. Thanks for the tips Richard, I've suggested that they
upgrade their hosting package.
Marc
--
PHP General Mailing List (http://www.php.net/)
To
On 3/7/2011 8:16 AM, Marc Guay wrote:
Hi folks,
I've stumbled into a project involving a server running PHP4 without
cURL. The script fetches data from an XML webservice and deals with
it. Is http://ca2.php.net/xml_parser_create the place to start? Any
tips (besides updating PHP)?
Just take another web host.
2011/3/7 Marc Guay marc.g...@gmail.com
Hi folks,
I've stumbled into a project involving a server running PHP4 without
cURL. The script fetches data from an XML webservice and deals with
it. Is http://ca2.php.net/xml_parser_create the place to start? Any
tips
On 7 March 2011 16:16, Marc Guay marc.g...@gmail.com wrote:
Hi folks,
I've stumbled into a project involving a server running PHP4 without
cURL. The script fetches data from an XML webservice and deals with
it. Is http://ca2.php.net/xml_parser_create the place to start? Any
tips (besides
Hi Richard,
It's not a SOAP service, and I've actually decided to have ask the
client to upgrade their server software before continuing. But for
the sake of study:
Depending upon your requirement, you could use simplexml_load_string() to
convert an XML string into a native PHP object
My merchant provider levies monthly fines based on how many of their security
restrictions you fail to follow. I follow as many as are reasonably practical,
but I think it's virtually impossible to follow them all, such as absurdly
expensive (and probably unnecessary) hardware. IMHO, some of
That's a great suggestion. I will try this and report back. It's also been
suggested to me that I should have base64_encoded the encryptions before
storing them in MySQL, so I'll try this option at the same time.
On Mar 1, 2011, at 2:04 PM, Ashley Sheridan wrote:
Onto the problem of the data
From: Brian Dunning
My merchant provider levies monthly fines based on
how many of their security restrictions you fail to
follow. I follow as many as are reasonably practical,
but I think it's virtually impossible to follow them
all, such as absurdly expensive (and probably unnecessary)
You shouldn't have a default value in an auto increment field. You can set
AUTO_INCREMENT to 0 and start with 1, but as auto increment is a unique field
and its automagically incremented, you should not set a default value on it...
--
Sent from my Android phone with K-9 Mail. Please excuse my
On 3/2/2011 4:25 AM, Alex wrote:
You shouldn't have a default value in an auto increment field. You can
set AUTO_INCREMENT to 0 and start with 1, but as auto increment is a
unique field and its automagically incremented, you should not set a
default value on it...
This is fine and dandy
On 3/2/2011 9:48 AM, Ashley Sheridan wrote:
Jim Lucas li...@cmsws.com wrote:
On 3/2/2011 4:25 AM, Alex wrote:
You shouldn't have a default value in an auto increment field. You
can
set AUTO_INCREMENT to 0 and start with 1, but as auto increment is a
unique field and its automagically
I just wanted to ping this, as it's becoming a serious problem. I hope someone
can help.
On Feb 11, 2011, at 2:42 PM, Brian Dunning wrote:
Hey all -
I'm using mcrypt to store credit cards into MySQL. About 90% of them decrypt
fine, but about 10% decrypt as nonsense (b1�\�JEÚU�A��� is a
On Tue, Mar 1, 2011 at 12:34 PM, Brian Dunning br...@briandunning.com wrote:
I just wanted to ping this, as it's becoming a serious problem. I hope
someone can help.
On Feb 11, 2011, at 2:42 PM, Brian Dunning wrote:
Hey all -
I'm using mcrypt to store credit cards into MySQL. About 90%
On Fri, Feb 11, 2011 at 4:42 PM, Brian Dunning br...@briandunning.com wrote:
Hey all -
I'm using mcrypt to store credit cards into MySQL. About 90% of them decrypt
fine, but about 10% decrypt as nonsense (b1�\�JEÚU�A��� is a good example).
Maybe there is a character that appears in about
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 03/02/2011 07:56 AM, Ashim Kapoor wrote:
Dear all,
I am trying to make a website with php and I found the following code in a
book and I am trying to import it. The following are the beginning of the
file i am trying to import with the
On Feb 13, 2011, at 12:44 AM, Richard Quadling wrote:
You are
using addslashes($_POST['cc_number']). Considering a credit card
number is purely numeric, the addslashes would seem to be redundant as
you don't need to escape numbers.
I do that routinely to all input fields as one additional
On 11 February 2011 22:42, Brian Dunning br...@briandunning.com wrote:
Hey all -
I'm using mcrypt to store credit cards into MySQL. About 90% of them decrypt
fine, but about 10% decrypt as nonsense (b1�\�JEÚU�A��� is a good example).
Maybe there is a character that appears in about 10% of
On Sun, 2011-01-09 at 11:44 +0800, WalkinRaven wrote:
Right, RFC 1034 allow valid endless . parts, till the sum length is over
255.
On 01/09/2011 01:21 AM, TR Shaw wrote:
On Jan 8, 2011, at 12:09 PM, Ashley Sheridan wrote:
On Sat, 2011-01-08 at 16:55 +0800, WalkinRaven wrote:
PHP
On Sat, 2011-01-08 at 16:55 +0800, WalkinRaven wrote:
PHP 5.3 PCRE
Regular Express to match domain names format according to RFC 1034 -
DOMAIN NAMES - CONCEPTS AND FACILITIES
/^
(
[a-z] |
[a-z] (?:[a-z]|[0-9]) |
[a-z] (?:[a-z]|[0-9]|\-){1,61} (?:[a-z]|[0-9])
On Jan 8, 2011, at 12:09 PM, Ashley Sheridan wrote:
On Sat, 2011-01-08 at 16:55 +0800, WalkinRaven wrote:
PHP 5.3 PCRE
Regular Express to match domain names format according to RFC 1034 -
DOMAIN NAMES - CONCEPTS AND FACILITIES
/^
(
[a-z] |
[a-z] (?:[a-z]|[0-9])
On 01/09/2011 01:09 AM, Ashley Sheridan wrote:
On Sat, 2011-01-08 at 16:55 +0800, WalkinRaven wrote:
PHP 5.3 PCRE
Regular Express to match domain names format according to RFC 1034 -
DOMAIN NAMES - CONCEPTS AND FACILITIES
/^
(
[a-z] |
[a-z] (?:[a-z]|[0-9]) |
[a-z]
On Tue, Nov 9, 2010 at 6:55 PM, Daevid Vincent dae...@daevid.com wrote:
I've used variable variables before but for some reason I can't figure this
snippet out. Why doesn't $ini_file get set (or appended to).
AFAIK variable variables can only reference actual variables--not array
subscripts
On 14 October 2010 21:45, Brian Dunning br...@briandunning.com wrote:
Gents -
I'm trying to work with a major vendor's web service, but all my efforts are
met with a 401 authentication error response. I can log in manually to this
URL using these credentials through a browser, so I know the
-Original Message-
From: Richard Quadling [mailto:rquadl...@gmail.com]
Sent: Friday, October 15, 2010 1:47 AM
To: Brian Dunning
Cc: PHP-General List
Subject: Re: [PHP] Help with sending credentials?
On 14 October 2010 21:45, Brian Dunning br...@briandunning.com wrote:
Gents
On 15 October 2010 10:51, Tommy Pham tommy...@gmail.com wrote:
-Original Message-
From: Richard Quadling [mailto:rquadl...@gmail.com]
Sent: Friday, October 15, 2010 1:47 AM
To: Brian Dunning
Cc: PHP-General List
Subject: Re: [PHP] Help with sending credentials?
On 14 October 2010
On Thu, Oct 14, 2010 at 4:45 PM, Brian Dunning br...@briandunning.comwrote:
Gents -
I'm trying to work with a major vendor's web service, but all my efforts
are met with a 401 authentication error response. I can log in manually to
this URL using these credentials through a browser, so I
Hello Joey,
No problem, I'm glad you got it working now.
Any other question. Use php-list.
Regards,
Carlos Sura.
From: j.hendrick...@comcast.net
To: carlos_s...@hotmail.com
Subject: Re: [PHP] Help with template file and email
Date: Sat, 24 Jul 2010 08:29:03 -0500
Hi Carlos,
I
thanks carlos,
but where would i enter that command?
and i tried editing the php.ini file but that didn't accomplish anything.
isaac
On Mon, Jul 19, 2010 at 1:29 AM, Carlos Sura carlos_s...@hotmail.com wrote:
Hello Isaac Lee.
Are you running on Linux or Windows?
You might try:
mysql SET
im using windows.
On Mon, Jul 19, 2010 at 12:23 PM, Isaac Lee rhinecant...@gmail.com wrote:
thanks carlos,
but where would i enter that command?
and i tried editing the php.ini file but that didn't accomplish anything.
isaac
On Mon, Jul 19, 2010 at 1:29 AM, Carlos Sura
.
Date: Mon, 19 Jul 2010 12:24:26 -0400
From: rhinecant...@gmail.com
To: carlos_s...@hotmail.com
CC: php-general@lists.php.net
Subject: Re: [PHP] help using phpadmin
im using windows.
On Mon, Jul 19, 2010 at 12:23 PM, Isaac Lee rhinecant...@gmail.com wrote:
thanks carlos,
but where would
Hello Isaac Lee.
Are you running on Linux or Windows?
You might try:
mysql SET PASSWORD FOR root@'localhost = PASSWORD(yourpassword);
Then restart your service -if needed-
If not... Try to edit config.inc.php file.
Regards,
Carlos Sura
-Original Message-
From: Isaac Lee
On 12 July 2010 18:34, Tommy Pham tommy...@gmail.com wrote:
SELECT srs.Name FROM SMS_R_System srs WHERE srs.SystemOUName IN
(example.com/COMPUTERS/MAIN CAMPUS/ABC, example.com/COMPUTERS/MAIN
CAMPUS/XYZ)
As this is a single table query, there is no need for the table alias.
SELECT Name FROM
On 13 July 2010 14:56, Joey Hendricks j.hendrick...@comcast.net wrote:
Hello,
I have been working on a birtday invite program. The form takes 10 names and
10 email addresses. I think the problem is the $to variable in my function. I
get this warning-Warning: mail() [function.mail]: SMTP
: Tue, 13 Jul 2010 15:02:14 +0100
To: j.hendrick...@comcast.net
CC: php-general@lists.php.net
Subject: Re: [PHP] Help with template file and email
On 13 July 2010 14:56, Joey Hendricks j.hendrick...@comcast.net wrote:
Hello,
I have been working on a birtday invite program. The form takes 10
On Mon, 2010-07-12 at 10:24 -0500, Adam wrote:
I was google searching, and the only SQL mailing list I found is
currently giving a 503 error, so I hope you don't mind me asking my SQL
question here, since there are a lot of SQL gurus here. I am having a
syntax problem:
Instead of doing
-Original Message-
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
Sent: Monday, July 12, 2010 8:26 AM
To: Adam
Cc: PHP General
Subject: Re: [PHP] help with sql statement
On Mon, 2010-07-12 at 10:24 -0500, Adam wrote:
I was google searching, and the only SQL mailing
Solved it. Here's the solution:
$pdf = new fpdi();
$pdf-setSourceFile('D:\\DocShare\\'.$filename);
$tplidx = $pdf-ImportPage(1);
$s = $pdf-getTemplatesize($tplidx);
$pdf-AddPage($s['h'] $s['w'] ? 'P' : 'L', array($s['w'], $s['h'])); // This
gets it the right dimensions
$pdf-useTemplate($tplidx,
On 3 March 2010 13:01, Paul Halliday paul.halli...@gmail.com wrote:
I need to pipe some data to an external application.
I have this:
while ($row = mysql_fetch_array($theData[0])) {
$src_ip[] = $row[0];
$dst_ip[] = $row[1];
$sig_desc[] = $row[2];
$rec ++;
if ( $rec ==
On Wed, 2010-03-03 at 13:04 +, Richard Quadling wrote:
On 3 March 2010 13:01, Paul Halliday paul.halli...@gmail.com wrote:
I need to pipe some data to an external application.
I have this:
while ($row = mysql_fetch_array($theData[0])) {
$src_ip[] = $row[0];
$dst_ip[] =
I work by example :)
I can't find enough of an example to get me going with this.
I have this:
$glow = popen('afterglow.pl -c color.properties -s -e 3 -p 1 -l 2000 |
neato -Tpng -o /usr/local/www/test.png','r');
how do I feed my array to that?
Thanks.
On Wed, Mar 3, 2010 at 9:04 AM, Richard
On Fri, 2010-02-26 at 14:11 -0600, John Tamm-Buckle wrote:
Hi, new to this list...
I'm adapting some code that generates text and want to keep the syntax. In
the original version the output was iterated from an array in pre tags.
That was fine for what it was, but it's now a word press
http://us.php.net/manual/en/function.htmlentities.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 2010-02-22 at 09:09 -0600, Stan wrote:
I have a PHP page that has
require_once(genMyOverlay.js.php);
.
.
.
echo body;
echo script language=\JavaScript\doit(\mydiv\);/scriptbr;
echo /body;
genMyOverlay.js.php contains: createDiv() (see below) that creates a DIV
ID=mydiv
At 3:15 PM + 2/22/10, Ashley Sheridan wrote:
Also, your script tags need a type attribute:
script language=javascript type=text/javascript
Actually, you only need this:
script type=text/javascript
The language attribute will throw an error in validation.
Cheers,
tedd
--
---
On Mon, 2010-02-22 at 12:33 -0500, tedd wrote:
At 3:15 PM + 2/22/10, Ashley Sheridan wrote:
Also, your script tags need a type attribute:
script language=javascript type=text/javascript
Actually, you only need this:
script type=text/javascript
The language attribute will throw
At 5:32 PM + 2/22/10, Ashley Sheridan wrote:
On Mon, 2010-02-22 at 12:33 -0500, tedd wrote:
At 3:15 PM + 2/22/10, Ashley Sheridan wrote:
Also, your script tags need a type attribute:
script language=javascript type=text/javascript
Actually, you only need this:
script
hello,
Hi ryan, i am not sure i am getting you on what ya want , is this
something like what ya want, the code below which i wrote?
function get_value()
{
var el = document.form_name.elements.length;
for(var i =0 ; i= el ; i++)
{
if(document.form_name.elements[i].type=checkbox)
{
var id =
Why not just pass the value in the onclick?
Onclick=doSomething(this);
Would give you simple access to all the properties of that element.
This.value would pass just the value.
Bastien
Sent from my iPod
On Feb 6, 2010, at 9:43 AM, Ryan S gen...@yahoo.com wrote:
Hey guys,
As many of you
On Sat, 2010-02-06 at 06:43 -0800, Ryan S wrote:
Hey guys,
As many of you might know, i totally suck at regex..so would really
appreciate some help here.
Basically i have a html page with a lot of textboxes,radios,checkboxes etc
i need your help in the form of a regex so that when i
Hey Ash,Bastien!
clip
Rather than a regex, you're probably better off using something like
DomDocument, where you can iterate over all of the input elements in the
document, and check the attributes of each one to check if they match your
criteria.
/clip
@Ash, You're kinda reading my mind...
On Sat, 2010-02-06 at 07:53 -0800, Ryan S wrote:
Hey Ash,Bastien!
clip
Rather than a regex, you're probably better off using something like
DomDocument, where you can iterate over all of the input elements in the
document, and check the attributes of each one to check if they match your
On Tue, Jan 26, 2010 at 10:37 PM, Rob Gould gould...@mac.com wrote:
It appears that IE renders it's display: none in all caps while Firefox and
other browsers pass it back in lowercase. This throws off my php line of
code the is supposed to nuke blank bullets from a string of text:
$bl =
LI
If the download speed is constant (linear) then you can just use.
(10245458756 / 6t)/1000 = kb/second
or
(10245458756 / 6t)/6 = kb/minute
The general form would be.
(size_of_file / download_speed * time) / convert_to_units
Where t (or time) is the amount of seconds that the download
On Tue, 2009-08-18 at 16:00 +0200, Merlin Morgenstern wrote:
Hi there,
I am highlighting keywords with the help of pregreplace. This works
great with one limitation. If the word that has to be replaced contains
a slash, preg throws an error. So far I could not find a fix. Can
someone
Ashley Sheridan wrote:
On Tue, 2009-08-18 at 16:00 +0200, Merlin Morgenstern wrote:
Hi there,
I am highlighting keywords with the help of pregreplace. This works
great with one limitation. If the word that has to be replaced contains
a slash, preg throws an error. So far I could not find a
On 8/18/09 10:56 AM, Merlin Morgenstern merli...@fastmail.fm wrote:
Ashley Sheridan wrote:
On Tue, 2009-08-18 at 16:00 +0200, Merlin Morgenstern wrote:
Hi there,
I am highlighting keywords with the help of pregreplace. This works
great with one limitation. If the word that has to be
On Tue, Aug 4, 2009 at 13:47, Allen McCabeallenmcc...@gmail.com wrote:
[snip=everything]
Looks like you're missing a closing bracket here:
if(!empty($_POST['EMailAddress'])) {
$EMailAddress = $_POST['EMailAddress'];
} else {
$EMailAddress = ;
// --- Right here
--
/Daniel P. Brown
Allen McCabe wrote:
*Parse error*: syntax error, unexpected $end in *
/home/a9066165/public_html/admin/processccu.php* on line *231*
I have learned from a number of similar mistakes that this error message
/normally/ means that I have a miss-matched number of brackets on a
foreach, while, or
On Tue, 2009-08-04 at 10:56 -0700, Jim Lucas wrote:
Allen McCabe wrote:
*Parse error*: syntax error, unexpected $end in *
/home/a9066165/public_html/admin/processccu.php* on line *231*
I have learned from a number of similar mistakes that this error message
/normally/ means that I have
Ashley - I am formatting this way, it just didn't translate into gmail : )
Daniel, Martin, and Jim - Thanks very much, my php runs now, however I don't
get the result page anymore. My inbox receives the form (missing cells, but
that's another issue), but the browser doesn't load processccu.php,
Well, I got it to display a thank you page instead of what I had. I'm
rolling with the punches. Got to work on why my email table is not building
right. Stay tuned!
On Tue, Aug 4, 2009 at 11:09 AM, Allen McCabe allenmcc...@gmail.com wrote:
Ashley - I am formatting this way, it just didn't
Allen McCabe wrote:
Ashley - I am formatting this way, it just didn't translate into gmail : )
You might try using indentation with more then one space. Try tabs.
Any respectable editor will allow you to set the number of spaces it
uses to actually represent the tab.
That way I can have mine
I created a webpage with the code listed, and a screen shot of the email I
am currently receiving (with nonsense entered into my inputs)
URL:
http://lpacmarketing.hostzi.com/admin/help.html
Anyone that can provide help will be rewarded in their next life. That's a
promise.
Thanks!
On Tue, Aug
Allen McCabe wrote:
I created a webpage with the code listed, and a screen shot of the email I
am currently receiving (with nonsense entered into my inputs)
URL:
http://lpacmarketing.hostzi.com/admin/help.html
Anyone that can provide help will be rewarded in their next life. That's a
On Sun, 2009-07-19 at 16:47 +0930, tony mount wrote:
Hi,
My first post. Been writing php from scratch for about 12 months, mainly
with what I learnt from the web. Have a problem trying to download
multiple files. I'm using the following code:
if (file_exists($file)) {
On Saturday 11 July 2009 01:17:28 Zareef Ahmed wrote:
Hi,
First of all change your FTP password and stop storing your password in
your FTP client.
This type of attacks are very common with the people who use insecure FTP
client.
My previous experience with your kind of problem tell me
On Fri, Jul 10, 2009 at 15:48, Chris Paynechris_pa...@danmangames.com wrote:
Hi everyone,
My server appears to be the victim of a chinese hack-attack and I
believe they managed to change pages via SQL Injection, do any of you
have any ideas how to lock down my forms so MySQL cannot be used
On Fri, Jul 10, 2009 at 3:50 PM, Daniel Browndanbr...@php.net wrote:
On Fri, Jul 10, 2009 at 15:48, Chris Paynechris_pa...@danmangames.com wrote:
Hi everyone,
My server appears to be the victim of a chinese hack-attack and I
believe they managed to change pages via SQL Injection, do any of
On Jul 10, 2009, at 1:50 PM, Daniel Brown wrote:
On Fri, Jul 10, 2009 at 15:48, Chris
Paynechris_pa...@danmangames.com wrote:
Hi everyone,
My server appears to be the victim of a chinese hack-attack and I
believe they managed to change pages via SQL Injection, do any of you
have any ideas
1 - 100 of 1991 matches
Mail list logo