Hi folks,
Many thanks for all!
kind regards;
On Wed, Jun 13, 2012 at 4:04 PM, Bastien Koert wrote:
> On Wed, Jun 13, 2012 at 9:23 AM, Marc Guay wrote:
>> I've used both Netbeans and Aptana w/ WinXP over the past few years
>> and of the two I would recommend Aptana. Netbeans was crippling slow
On Wed, Jun 13, 2012 at 9:23 AM, Marc Guay wrote:
> I've used both Netbeans and Aptana w/ WinXP over the past few years
> and of the two I would recommend Aptana. Netbeans was crippling slow
> and Aptana often gets it's workspace corrupted, which makes both of
> them crappy (yet free!), but for d
I've used both Netbeans and Aptana w/ WinXP over the past few years
and of the two I would recommend Aptana. Netbeans was crippling slow
and Aptana often gets it's workspace corrupted, which makes both of
them crappy (yet free!), but for day to day use when they're not
failing entirely, Aptana is
Simon Dániel wrote:
> Hi,
>
> Although
it's not an IDE, it is full of very useful developer tools: Kate
>
>
> 2012/6/13 David Arroyo
>
>> Hi Folks,
>>
>> I am searching
an IDE for php and web development, my options are
>> Aptana or
Eclipse+PDT.
>> What is your opinion?
I've seen
these arti
Hi,
Although it's not an IDE, it is full of very useful developer tools: Kate
2012/6/13 David Arroyo
> Hi Folks,
>
> I am searching an IDE for php and web development, my options are
> Aptana or Eclipse+PDT.
> What is your opinion?
>
> Thanks.
> Regards.
>
> --
>
> --
> PHP General Mailing Lis
Hi,
There was a discussion about that on Google+ ...
IDEs mentioned there:
__Free
* Eclipse PDT (5x)
* Aptana - based on Eclipse but not using PDT for PHP (2x)
* Netbeans (12x)
* VIM (6x)
* KDevelop (1x)
* gedit (3x)
__NonFree
* Sublime Text 2 (6x) - USD $59
* PhpStorm (7x) - €94 personal, €18
David Arroyo wrote:
I am searching an IDE for php and web development, my options are
Aptana or Eclipse+PDT.
What is your opinion?
I'm using Eclipse with PHPEclipse but PDT is probably just as good nowadays.
PHPEclipse needs a few updates to handle some of the 'new features' in PHP.
The adva
I would like free, no pay a license.
On Wed, Jun 13, 2012 at 11:51 AM, David Arroyo wrote:
> Sebastian, I would like free, no pay a license.
> Thanks for you opinion.
>
> On Wed, Jun 13, 2012 at 11:33 AM, Sebastian Krebs
> wrote:
>> Hi,
>>
>> 2012/6/13 David Arroyo
>>
>>> Hi Folks,
>>>
>>> I a
Hi there,
2012/6/13 David Arroyo
> Hi Folks,
>
> I am searching an IDE for php and web development, my options are
> Aptana or Eclipse+PDT.
> What is your opinion?
>
> Thanks.
> Regards.
>
>
notepad++ or netbeans.
And although I haven't tried it yet, I heard the the Sublime Text Editor 2
is grea
Hi,
2012/6/13 David Arroyo
> Hi Folks,
>
> I am searching an IDE for php and web development, my options are
> Aptana or Eclipse+PDT.
> What is your opinion?
>
PhpStorm
>
> Thanks.
> Regards.
>
> --
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2012年06月13日 17:11, David Arroyo wrote:
> Hi Folks,
>
> I am searching an IDE for php and web development, my options are
> Aptana or Eclipse+PDT. What is your opinion?
>
> Thanks. Regards.
>
> --
>
NetBeans IDE.
- --
Best regards,
Sharl.Jimh.
Hi Folks,
I am searching an IDE for php and web development, my options are
Aptana or Eclipse+PDT.
What is your opinion?
Thanks.
Regards.
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: Sharl.Jimh.Tsin [mailto:amoiz.sh...@gmail.com]
> Sent: Thursday, October 14, 2010 9:16 PM
> To: Bob McConnell
> Cc: ??; php-general@lists.php.net
> Subject: Re: [PHP] searching for application like Google Doc
>
> Are you looking for a o
Are you looking for a open-source project likes it?
searching it via Google with "php"、"office doc"、"open source" key
words may help you.
Best regards,
Sharl.Jimh.Tsin (From China)
2010/10/14 Bob McConnell :
> From: ??
>
>> Is there any application like Google Doc(here I mean the spreadsheet).
From: ??
> Is there any application like Google Doc(here I mean the spreadsheet).
What is your conception of "like"?
Have you looked at OpenOffice?
Bob McConnell
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there any application like Google Doc(here I mean the spreadsheet).
thanks
- Original Message
> From: Paul M Foster
> To: php-general@lists.php.net
> Sent: Friday, September 4, 2009 9:15:08 PM
> Subject: Re: [PHP] Searching on AlphaNumeric Content Only
>
> On Fri, Sep 04, 2009 at 08:15:41PM -0400, Robert Cummings wrote:
>
> > Paul
On Fri, Sep 04, 2009 at 08:15:41PM -0400, Robert Cummings wrote:
> Paul M Foster wrote:
>> On Fri, Sep 04, 2009 at 04:22:18PM -0400, Eddie Drapkin wrote:
>>
>>> On Fri, Sep 4, 2009 at 12:02 PM, Lupus
>>> Michaelis wrote:
>>
>>> if you're on shared hosting (but then again I am of the opinion
>>> th
Paul M Foster wrote:
On Fri, Sep 04, 2009 at 04:22:18PM -0400, Eddie Drapkin wrote:
On Fri, Sep 4, 2009 at 12:02 PM, Lupus
Michaelis wrote:
if you're on shared hosting (but then again I am of the opinion
that those who choose to run with shared hosting dig their own graves
in more ways than
On Fri, Sep 04, 2009 at 04:22:18PM -0400, Eddie Drapkin wrote:
> On Fri, Sep 4, 2009 at 12:02 PM, Lupus
> Michaelis wrote:
> if you're on shared hosting (but then again I am of the opinion
> that those who choose to run with shared hosting dig their own graves
> in more ways than one).
Any time
- Original Message
> From: Robert Cummings
> To: Eddie Drapkin
> Cc: Lupus Michaelis ; php-general@lists.php.net
> Sent: Friday, September 4, 2009 1:36:08 PM
> Subject: Re: [PHP] Searching on AlphaNumeric Content Only
>
> Eddie Drapkin wrote:
> > On Fri, Sep
Eddie Drapkin wrote:
On Fri, Sep 4, 2009 at 12:02 PM, Lupus
Michaelis wrote:
Ashley Sheridan a écrit :
You'll have far greater performance issues if you retrieve all those
records and attempt to do the same thing inside of PHP...
It's why I speak about « avoiding » and not « bannishing ». Li
On Fri, Sep 4, 2009 at 12:02 PM, Lupus
Michaelis wrote:
> Ashley Sheridan a écrit :
>
>> You'll have far greater performance issues if you retrieve all those
>> records and attempt to do the same thing inside of PHP...
>
> It's why I speak about « avoiding » and not « bannishing ». Like can be
> u
Ashley Sheridan a écrit :
You'll have far greater performance issues if you retrieve all those
records and attempt to do the same thing inside of PHP...
It's why I speak about « avoiding » and not « bannishing ». Like can
be usefull, I used to use it. But it is not the a good answer to all
On Fri, 2009-09-04 at 17:00 +0200, Lupus Michaelis wrote:
> Ashley Sheridan a écrit :
> > What's wrong with using the wildcards that are built into most SQL
> > variants?
>
>Performance issues. Like is an operator to avoid when possible.
>
> --
> Mickaël Wolff aka Lupus Michaelis
> http://lu
Ashley Sheridan a écrit :
What's wrong with using the wildcards that are built into most SQL
variants?
Performance issues. Like is an operator to avoid when possible.
--
Mickaël Wolff aka Lupus Michaelis
http://lupusmic.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
>
> stripping, stemming, spelling corrections ?
> ... uhm, that's probably why they invented regular expressions, isn't it?
>
> As I said, at the end of the day, this will be a manual slow, potentially
> wrong implementation of what we already have and use on daily basis.
If you've got a regular
stripping, stemming, spelling corrections ?
... uhm, that's probably why they invented regular expressions, isn't it?
As I said, at the end of the day, this will be a manual slow, potentially wrong
implementation of what we already have and use on daily basis.
But obviously, everybody is free
On Thu, Sep 03, 2009 at 12:12:40PM -0700, sono...@fannullone.us wrote:
> Thanks to everyone who has responded. After reading everyone's
> response, I think I have a very simple way to solve my "problem".
>
> Using my original example, if someone wants to find item #
> 4D-2448-7PS, no
- Original Message
> From: "sono...@fannullone.us"
> To: PHP General List
> Sent: Thursday, September 3, 2009 12:12:40 PM
> Subject: Re: [PHP] Searching on AlphaNumeric Content Only
>
> Thanks to everyone who has responded. After reading everyone's
On Thu, Sep 3, 2009 at 3:17 PM, Ashley Sheridan
wrote:
> On Thu, 2009-09-03 at 12:12 -0700, sono...@fannullone.us wrote:
>> Thanks to everyone who has responded. After reading everyone's
>> response, I think I have a very simple way to solve my "problem".
>>
>> Using my original examp
On Thu, 2009-09-03 at 12:12 -0700, sono...@fannullone.us wrote:
> Thanks to everyone who has responded. After reading everyone's
> response, I think I have a very simple way to solve my "problem".
>
> Using my original example, if someone wants to find item #
> 4D-2448-7PS, no mat
Thanks to everyone who has responded. After reading everyone's
response, I think I have a very simple way to solve my "problem".
Using my original example, if someone wants to find item #
4D-2448-7PS, no matter what they type in, I'll take the input, strip
out all non-alphanumeric charac
> Even if the REGEXP has to change with every query?
Ben, it does not matter, this is not a PHP problem but a DB
structure/select/insert/update problem.
Whatever REGEXP you use, a REGEXP is what you need to solve this problem,
certainly not a PHP loop over each row with operations for each row
> What's wrong with using the wildcards that are built into most SQL
> variants?
>
> SELECT * FROM table WHERE item_id LIKE '%#abcdef'
>
> Will select all records where the item_id field ends in '#abcdef'
That works if you know the user is always going to enter the last 7
characters of the product
> Excuse me? Somebody suggested a PHP loop to solve a query problem and you are
> saying that REGEXP should not be used?
> MySQL caches queries and 100 SELECT with a REGEXP will cost zero after the
> first one if nothing changed inside the table.
Even if the REGEXP has to change with every query
> Indeed you could do it via a regexp, but that uses up quite some memory.
> Every time you do a SELECT. You can simply add a table column with the
> stripped value and let the table update itself (with an ON UPDATE ON
> INSERT trigger, which takes the input value for the itemID and strips it
Which DB?
If it is MySQL, as example, you can simply use REGEXP syntax "^[a-zA-Z0-9]+$"
via SELECT
Regards
> From: sono...@fannullone.us
> To: php-general@lists.php.net
> Date: Wed, 2 Sep 2009 20:47:15 -0700
> Subject: [PHP] Searching on AlphaNumeric Content Only
>
On Wed, 2009-09-02 at 21:30 -0700, Ben Dunlap wrote:
> >Is there is a way to search only for the alphanumeric content of
> > field in a db? I have an itemID field that contains item #'s that include
> > dashes, forward slashes, etc, and I want people to be able to search for an
> > item #
> Is there is a way to search only for the alphanumeric content of
> field in a db? I have an itemID field that contains item #'s that include
> dashes, forward slashes, etc, and I want people to be able to search for an
> item # even if they don't enter the punctuation exactly.
Not sure i
Hi,
It's definitely possible to do when you do it in PHP, but not sure about on
the database side. You could read all records into memory and then iterate
over it with something like:
$toSearch = "4D24487PS"
$charsToIgnore = array('-','+',...);
foreach ($items as $k=>$item) {
$itemVal = str_re
Is there is a way to search only for the alphanumeric content of
field in a db? I have an itemID field that contains item #'s that
include dashes, forward slashes, etc, and I want people to be able to
search for an item # even if they don't enter the punctuation exactly.
Here's an exampl
On Sat, Jan 3, 2009 at 4:28 AM, Yeti wrote:
> What if the whole text has only 1 line?
>
I would worry more (though probably not much) about the fringe cases
where a match spans across lines (or pages) such that it would either
prevent a qualifying match from being returned at all, or a highly
rel
Richard wrote:
> You could look into using Zend_Search_Lucene, which is part of the
> Zend framework. It's file based and so doesn't require the use of
> MySQL. Might make it slightly more portable if that's a concern. It
> will be a little more work than simply using MySQL, but it would be
> wort
> ...
You could look into using Zend_Search_Lucene, which is part of the
Zend framework. It's file based and so doesn't require the use of
MySQL. Might make it slightly more portable if that's a concern. It
will be a little more work than simply using MySQL, but it would be
worth it I think.
--
On Sat, 2009-01-03 at 01:28 -0800, Yeti wrote:
> What if the whole text has only 1 line?
What if? Shouldn't matter.
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
On Sat, 2009-01-03 at 09:26 +0100, Vicente wrote:
> Hi all,
>
> I'm implementing a search tool to find phrases inside a book.
> Users will search for some word, then the engine will returns
> the 3 or 4 lines containing that word, and giving also the book page
> number.
>
> I have the book in pl
What if the whole text has only 1 line?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I'm implementing a search tool to find phrases inside a book.
Users will search for some word, then the engine will returns
the 3 or 4 lines containing that word, and giving also the book page
number.
I have the book in plain text and the doubt is about different
approaches in order to b
On Fri, Oct 17, 2008 at 8:22 AM, robert mena <[EMAIL PROTECTED]> wrote:
> Hi,
> I am developing my first application that will have to handle with japanese
> data stored in a MySQL database. After digging a while it seems that I'd
> have to set all pieces (from the charset of the apache, to the e
Hi,
I am developing my first application that will have to handle with japanese
data stored in a MySQL database. After digging a while it seems that I'd
have to set all pieces (from the charset of the apache, to the encoding of
the templates and database fields) set to UTF-8.
I'd like to know if
On Oct 14, 2008, at 6:17 PM, Jochem Maas wrote:
Nathan Rixham schreef:
Ashley Sheridan wrote:
On Tue, 2008-10-14 at 14:54 -0700, Ryan S wrote:
quite a few sites seem to have a very neat way of implementing this
with (url rewriting?) something like
http://sitename/blog/tags/tag-comes-here/
A
Jochem Maas wrote:
Ashley Sheridan schreef:
On Wed, 2008-10-15 at 15:36 -0600, Govinda wrote:
improvement if I went for static URLs on the site, but I don't
have any
evidence for that, and I'm willing to admit it.
I'd rebuff this but it would feel like Im feeding a troll.
choices:
1 - Wast
Ashley Sheridan schreef:
> On Wed, 2008-10-15 at 15:36 -0600, Govinda wrote:
>
> improvement if I went for static URLs on the site, but I don't
> have any
> evidence for that, and I'm willing to admit it.
I'd rebuff this but it would feel like Im feeding a troll.
>>> choices:
>>
On Wed, 2008-10-15 at 15:36 -0600, Govinda wrote:
> >>>
> >>> improvement if I went for static URLs on the site, but I don't
> >>> have any
> >>> evidence for that, and I'm willing to admit it.
> >> I'd rebuff this but it would feel like Im feeding a troll.
> >
> > choices:
> > 1 - Waste some ti
Govinda wrote:
improvement if I went for static URLs on the site, but I don't have any
evidence for that, and I'm willing to admit it.
I'd rebuff this but it would feel like Im feeding a troll.
choices:
1 - Waste some time on a live test to prove this
2 - Explain how I know this and show the
improvement if I went for static URLs on the site, but I don't
have any
evidence for that, and I'm willing to admit it.
I'd rebuff this but it would feel like Im feeding a troll.
choices:
1 - Waste some time on a live test to prove this
2 - Explain how I know this and show the historical ev
Jochem Maas wrote:
Ashley Sheridan schreef:
On Wed, 2008-10-15 at 11:22 +0100, Nathan Rixham wrote:
Jochem Maas wrote:
Ashley Sheridan schreef:
On Wed, 2008-10-15 at 00:58 +0100, Nathan Rixham wrote:
Ashley Sheridan wrote:
On Wed, 2008-10-15 at 01:17 +0200, Jochem Maas wrote:
Nathan Rixham
Ashley Sheridan schreef:
> On Wed, 2008-10-15 at 11:22 +0100, Nathan Rixham wrote:
>> Jochem Maas wrote:
>>> Ashley Sheridan schreef:
On Wed, 2008-10-15 at 00:58 +0100, Nathan Rixham wrote:
> Ashley Sheridan wrote:
>> On Wed, 2008-10-15 at 01:17 +0200, Jochem Maas wrote:
>>> Nathan
On Wed, 2008-10-15 at 11:22 +0100, Nathan Rixham wrote:
> Jochem Maas wrote:
> > Ashley Sheridan schreef:
> >> On Wed, 2008-10-15 at 00:58 +0100, Nathan Rixham wrote:
> >>> Ashley Sheridan wrote:
> On Wed, 2008-10-15 at 01:17 +0200, Jochem Maas wrote:
> > Nathan Rixham schreef:
> >> As
Jochem Maas wrote:
Ashley Sheridan schreef:
On Wed, 2008-10-15 at 00:58 +0100, Nathan Rixham wrote:
Ashley Sheridan wrote:
On Wed, 2008-10-15 at 01:17 +0200, Jochem Maas wrote:
Nathan Rixham schreef:
Ashley Sheridan wrote:
On Tue, 2008-10-14 at 14:54 -0700, Ryan S wrote:
quite a few sites
Ashley Sheridan schreef:
> On Wed, 2008-10-15 at 00:58 +0100, Nathan Rixham wrote:
>> Ashley Sheridan wrote:
>>> On Wed, 2008-10-15 at 01:17 +0200, Jochem Maas wrote:
Nathan Rixham schreef:
> Ashley Sheridan wrote:
>> On Tue, 2008-10-14 at 14:54 -0700, Ryan S wrote:
>>> quite a few
On Wed, 2008-10-15 at 00:58 +0100, Nathan Rixham wrote:
> Ashley Sheridan wrote:
> > On Wed, 2008-10-15 at 01:17 +0200, Jochem Maas wrote:
> >> Nathan Rixham schreef:
> >>> Ashley Sheridan wrote:
> On Tue, 2008-10-14 at 14:54 -0700, Ryan S wrote:
> > quite a few sites seem to have a very n
Ashley Sheridan wrote:
On Wed, 2008-10-15 at 01:17 +0200, Jochem Maas wrote:
Nathan Rixham schreef:
Ashley Sheridan wrote:
On Tue, 2008-10-14 at 14:54 -0700, Ryan S wrote:
quite a few sites seem to have a very neat way of implementing this
with (url rewriting?) something like
http://sitename/
On Wed, 2008-10-15 at 01:17 +0200, Jochem Maas wrote:
> Nathan Rixham schreef:
> > Ashley Sheridan wrote:
> >> On Tue, 2008-10-14 at 14:54 -0700, Ryan S wrote:
> >>> quite a few sites seem to have a very neat way of implementing this
> >>> with (url rewriting?) something like
> >>> http://sitename/
Nathan Rixham schreef:
> Ashley Sheridan wrote:
>> On Tue, 2008-10-14 at 14:54 -0700, Ryan S wrote:
>>> quite a few sites seem to have a very neat way of implementing this
>>> with (url rewriting?) something like
>>> http://sitename/blog/tags/tag-comes-here/
>
>> As for getting those search terms,
On Tue, 2008-10-14 at 23:17 +0100, Nathan Rixham wrote:
> Ashley Sheridan wrote:
> > On Tue, 2008-10-14 at 14:54 -0700, Ryan S wrote:
> >> quite a few sites seem to have a very neat way of implementing this with
> >> (url rewriting?) something like http://sitename/blog/tags/tag-comes-here/
>
> >
Ashley Sheridan wrote:
On Tue, 2008-10-14 at 14:54 -0700, Ryan S wrote:
quite a few sites seem to have a very neat way of implementing this with (url
rewriting?) something like http://sitename/blog/tags/tag-comes-here/
As for getting those search terms, well a link in a page can contain GET
On Tue, 2008-10-14 at 14:54 -0700, Ryan S wrote:
> Hey,
>
> this the first time I am actually working with "tags" but it seems quite
> popular and am adding it on a clients requests.
>
> By tags I mean something like wordpress' implementation of it, for example
> when an author writes an articl
Hey,
this the first time I am actually working with "tags" but it seems quite
popular and am adding it on a clients requests.
By tags I mean something like wordpress' implementation of it, for example when
an author writes an article on babies the tags might be
baby,babies, new borns, cribs, na
On Sat, January 12, 2008 12:29 pm, [EMAIL PROTECTED] wrote:
> Hello to everybody,
>
> I am using the following function in order to search in
> multi-dimensional array, as per note added on
> http://it.php.net/array_search,
> [code]
> function array_search_recursive($data0, $FinRecSet, $a=0,
> $no
Hello to everybody,
I am using the following function in order to search in multi-dimensional
array, as per note added on http://it.php.net/array_search,
[code]
function array_search_recursive($data0, $FinRecSet, $a=0, $nodes_temp=array()){
global $nodes_found;
$a++;
foreach ($FinRecSet as $
At 4:01 PM -0400 9/11/07, Jason Pruim wrote:
Son of a Bitch... Soon as I closed that down at line 265 the search
now isn't redirecting to edit.php Do you debug by hand? Or do
you have something that helps you to do that? I've been tearing my
hair out for hours trying to find that and I coul
On 9/11/07, brian <[EMAIL PROTECTED]> wrote:
> e: (my personal opinion) Using echo() to spit out HTML will lead to
> *much* heartache and gnashing of teeth. Put a closing PHP tag ("?>") in
> there and let the parser spit out the markup without echo().
i think this is quite opposite. i prefer echo'
Jay Blanchard wrote:
So Jason you learned three valuable lessons today.
a. plan your code (use paper and pencil or something like it)
b. always account for security
c. comment properly
I'll add two more:
d: Check the source that your script outputs. Send it to the W3C
validator (WebDevelop
[snip]
Son of a Bitch... Soon as I closed that down at line 265 the search
now isn't redirecting to edit.php Do you debug by hand? Or do you
have something that helps you to do that? I've been tearing my hair
out for hours trying to find that and I couldn't see it...
[/snip]
Debugged by
On Sep 11, 2007, at 4:02 PM, Jay Blanchard wrote:
[snip]
I took a look and now I can't get my eyes to stop bleeding. The
horror,
the horror! Mixed PHP/HTML is yucky :)
[/snip]
8^{)}
Undoubtedly things could be organized better. Jason did you just sit
down and code or did you walk it throug
On Sep 11, 2007, at 3:59 PM, Jay Blanchard wrote:
[snip]
Edit is the
ONLY reference to edit.php in the entire code of that page.
[/snip]
No it isn't. edit.php shows up a couple of times, not the least of
which
is row 218;
echo "";
Do you know where the closing form tag is for this? Line
[snip]
I took a look and now I can't get my eyes to stop bleeding. The horror,
the horror! Mixed PHP/HTML is yucky :)
[/snip]
8^{)}
Undoubtedly things could be organized better. Jason did you just sit
down and code or did you walk it through with paper and pencil (or
notepad even)?
--
PHP Genera
On Sep 11, 2007, at 3:58 PM, Robert Cummings wrote:
On Tue, 2007-09-11 at 15:42 -0400, Jason Pruim wrote:
It redirects before any output of $search is visible.
I put it up as a .txt file at: raoset.com/oldb/index.txt for anyone
who wants to see the code...
I took a look and now I can't get m
[snip]
> Edit is the
> ONLY reference to edit.php in the entire code of that page.
[/snip]
No it isn't. edit.php shows up a couple of times, not the least of which
is row 218;
echo "";
Do you know where the closing form tag is for this? Line 288. If you
look at your source with the search form i
On Tue, 2007-09-11 at 15:42 -0400, Jason Pruim wrote:
> It redirects before any output of $search is visible.
> I put it up as a .txt file at: raoset.com/oldb/index.txt for anyone
> who wants to see the code...
I took a look and now I can't get my eyes to stop bleeding. The horror,
the horror! M
On Tue, 2007-09-11 at 15:42 -0400, Jason Pruim wrote:
>
> Total length is 293 lines.
>
> It redirects before any output of $search is visible.
> I put it up as a .txt file at: raoset.com/oldb/index.txt for anyone
> who wants to see the code...
>
> I know it repeats it's self, but I couldn't fig
[snip]
Total length is 293 lines.
It redirects before any output of $search is visible.
I put it up as a .txt file at: raoset.com/oldb/index.txt for anyone
who wants to see the code...
I know it repeats it's self, but I couldn't figure out how to get it
to log in and stay logged in right with
On Tue, 2007-09-11 at 15:20 -0400, Jason Pruim wrote:
>
> echo "Export to Excel A>LogoutAdd
> Record";
> echo "Total Records: $num_rows";
While you're trying to clean up your security approach you might also
spend a little time cleaning up your HTML. Your lack of a consistent
discipline for tag
On Sep 11, 2007, at 3:37 PM, Jay Blanchard wrote:
[snip]
Correct. PHP_SELF refers to index.php which is the page that the
search is happening on. a few lines above that there is a reference
to edit.php and here is the code for it:
Sorry for the long cut/paste, but I thought it was important to
[snip]
Correct. PHP_SELF refers to index.php which is the page that the
search is happening on. a few lines above that there is a reference
to edit.php and here is the code for it:
Sorry for the long cut/paste, but I thought it was important to try
and provide it in context, and the line whe
On Sep 11, 2007, at 2:59 PM, Stut wrote:
Jason Pruim wrote:
On Sep 11, 2007, at 2:10 PM, Stut wrote:
Jason Pruim wrote:
On Sep 11, 2007, at 1:22 PM, Instruct ICC wrote:
Also read http://en.wikipedia.org/wiki/SQL_injection
I have read about SQL injection, and I will be scrubbing the
data b
On Sep 11, 2007, at 2:57 PM, Jay Blanchard wrote:
There is no redirection to edit.php? You're calling PHP_SELF so it
should not go anywhere else. Is there any mention of edit.php in the
code?
Correct. PHP_SELF refers to index.php which is the page that the
search is happening on. a few l
[snip]
The problem is there's not... At least there's not supposed to be.
The end result that I want is for the search results to end up on the
same page if possible... edit.php is a script I use for editing records.
Maybe I should just do it on a separate page... It might be easier
for disp
Jason Pruim wrote:
On Sep 11, 2007, at 2:10 PM, Stut wrote:
Jason Pruim wrote:
On Sep 11, 2007, at 1:22 PM, Instruct ICC wrote:
Also read http://en.wikipedia.org/wiki/SQL_injection
I have read about SQL injection, and I will be scrubbing the data
before searching but the search is only avai
On 9/11/07, Jason Pruim <[EMAIL PROTECTED]> wrote:
> echo $qstring; produces: SELECT * FROM current WHERE FName like '%%'
> or LName like '%%' or Add1 like '%%' or Add2 like '%%' or City like '%
> %' or State like '%%' or Zip like '%%' or XCode like '%%' Which is
> correct except for it being empt
On Sep 11, 2007, at 2:32 PM, Jay Blanchard wrote:
[snip]
echo $qstring; produces: SELECT * FROM current WHERE FName like '%%'
or LName like '%%' or Add1 like '%%' or Add2 like '%%' or City like '%
%' or State like '%%' or Zip like '%%' or XCode like '%%' Which is
correct except for it being emp
[snip]
echo $qstring; produces: SELECT * FROM current WHERE FName like '%%'
or LName like '%%' or Add1 like '%%' or Add2 like '%%' or City like '%
%' or State like '%%' or Zip like '%%' or XCode like '%%' Which is
correct except for it being empty.
I tried to echo $search, but since it redire
On Sep 11, 2007, at 1:58 PM, Jay Blanchard wrote:
[snip]
I fixed that but the problem still remains... When I preform the
search I get redirected from index.php to edit.php and can't see
where that would happen.
[/snip]
echo $qstring;
$search is not NULL because $search is equal to $_GET["sea
On Sep 11, 2007, at 2:10 PM, Stut wrote:
Jason Pruim wrote:
On Sep 11, 2007, at 1:22 PM, Instruct ICC wrote:
Also read http://en.wikipedia.org/wiki/SQL_injection
I have read about SQL injection, and I will be scrubbing the data
before searching but the search is only available after logging
Jason Pruim wrote:
On Sep 11, 2007, at 1:22 PM, Instruct ICC wrote:
Also read http://en.wikipedia.org/wiki/SQL_injection
I have read about SQL injection, and I will be scrubbing the data before
searching but the search is only available after logging into the
system. No one who isn't logge
[snip]
I fixed that but the problem still remains... When I preform the
search I get redirected from index.php to edit.php and can't see
where that would happen.
[/snip]
echo $qstring;
$search is not NULL because $search is equal to $_GET["search"]. $search
may be empty though.
--
PHP Genera
On Sep 11, 2007, at 1:22 PM, Instruct ICC wrote:
From: Jason Pruim <[EMAIL PROTECTED]>
Here is the relevant code (I think...)
$search = $_GET["search"];
$self = $_SERVER['PHP_SELF'];
$qstring = "SELECT * FROM current WHERE FName like '%$qstring%'
or LName like '%$qstring%' or Add1 like '%$q
From: Jason Pruim <[EMAIL PROTECTED]>
Here is the relevant code (I think...)
$search = $_GET["search"];
$self = $_SERVER['PHP_SELF'];
$qstring = "SELECT * FROM current WHERE FName like '%$qstring%' or LName
like '%$qstring%' or Add1 like '%$qstring%' or Add2 like '% $qstring%' or
City like '%$
1 - 100 of 288 matches
Mail list logo