>
> 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
> I followed this thread:
> "
> http://spikomoko.wordpress.com/2009/08/19/magento-not-working-on-php-5-3/
> ".
>
> But then, I'm bounched on this error in my webbrowser for visitting my
> magento on my production server desktop:
> "
> .:
> Fatal error: Call to a member function createDirIfNotExists
After googling.
I followed this thread:
"
http://spikomoko.wordpress.com/2009/08/19/magento-not-working-on-php-5-3/
".
But then, I'm bounched on this error in my webbrowser for visitting my
magento on my production server desktop:
"
.:
Fatal error: Call to a member function createDirIfNotExists()
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
- Original Message
> From: Ricky Tompu Breaky
> To: php-general@lists.php.net
> Sent: Thursday, September 3, 2009 12:34:06 PM
> Subject: [PHP] Magento shows blank page.
>
> Dear my friends,
>
> Anybody has ever the same experience as I am having now with PHP5CGI
> and Magento?
I haven'
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
Hi all,
As you've probably noticed, I'm new the list. My apologies if you're getting
duplicates+ from my responses. I just realized now that PHP lists doesn't
strip out other e-mail addresses other than the list's. The other lists I
subscribe to does this automatically and I've taken it for
- 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 response,
> I
> think I have a
Dear Ashley.
Firstly, thank you very much for your respond.
I uncommented this part of '/etc/php.ini':
"
display_errors
Default Value: On
Development Value: On
Production Value: Off
".
The result is my magento shows this in my webbrowser:
"
.:
Fatal error: Method Varien_Object::__tostri
Thanks for your answer, I change to class simplexml, the class DOM save all
tree on RAM, and simplexml used a little RAM, right?
He size file XMl is small no more 500 kb, i do not think having problem.
Best regards.-
_Karl_
Sorry for my english.-
Carlos A. Garcia Hernandez
José Clemen
At 9:27 AM -0700 9/3/09, Jim Lucas wrote:
I want this to come across in the nicest way possible. Please I
mean no harm by my following statements. And if you decide to hate
me and never to respond to one of my posts again, well, that is your
choice.
-snip-
After writing this, I guess it
At 10:01 AM +0200 9/3/09, J DeBord wrote:
Telling someone RTFM is just rude and mean.
And not taking the time to research your question before posting is
what, thoughtful and kind?
The phrase RTFM is something I don't like to tell people, and from
what I remember, I have never said that to
On Fri, 2009-09-04 at 02:34 +0700, Ricky Tompu Breaky wrote:
> Dear my friends,
>
> Anybody has ever the same experience as I am having now with PHP5CGI
> and Magento?
>
> I'm using Apache, MySQL and Mandriva 2009.1.
>
> What I've done is:
> 1. Downloaded the Magento from:
> http://www.magentoco
Dear my friends,
Anybody has ever the same experience as I am having now with PHP5CGI
and Magento?
I'm using Apache, MySQL and Mandriva 2009.1.
What I've done is:
1. Downloaded the Magento from:
http://www.magentocommerce.com/getmagento/1.3.2.3/magento-1.3.2.3.zip
and some other from is from:
ht
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
You almost had it...
Since clothes is the root element you can think of your initial $xml as
. So, you add a child to it. That error message is kinda cryptic
though.
Red Gloves
a pair of red gloves
adult
12.99
Snow Boots
some snow boots
child
23.99
EOD;
$sxm
Hi,
Thanks for trying to help me out. I don't have a schema for my XML, but here
is something cool I found that worked for me:
http://www.w3schools.com/PHP/func_xml_error_string.asp
Alice
> Date: Thu, 3 Sep 2009 07:42:00 -0700
> From: matt...@thorslund.us
> To: aj...@alumni.iu.edu
> CC:
On Thu, 2009-09-03 at 09:27 -0700, Jim Lucas wrote:
> I want this to come across in the nicest way possible. Please I mean no
> harm by my following statements. And if you decide to hate me and never
> to respond to one of my posts again, well, that is your choice.
>
>
>
> I, and others too
I want this to come across in the nicest way possible. Please I mean no
harm by my following statements. And if you decide to hate me and never
to respond to one of my posts again, well, that is your choice.
I, and others too I'd expect, would appreciate it if you didn't take a
response em
Yes,thanks and I sorry for my poor english
2009/9/3 Robert Cummings :
> hack988 hack988 wrote:
>>
>> Reference vars in php would not be unset if it reference by another
>> var,so you must keep original var had'nt being reference.
>
> You can't reference a reference in PHP. If you take the referenc
On Thu, Sep 03, 2009 at 10:20:49AM +0100, Stuart wrote:
> 2009/9/3 J DeBord :
> > Telling someone RTFM is just rude and mean. Manipulating dates and times can
> > be confusing for beginners and experienced people alike. I would suggest
> > that when a question asked here causes you to respond with
Hi foks,
Could someone lend me a little hand with simpleXML ?
I've been looking at examples in the PHP manual and W3C, i'm at the
pinnacle of figuring it out but alas i need a hand from the mailing
list dudes.
My aim is to add another "item" node, so i'll start with my XML file
called "it
Hi,
This seems like a small problem that I have read from
http://us.php.net/manual/en/xmlreader.isvalid.php.
I have the code snippet here as follows:
setParserProperty(XMLReader::VALIDATE, true);
if ($xml->isValid()) echo "true";
else echo "NOT";
?>
Here is the contents of hello.xml:
I'd say your XML document is not "well formed", but validity depends on
whether it conforms to the rules expressed in a schema.
Mattias
Alice Wei wrote:
Hi,
This seems like a small problem that I have read from http://us.php.net/manual/en/xmlreader.isvalid.php.
I have the code snippet he
hack988 hack988 wrote:
Reference vars in php would not be unset if it reference by another
var,so you must keep original var had'nt being reference.
You can't reference a reference in PHP. If you take the reference of a
variable that is itself a reference then you are taking a reference to
th
Reference vars in php would not be unset if it reference by another
var,so you must keep original var had'nt being reference.
2009/9/3 Martin Zvarík :
> AHA !!!
>
> OMG... how come I did not see that!?
>
> Instead this:
> $array =& $array[$final];
> unset($array);
>
> This:
> unset($array[$final]);
HTTP 403.1 Forbidden: Execute Access Forbidden
Internet Information Services
IIS: properties->home directory->configuration->execute permissions
set it to script and execute .
2009/9/3 Fred Silsbee :
> THANKS!
>
> Here is my current situation (if you care to look at it (under the windows )
> l
It works ok for me and I think it's very reliable. You might want to run a few
test on it though.
Another approach is to break up your xml into smaller documents and then use
php string functions to merge them together.
__
Raymond Irving
Rich Ajax/PHP Development
http://raxanpdi.com
--- On
> 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
2009/9/3 J DeBord :
> Telling someone RTFM is just rude and mean. Manipulating dates and times can
> be confusing for beginners and experienced people alike. I would suggest
> that when a question asked here causes you to respond with RTFM, don't
> respond at all. Save yourself the time and trouble
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
>
> Is there is a way to
2009/9/2 Ben Dunlap
> > What I would do for UK PHP events :-(
>
> Something like this perhaps?
>
> http://conference.phpnw.org.uk/phpnw09/
>
> Ben
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Nice one, I might be able to get to
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 #
Telling someone RTFM is just rude and mean. Manipulating dates and times can
be confusing for beginners and experienced people alike. I would suggest
that when a question asked here causes you to respond with RTFM, don't
respond at all. Save yourself the time and trouble and save the person
asking
39 matches
Mail list logo