---
Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get
a Free CD of Ubuntu mailed to your door without any cost. Visit :
www.ubuntu.com
--
On
Michael A. Peters wrote:
I would appreciate feedback.
First php class I've written myself (the little tiny ones that are just
over-glorified functions don't count.)
Probably has bugs.
iframes and objects aren't working even for white listed where they
should - I know why on the latter, I ne
I would appreciate feedback.
First php class I've written myself (the little tiny ones that are just
over-glorified functions don't count.)
Probably has bugs. I have not thoroughly tested it - but I finally have
a nice test sandbox to play with.
http://www.clfsrpm.net/xss/dom_script_test.php
Hello,
on 03/13/2009 05:37 PM Rick Pasotto said the following:
> I have several forms on my site that use the same sequence of events:
> The first script displays and validates the form data, the second
> reformats and asks for confirmation or editing, and the third script
> sends the data in an e
Thanks Jan, it's much clearer now. My knowledge about character
encodings has multiplied 100-fold in the last 24 hours' research.
Would it be a good idea for the PHP Manual to address some of these
issues, by explaining good practice in encoding arbitrary user input in
forms (for example), fo
I have an English website done using PHP & mySQL.
In addition I would like to be able to store in mySQL and display/edit (php)
some extra fields that have some basic Chinese text.
I imagine I would have to update the main site to use English & Chinese
somehow...
Q: Is something like this possibl
Tom Chubb wrote:
> 2009/3/13 Robert Cummings
>
>> On Fri, 2009-03-13 at 17:16 +, Tom Chubb wrote:
>>> Do any experienced PHP programmers in London fancy helping me improve my
>>> PHP?
>>> I'd like to know where my code could be improved and to be shown how an
>>> experienced programmer would
Hi Folks,
I would like to make a summary report with details for a products inventory
list - so it could list:
A - the product & a few summaries like total count on 1 line
B - --- below that: the details of a multi line sub list with inventory
data like:
A - PRODUCT #1 - count = 25
B ---
2009/3/13 Robert Cummings
> On Fri, 2009-03-13 at 17:16 +, Tom Chubb wrote:
> > Do any experienced PHP programmers in London fancy helping me improve my
> > PHP?
> > I'd like to know where my code could be improved and to be shown how an
> > experienced programmer would approach a new site.
>
haliphax wrote:
> On Fri, Mar 13, 2009 at 1:24 PM, PJ wrote:
>> Jim Lucas wrote:
>>> PJ wrote:
am resending as this was erroneously ccd to mysql. sorry!
Ashley Sheridan wrote:
> On Thu, 2009-02-26 at 11:27 -0500, PJ wrote:
>> Jerry Schwartz wrote:
>>
Being rathe
I have several forms on my site that use the same sequence of events:
The first script displays and validates the form data, the second
reformats and asks for confirmation or editing, and the third script
sends the data in an email to the relevent people.
Two of these forms work exactly as they're
Robert Cummings wrote:
Send me a blank cheque-- if it clears then I'll get back to you... from
someplace warm... by a beach while drinking martinis... and getting a
massage... from more than one lady...
should we forward this to your wife now, or after the check clears?
She's one of the ladie
On Fri, 2009-03-13 at 15:45 -0400, Robert Cummings wrote:
> On Fri, 2009-03-13 at 19:09 +, Richard Heyes wrote:
> > > ereg
> >
> > [Gasps and runs off shouting "PCRE"] ...
>
> You know... Until somewhat recently I preferred POSIX over PCRE...
> rationale being it's "POSIX" that's a standard!!
On Fri, 2009-03-13 at 20:17 +0100, Jochem Maas wrote:
> Robert Cummings schreef:
> > On Fri, 2009-03-13 at 17:16 +, Tom Chubb wrote:
> >> Do any experienced PHP programmers in London fancy helping me improve my
> >> PHP?
> >> I'd like to know where my code could be improved and to be shown how
On Fri, 2009-03-13 at 19:09 +, Richard Heyes wrote:
> > ereg
>
> [Gasps and runs off shouting "PCRE"] ...
You know... Until somewhat recently I preferred POSIX over PCRE...
rationale being it's "POSIX" that's a standard!!! But recently I came
across some legacy code in a site I maintain that
Robert Cummings schreef:
> On Fri, 2009-03-13 at 17:16 +, Tom Chubb wrote:
>> Do any experienced PHP programmers in London fancy helping me improve my
>> PHP?
>> I'd like to know where my code could be improved and to be shown how an
>> experienced programmer would approach a new site.
>> I'd r
On Fri, Mar 13, 2009 at 2:09 PM, Richard Heyes wrote:
>> ereg
>
> [Gasps and runs off shouting "PCRE"] ...
>
> --
> Richard Heyes
>
> HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari:
> http://www.rgraph.net (Updated February 28th)
>
You can bet your shirt my tests were using preg_repl
> ereg
[Gasps and runs off shouting "PCRE"] ...
--
Richard Heyes
HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari:
http://www.rgraph.net (Updated February 28th)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Mar 13, 2009 at 1:24 PM, PJ wrote:
> Jim Lucas wrote:
>> PJ wrote:
>>> am resending as this was erroneously ccd to mysql. sorry!
>>>
>>> Ashley Sheridan wrote:
On Thu, 2009-02-26 at 11:27 -0500, PJ wrote:
> Jerry Schwartz wrote:
>
>>> Being rather new to all this, I unders
On Fri, Mar 13, 2009 at 12:34 PM, Matt Neimeyer wrote:
> I'm trying to sanitize some numeric data that's coming to us from
> another system which I have no control over where all fields are
> character fields with no formatting from the end user so data is a
> mishmash of clean and mixed types of
Jim Lucas wrote:
> PJ wrote:
>> am resending as this was erroneously ccd to mysql. sorry!
>>
>> Ashley Sheridan wrote:
>>> On Thu, 2009-02-26 at 11:27 -0500, PJ wrote:
Jerry Schwartz wrote:
>> Being rather new to all this, I understood from the MySql manual
>> that
>> the auto
On Fri, Mar 13, 2009 at 13:15, Jan G.B. wrote:
>
> Where's your point? Proving that you know the well known clients and
> their behaviour?
> Just stick to the standards. easy. no or less errors occur.
Okay, I'm not going to get into a flame war with you, because it's
obvious that your native
On Mar 13, 2009, at 11:44 AM, Shawn McKenzie wrote:
Rahul S. Johari wrote:
On Mar 13, 2009, at 10:01 AM, Bastien Koert wrote:
On Fri, Mar 13, 2009 at 9:56 AM, Rahul S. Johari <
sleepwal...@rahulsjohari.com> wrote:
Ave,
I'm trying to retrieve data from a DBF database and write it to a
C
I'm trying to sanitize some numeric data that's coming to us from
another system which I have no control over where all fields are
character fields with no formatting from the end user so data is a
mishmash of clean and mixed types of dirty.
I know I can use intval and floatval to sanitize if the
2009/3/13 Heddon's Gate Hotel :
> The string function htmlentities seems to have very incomplete coverage of
> the HTML entities listed in the HTML 4 spec. For example, it does not know
> about rsquo, lsquo, rdquo, ldquo, etc. This is confirmed by looking at the
> output of get_html_translation_t
On Fri, 2009-03-13 at 17:16 +, Tom Chubb wrote:
> Do any experienced PHP programmers in London fancy helping me improve my
> PHP?
> I'd like to know where my code could be improved and to be shown how an
> experienced programmer would approach a new site.
> I'd rather pay the right person a hig
Do any experienced PHP programmers in London fancy helping me improve my
PHP?
I'd like to know where my code could be improved and to be shown how an
experienced programmer would approach a new site.
I'd rather pay the right person a high amount than find someone cheap!
Thanks,
Tom
PS - May as we
2009/3/11 Daniel Brown :
> On Wed, Mar 11, 2009 at 12:38, Jan G.B. wrote:
>> wrong:
>> "Location: file.txt"
>> and this is correct
>> "Location: http://www.x.x/file.txt";
>>
>> Not all clients behave like yours and accept the wrong header.
>
> The *protocol* does not, but the HTTP/1.1 specifica
Rahul S. Johari wrote:
>
> On Mar 13, 2009, at 10:01 AM, Bastien Koert wrote:
>
>> On Fri, Mar 13, 2009 at 9:56 AM, Rahul S. Johari <
>> sleepwal...@rahulsjohari.com> wrote:
>>
>>> Ave,
>>>
>>> I'm trying to retrieve data from a DBF database and write it to a CSV
>>> file
>>> in a comma delimited
Thodoris wrote:
Hi gang,
I am trying to run a script from cli which goes like this:
#!/usr/bin/php
The error I get is this:
/usr/bin/php^M: bad interpreter: Permission denied
the php binary is indeed in this location and when I run the same script
like this:
php -f test.php
it works
On Fri, Mar 13, 2009 at 10:23, Thodoris wrote:
[snip!]
Both commands return the same path.
and that path, I'll presume, is the same you have set in the
script, right? Please offer as much information as you can with each
email to speed up the troubleshooting process. ;-P
Thodoris wrote:
> Hi gang,
>I am trying to run a script from cli which goes like this:
>
> #!/usr/bin/php
> passthru("printenv");
> ?>
>
> The error I get is this:
> /usr/bin/php^M: bad interpreter: Permission denied
>
> the php binary is indeed in this location and when I run the same scri
On Fri, Mar 13, 2009 at 10:30:47AM -0400, Daniel Brown wrote:
> On Fri, Mar 13, 2009 at 05:01, The Doctor wrote:
> [snip!]
> >
> > What is going on?
> [snip!]
>
> The warnings could've indicated simply that the error reporting
> configuration was different between your builds, but the failure
On Fri, Mar 13, 2009 at 10:30:47AM -0400, Daniel Brown wrote:
> On Fri, Mar 13, 2009 at 05:01, The Doctor wrote:
> [snip!]
> >
> > What is going on?
> [snip!]
>
> The warnings could've indicated simply that the error reporting
> configuration was different between your builds, but the failure
On Fri, Mar 13, 2009 at 10:23, Thodoris wrote:
[snip!]
>
> Both commands return the same path.
and that path, I'll presume, is the same you have set in the
script, right? Please offer as much information as you can with each
email to speed up the troubleshooting process. ;-P
What'
On Fri, Mar 13, 2009 at 05:01, The Doctor wrote:
[snip!]
>
> What is going on?
[snip!]
The warnings could've indicated simply that the error reporting
configuration was different between your builds, but the failure -
when both were built the same way for PostgreSQL. Are both on the
same sys
Note the ^M --- then use dos2unix from the command line on the
Linux box to fix the line endings on that file. The ^M character is a
sure-fire sign of a Windows-saved file.
Already tried that but I still get the same error (without the ^M of
course) so I think it's not the line termi
On Mar 13, 2009, at 10:01 AM, Bastien Koert wrote:
On Fri, Mar 13, 2009 at 9:56 AM, Rahul S. Johari <
sleepwal...@rahulsjohari.com> wrote:
Ave,
I'm trying to retrieve data from a DBF database and write it to a
CSV file
in a comma delimited format. I'm able to get the data and write it
to
On Fri, Mar 13, 2009 at 10:10, Thodoris wrote:
> Hi gang,
> I am trying to run a script from cli which goes like this:
>
> #!/usr/bin/php
> passthru("printenv");
> ?>
>
> The error I get is this:
> /usr/bin/php^M: bad interpreter: Permission denied
Note the ^M --- then use dos2unix from th
Hi gang,
I am trying to run a script from cli which goes like this:
#!/usr/bin/php
The error I get is this:
/usr/bin/php^M: bad interpreter: Permission denied
the php binary is indeed in this location and when I run the same script
like this:
php -f test.php
it works properly. I will hav
On Fri, Mar 13, 2009 at 9:37 AM, haliphax wrote:
> On Thu, Mar 12, 2009 at 7:47 PM, scubak1w1 wrote:
> > Hello,
> >
> > Seeking some advice on how to create an ERD (sic) graphically on the page
> on
> > the fly when the page is 'called'...
> >
> > That is, I have a backend PostgreSQL database th
On Fri, Mar 13, 2009 at 9:56 AM, Rahul S. Johari <
sleepwal...@rahulsjohari.com> wrote:
> Ave,
>
> I'm trying to retrieve data from a DBF database and write it to a CSV file
> in a comma delimited format. I'm able to get the data and write it to CSV,
> but it only writes the last row/record ... no
Ave,
I'm trying to retrieve data from a DBF database and write it to a CSV
file in a comma delimited format. I'm able to get the data and write
it to CSV, but it only writes the last row/record ... not all the
records. I know I don't have the correct code and I'm hoping someone
can help m
On Fri, Mar 13, 2009 at 3:18 AM, 9el wrote:
>> It sounds like a script error rather than a PHP error. Use Firebug which
>> will show you the HTML as it is updated by Javascript, so you can see
>> where the problem is. I'm willing to bet that the Javascript code you
>> are using is IE only.
>>
>> Y
On Thu, Mar 12, 2009 at 7:47 PM, scubak1w1 wrote:
> Hello,
>
> Seeking some advice on how to create an ERD (sic) graphically on the page on
> the fly when the page is 'called'...
>
> That is, I have a backend PostgreSQL database that I am getting data from
> and putting data into via web page/s an
From: haliphax
> On Thu, Mar 12, 2009 at 3:44 PM, Paul M Foster
wrote:
>> On Thu, Mar 12, 2009 at 12:55:54PM -0700, mike wrote:
>>
>>> http://puresw.com/products/lore/ - paid
>>> http://www.knowledgebase-script.com/ - paid
>>> http://68kb.com/ - free
>>>
>>> Free is good.
>>>
>>> Just needs to be
In 5.2.9 I was seeing
/usr/local/lib/php/includes/XBT/class/pstgrs_DB.php(70) : Warning - pg_query():
supplied argument is not a valid PostgreSQL link resource
/usr/local/lib/php/includes/XBT/class/pstgrs_DB.php(70) : Warning - pg_query()
[function.pg-query]: Query failed: ERROR:
insert
or up
> It sounds like a script error rather than a PHP error. Use Firebug which
> will show you the HTML as it is updated by Javascript, so you can see
> where the problem is. I'm willing to bet that the Javascript code you
> are using is IE only.
>
> Yeah, php is never browser specific. It is rendered
On Fri, 2009-03-13 at 02:06 -0500, Micah Gersten wrote:
> scubak1w1 wrote:
> > Hello,
> >
> > Banging my head against this one...
> >
> > Briefly:
> > - I have two forms on the same page
> > - both forms are: action=""
> > method="post"
> > - both forms gave unique ids
> > - both forms have
On Thu, 12 Mar 2009 18:39:38 -0600, scubak1w1 wrote:
>[...]
>In the non-IE browsers I have tried (Firefox, Chrome, Opera), the first form
>uploads the file properly, the 2nd form's submit is 'turned on' by AJAX -
>BUT the submit button on the 2nd form doesn't seem to do anything - i.e.,
>the on
On Thu, 12 Mar 2009 18:47:40 -0600, scubak1w1 wrote:
>Seeking some advice on how to create an ERD (sic) graphically on the page on
>the fly when the page is 'called'...
>[...]
Maybe GraphViz?
http://graphviz.org/
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll l
scubak1w1 wrote:
> Hello,
>
> Banging my head against this one...
>
> Briefly:
> - I have two forms on the same page
> - both forms are: action=""
> method="post"
> - both forms gave unique ids
> - both forms have a hidden file of the type name="_add_new_module_details" value="1" /> which i
52 matches
Mail list logo