You are here: Re: How do I quote this in php? « All PHP « IT news, forums, messages
Re: How do I quote this in php?

Posted by Gazza on 05/21/06 11:26

Dave (from the UK) mumbled the following on 21/05/2006 03:39:

> MemoryConstrained[ FactorInteger[141],100000000,"Too Much RAM Aborting"]

> http://www.althorne.org/test.txt

Looks like you're echoing
MemoryConstrained["FactorInteger[141]", 100000000, "Too Much RAM Aborting"]

Does the first argument need to be in quotes?

Alternatively, (and this makes more sense), when passing the command to
cat, the quotes are removed, right? Leaving you with Factor...and not
"Factor...". Therefore, to keep the abort string as one, you'll need to
double-quote it. Not sure of the exact syntax, perhaps \"\"Too
much...\"\" ? You may or may not need to stripslashes() at some point.

Sorry it's not quite a full answer, but it might point you or someone
else in the right direction!
--
Gazza
Mobile Number Network Checker - http://mnnc.net/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация