On 4/03/2006 5:36 PM, Anthony Ettinger wrote:
Yep, that's one good reason among many for using unique ids.
Thinking a
little about the OP's question, I could understand row order being
relevant in certain situations where you wanted to display something
like, "You were the 4
I have to agree with Anthony - why are you using row order to determine
something relating to users? I couldn't follow your brief explanation
above, and the fact that you're doing it sets off some soft alarm bells
about the design of your application. Why is it important that there
shouldn't be
On 4/03/2006 2:49 PM, benifactor wrote:
thank you. the table does have and id feild that auto increments, however if
you delete a user there will be a gap between the users between which would
not be what is not acurate enough. thank you for you help. simple fix. i
should have caught it.
- Or
On 4/03/2006 3:10 PM, Daevid Vincent wrote:
I'm building a fairly large project. I've been trying to follow best
practices, but I'm a bit worried about performance. Using PHP 5.1 and mySQL
5.0.
I have product and company classes.
So when a user does a search of the database, is it better/faster
On 11/02/2006 10:10 AM, /dev/null wrote:
hello
i have been trying to learn php.
what is the best approach to learning php for someone who has no
programming experience?
i am very familiar with html, xhtml, and css. i'm not an idiot when it
comes to using computers.
i have bought several boo
Hi All,
This may turn out to be more of an apache question (but I'm hoping there
are some apache experts on the list as well), but I'm wondering how I
would go about automatically redirecting requests for /rss.xml to read
the contents of /rss/rss.xml instead?
Any help appreciated!
Much warm
Hi All,
I currently generate a simple rss.xml file for syndication from my site,
containing nothing more than the subject of the post and a link to the
article on my site.
I'd like to syndicate the the actual content of each of the posts, but
as I understand it RSS / XML is somewhat demandin
Hi All,
I'm having an odd problem with formatting of line feeds in an email my
site automatically sends to me when someone comments on one of my blog
entries.
For some reason "\r\n" characters are coming through exactly like that
in the email, and yet the same value being stored in the backe
On 20/01/2006 8:48 PM, David Grant wrote:
Murray,
As far as I know, Queensland is in EST (Eastern Standard Time), so that
is the correct value. Are you using the same machine or is it remote?
David
Hi David,
I'm currently working entirely on my local (Queensland) machine. The
remote mach
On 20/01/2006 8:39 PM, David Grant wrote:
Murray,
What do you get if you print date("T")?
David
Hi David,
I get "EST", which I assume is "Eastern Savings Time"? If that's the
case, any idea where I change this value so that it only affects my
local machine?
Much warmth,
Murray
--
PHP
Hi All,
Wondering if anyone can help me work out why date("H") always adds an
hour? I'm *assuming* it thinks it should be compensating for Daylight
Saving Time (though I'd be just as willing to believe that it's caused
by something else), however we don't observe DST in Queensland, Australia.
Hi All,
Can anyone recommend a PHP 4.x compliant template engine that doesn't
depend on PEAR?
I can't get PEAR to operate properly on my remote host, so I'm looking
for something that can be dropped in to an existing site and is complete
in and of itself.
Any recommendations that suit the
Jim Moseby wrote:
man you guys are wimps.. gvim on windows... :)
Pt'Edit' in DOS. ;)
(Pt * 2) 'edlin' in DOS. :)
Infinitely recursive pfft A pencil and a piece of paper and
ringing people to describe the cool web site you've just drawn,
--
PHP Gener
Richard Davey wrote:
I agree 99% with you, the majority are (excuse my French) utter shite.
*but* the code quality, features and stability of the excellent FUD
Forum thankfully doesn't fall into the camp you describe. While I
don't use it myself, you only need to take a quick look at the code
a
Jasper Bryant-Greene wrote:
On Mon, 2005-11-07 at 12:20 +1000, Murray @ PlanetThoughtful wrote:
Example code:
$body = 'From: ' . $name . '\r\n\r\n';
$body .= 'Email:' . $email . '\r\n\r\n';
$body .= 'IP Address: ' . $_SERVER['
Hi All,
I'm building a site on a new web host and am currently working on
feedback forms.
I'm using the mail() function to send the feedback to the destination
mail account, and I'm having problems getting the body of the email to
line break.
I've tried constructing the body with both "\n\
Hi All,
Does anyone know of a way to unsubscribe an email address from the PHP
email lists when you can't send a reply to the confirmation email?
My host for my currently subscribed email address has an issue with its
SSL certificate which means that I can't send replies from that account
(w
Terence wrote:
Murray @ PlanetThoughtful wrote:
Hi All,
I've recently been working on building my own wiki engine for my blog
site. While the majority of the engine is complete, a remaining concern
I have is how to handle competing edits (ie when two or more people are
editing the
Hi All,
I've recently been working on building my own wiki engine for my blog
site. While the majority of the engine is complete, a remaining concern
I have is how to handle competing edits (ie when two or more people are
editing the same wiki page simultaneously).
I'm wondering if anyone else o
> Hi, folks. I'm having trouble with a simple regex. I'm sure it's just
> something small that I'm missing but nothing I'm trying is working.
>
> In an HTML file I have comments like this:
>
>
> various html crap here
>
>
> Here's the regex I'm using:
>
> /(.*?)/
>
> And then the call to
> Wow, that definitely works. I would sort of like to know how to tweak the
regex, but maybe this is the best way of doing it. Is "[0-9]*[.0-9]*?" the
best way of looking for a number with decimals?
Hi David,
Just to answer this question, I would probably use something like the
following pattern
> I need to catch all instances of a coordinate in a give string. So far I
> have this, which only works if the coordinate is in a certain format.
>
>
> $string = (334,-53.44),(111,222);
> $expression = '([(][-]?[0-9]*[.0-9]*?,[-]?[0-9]*[.0-9]*?[)])';
> preg_match_all($expression, "$string", $mat
> Sent this to [EMAIL PROTECTED] but forgot to copy php-general...
> heh. Here it is again.
>
> I would use a table such as
> Table
> |_UserData
>
> Then use objects per user to store the data.
> class User {
> var TestScore;
> var ScoreType;
> ...
> var Vars;
> fun
> I recently encountered a strange behaviour, could someone please
> countercheck it, to either tell me there is an error in my pattern?
>
> I have a test string: "7005-N/52"
> I have two match patterns:a) "/([0-9]*)\/(.*)/i"
> b) "/([0-9]*)\-(.*)/i"
> I check the
> murray...
>
> it may have been helpful to the guy to also give him an idea of your tbl
> structure. i think you're talking about something like:
> tbl schema
>
> EvalTBL
>-id
>-UserID
>-ScoreTypeID
>
> ScoreTBL
>-id
>-ScoreType
>
> table ScoreType could/would have as many
> I have an app that stores evaluation scores so I have 30+ values all
> within a certain range, currently in the db, each of these values has
> it's own column:
>
> Table test
>id
>user_id
>motivation
>caring
>personal_characteristics
>creativity,
>...etc.
>
> If the
> -Original Message-
> From: bruce [mailto:[EMAIL PROTECTED]
> Sent: Friday, 23 September 2005 10:23 AM
> To: 'Jasper Bryant-Greene'; php-general@lists.php.net
> Subject: RE: [PHP] basic user/input form questions... more validation!
>
> one more question/issue...
>
> the mysql_real_esca
> > because you should want/need to validate that the address is correct
> prior
> > to determining if the email server is up running...
> >
> > the regex function simply allows you to quickly determine if the address
> > is
> > valid... doens't mean that it's going to go to an actual live user...!
> because you should want/need to validate that the address is correct prior
> to determining if the email server is up running...
>
> the regex function simply allows you to quickly determine if the address
> is
> valid... doens't mean that it's going to go to an actual live user...!!
>
> btw si
> > What you have is virtually impossible to determine if all legitimate
> possibilities are covered.
> > email validation using regex is a very heavily analyzed subject
> > Google "regex email validate" and you'll find loads of expressions.
> Look at the Zend article, it provides some insigh
> > This is not to trivialize your Metastorage project (or, to be more
> > accurate, I know nothing about it, so it's not my place to trivialize
> > it or otherwise), but to point out that 'out-of-the-box' solutions to
> > fundamental coding development problems probably ultimately makes for
> > a
[snippage]
> I do not understand why this could bother you or anybody else. If you
> have a better solution, nothing stops you to make your recommendations.
Hi Manuel,
I did make my recommendation. To you. It went something like (and I'm
paraphrasing), "Your proposed solution doesn't solve the o
> Jochem Maas wrote:
> > Michael Sims wrote:
> >> So, as far as foo() knows:
> >>
> >> foo($a = 5);
> >> and
> >> foo(5);
> >>
> >> are exactly the same...
> >
> > I don't think they are, and you're examples don't prove it.
> > Anyone care to come up with the proof.
>
> No, I was wrong, Rasmus cor
> on 09/19/2005 02:33 PM Chris W. Parker said the following:
> > Let's take for example a class called 'Customer' that (obviously)
> > manipulates customers in the database. Here is a very basic Customer
> > class. (Data validation and the like are left out for brevity.)
>
> This is a basic object
> Good day all,
>
> I have a problem for you all..
> I have a form that has has the ability to delete a lot of information from
> my MySQL database.
>
> I would like to create a bit of security, in case the user hits the button
> by accident.
> I would like to create an additionnal window that wo
> I have received an error: Warning: mysql_num_rows(): supplied argument is
> not a valid MySQL result resource in /home/www/mksystem.net when trying to
> execute $num = mysql_num_rows($result);
>
> Please go to http://mksystem.net/phpinfo.php and tell me whether it is due
> to the version of php
include " SELECTED" in the select HTML you are building.
One if statement should handle the situation nicely.
Much warmth,
Murray @ PlanetThoughtful
---
"Lost in thought..."
http://www.planetthoughtful.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Hey, I'm about to implement a versioning system here, and was going to
> go with CVS, but being that I haven't used it in almost two years I was
> wondering what y'all think? Opinions on the best, user-friendly (Mac
> Geeks will be using it), etc? Thanks.
>
Hi John,
I only have experience
> I have a php/mysql database with articles. What I need is a php sctipt
> that
> will compare the current day with the 'expiry date' entered by the user
> and
> if the there is a difference then drop it from the database..
>
> I retrieve the date (called time and format it like this...
>
> $quer
> hi...
>
> i'm trying to figure out how to approach/solve a few issues. looking
> through
> google hasn't made the light shine!!
>
> 1) i'm trying to figure out how to allow a user to search through a
> query/tbl for a given string. ie, if i have the following as the result of
> a
> query:
>
>
of templates that can
> be applied globally or by each user (these may be the CSS bit, again, I
> just haven't played).
>
> User logins can be pre-assigned or user driven so you can control who
> does what.
>
> I think you can turn on/off the CamelCase feature.
>
> Hi,
>
> I have a resultset from a query and need to remove some rows after doing
> some php processing then insert into another table i.e.
>
> /** Get data**/
> $qid = mysql_query('SELECT ...);
>
> /** Clean data **/
> while( $r = mysql_fetch_object( $qid ) ) {
>
> }
>
> How can i genera
Hi All,
I want to add a wiki to my blog site to help create a knowledgebase of the
characters, localities, stories I write to make it easier for new visitors
to delve into the areas that interest them.
I've been experimenting with a couple of different wiki packages, but am
always interested in o
> Hi all,
>
>
> I want to write regular expression for checking the string format entered
> by user.
>
> the allowed formats are
>
> examples:
> 10
> 10,
> 10,12-10
> 12-10
>
> that is the valid strings are:
> 1. only integer
> 2. an integer, range of integers example 3
>
> and no other chara
> hi...
>
> if an app has a webpage that has to interface/display data from a mysql
> db,
> does the app have to essentially do a new db_connection for each time that
> a
> user accesses the page during the session.
>
> as far as i can tell, it does.
>
> in other words, the page would need to l
> Hello everyone,
>
> I'm using a while loop to display a list of people contained in my
> database.
> I'd like to assign different font colors to each depending on which city
> they're from, but I can't seem to get an if/elseif/else statement to work
> inside the while loop. Is there another way
> Hi,
>
> Is it possible to get the number of saturdays and sundays for a given
> month
> / year?
>
> Thanks for your help.
Hi Shaun,
Not sure if there's a graceful PHP solution (there probably is, but can't
think of one, myself, right at this moment) but it sounds like what you
might need is a
> In this code, I'm not getting the value of $list passed to the Mailman
> page.
> I've checked this umpteen times by now, but fail to see the error. I've
> beaten myself suitably with a steel ruler -- but it didn't help. Nor does
> the cold I'm coming down with I suppose.
>
> Anyone see the error
> Murray @ PlanetThoughtful wrote:
> >>Hi there!
> >>
> >>How do I do a sort in PHP where a column in a db must be two other
> columns
> >>divided...`?
> >
> >
> >
> >
> > Hi Gustav,
> >
> > You should
> Hi there!
>
> How do I do a sort in PHP where a column in a db must be two other columns
> divided...`?
Hi Gustav,
You should be able to use the divide operation in your query's ORDER BY
clause.
Eg
SELECT * FROM mytable ORDER BY (field1 / field2)
Regards,
Murray
---
"Lost in thought..."
> Hi
> When I enter text as more than on paragrahs in a textarea field,The text
> is displayed in one solid block of text even though I have entered it in
> paragraphs.
> How I can to insert line breaks in the text. (The values of textarea is
> stored in database and then displayed.)
>
>
> Bushr
> Hi,
>
> The following code is attempting to display a list of work types for all
> the
> users in my database. However it only loops through the inner loop once
> and
> I can't work out why, can anyone help here please?
>
> Thanks for your help
>
>
> include('application.php');
> $staff_qid
Hello All,
I have a series of thumbnails on my site of photos I've taken that are all
150px in width, but of variable height. I want to randomly display one of
the thumbnails each time the home page of my site is loaded in a column that
is 140px wide.
I'm wondering if anyone can point me at
Hi All,
Just curious if anyone knows of an existing class that will take MySQL
records containing HTML and create a valid RSS 2.0 newsfeed from them?
Much warmth,
Murray
---
http://www.planetthoughtful.org
"Building a thoughtful planet,
one quirky comment at a time."
--
PHP General Mailing Lis
Hi All,
I'm based in Australia but my blog is predominantly read by Americans. I'm
wondering if anyone knows of a class that will translate Australian / UK /
Canadian / Whathaveyou English spellings into their American English
equivalents?
In other words, a class that will take a string wit
Rick Emery wrote:
This leads (sort of) to a second question: how can I validate my HTML?
My applications run on an intranet (with database access), so I can't
use the W3C Validator to point to the URL. If I try to upload the file,
the validator doesn't parse the PHP to get the HTML output (whi
> if i as a bank, refuse to allow you to signin to my server, because i
> detect
> that your client is not valid/legitimate, meaning i think it's been
> hacked,
> how have i trampled the rights of anyone. i haven't. will some customers
> run, sure.. perhaps.. will i potentially feel better. yeah. w
> from my perspective, i strongly disagree...
>
> if you're going to be writing apps that deal with sensitive information,
> you
> better damm well give some thought as to how secure the client is, or even
> if the client is actually valid!
To the best of my knowledge, if you're developing an app
> http://weather.noaa.gov/pub/data/forecasts/zone/
Hi Philip,
This would probably have been ideal for what I have in mind (don't mind
going to a little effort to parse the text files) but appears to be limited
to US information only, whereas I'm hoping to be able to randomly select a
city from ar
> http://www.weather.com/services/xmloap.html
>
> Weather XML Data Feed
> Now you can include weather from The Weather Channel in your own
> application by signing up for access to our XML data feed. We'll enable
> you to search for a location and to integrate current conditions and the
> forecast
Hi All,
Just wondering if anyone knows of a free weather service that can be
interrogated by PHP for information such as current temperature for a range
of cities around the world?
Regards,
Murray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
> Good point. Only problem is, if someone hit enter a-million times,
> you would end up with a-million spaces where the "\n" characters were.
> To take care of that repetition, maybe something like:
>
>
> while (strpos($textarea_text, "\n\n")) {
> .
> }
>
>
> would be one way you cou
> Use the PHP str_replace function before writing it to the DB. Replace
> all "\n" characters with an empty string "".
>
> http://us2.php.net/manual/en/function.str-replace.php
I think it might be better to replace all "\n" characters with spaces " ",
otherwise you will end up with sentences tha
> Amazing.
>
> Thanks for sharing that. It's a great example. :-)
You're very welcome! If it helps just one other developer avoid the same
pitfall, then today is a very good day. :-)
> Exactly, and this is why it's a good practice to use a seed when you
> generate MD5s for passwords.
Which is e
> In that framework there is no such thing as "decrypting" an MD5 digest,
> because an MD5 digest is not an encrypted version of the message to
> start with. No amount of CPU power will change this basic fact --
> though CPU power can be used to do a brute force search for strings
> which will gen
> Since its a forum and she is not doing any advertising its important the
> search engines index the site
> properly or shes going to have a big forum with no visitors.
> Then I read that the search engines dont like frames muchso I was
> thinking of using iframes and
> then I read about the "
> If I want to make a link to a URL which includes some GETs can I just do:
>
>
> or must I escape the ampersand somehow?
Depends very much on the document type of your page. Valid XHTML
(transitional, at least), for example, doesn't like single ampersands in links. For XHTML, you need to repl
> If you're developing with PHP5, but the production environment is PHP4
> then at the top of each script you probably want to add:
>
>
> ini_set('zend.ze1_compatibility_mode', 1);
>
> ?>
>
> This way you will have objects default to pass by value instead of by
> reference and you don't end up
Greg Donald wrote:
On 6/2/05, Murray @ PlanetThoughtful <[EMAIL PROTECTED]> wrote:
private $db;
PHP4 doesn't have member visibility.
Hi Greg,
Thanks for this tip!
Regards,
Murray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
Hi All,
I'm using the MDB2 object to access my MySQL database. I have a number
of classes that perform page-building activities that need db access,
and I'm wondering what the best way to expose the MDB2 object to them is?
(Note: my development environment is PHP 5.0.3, but the production
en
>
> function replace($string){
> preg_match("/^<\^([a-zA-Z]+?)_([a-zA-Z]+?)>/", $string, $matcharr);
> $string = str_replace($matcharr[0], $matcharr[1] . " " .$matcharr[2]
> . ":", $string);
> return $string;
>
> }
>
> $string = "<^JIM_JONES> Leicester, 1720. Oxford, 1800 CON
>
> function replace($string, $search)
> {
> $string = strstr($string, $search)
> $string = preg_replace("/(<|\^|>)/", "",$string);
> $string = str_replace("_", " ", $string);
> return $string;
>
> }
>
> $text = 'My name is <^JIM_JONES> and I like ice cream';
> $
> This is a great help, thanks to both. One question I have though.
> How do I just leave the formatting "as is"? In the loop you gave me,
> Brian...:
[snippage]
> I can't see how I can disregard strtolower without disrupting the rest
> of the function! My problem is $string contains a whole
> AHHH! ucwords(); I probably looked right at it a million times.. I knew
> there had to be something to do that
Lol, I know that feeling well!
One thing, btw, looking at the solution you provided. Once you'd
preg_split()ed the string into component words, you could have simply
applied strtou
> Someone much more clever that I can probably come up with something much
> cleaner and efficient but This works...
Definitely not more clever and arguably not more efficient, but a different
way of handling this might be:
)/", "",$string);
$string = str_replace("_", " ", $string);
$stri
> For me, of course there is nothing wrong on the PHP Group help
> themselves making money with referrals. My point is that it is pretty
> common to not distract people with the details of who gets what with
> referrals because it does not change anything for who follows a link
> with our without t
> So, thinking about it a little more, I decided what I was looking for was
> a
> regular expression that would allow me to replace any incidences of
> hyphens
> when not contained within tags (i.e., when not contained between "<" and
> ">").
>
> And this is where things have ground to a halt.
Hi
Hi All,
I have content that contains several lengthy hyphenated sentences, such as:
This-is-a-sentence-in-which-all-the-words-are-hyphenated.
I've noticed that some (maybe all?) browsers, particularly Firefox, will not
wrap long strings of hyphenated words when they are contained in a DIV tag
--
> > I don't know WHY posts take hours to get through, but I'm not honestly
> > seeing it as a "problem" personally.
> >
>
> I see one problem, some questions get the same answer from several
> people. This increases the list traffic without any benefit.
That, of course, is exacerbated by the dela
Hi All,
I'm wondering if anyone knows of a 'db aware' text editor? By 'db aware', I
mean one that can pull a recordset back from a local MySQL server and edit
the content of fields much like a standard text editor does with files.
I could probably build myself a simple one in Java, but before I u
> [Course, when you *DO* need RegEx it's *more* than a bit of a headache.
> More like a migraine :-)]
One of these days I will truly master regular expressions. After that,
enlightenment should be easy.
Regards,
Murray
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
> But here's the problem that came afterwards in IE !
> IE is storing the image in it's cache.. And it's displaying the same image
> on the verification page whether you use the BACK button, FORWARD button,
> or
> actually go through the website and land back on the verification page. So
> in IE, r
> Has anyone seen an example of a HTML editor written in PHP (no JS)?
> You know the ones - for adding HTML tags to a text field, etc.
>
> Thanks!
You've already received a number of responses indicating that it's not
possible to have a pure PHP browser enabled HTML editor, mainly due to the
fact
> Try (for example if character was "A") ...
>
> ([^A]|^)A([^A]|$)
>
> This matches four cases:
> A is at beginning of string and there is another letter after it,
> A has a letter before it and a letter after it,
> A is at end of string and there is a letter before it,
> or A is the only charact
> What pattern can I use to match ONLY single occurrences of a character in
> a string.
>
> e.g., "Some text @ and some mo@@re and [EMAIL PROTECTED], etc @@@.
>
> I only want the two occurrences with a single occurrence of "@".
>
> @{1} doesn't work; there are 4 matches.
>
> Thanks
Please
> What pattern can I use to match ONLY single occurrences of a character in
> a string.
>
> e.g., "Some text @ and some mo@@re and [EMAIL PROTECTED], etc @@@.
>
> I only want the two occurrences with a single occurrence of "@".
>
> @{1} doesn't work; there are 4 matches.
"/[EMAIL PROTECTED]@[EM
> I'm having a little problem adding to an array. Each time I add to an
> array it wipes what was previously added. I'm using array_push().
>
> $items=array();
> $items=array_push($items, $_POST["whatever"]);
>
> I'm missing something easy.
Try:
$items=array();
array_push($items, $_POST["whatev
> I looking for a way to update certain parts of a site that is highly
> dynamic. I've tried creating static files via cronjobs then including
> them,
> but it is a pain to do. for instance, i have a news page that utilizes
> mysql, rather than query the DB on each page load i would like to have it
Hi All,
I'd like to do some desktop app development and I'm looking for others'
thoughts on whether PHP-GTK is a suitable environment in which to work?
Years ago I developed desktop apps in Access / VB6, but it's been long
enough now, and VB in particular has changed so much in the intervening
ti
> I dunno what the hell 0x96 is in MS Word, but if you want a dash, use an
> ASCII dash and be done with it. :-)
>
> Or, if you REALLY want that "ASCII extended" Linux dash (assuming it
> exists) I'm sure you can strtr(0x96, 0xYY, $string) and get it.
>
> Then it won't work on Windows, of course,
> -Original Message-
> From: Christopher J. Bottaro [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 12 May 2005 5:13 AM
> To: php-general@lists.php.net
> Subject: [PHP] expand array into function arguments?
>
> You can do this in Python:
>
>
> def myFunc(arg1, arg2, arg):
> #do something
>
> Include a space in your str_replace statement.
>
> For instance
>
> $t = str_replace(" $word ", " $word ", $text);
>
> That should prevent the problem your having and ensure only individual
> words
> are bolded.
Not the best solution if Merlin's code needs to account for the possibility
of ta
> I am trying to mark words inside a sentence bold. Problem is, if there is
> an
> overlap it does not work anymore.
> I am using this code: $t = str_replace($word, "$word", $text);
>
> For eample:
> Mark those words bold: adventure in singapore
> Text: My adventure flying to singapore
>
> The
Hi All,
Given that templating seems to be a hot topic at the moment, I'm wondering
if anyone here uses templating in a single developer environment, and why if
so?
I've looked at various template systems from time-to-time but I've always
come away thinking, 'yep, I can see the point in a team env
> On Wed, 11 May 2005, Murray @ PlanetThoughtful wrote:
>
> > Hi All,
> >
> > I'd very much appreciate some help building a regular expression for
> > preg_match_all that can differentiate between 'words' and 'phrases'.
> >
> > F
Hi All,
I'd very much appreciate some help building a regular expression for
preg_match_all that can differentiate between 'words' and 'phrases'.
For example, say I have a string that contains: 'this is an "example of a
phrase"'
I'd like to be able to break that down to:
this
is
a
> Hi,
>
> On 5/9/05, Murray @ PlanetThoughtful <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > I need to implement the ability to ftp upload files from client machines
> via
> > a form in a web application I'm developing.
> >
> > From
Hi All,
I need to implement the ability to ftp upload files from client machines via
a form in a web application I'm developing.
>From reading the PHP help, all I can find to perform this is the POST method
for handling file uploads
(http://au2.php.net/manual/en/features.file-upload.php).
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]
> Sent: Monday, 2 May 2005 6:16 AM
> To: Murray @ PlanetThoughtful
> Cc: php-general@lists.php.net
> Subject: RE: [PHP] Problem with array
>
> On Sun, May 1, 2005 1:08 pm, Murray @ PlanetThoug
m: Richard Lynch [mailto:[EMAIL PROTECTED]
> Sent: Monday, 2 May 2005 5:04 AM
> To: Murray @ PlanetThoughtful
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Problem with array
>
> On Sun, May 1, 2005 10:21 am, Murray @ PlanetThoughtful said:
> > >
[Here there be snippag
1 - 100 of 134 matches
Mail list logo