> -Message d'origine-
> De : Dan Shirah [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 14 février 2007 19:20
> À : php-general
> Objet : [PHP] Retrieve value of newly inserted row.
>
> Hello,
>
> I have a page the contains two insert statements.
>
>
> $insert1 = "INSERT INTO table1 (
; > link for this.
> >
> > please go STFW for "banner rotation php script"
> >
> > greets
> > Zoltán Németh
> >
>
> Even better, download this free open source application which
> does it all for you...
>
> http://www.phpadsnew.
a database of banner entries.
Google: banners +javascript first before posting, there's always an answer
;)
Regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Supposedly this is an accounting trick that
> ultimatley works out in the end for proper rounding of money
> values.
Yeah works out for who? Bet it doesn't for the guy paying :P
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Message d'origine-
> De : Robert Cummings [mailto:[EMAIL PROTECTED]
> Envoyé : lundi 12 février 2007 18:00
> À : blackwater dev
> Cc : php-general@lists.php.net
> Objet : Re: [PHP] round to nearest 500?
>
> On Mon, 2007-02-12 at 11:52 -0500, blackwater dev wrote:
> > Is there an easy
re using the same framework, i can't imagine using several copies of the
same framework to overcome language issues, which would be the case if they
were using seperate directories for languages, IMO.
Just a "logical" geuss, please correct me if I am mistaken ;)
Regards,
Tim
>May
Please include the list in replies.
Sorry, I meant to, but hit the wrong button.
Tim McGeary wrote:
Stut wrote:
Tim McGeary wrote:
I am new to this list today, so if I should be sending this to another
specific PHP list, please let me know.
I am getting the following error via the PHP web
llect2: ld returned 1 exit status
> make[2]: *** [mtest] Error 1
> make[2]: Leaving directory `/usr/local/src/imap-2006e/mtest'
> make[1]: *** [bundled] Error 2
> make[1]: Leaving directory `/usr/local/src/imap-2006e'
> make: *** [slx] Error 2"
>
> Can someon
sorry typo, make that:
> Shouldn't have been simply doing:
>
> $arr = array();
> If (!$arr) {}
> -Message d'origine-
> De : Tim [mailto:[EMAIL PROTECTED]
> Envoyé : jeudi 8 février 2007 16:49
> À : php-general@lists.php.net
> Objet : [PHP] Boolean
good practise?
Regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ss..
At what moment does one decide to use an all-in-one "bloated" with "out of
context" functionality, php class, knowing how powerfull only several
functions in this class can be to him?
Shouldn't these classes be perhaps broken down into usefull "parts".
Thank
> -Message d'origine-
> De : Jochem Maas [mailto:[EMAIL PROTECTED]
> Envoyé : lundi 5 février 2007 21:00
> À : Skip Evans
> Cc : 'PHP-General'
> Objet : Re: [PHP] PHP4 to PHP5 issue
>
> Skip Evans wrote:
> > Tim wrote:
> >> Yes,
, we developed a more specialized app for project
management internally.
Other then the fact that it is definitely NOT PHP5 compatible it seems to be
a great project manager with many great features. I'd assume if you really
want to use it, run it on a server with PHP4 you'll save yourself
> -Message d'origine-
> De : tedd [mailto:[EMAIL PROTECTED]
> Envoyé : lundi 5 février 2007 17:10
> À : Manuel Lemos; php-general@lists.php.net
> Objet : Re: [PHP] PHP book reviewers wanted
>
> At 1:05 AM -0200 2/5/07, Manuel Lemos wrote:
> >Demonstrating good English writing skills and
> -Message d'origine-
> De : Richard Lynch [mailto:[EMAIL PROTECTED]
> Envoyé : jeudi 1 février 2007 02:35
> À : Tim
> Cc : php-general@lists.php.net
> Objet : Re: [PHP] Manipulating "categories" in a mysql database
>
> On Tue, January 30, 2007 12:
st?
> If anyone can help out with this and would be
> willing to email me off list to take a look at it
> the good karma and appreciation would rain down
> upon you in such multitudes as to... as to...
> as... to...
Don't think most here do it for the praise...> I've ru
Ok great stuff, thank you, that has enlightened me on the method I need to
develop :)
Oh and about the double msg, sorry fighting with outlook here, not my usual
client ;)
Regards,
Tim
-Message d'origine-
De : Robert Cummings [mailto:[EMAIL PROTECTED]
Envoyé : mardi 30 janvier 20
that I would want to put between
1011 and 1012. I'm having trouble developing the algorithm that would allow
this..
Would appreciate any "ideas" that may help me conclude this function in my
module.
Regards,
Tim Earl
--
PHP General Mailing List (http://www.php.net/)
T
that I would want to put between
1011 and 1012. I'm having trouble developing the algorithm that would allow
this..
Would appreciate any "ideas" that may help me conclude this function in my
module.
Regards,
Tim Earl
wrote:
> > If somebody uses a great function and want to share, I will please
> > him... :-)
> >
>
> Er, could you please define "I will please him"?
>
> I think that you've scared off a few potential helpers
He's french, i think he means he
Not a big regex expert, but first off i would recommend not using / as a
delimiter for your pattern if you are trying to catch forward slashes in
your text.
I would use a pattern like:
#[a-zA-Z0-9/]{6,}#
Regards,
Tim
> -Message d'origine-
> De : Németh Zoltán [mailto:[EMAI
> -Message d'origine-
> De : Youri LACAN-BARTLEY [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 13 décembre 2006 09:09
> Cc : 'php'
> Objet : Re: [PHP] php redirection..
>
>
> Tim wrote:
> > Just a quick question regarding this issue.
> >
time variable and a location variable.
But then I wonder what affect this has regards to html standards?
Are dynamic meta tags depreciated?
Regards,
Tim
> -Message d'origine-
> De : Stut [mailto:[EMAIL PROTECTED]
> Envoyé : mardi 12 décembre 2006 19:52
> À : [EMAIL PROTECT
time variable and a location variable.
But then I wonder what affect this has regards to html standards?
Are dynamic meta tags depreciated?
Regards,
Tim
> -Message d'origine-
> De : Stut [mailto:[EMAIL PROTECTED]
> Envoyé : mardi 12 décembre 2006 19:52
> À : [EMAIL PROTECT
> -Message d'origine-
> De : Jochem Maas [mailto:[EMAIL PROTECTED]
> Envoyé : mardi 12 décembre 2006 14:10
> À : Tim
> Cc : php-general@lists.php.net
> Objet : Re: [PHP] file uploads Q?
>
> Tim wrote:
> >> Børge Holen wrote:
> >>> O
.
So no I don't think he's on crack mate :)
> > Take a look at my earlier questions with the subject "A general UL
> script" and
> > the replies with various ppl here 'bout the use of $_FILES.
> > This way it will check anything listed in the file(s) input of form(s).
>
> er, whatever. whose next?
Some people generate large amounts of irrelevant crap traffic for nothing
imo :)
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nick Lindridge at http://www.php-accelerator.co.uk for a later
version of the ionCube PHP Accelerator.
but when I go to that site, nothing has been updated for several years now.
Is this product still available in the same form??? or has it been
replaced ???
Thanks,
Tim.
--
PHP General Mailing
frustrated programmers.
Tim Howard
Calhoun ISD Dept. of Technology
(269) 789-2465
This email is intended only for the use of the addressee(s) named
herein. It may contain legally privileged and confidential information.
If you are not the intended recipient, or an authorized representative
of th
port, because I don't know what else to do on your site (even
though I've run across several warnings NOT to submit a bug report if a
problem has already been reported). Your site is incredibly frustrating
and difficult to navigate.
Tim Howard
Calhoun ISD Dept. of Technology
(269)
time, then the cookie would last for another 30
days...
Tim.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
g loaded on the exit page
that is not secure. For example, if there is a hard coded link to an
image, or an included javascript link to an outside source.
If anything on the page is not secure, then you will get that error.
Tim.
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
scape_string ? or is there maybe a
sequence of addcslashes parameters that can accomplish the same thing ???
Thanks,
Tim.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e URL (as written in
RFC2616 section 14.30)
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
IS, MySQL, PHP). Heh.
Tim.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED]
Sent: Monday, March 13, 2006 9:50 AM
To: Jeff
Cc: [EMAIL PROTECTED]; php-general@lists.php.net
Subject: Re: [PHP] Creating a unique index ID
Jeff wrote:
>>-Original Message-
>>From: Jared Williams [mailto:[EMAIL PROT
Using the auto_increment_offset will take care of this problem. Because
say server A can be configured to use odd numbers and server B can be
configured to use even numbers. You can also set this up in a more
complex fashion for the offsets if your running more then 2 servers.
-Original Mess
Is is possible to make an external Javascript with PHP.
Am I doing this correcT?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on
duplicate entries.
On the "POST" page I usually add something to the session variables that
causes the user to see a "Your changes have been saved" type message on
the "GET" page that they're redirected to.
Tim Gustafson
MEI Technology Consulting, In
I'm looking for really is if anyone has
come across any SNAFU's that I should know about beforehand.
Thanks!
Tim Gustafson
MEI Technology Consulting, Inc
[EMAIL PROTECTED]
(516) 379-0001 Office
(516) 908-4185 Fax
http://www.meitech.com/
--
PHP General Mailing List (http://www.ph
ssoc($UserQuery);
curl_setopt($Curl, CURLOPT_SSLCERT, $UserRow["Certificate"]);
Is that possible? If it isn't using Curl, is there some other library I could
use to accomplish this? All I need to do is simple HTTPS posts and gets.
Tim Gustafson
MEI Technology Consulting, Inc
[EMAIL PROTEC
Hi
Brad Kowalczyk wrote:
> Almost
> all php4 code will run as expected on php5 (but not the the other way
> around) and the benefits of php5 are many.
I'm wondering if you can outline, or direct me to a resource that
explicitly notes the benefits of php5 over php4.
llow users to be able to use PHP scripts
that need safe mode to be turned off.
9) In the /jail area, all unnecessary binaries have been removed (things
like ifconfig, mount, and dev stuff) to make it more secure, but useful
binaries were left for scripts to use (things like ls, rm, etc...)
Does a
sure the my example above is the best way to go about this...but
without knowing exactly what it is you're trying to accomplish I think
it at least should point you in the right direction.
You'll also need to be aware of the difference between how PHP4 and PHP5
handle objects to know
nts to do
this. I'm tempted to start looking at the code base and seeing if a
simple patch will allow me to do that, but I want to make sure I'm not
missing anything...
Any PHP Guru's out there ???
Thanks,
Tim.
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
it to actually be set ???
Anyone ???
Thanks,
Tim.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rcial
package, but it was inexpensive (~$1000 for 150 nodes) and met our
needs.
Hope that helps!
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What difference are you seeing in the files I give in the example? Are
they not identical paths?
Thanks.
Hristo Yankov wrote:
> The two examples you give are not the same? I see
> different files. Please, doublecheck.
>
> --- Tim Meader <[EMAIL PROTECTED]> wrote:
>
>&
nyone offer any insight on what the problem might be with this? The
"unlink" function seems to accept the variable inputs with absolutely no
problem, so I can't understand the discrepancy between the two.
Thanks in advance.
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
G's or even PNG's. I can't find much in the way of code on the net
about doing this...
Does anyone have any suggestions as to maybe some freely available
scripts or classes that can help me figure this out ???
Thanks,
Tim.
--
PHP General Mailing List (http://www.php.net/)
To uns
a few minutes, I'd appreciate it. As stated, the underlying
> reason for the questions is to get a better understanding of 'man in the
> middle attacks' as this applies to web server apps.
In that case you might want to look at tcp/ip and http over ssl too.
--
Met vriendelijke gr
Are there any benchmarks that people are aware of comparing
PHP4|PHP5|PHP5.1 as far as performance is concerned? I mean, it's easy
to say that performance is improved... but what's the baseline?
Was PHP5 faster than PHP4 for identical code? Thus making PHP5.1 even
faster? Or was it a case of PHP5
can work off of...unless I'm
blind and am completely missing something.
Help anyone?
Thanks,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there,
I'm on the hunt for some Aegir users/developers in New Zealand. Please
email me offlist - [EMAIL PROTECTED] if you know of any.
Cheers,
Tim.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
at is happening. Did it used to be that way ? I could have sworn that
I remember it being like that...
Thanks,
Tim.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
script is never the right way to indicate that an error has occurred.
Without a fix, gzinflate should only be used when the content comes from
a trusted source.
If I am missing something here or if there is a workaround to this
problem, please let me know.
Thanks,
Tim
--
PHP General Mailing
.. Therefore, a primary key
can't be a special case of an index.
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> specified includes. Is it possible to do this? I looked at the
> various file related php functions but didn't see anything resembling
> 'my_path()'
You might also want to check out the __FILE__ constant..
http://be.php.net/manual/en/language.constants.predefined.
unter` (
> `id` int(10) NOT NULL auto_increment,
> `StampDate` date NOT NULL default '1999-12-31',
> PRIMARY KEY (`id`)
> ) TYPE=MyISAM AUTO_INCREMENT=26050 ;
>
All you need to do is SELECT .. GROUP BY YEARMONTH(StampDate) and you're
ready to go..
--
Met vrien
tions, but still get the same
> error...
Now, if you read the documentation of output buffering you will see that
it does *not* buffer headers..
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
et at dynip etc?
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://timvw.madoka.be>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2005-08-16 at 17:59 +0200, Torgny Bjers wrote:
> Tim Boring wrote:
>
> >I'm having a problem with php-cli and php_mod reading my php.ini file.
> >I've compiled php from source, during which process I set
> >"--with-config-file=/etc". Once the
x27;--with-flatfile' '--enable-dio'
'--enable-ftp' '--enable-gmp' '--with-unixODBC' '--with-pgsql'
'--with-readline' '--enable-soap' '--enable-sockets' '--enable-wddx'
'--with-xsl' '--with-pear'
Any ideas?
Thanks,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can I extend this..
On a live server I have PHP 4.1. If I upgrade to PHP 5, is something
likely to stop working?
I've been putting off upgrading for months because of the unknown of
something going wrong.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
if I need to
change a field in a table, add/delete a field, or add a whole new table,
I simply make the change in my schema file, re-generate my PHP classes,
and then use the new classes in my app. I don't have to search through
a bunch of code to find all the instances of a particular SQL
email is then sent to the users as above.
How would I scan an email for viruses (or spam?)? And, scan it only once
so that system resources are not used to scan unnecessarily for every
recipient?
Any help would be greatly appreciated.
Thanks
Tim
--
PHP General Mailing List (http://www.php.net
would ask here
first.
Everything appears to compile properly (no errors out of the usual)...
Any ideas why the compilation would not create a shared object for me to
install on apache ???
Apache is 1.3.33 and compiles and works fine...
Thanks,
Tim.
--
PHP General Mailing List (http
ous to read people's responses.
Thanks,
Tim
#1: set/get method for each member attribute
example:
private $foo;
private $bar;
public getFoo()
{
return $this->foo;
}
public setFoo($val)
{
$this->foo = $val;
}
public getBar()
{
return $this->bar;
}
public setBar
sses have two underscored
preceding it [e.g. __toString()], as opposed to Java's normal toString()?
What's the purpose of the two underscores in PHP's classes?
Thanks
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm trying to assess PEAR templates relative to Smarty, and I would like
information regarding the pros and cons of each.
Any help will be greatly appreciated.
Tim Beckham
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s
ok, unless the file has a textarea tag in it. Then the editing textarea
tag gets closed, and you end up not getting all of the data to save.
Any way to work around this and still use simple forms ?
Thanks,
Tim.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.ph
On Wed, 2005-02-23 at 15:58 -0500, Tim Boring wrote:
> Hi, Richard!
>
> On Wed, 2005-02-23 at 08:45 -0800, Richard Lynch wrote:
> > Maybe try the active/passive thing...
> >
> > Often-times, the client/server will/won't allow one or the other, based on
> > th
he file.
Now this may not be the best solution, it just happens to be what I
could think of off the top of my head. There may be better ways to
accomplish the same thing.
Hope that helps!
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you everyone,
I was trying to use file(), with some problems.. thank you for your
suggestions to use file_get_contents(). Perfect! You're all right, it
works really well.
Thanks
Tim
...
Tim Burgan.
Website & E-Commerce Developer
Web:
...
--
PHP General Mailing List (http://ww
on it
doesn't create the shared object on this 5.3 system.
More info :
System is a Dual Opteron AMD architecture, running a fresh install of
FreeBSD 5.3...
thanks,
Tim.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I have a file 'nav.php', whose source code I want to load into the
textarea on page 'aaa.php', so the source can be edited and changed.
Is there a resource that I can read to help me do this?
Thanks
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsu
lt;?php echo 'hello'; ?>
How do I do this..?
Thanks
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on.
> >
> > Thanks a lot!
>
>
> Check your max_input_time setting. It cannot be changed at runtime using
> ini_set().
>
> http://docs.php.net/en/info.configuration.html#ini.max-input-time
>
Here's another link that might be useful. I came across this
on that in my original
post. I appreciate the suggestion!
Thanks,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
chine and that my program is in the correct
directory when attempting the transfer...and it is.
I'm currently in the process of getting in contact with the FTP server
admin to see if they can spot any error messages in the FTP server logs,
but given that the vendor is a fairly large company that may take
several days to actually track this person down.
At this point I'm trying to narrow down the problem to find out if it's
an issue with my code, the FTPS server, or with PHP's ftp functionality.
Does anyone have any ideas or suggestions?
Thanks,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
when
it's read out again.. it don't work!
I want to be able to call a random image script in PHP from the content
that's stored in the DB.
How do I do this?
Thanks
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry for clogging up you mail box.
Yes.. str_replace('\"', '"', $_POST['FCKeditor1']) works.
I must've needed to think through my thoughts by typing it out.
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this how I use it:
str_replace('\"', '"', $_POST['FCKeditor1']);
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jason Barnett wrote:
Please give the list longer than an hour to respond to your request ;)
Thanks for the suggestion.. I've just given the list 6 hours at the moment.
Why do you say this?
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
How can I delete ALL files within a specified directory every 20 days?
Does anyone know of any code-snippets that are around at the moment that
are able to do this? (And where I can find them?)
Thanks
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Hello,
How can I delete ALL files within a specified directory every 20 days?
Does anyone know of any code-snippets that are around at the moment that
are able to do this? (And where I can find them?)
Thanks
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
-highlighting/>
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
words also?
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hed and found that this can be caused by spaces after the
closing php tag, but I don't have any.
What could this be?
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
My client's web host's PHP configuration for both sendmail_from and
sendmail_path are both = null.
How do I send email with PHP? What options do I need to set within my
code, and what to?
Tim
Hello,
Is there any way that I can do some image manipulation - resizing -
without the GD libraries?
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thankyou. That solved the issue.
I didn't know that function existed.
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ol: private");
Is there any solution to this?
Tim
PS. I looked up session_start() in the PHP manual, and found this
comment that may offer a solution that I've pasted below. Will this
work? Are my problems a bug with PHP and IIS?
[START QUOTE]
*tech at insights dot net dot au*
17-Oct-
ql);
What am I doing wrong? Are there any requirements to using heredocs?
I'm using PHP4, Apache, Win XP.
[1]
<http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc>
Thanks
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
How can I allow users of my website to upload JPEG's to a set directory,
and then have the JPEG scaled-down if they upload some huge image (both
in pixel size and resolution)?
Is there anything around that clearly (and simply) explains this?
Thanks
Tim
--
PHP General Mailing List
On Thu, 2005-01-20 at 15:13, Michael Sims wrote:
> Tim Boring wrote:
> > On Thu, 2005-01-20 at 13:41, Jason Wong wrote:
> >> I suspect what you want to be doing is something like this:
> >>
> >> switch (TRUE) {
> >>
On Thu, 2005-01-20 at 13:43, Jason Wong wrote:
> On Friday 21 January 2005 02:16, Tim Boring wrote:
>
> > It's perfectly legit to use expressions. Now perhaps there is something
> > wrong with the regex I'm trying to use, but using a regex in and of
> > itsel
On Thu, 2005-01-20 at 14:40, Bret Hughes wrote:
> On Thu, 2005-01-20 at 12:43, Jason Wong wrote:
> > On Friday 21 January 2005 02:16, Tim Boring wrote:
> >
> > > It's perfectly legit to use expressions. Now perhaps there is something
> > > wrong with th
On Thu, 2005-01-20 at 13:41, Jason Wong wrote:
> On Friday 21 January 2005 01:52, Tim Boring wrote:
>
> Well the biggest problem in your code right now is your incomprehensible (to
> me anyway) use of the switch construct. For a start I've no idea why you're
> using ...
On Thu, 2005-01-20 at 12:59, Richard Lynch wrote:
> Tim Boring wrote:
> > Hello! I'm having an odd regex problem. Here's a summary of what I'm
> > trying to accomplish:
>
> > switch ($line)
> > {
> > case ($total_counter <= 5
array_push($tossed_lines, $line);
echo "Rule #4 violation\n";
$tossed_counter++;
$total_counter++;
break;
default:
fwrite($output_handle, $line);
$counter++;
$total_counter++;
break;
}
}
--
Tim Boring
IT Department, Automotive Distributors
Toll Free: 800-421-5556 x3007
Direct: 614-532-4240
E-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
301 - 400 of 1118 matches
Mail list logo