Ok, I think I get it, though I have one more question to access a specific
line of that array would it just be as simple as $array[2]?
-David Serrano
"Brian Clark" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> if(! $array = @f
Ok thats what I though. Thanks for your time
-David Serrano
"Brian Clark" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi David,
>
> @ 7:35:06 PM on 4/16/2001, David Serrano wrote:
>
> > Ok, I think I get it, t
index.php is "" (should be "file")
>Ansatte is ""(should be "dir")
>Produkter is "" (should be "dir")
>Kontorer is "dir"
>view.php3 is "&qu
t; ... that isn't writing anything to the file. any help would be
> appreciated. thx in advance
The third arg to fwrite (optional) is an integer value for the length of
the string to be written.
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJ
At 02:20 PM 4/18/01 -0600, Ashley M. Kirchner wrote:
> Is there an easy way to generate generic passwords based on
>(combined) dictionary words? (ej: take two different words and put them
>together)
Would be huge, and vulnerable to dictionary attack (of course)
You'd have to have a file con
r
just use nl2br when you actually display the text, rather than trying to
put the in your database.
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet| http://a
Your coding style is not the most used..
But I must be honest and tell you that I also find the clearest way...
I also use it on all my own code.. It has got the advantage that you always
see all brackets (no need to scroll to the right to find a bracket) and if
you go down on the same horizontal
string and do an OR search on all the words.
>
> as opposed to having the "OR" in as well?
>
> Thanks, as always,
>
> James.
Broadly, in this type of situation the row will only be returned once
notwithstanding that it might meet several citeria.
--
David Ro
OW()-18years)
using whatever your DB supports for the last bit :-) I _think_ it might
work as is with recent MySQL.
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet|
message would be some kind if string :-).)
>
> Here comes another problem, when an error occours I should be able to
> see the message with mysql_error() (since the linkid not contains an
> error message.)
>
> Marcus R.
Try testing the value of mysql_errno() and echo mysql_e
ried using many other functions date,mktime(),etc..
> please help in this regard..
> thanx in advance..
> Reena
Does localtime help?
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTR
www.robotwisdom.com/net/regexps.html
http://www.technobreeze.com/phptutorial/tutorial.regexp.php3
one interesting page is javaregex.com which could look a lot like a , oh,
phpregex.com ?
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES
reena
>
> On Thu, 19 April 2001, David Robley wrote:
> > On Fri, 20 Apr 2001 16:03, [EMAIL PROTECTED] wrote:
> > > hi..
> > > i have some problem regarding time() functions.it returns the time
> > > with some offset w.r.t to our normal system time.
On Fri, 20 Apr 2001 17:02, you wrote:
> Yes but how I can "say" 18 years ???
>
> Marian Vasile
> IT Manager
> Schnecker van Wyk & Pearson
> www.investments.ro
> +40 (0) 1 2309000
>
> > -Original Message-
> > From: David Robley [mailto:[EM
n..
Thanks for all help..
Bye Bye
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
a problem the other database can directly
be used to restore the backup and you don't have to search for the dump
file..
Sucess..
Bye Bye
David
> I want to write a script that takes a mysql dump file and pumps it into
the
> database.
> I got the dump in a variable and then
On Mon, 23 Apr 2001 15:34, kenny.hibs wrote:
> Don't know if this id the place to ask but
> Can anyone recommend a good php powered forum that I could use on my
> site.
>
> kenny
Phorum - http://www.phorum.org/
--
David Robley| WEBMAST
hat much memory for
the process..
What solution you will have to use I don't know, problaby read blocks of 500
kilobyte process it and then reuse the variable to read the next 500
kilobyte etc etc till you are finished..
Bye Bye
David
> $file = fopen("includes/about.inc&q
N3T ");
>
> Thanks
>
> Dexter
What about permissions? Remember that scripts run as the webserver user,
possibly nobody.
--
David Robley| WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet
t; for ($i=1; $i < 9 ; ++$i){
> $First = $First + 7 ;
> }
> ***
Try it and you'll see why it won't work as you expect. Then check the
manual for mktime which can do what you want.
--
David Robley| WEBMASTER & Mail List Adm
ame on my host and on my Linux box. The version of php and mysql are
> the same on ALL of the machines (host, Win2k, Slackware).
>
> Any ideas?
>
> Thanks everyone,
> Tyler
IIRC the syntax error is just before the snippet returned by mysqlerror
so you might check the va
neotron Mon Apr 23 18:08:35 2001 EDT
Modified files:
/php4/sapi/caudium caudium.c
Log:
Disable use of th_farm since it doesn't seem to work. Uses a Pike layer
thread farm now instead.
Index: php4/sapi/caudium/caudium.c
diff -u php4/sapi/caudium/caudium.c:1.1
the query lines after each edit case
> it does update the page contents.
>
> I'm missing something basic, but what?
>
> Martin S.
Your function isn't doing anything to return values of the rows you are
selecting.
--
David Robley
age();
> >>
> >> switch($action){
> >> case INITIAL_PAGE:
> >> initial_page;
> >> break;
> >> case SELECT:
> >> select();
> >> break;
> >> default:
> >>
;
> Calin
You'll need to read the data from the file into a variable which you can
then process and send with mail()
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Fact is solidified o
At 08:31 PM 4/26/01 +0100, [EMAIL PROTECTED] wrote:
>hi all,
>
>i have a script which selects description, price and quantity from a mysql
>table.
>
>i have displayed the results on a page in the form of description, price,
>quantity but I was wondering how best to go about calculating a total tot
t;
>
> But I always get the "Sorry, no matching ..." output
> even though my SQL table has the word in its field.
> Would someone help me with this. Any suggestion, hints
> or tips will help me so much.
>
> Thank you in advance,
A general tip - whenever you are hav
Is LDAP support default or are there any ./configure options I need to know
?
David
well with php.
Thanks in advance for any assistance !!
David
My host is Windows 98, Xitami and unstable MySQL and Perl/CGI.
I'm looking for a *free* host, with CGI, Perl 5+, MySQL access, SSI &
PHP.
Thanks,
Owen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I had some code that was working nicely. In it, I was assigning values to a
multidimensional array like:
$array_name[0] = array(
key1 => 'val',
key2 => 'val',
key3 => 'val');
I added a function that directly assigns vars to the same array like:
$array_name[0][key4] = 'val';
If thi
I upgraded from 4.0.4 to 4.0.5 and trans sid no longer works. Any ideas ?
DW
At 02:59 PM 5/7/01 +0100, Tom Carter wrote:
>Hi
>
>This isn't a PHP thing, but most unix/linux distributions have a program
>called wget in. You can use this to very easily download a file to your
>server (eg. wget http://www.freebsd.com/man.php)
Wget is VERY powerful.
I have a php based site th
romedia.com
http://www.gendev.net
There are some other but I'd have to dig for them.
>
> I do not know how to see 'Archive' of this mailing list. Can any body give
> me the URL ?
http://php.net/support.php
>
> Regards,
> manisha
>
Enjoy,
David Pieper
--
t; ?>
>
> sadasdsa
>
>
> what do I do in this case??? I've tried all kinds of programing
> techniques... but none of them seems to fit here.
exit or die are probably the tools you want.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR
On Tue, 15 May 2001 10:58, Christian Dechery wrote:
> At 10:35 15/5/2001 +0930, David Robley wrote:
> >On Tue, 15 May 2001 09:40, Christian Dechery wrote:
> > > In most of my scripts there are always headers and footers to html
> > > outputs... like logos, images, and o
ork so far, probably because
> I don't understand the nitty gritty of file handles.
>
> Thanks
Not so much a problem with the file, rather the way the webserver handles
output. Try using flush() to force data to be sent to the client.
--
David Robley Techno-JoaT, Web Maintaine
iter with the
optional third parameter."
So it seems that $data will be an array of the current line being
returned from the file? Have a look at the docs
(/manual/en/function.fgetcsv.php) for an example of how to read and
output the contents of a csv file.
--
David Robley Techno-J
At 08:18 PM 5/16/01 +0200, Christian Reiniger wrote:
>On Wednesday 16 May 2001 15:16, Matthew Schroebel wrote:
> > Why would you want to advertise that? Seems like you would be leaking
> > information to crackers ...
>
>It's very difficult to imagine how 'uptime' information could be used to
>cau
At 03:30 PM 5/16/01 -0500, Ben Gollmer wrote:
>Uptime.exe is available on the WinNT / Win2k resource kit. You can also
>download it here:
>
>http://www.microsoft.com/ntserver/nts/downloads/management/uptime/default.
>asp
Does the windows version have the ability to count larger than hours? :)
-
Hello everybody!
I have a problem that a script is not working with netscape. The script is
shown here:
echo "goto add";` //Link
if ($argv[0] == "add";//The Link jumps to this point of the script
[do something]
It's perfectly working with the internet explorer. with netscape (newes
1 7:36 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Netscape problem with $PHP_SELF?do_something
>
>
> dunno...never had problems with phpself
> actually try $PHP_SELF instrad of $php_self...
>
> -elias
>
> ""Ja
At 12:05 PM 5/17/01 -0500, Troy Moreland wrote:
>I fully understand what you are saying. The problem is that I'm storing
>their password so that they don't have to re-enter it on each new page
>visited. If I can't decrypt it, then I can't pass that password for the
>user. How do I keep passing
At 10:18 AM 5/17/01 -0700, [EMAIL PROTECTED] wrote:
>I have what I feel to be a strange problem (I'm most likely wrong here).
>I have page A, which is an internal page, which posts to page C which is
>external (belongs to another company). What I would like is to insert a
>preprocessing script
At 10:48 AM 5/17/01 -0700, [EMAIL PROTECTED] wrote:
>Unfortunately, I don't control page c, or else this would be a mute point.
>That's why I need page B. Good idea though.
Well, it sounds like an auto-redirect is about your only choice.
--
Dave's Engineering Page: http://www.dvanhorn.org
Wher
do
> to use the mail() function on a Win2k advanced server box? PHP 4.0.5
>
> Thanks
> Brandon
You'll need to define which smtp server you are using, in your php.ini.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders Univer
module and is hence not available in the CGI
version."
Presumably as you are runnig IIS, you will not be using tha Apache module.
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
"I have
On Fri, 18 May 2001 07:07, Ron Pitts wrote:
> Ron Pitts
> Caravela Books
> 134 Goodburlet Road
> Henrietta, NY 14467 http://caravelabooks.com
Didn't I send instructions off list on how to unsubscribe a particular
address? Do they not work?
--
David Robley Techno-Joa
There are a few scripts listed at
http://www.hotscripts.com/PHP/Scripts_and_Programs/Email_Systems/Email_Utili
ties/ that might do what you want.
David Price
-Original Message-
From: Mark Wouters [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 19, 2001 3:10 PM
To: [EMAIL PROTECTED
Something like:
Perhaps a look at a code snippet, if this is not the case?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Don't force it, use a bigger hammer.
--
PHP General Mailing List (
efering page, or a hidden value passed to the script?
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Power corrupts; absolute power is even more fun.
--
PHP General Mailing List (http://www.php.net/)
e and cannot get the year to
> come out.
>
> Any suggestions?
>
> Thanks
> Jason
for($x=0; $x<20; $x++)
{
$year = date("Y") + $x; // Shift bracket!
print($year . "\n");
}
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
C
ace)
>
> TIA
>
> Wade
/manual/en/function.str-pad.php should do the trick
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Windows: just another pane in the glass.
--
PHP General Mail
still getting the same error (see above).
> I even tried giving that lib 777 perms ... and linked it to where
> libphp4.so is
> but nothing ... still get the same error.
> What now ?
>
>
> Bye
> Dave
Did you remember to run ldconfig (as root) after changing your ld.so.
'
>
> ' .
>
> do {
> 'data to be outputted'
> }while ($something = mysql_fetch_array($query));
>
> .'
>
> ';
>
> ?>
>
> any help?
See the manual entry for mysql_fetch_array(), which gives an example of
how to do this. You
That's really an apache-related question. Try
http://httpd.apache.org/docs/mod/mod_include.html
--
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
"It's half a score," Tom said ofte
ons would be greatly appreciated
>
> Peter
Once you have opened a connection, you should be able to use
mysql_db_query multiple times, specifying different databases each time,
and of course using different variables for the result identifiers.
--
David Robley Techno-JoaT, Web Maintai
Greetings --
PHP + MySQL + sessions?
I'm trying use the script( and html page) to below to set session
variables, but
keep getting the follow errors:
NOTE: I seen several posting re: using $HTTP_SESSION_VAR is another case
where
that would apply?
Thanks in advance,
David Ja
l the members..
Does anyone khow this is done..?
Thanks in advance for any help..
With kind regards..
David Bouw
PS: To give some examples of problems I see in the retrieved mail I have quoted some
p
Charles ---
As a general run on an Unix server httpd is run as user and group "nobody".
> I have been looking through the docs and found no help on either
> finding which user the EXEC'ed commands run as, or how to specify which
> user they should run as. I tried exec, system, and passthru run
), you could use a simple shell script and
run it as a cron job.
Hope this helps,
David Jackson
> Hi list,
>
> I am in a big trouble. My deadline is coming and I couldn't solve my
> problem yet! I have this script that outputs a table that can be seen
> at
> http://www.
This could easily and quickly lead to a philosophical argument about the
merits of such software/libraries/etc. Is the best way to secure
software and hardware to take away the resources to try to break them?
This only leads to more and more poor programming. As long as these
tools are out there,
in in as a different id the records aren't
added?
Scripts: login.php and sales.php.
Thanks for your time and knowledge,
David Jackson
- login.php ---
";
echo "http://backoffice.pickledbeans.com/index.html\";>";
echo "";
mysql_free_result ($resu
All --
It appears that the problem was a table design problems,
my primary index wasn't set to auto-increment? So I was trying to
insert records with duplicate keys !!
This of course leads to another question, how do I return SQL error messages
to the browser?
Thanks,
David
--
--
don't
really understands what it does.. (Does it inject the email
in mailer for the given IP number..?? Or does it try to deliver email himself to
different
hosts..?)
I will try to solve the html.mime.class problems, and I think that will then also solve
the decoding problem I have now..
B
This should be a better alternative:
http://www.php.net/manual/en/function.strip-tags.php
-Original Message-
From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 28, 2001 11:14 AM
To: Ash
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Searching a string or similar
if (s
em is, whenever I upload an image, $userfile is always "none". I
know I'm uploading it on the form end, but it doesn't seem to register it on
the PHP script's end. Any help here?
Thanks,
David Balatero ([EMAIL PROTECTED])
--
PHP General Mailing List (http://www.php.net/)
Sean --
Don't know if this help but here's what I just worked for me.
What ver. of PHP are you using? It seem to me that 3.x.x needs
PHPLIB: http://sourceforge.net/projects/phplib
to handle sessions? -- David Jackson
--- sean.php ---
--- seaninc.php --
> On 12-29
Sean --
Do you get the same errors, with Netscape 4.x?
> On 12-29 12:56, David Jackson wrote:
>> Sean --
>> Don't know if this help but here's what I just worked for me.
>> What ver. of PHP are you using? It seem to me that 3.x.x needs
>> PHPLIB: http://
Sean --
Give the attached scripts a shot, a post the results.
Note: Xitami(server+WinMe) + IE5.5 or Mozilla 9.7 works
fine but with Netscape-4.9 it returns var names? But
when served from Unix/Linux and Apache all 3 work as expected !!
Anywhy give them shot. -- David
--- form.html ---
http
Lauri --
You might want to take a look at: http://www.thewebmasters.net/php/
there's a tutorial located here:
http://www.devshed.com/Server_Side/PHP/PHPFastTemplate/page1.html
-- David
> Hi there!
>
> During the last two weeks or so, I've been bugged by a question deep
>
Woops -- first link is to the site for PHPFastTemplate.
> Lauri --
> You might want to take a look at: http://www.thewebmasters.net/php/
> there's a tutorial located here:
> http://www.devshed.com/Server_Side/PHP/PHPFastTemplate/page1.html
>
> -- David
>> Hi ther
thinking a array is created by check boxes?
-- David
order_form.php
// Define table
echo "";
// Generate book listing
$result = mysql_query("SELECT pid,date,title,subtitle,author,amount FROM
catalog ") or die("Dis ain't right !!");
while (
lis
compile problem to me.
You might also want to cross-post to linux-admin mail list?
-- David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Brian --
So I should change the line:
echo "";
To:
echo "";
Or do I change the value=
Thanks -- David
> * David Jackson ([EMAIL PROTECTED]) [Dec 29. 2001
> 21:41]:
>
> [...]
>
>> My question is how do I process checkbox when multi boxes have
>>
Here's the example from the PHP manual:
The tutorial here are very helpfull:
http://www.melonfire.com/community/columns/trog/
-- David
\n";
while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
print "\t\n";
foreach ($line as $col_value) {
pri
k reply. I used the PHP manual example and it
> connects to the database successfully but cannot select the database.
>
> I'm not sure why this is? I've looked hard at it and I cannot see where
> I have gone wrong.
>
> Thanks.
>
> GF.
> - Original Message -
from appears to be a
PHP front to "mailx", the saved mail is store in "Unix" type mail
folders in my home directory. i.e. it appends messages to the
end of a text file.
Hope this helps.
David
> Hi,
>
> I'm looking into setting up a web based mail client for perso
Miles ---
Here's the link to W3C: HTML/XHTML and CSS validation page.
It's a excellent tool for debuging pages.
http://validator.w3.org/
David
>
> Sounds like a problem with HTML syntax. NS is notoriously fussy and IE
> remarkably lax. Capture your source and compa
Also check out tutorials at:
http://www.melonfire.com/community/columns/trog/
-- david
> USE
> $HTTP_RAW_POST_DATA
> or something like that
>
> i'll look it up for you
> "Zhiqiang He" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTE
Try Cross posting to: linux-admin list
[EMAIL PROTECTED]
> When I run the "make" after a successful "configure", I get the
> following errors:
>
> stub.lo: file not recognized: File truncated
> collect2: ld returned 1 exit status
> make[1]: *** [libphp4.la] Error 1
> make: *** [all-recursive] E
Todd --
Send email to [EMAIL PROTECTED]
In body of email: subscribe linux-admin
You might also check for distrbution specific forum/list
Slackware has one, I'm sure Redhat has some.
By the why, were you compile Apache/Mysql and PHP from *tgz sources ?
> David -
>
> <<&
How about posting to the OS specific related forum?
For Linux try subscribing to linux-admin at [EMAIL PROTECTED]
for Solaris, HP-UX and other check news group list
DJJ
>
>
> -Original Message-
>
>
>
> Sorry this is offtopic
>
> I have set up a cron job and this is the message I
tie into an
"contact manager". The code to generate the catalog is below:
I'm sure it's a fopen(), passthru operation, I 'm just not sure what's
the most effective why to write the HTML out to file?
-- Thanks for your time -- David
- Make Catalog PHP
Sorry here's the code unattached:
\n";
echo "\n";
echo "Sales Date:\n";
echo "\n";
echo "Sales Rep:\n";
echo "";
// Define table
echo "";
// Generate book listing
$result = mysql_query("SELECT pid,date,title,subtitle,author,amount FROM
catalog ") or die("Dis ain't right !!");
while (
list($pid
copy php.log php.txt, now you have a static log to look at.
then do "more php.txt" this will display a screen at a time,hitting
goes to the next screen.
To do more advanced work with text files goto:
http://simtel.net "gnuish" directory and download "gawk" and "grep", mainly
grep, NOTE: using gr
Let see does my "PERSONEL" unsubscribe information appear at the bottom
of this email?
For the second time in 48hrs. someone submitted an unsubscribe request
using for me?
Yet I still get the list postings?
How strange.
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Jerry --
I didn't see any functions listed in:
http://www.php.net/manual/en/
for DB2 the ODBC maybe you only answers, heres the link:
http://www.php.net/manual/en/ref.odbc.php
David
> To connect to Microsoft SQL 7 I'm using the following script which
> works fine:
>
>
I've been trying to compile php-gtk on slack 8 with php 4.1.1. I've
tried CVS and 0.1.1, but I get the following during make whether I use
./buildconf or phpize:
gen_gtk.c:1: parse error before `:'
I looked at ext/gtk+/gen_gtk.c, and there is one line:
usage: php -q generator.php [-o overridesf
if
the string only had a single occurrence of "<" and ">" I can use strpos()
and substr() to extract it, but how do I do it for multiple occurrences? I
suppose I can keep chopping up the string to do this but I'm not sure if
that's the best way. Thanks.
D
Thanks Kevin- yeah I guess I'll have to chop up the string.
David
- Original Message -
From: "Kevin Stone" <[EMAIL PROTECTED]>
To: "David Yee" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, January 03, 2002 12:30 PM
Subject: Re
$result[] = $found;
$temp = substr($temp, $found + 1, strlen($temp));
}
for ($i=0; $i 0){ #if not the first element
$result[$i] = $result[$i] + $result[$i-1] + 1;
}
}
if (sizeof($result)>0){
return FALSE;
}else{
return $resu
It's also worth noting here that typing a keyword (or maybe it's just
function names?) in place of a directory after www.php.net does the same
thing. ie, 'www.php.net/extract' takes you to the extract page in the
manual.
HTH,
dm
Mike Eheler wrote:
>Through suggestions of people here is the code
turn after blah blah . So I
suppose I have to turn to preg_replace, but I'm having a hard time coming up
with the right pattern. Thanks.
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
That's an idea but it would delete the carriage return before it which I
don't want to happen. I've tried preg_replace("/^\r\n/", '', $string)
+ quite a few other variations but no luck :-(. Argh!
David
- Original Message -
From: "Bogdan Stanc
Ah that would do it (just need to double quote the \r\n). Thanks! I just
know, however, one of these days I'm gonna need to use preg_replace :-).
David
- Original Message -
From: "Bogdan Stancescu" <[EMAIL PROTECTED]>
To: "David Yee" <[EMAIL PROTEC
I'm using flock to manage the access of a file. I've noticed that php seems to
wait for the file to be freed up. Is there a ordered que that each request goes
into? And a timeout period, or does it just wait?
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
Nope, the exact syntax is
foreach ($emails as $this_is_one_address) {
}
...With that "as" in there.
HTH
David Balatero
[EMAIL PROTECTED]
- Original Message -
From: "Chris Grigor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Php-General"
[EMAIL PROTECTED] (Mehmet Kamil Erisen) wrote in
[EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:
>
> Dear List member,
>
> Plesae forgive me for asking and OT question. Can you please recommend
> an edit program, (Freely downloadable).
>
> Thanks,
Search your local PHP mirror for 'editor'; the
1301 - 1400 of 4616 matches
Mail list logo