Re: [PHP] Re: 302 Responses (Was: session cookies)

2005-09-06 Thread Robin Vickery
On 9/6/05, Rasmus Lerdorf [EMAIL PROTECTED] wrote: Chris Shiflett wrote: 3. Chris's modified test script: header('Location: http://www.php.net/'); $fp = fopen('/tmp/log.txt', 'w'); for ($i = 0; $i 30; $i++) { $str = Count $i\n; echo str_repeat($str, 1000);

Re: [PHP] owner of files created by fopen() become wrong?

2005-09-06 Thread Robin Vickery
On 9/6/05, Wong HoWang [EMAIL PROTECTED] wrote: I have set up a VirtualHost for the domain that have problem. Since I am using Apache/1.3.33 , I have set the User Group inside outside the VirtualHost ... ... /VirtualHost tags. As you know, the user group set outside VirtualHost will be the

Re: [PHP] Re: 302 Responses (Was: session cookies)

2005-09-06 Thread Robin Vickery
On 9/6/05, Chris Shiflett [EMAIL PROTECTED] wrote: Rasmus Lerdorf wrote: This redirects right away for me. Try it: http://lerdorf.com/cs.php Code at: http://lerdorf.com/cs.phps Thanks, that works. :-) For reference, here's mine (temporary URL, of course):

Re: [PHP] Mktime strange

2005-08-31 Thread Robin Vickery
On 8/31/05, Hal 9001 Consulting [EMAIL PROTECTED] wrote: Hello, I've got a problem with mktime. It's a very strange behaviour, I don't know if is a bug: echo date (M-d-Y, mktime (0,0,0,07,07,2005)); - Jul-07-2005 (right) echo date (M-d-Y, mktime (0,0,0,08,07,2005)); - Dec-07-2004

Re: [PHP] String format problem

2005-08-31 Thread Robin Vickery
On 8/31/05, Ahmed Abdel-Aliem [EMAIL PROTECTED] wrote: hi i have a problem when i am formating a string the problem is it converts the \n in the string to a new line here is the code ? $Text = D:\AppServ\www\intranet\admin\store\nodirectory\sub; $Replace =

Re: [PHP] Getting queries from files FYI

2005-08-25 Thread Robin Vickery
On 8/23/05, Jay Blanchard [EMAIL PROTECTED] wrote: You may (or may not) remember me posting to the list a couple of weeks ago asking about using REGEX to get queries out of PHP files for a migration project. I had to let it go for several days, but started working on it again yesterday, here

Re: [PHP] Re: [new version] Re: [a proactive example of learning by hacking] Re: [PHP] Getting queries from files FYI

2005-08-25 Thread Robin Vickery
This is another rather hackish attempt at using the tokeniser. It turns this: ?php $emu = my_column {$banana}; $wallaby = 'my_table'; $kookaburra = 'SELECT * FROM'; $kookaburra .= $wallaby; $koala = 'ASC'; $taipan = ' ORDER BY' . $emu; $dropBear = 'group by something'; mysql_query($kookaburra

Re: [PHP] preg_match

2005-08-24 Thread Robin Vickery
On 8/24/05, Richard Lynch [EMAIL PROTECTED] wrote: On Tue, August 23, 2005 1:58 am, Robin Vickery wrote: Both of these will fail to compile: preg_match( '/\\7abc/', $myString); preg_match( '/\7abc/', $myString); Well, duh! You'd have to use them correctly in Regular Expressions

Re: [PHP] preg_match

2005-08-24 Thread Robin Vickery
On 8/24/05, Richard Lynch [EMAIL PROTECTED] wrote: On Tue, August 23, 2005 1:58 am, Robin Vickery wrote: But in the mean time, it's not *that* hard to learn the syntax of regular expressions. OK, they're rather terse. But apart from that, they're a lot simpler than a proper language like

Re: [PHP] preg_match

2005-08-23 Thread Robin Vickery
On 8/23/05, Richard Lynch [EMAIL PROTECTED] wrote: The advantage that when I have to change the string to match the new/altered data, and that data has, oh, I dunno, something like ' or \ or 0, 1, 2, 3, ...9 in it, and then my Regex suddenly doesn't work because \abc7 won't work the same as

Re: [PHP] preg_match

2005-08-23 Thread Robin Vickery
On 8/23/05, Jasper Bryant-Greene [EMAIL PROTECTED] wrote: Robin Vickery wrote: Both of these will fail to compile: preg_match( '/\\7abc/', $myString); preg_match( '/\7abc/', $myString); Both of these are fine: preg_match( '/\\abc7/', $myString); preg_match( '/\abc7/', $myString

Re: [PHP] [a proactive example of learning by hacking] Re: [PHP] Getting queries from files FYI

2005-08-23 Thread Robin Vickery
On 8/23/05, Jochem Maas [EMAIL PROTECTED] wrote: Jay Blanchard wrote: Also, sweet move with the array_reverse... $fileParts = array_reverse(explode('.', $theFile)); if(php == $fileParts[0]){ ...it prevents problems with funky file names containing more than one

Re: [PHP] Load testing

2005-08-22 Thread Robin Vickery
On 8/22/05, Chris Boget [EMAIL PROTECTED] wrote: What do you guys use for load testing forms? I've just been opening seperate windows, navigating to the form, filling out the form on all windows and hitting the submit button at the same time. After about 15 or so windows, it starts to

Re: [PHP] preg_match

2005-08-22 Thread Robin Vickery
On 8/22/05, Richard Lynch [EMAIL PROTECTED] wrote: On Sat, August 20, 2005 5:00 am, John Nichel wrote: Personally, I have never used \\ in PCRE when looking for things like spaces (\s), word boundraries (\b), etc. and it's all worked out fine. Personally, { I } have never { used

Re: [PHP] [OFF: logical question] rounding in steps of 15

2005-08-18 Thread Robin Vickery
On 8/18/05, Norbert Wenzel [EMAIL PROTECTED] wrote: Excuse me, I know my question is not PHP specific, but I hope there are some logical and mathematical talents in here, since I've always been fighting with maths. ;-) I have to provide a textfield, where workers enter their time they

Re: [PHP] counting nested array

2005-08-17 Thread Robin Vickery
On 8/17/05, Ing. Josué Aranda [EMAIL PROTECTED] wrote: OK this the little function i made to solve this.. function countNested($array){ foreach($array as $value){ if(is_array($value)) $total=$this-countNested($value)+$total; }else{

Re: [PHP] counting nested array

2005-08-16 Thread Robin Vickery
On 8/16/05, Ing. Josué Aranda [EMAIL PROTECTED] wrote: The number of the branches is not always the same.. (it depends on the query).. when i use count($array, COUNT_RECURSIVE) for nested arrays.. it give to me the total including the nodes in the branches ( in this case 28).. now here is the

Re: [PHP] Regular expression question

2005-08-12 Thread Robin Vickery
On 8/11/05, Leon Vismer [EMAIL PROTECTED] wrote: Hi Robin Many thanks for this, how would one extend this to support the following: $str = insert into userComment (userID, userName, userSurname) values (0, 'Leon', 'mcDonald'); one does not want $str = insert into user_comment

Re: [PHP] REGEX for query

2005-08-11 Thread Robin Vickery
On 8/11/05, Jay Blanchard [EMAIL PROTECTED] wrote: That is a good start, now all I need to do is get the whole query(s) Get them from the mysql logs? -robin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regular expression question

2005-08-11 Thread Robin Vickery
On 8/11/05, Leon Vismer [EMAIL PROTECTED] wrote: Hi I would like to convert from one naming convention within a sql statement to another. I have the following, code $str = insert into userComment (userID, userName, userSurname) values (0, 'Leon', 'Vismer'); $match = array(

Re: [PHP] Calculation error - PHP not following math hierarchi ???

2005-08-03 Thread Robin Vickery
On 8/3/05, Rene Brehmer [EMAIL PROTECTED] wrote: I've run into a situation where PHP is way off when doing a relatively simple calculation of distance between two points in 2-dimensional space, where coordinates go from 1 to 300 in both X and Y directions. When passing 300, it goes back to 1,

Re: [PHP] Regex help

2005-08-02 Thread Robin Vickery
On 8/2/05, Chris Boget [EMAIL PROTECTED] wrote: I'm trying to validate an email address and for the life of me I cannot figure out why the following regex is not working: $email = [EMAIL PROTECTED]; $regex =

Re: [PHP] Credit card storing, for processing

2005-02-02 Thread Robin Vickery
On Wed, 02 Feb 2005 01:24:18 -0500, Angelo Zanetti [EMAIL PROTECTED] wrote: Does this setup sound secure enough and a solution that can work? What kind of encryption should I be using? Point out any areas where you think I might be missing something or going wrong. Take Richard's advice

Re: [PHP] Autoflush

2005-01-31 Thread Robin Vickery
On Mon, 31 Jan 2005 18:37:15 +0800, Wudi [EMAIL PROTECTED] wrote: Can PHP attain autoflush? (See attachments.) Yes PHP can be set to automatically flush - see http://de.php.net/outcontrol#ini.implicit-flush No, we can't see attachments. -robin -- PHP General Mailing List

Re: [PHP] regular expressions ?

2005-01-28 Thread Robin Vickery
On Thu, 27 Jan 2005 11:36:39 -0800, Rick Fletcher [EMAIL PROTECTED] wrote: /^(1?[1-9]|[12]0)$/ works too. The first part covers 1-9, 11-19; the second part gets you 10 and 20. Plus, it's ever so slightly shorter! And isnt' that what's most important? :P absolutely, and you managed it

Re: [PHP] regular expressions ?

2005-01-27 Thread Robin Vickery
On Thu, 27 Jan 2005 16:56:05 +0100, Zouari Fourat [EMAIL PROTECTED] wrote: this is working fine : if (eregi(^-?([1-3])+$,$x) echo x is 1 or 2 or 3; i forgot to say that doesnt work with 1-20 :( how to do it ? You're far better off doing it arithmetically as someone already said,

Re: [PHP] regex help

2005-01-14 Thread Robin Vickery
On Thu, 13 Jan 2005 16:06:32 -0500, Jason Morehouse [EMAIL PROTECTED] wrote: Hello, I normally can take a bit of regex fun, but not this time. Simple enough, in theory... I need to match (count) all of the bold tags in a string, including ones with embedded styles (or whatever else can go

Re: [PHP] Close all open tags in HTML text

2004-12-09 Thread Robin Vickery
On Wed, 8 Dec 2004 22:33:19 -0500, Matt Palermo [EMAIL PROTECTED] wrote: I am allowing users to imput HTML code into a textarea. After they input this, I wany to output their HTML to the browser. In order for the document to be safe, I need to close all open HTML tags that have been left open

Re: [PHP] Problem with self join

2004-11-29 Thread Robin Vickery
On Mon, 29 Nov 2004 14:12:23 +0530, suneel [EMAIL PROTECTED] wrote: Hi... Please take a look at the following... I'm using MySQL 4.0.15 I have the database like this Id name Owner 1Top Menu0

Re: [PHP] Text Parser

2004-11-24 Thread Robin Vickery
On Wed, 24 Nov 2004 15:26:44 -0300, Pablo D Marotta [EMAIL PROTECTED] wrote: Hi there... I need to get a procedure able to do this: 1) Receive a string. For example: name age address location. 2) Process that string, inserting comas between the words in the middle. For example:

Re: [PHP] Timezones

2004-11-22 Thread Robin Vickery
On Fri, 19 Nov 2004 12:56:55 +0100, Venelin Arnaudov [EMAIL PROTECTED] wrote: I have a legacy PHP3 system and a MySQL DB with two tables: [...] When a user submits a message, my PHP script (using time() function) stores the submission time in messages.date field. However this value is not the

Re: [PHP] Timezones

2004-11-22 Thread Robin Vickery
On Mon, 22 Nov 2004 11:52:03 -0500, Gryffyn, Trevor [EMAIL PROTECTED] wrote: Then somewhere there has to be a cross reference between name and timezone info. I'm sorry I'm not running Apache here and don't have access to the same info that you're using, but I'd try digging into those config

Re: [PHP] $_POST['xxx'] = blabla ?

2004-11-22 Thread Robin Vickery
On Mon, 22 Nov 2004 21:57:23 +0100, Perry Jönsson [EMAIL PROTECTED] wrote: Maybe a daft question but why would you like to check for a specific value? Can you give an example when this is a good thing to do? A forum. You have two submit buttons, one labeled 'draft' and one labeled 'final'.

Re: [PHP] Passing regexp substrings to a function

2004-10-26 Thread Robin Vickery
On Mon, 25 Oct 2004 15:33:59 +0300, Ville Mattila [EMAIL PROTECTED] wrote: Hi there, I have a few e-mail templates in a file that should be parsed. A template can include also some module codes that should be replaced by a return value of a certain function. For example, if the template

Re: [PHP] str_replace problem

2004-10-20 Thread Robin Vickery
On Wed, 20 Oct 2004 01:02:12 -0500, Chris Ditty [EMAIL PROTECTED] wrote: Hi all. I'm trying to do a little code snippets page for a site I am working on. I figured it would be simple enough. I would do a str_replace and replace the various html codes with the ascii eqivulant.

Re: [PHP] Fwd:

2004-10-19 Thread Robin Vickery
Original-Recipient: rfc822;[EMAIL PROTECTED] It's whoever's subscribed under the address [EMAIL PROTECTED] - I tried complaining to them a couple of weeks ago but got no response. One of the few times I *haven't* got a response from them in fact. -robin -- PHP General Mailing List

Re: [PHP] Question about array_search

2004-10-11 Thread Robin Vickery
On Mon, 11 Oct 2004 09:07:13 -0700, Brian Dunning [EMAIL PROTECTED] wrote: The problem is that if the item is at index 0 in the array, array_search gives the same answer as if it's not in there at all. No it doesn't. If it's in index 0 it returns 0, if it's not there at all it returns

Re: [PHP] getting rid of NOTICE

2004-10-07 Thread Robin Vickery
On Thu, 7 Oct 2004 14:04:00 +0800, Roger Thomas [EMAIL PROTECTED] wrote: I have this short script (below) that does checking whether a userid has an associated jpegPhoto in an LDAP database. The script is working fine but gave a 'Notice' msg bcos I made error_reporting to report all errors.

Re: [PHP] find quoted string within a string (more of a regex question, though ..)

2004-09-10 Thread Robin Vickery
On Fri, 10 Sep 2004 11:43:54 +0200, Wouter van Vliet [EMAIL PROTECTED] wrote: For my own reasons (can explain, would take long, won't till sbody asks) I want to match a quoted string within a string. That is somehow kind of easy, I know ... if it weren't for the slashing of quotes. The

Re: [PHP] Help with eregi

2004-06-22 Thread Robin Vickery
On Tue, 22 Jun 2004 14:57:28 -0400, Ryan Schefke [EMAIL PROTECTED] wrote: Could someone please help me with an eregi statement. I have a string that can vary as such: client1/album/album_121-2132_IMG.JPG client2/album/album_121-2132_IMG.JPG client59/album/album_121-2132_IMG.JPG

Re: [PHP] variable question

2004-06-19 Thread Robin Vickery
On Sat, 19 Jun 2004 14:25:27 -0600, water_foul [EMAIL PROTECTED] wrote: is there a way to use one variable to create another? Example $poo=1 and i want $lie1 OR $poo=2 and i want $lie2 If I understand you right, you want: ${'lie' . $poo} when $poo is 1, that will give you $lie1,

Re: [PHP] how to iterate over fields names with mysql_fetch_assoc

2004-06-19 Thread Robin Vickery
On Sat, 19 Jun 2004 13:25:54 -0700, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: How do I iterate over fields when I perform the below script: ... If I write the below code, I only get the first field name of each row...which makes sense In this case, I get 'artist_name' while ($row =

Re: Re: [PHP] Regular Expression - it works but uses way too much memory ?

2004-06-18 Thread Robin Vickery
On Fri, 18 Jun 2004 08:57:19 +0200 (CEST), Ulrik S. Kofod [EMAIL PROTECTED] wrote: Sorry to post this again but it's a little urgent. The preg_replace in my script allocates a little memory every time it is called and doesn't free it again untill the script ends. I don't know if it is

Re: [PHP] Re: Please Help, returning path

2004-06-18 Thread Robin Vickery
On Fri, 18 Jun 2004 05:46:12 -0300, Manuel Lemos [EMAIL PROTECTED] wrote: On 06/18/2004 05:40 AM, Me2resh wrote: is there a function to detect the path of the directory i need my file to detect the path it is on it, not the http path but the path on server please help me with that

Re: [PHP] Unexpected behaviuor with __CLASS__

2004-06-16 Thread Robin Vickery
On Wed, 16 Jun 2004 11:49:31 +0200, Torsten Roehr [EMAIL PROTECTED] wrote: Hi list, on RedHat with PHP 4.3.6 the following code produces 'test' - I'm expecting 'test2': class test { function printClass() { echo __CLASS__; } } class test2 extends test { }

Re: [PHP] update count

2004-06-16 Thread Robin Vickery
On Wed, 16 Jun 2004 09:40:52 -0400, Bob Lockie [EMAIL PROTECTED] wrote: What is the best way to only do an update if it going to update only one row? You don't say what database you're using. The general way is to use a unique key in the WHERE clause. UPDATE tablename SET foo=1 WHERE

Re: [PHP] Sessioin Management URL rewriter problem

2004-06-15 Thread Robin Vickery
On Tue, 15 Jun 2004 09:50:55 -0400, Jeff Schmidt [EMAIL PROTECTED] I have some tags that look like: a href='script.php?var=value' And session management is rewriting these as: a href='script.php?var=valuePHPSESSID=' Which at first glance appears fine, right? But the problem

Re: [PHP] Syntax Help, Please

2004-06-15 Thread Robin Vickery
On Tue, 15 Jun 2004 13:20:24 -0400, Steve Douville [EMAIL PROTECTED] wrote: I've forgotten how to assign something like this... $someStr = EOF bunch of raw non-echo'd html EOF; But can't seem to get the right syntax. Tried looking in the manual, but don't even know what I'm

[PHP] Re: problem in the small code

2001-09-11 Thread Robin Vickery
[EMAIL PROTECTED] (Balaji Ankem) writes: What is the problem with following code.. $sql1=DELETE from tinventory where inv_tag='$inv_tag'; no closing doublequote. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Re: preg_replace_callback()

2001-09-10 Thread Robin Vickery
[EMAIL PROTECTED] (Richard Lynch) writes: A callback is when you execute a function, and you provide to it a name of *another* function, which it will call on some data in the middle of its task. It's a very handy way to provide extreme flexibility in functional languages. For example:

Re: [PHP] PHP Redirect in the middle of code?

2001-09-10 Thread Robin Vickery
[EMAIL PROTECTED] (George Pitcher) writes: Andrew, I am in a similar position witha Lasso site, which I am considering php-ing. I need to do conditional redirects. George P, Edinburgh - Original Message - From: Andrew Penniman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

[PHP] Re: Regular Expressions - A relatively simple search...

2001-09-07 Thread Robin Vickery
[EMAIL PROTECTED] (Mike Gifford) writes: Hello, I'm trying to replace a couple of lines of code: $dotpos = 1 - (strlen($userfile_name) - strpos($userfile_name, '.')); $extension = substr($userfile_name, $dotpos); with a simpler regular expression: $extension =

Re: [PHP] Re: How to pass variables to php functions from url's?

2001-09-07 Thread Robin Vickery
[EMAIL PROTECTED] (Martin Lindhe) writes: Hi Martin, Take a look at the Apache mod_rewrite docs. http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html Thanks alot! I made a similar solution which works RewriteEngine on RewriteRule ^/x/(.*)

[PHP] Re: Regex help

2001-08-22 Thread Robin Vickery
[EMAIL PROTECTED] (Stefen Lars) writes: In the Apache config file, we have the following directive: SetEnvIfNoCase Referer ^http://www.oursite.com/; local_ref=1 FilesMatch .(gif|jpg) Order Allow,Deny Allow from env=local_ref /FilesMatch We use this to prevent people from

Re: [PHP] Replace everything except of...

2001-03-13 Thread Robin Vickery
"MT" == Martin Thoma [EMAIL PROTECTED] writes: Hello ! How can I use eregi_replace to replace every "BR" with "", except when it's "BBR" ?? You need a lookbehind assertion... $string = preg_replace( '/(?!b)br/i', '', $stri

Re: [PHP] I'm confused about Regular Expressions.

2001-02-22 Thread Robin Vickery
ImageSize() on the uploaded file, before you move it and look at the [2] element of what is returned. This will give you the actual type of file from inspecting its contents rather than just trusting the extension that was typed. Or look at the mime type held in $HTTP_POST_FILES['

Re: [PHP] summing unkown values

2001-02-20 Thread Robin Vickery
"GROUP BY issues.course_name"; The result would be a single entry for each course with the total time. hope this helps -robin -- Robin Vickery. BlueCarrots, 14th Floor, 20 Eastbourne Terrace, London, W2 6LE --

Re: [PHP] create array of random unique integers?

2001-02-18 Thread Robin Vickery
ay = range( $start, $finish ); // it really irritates me the way PHP's sort functions mess around // with the original array rather than returning a sorted array so // I can assign it to where I want it. shuffle( $rand_array ); return $rand_array; } print_r( rand_array(1, 10) ); ?

Re: [PHP] Exec issue

2001-02-18 Thread Robin Vickery
th problem, especially if you can run 'ls'. Try giving the full path to 'find'. -robin -- Robin Vickery. BlueCarrots, 14th Floor, 20 Eastbourne Terrace, London, W2 6LE -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

Re: [PHP] True || False ?

2001-02-16 Thread Robin Vickery
r examples you were implicitly converting from a boolean type to an integer or a string. Try this: print gettype(true) . "br\n"; print gettype(0 + true) . "br\n"; print gettype('' . true) . "br\n"; -robin -- Robin Vickery...

Re: [PHP] currency conversion

2001-02-15 Thread Robin Vickery
foreach ($return as $line) { if( preg_match($regex, $line, $match) ) break; } if (!isset($match)) return false; return $amount * $match[1]; } } $money = new currency; print $money-convert( 10, "GBP", "AUD" ); ? -- Robin Vickery...

Re: [PHP] ereg_replace

2001-02-15 Thread Robin Vickery
"VB" == "Brian V Bonini" [EMAIL PROTECTED] writes: Ah right, strings not words, I feel like a dummy now... ;-) -Original Message- From: John Vanderbeck [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 15, 2001 10:57 AM To: [EMAIL PROTECTED]; Robin Vickery

Re: [PHP] ereg_replace

2001-02-15 Thread Robin Vickery
t preg_replace( '/\b/', '-', 'this is a string' ) . "br\n"; It will output: -this- -is- -a- -string- As it replaces all the word boundaries with a hyphen. So the regular expression /\bis\b/ will match only the word 'is' and not 'this' or 'isotope' or 'biscuit'.

Re: [PHP] ereg_replace

2001-02-14 Thread Robin Vickery
of text' ), $string ); print $string . "br\n"; ? The output would be: this is my string. this is your bit of text. -- Robin Vickery. BlueCarrots, 14th Floor, 20 Eastbourne Terrace, London, W

Re: [PHP] shows up in IE but not Netscape

2001-02-09 Thread Robin Vickery
? Mainly because your closing 'table' tag is missing its slash. The duplicated 'head' and 'body' tags probably aren't helping either. -robin -- Robin Vickery. BlueCarrots, 14th Floor, 20 Eastbourne Terrace, London, W2 6LE -- PHP General Ma

Re: [PHP] contracting consulting (was [PHP] Pricing for PHP programming???)

2001-02-02 Thread Robin Vickery
earnt various fun, but not particularly commercial languages at Uni. Picked up Perl while working in a Sysadmin role, then PHP/FI when roped into developing a website. I converted to PHP3 with some relief as soon as it came out and now most of my work is in P

Re: [PHP] PHP/FI what FI?

2001-02-02 Thread Robin Vickery
P3 and now PHP4. PHP/FI had a few quirks... the syntax for function definitions for example: function functionname $param1 $param2 ( statement1; statement2; ... ); PHP3 was a definite improvement. -- Robin Vickery. BlueCarrots, 14th

Re: [PHP] Pricing for PHP programming???

2001-02-01 Thread Robin Vickery
an't draw for toffee) -- Robin Vickery. BlueCarrots, 14th Floor, 20 Eastbourne Terrace, London, W2 6LE -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PHP] stripping the keywords from a search engine... again...

2001-01-19 Thread Robin Vickery
"BC" == Brian Clark [EMAIL PROTECTED] writes: Hello Dallas, (DK == "Dallas Kropka") [EMAIL PROTECTED] writes: DK Posted earlier but got no response so here it is again... I gave you a quick explanation of one way to do it earlier, but I know of no tutorials off the top of my

Re: [PHP] Stripping!!!

2001-01-11 Thread Robin Vickery
"S" == "K Simon" [EMAIL PROTECTED] writes: Thx, but could anybody give me an example? It shouldnt be too hard?! If you feel you have to do it in php then this should work. You'd save a lot of effort if you used the unix 'cut' command though. cut -d ' ' -f 1 inputfile.txt outputfile.txt

<    1   2   3