les that existed before I got here and
> will exist after I leave and are agreed on by the community, so I'll
> not follow them!" is one of the most arrogant things I've ever seen on
> this list. He was making a suggestion, ffs, and you just want to be
> an ass and take everything personally. You're making an entire
> mountain range out of the proverbial molehill.
It is *you* who are making a mountain out of the no-top-posting molehill.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Bastien Koert" wrote in message
news:d7b6cab70907090705i1575fe0ft21a2cc82c992b...@mail.gmail.com...
> On Thu, Jul 9, 2009 at 9:54 AM, Tony
> Marston wrote:
>>
>> "Bastien Koert" wrote in message
>> news:d7b6cab70907090623s6b37641dt90a564f1d80fe...@m
"Daniel Brown" wrote in message
news:ab5568160907090729j4c2cc67esff2823dcb493d...@mail.gmail.com...
> On Thu, Jul 9, 2009 at 09:54, Tony Marston
> wrote:
>>
>> I called him "intolerant" because he jumps on issues which other people
>> just
"Ashley Sheridan" wrote in message
news:1247162816.3514.17.ca...@localhost.localdomain...
> On Thu, 2009-07-09 at 16:57 +0100, Tony Marston wrote:
>> It's stupid because there is no valid reason as to why top posting is
>> *bad*.
>> It has existed on
reak the rules, whatever are the ones who keep life interesting and
>> occasionally help us find something new. I would hate to live in a
real life
>> "Stepford Wives" existence.
> Actually, I found it quite amusing to watch Tony paint himself into a
> corner and try to defend his
worth
> debating.
Yet another fatuous argument. "Thursday" has never been called "Myday", so I
would never propose such a thing. Top posting is different for the simple
reason that it existed in other newsgroups long before this group started,
and I object to being forced to
"Still Learnin'" wrote in message
news:4a5641d1.9040...@gmail.com...
> Tony Marston wrote:
>
>> I have no respect for anyone who wastes time in trying to force others to
>> obey their petty rules.
>
> ...
>> The whole point about this particlar rul
My sincerest apologies. I have been a complete jackass this entire
time and every single one of you has been correct. From this point
forward I vow to keep my God damned mouth shut unless spoken to.
You see, I have been struggling with defining my sexual identity
and trying to
This post did not come from me. The headers contain this:
Received: from [74.54.247.2] ([74.54.247.2:59280]
helo=mail.caracol-cream.com)
Very funny.
--
(the real) Tony Marston
http://www.tonymarston.net
http://www.radicore.org
""(the fake) Tony Marston"" wrote in m
"Still Learnin'" wrote in message
news:4a565c73.8090...@gmail.com...
> Tony Marston wrote:
>
>>> You've been told more than twice, it isn't an arbitrary rule. It isn't
>>> a petty rule. It isn't about perfection.
>>
>>
');
header('Pragma: public');
header('Content-Length: ' . filesize($file));
ob_clean();
flush();
readfile($file);
//exit;
}
from the the php manual under "readfile". The files are text files <1Mb
in size. Only the first file is downloade
is works then you can run my sample application
at http://www.tonymarston.net/php-mysql/sample-application.html You can even
download the code so that you can step through it with your debugger.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
""MEM""
code to maintain. If you look carefully you should see
that the only difference between the DAO for TableA and the DAO for TableB
is the table name and the table structure. If you could pass these as
arguments into a generic DAO then you would not need a separate DAO for each
tab
"Paul M Foster" wrote in message
news:20090719220923.gv14...@quillandmouse.com...
> On Sun, Jul 19, 2009 at 03:56:43PM +0100, Tony Marston wrote:
>
>> Two things strike me as wrong with your thinking:
>>
>> (1) The idea that you have a separate DAO for each ent
ere you can place the code:
(1) In the component script.
(2) In the table class, as shown in
http://www.tonymarston.net/php-mysql/infrastructure-faq.html#faq84
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
r messages. If I remove the header() lines (ie just create the files on
the server) no worries, it creates them all. (I start op buffer at the
top of the code and flush the buffer on each loop). Anyone have any
ideas please?
Thanks
Tony
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
Thanks very much to all the he's and any she's who answered this.
Tony
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ry version is still perfectly valid and
useful to the novice programmer.
This not a book which is supposed to describe every possible feature within
the PHP language as it is not necessary to use every possible feature in
order to build a dynamic website.
--
Tony Marston
http://www.tonymarsto
tures will not be frozen until the first GA release.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Ashley Sheridan" wrote in message
news:1249585209.2818.0.ca...@localhost...
> On Thu, 2009-08-06 at 17:24 +0100, Tony Marston wrote:
>> PHP 6 does not exis
the
development of particular kinds of software, such as building web sites or
CMS systems, whereas others (like Radicore) are for building web
applications.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try $tableRowBGcolorBoolCounter = !$tableRowBGcolorBoolCounter
Notice that it says '= !' instead of !='.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"John Butler" wrote in message
news:52842d6f-dd45-44a6-ae06-2e58ef8f6...@gmail.com...
> qui
ery which contains
table names which do not have to be qualified with their database/schema
names. If you wish to refer to a table which is not in the current
database/schema then you must include the database/schema name.
I consider the use of the term "schema", as used by Post
as a precaution.
> I'm not expert, but I thought I'd offer my observation and am open to
> correction. ;-)
> PJ
This only works if you specify a database name in the call to
mysqli_connect(). If provided (it is optional) it identifies the default
database name for all subsequent
fault, then how do you turn it on? If it is on by default then how do you
turn it off? It needs to be turned off for phpMyAdmin otherwise it will
issue a message warning about possible data corruption.
Should this option be reinstated?
--
Tony Marston
http://www.tonymarston.net
Try this: http://www.tonymarston.net/php-mysql/amortise.html
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
""Dan Harrington"" <[EMAIL PROTECTED]> wrote in message
news:!~!UENERkVCMDkAAQACABgA0GQuLQQZMkSIxO1FcYz7L8KQ
doc/refman/4.1/en/set.html. This allows you to have an
array of values in a single field, and the user can select any number of
them.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
> I just want to know is there any way to keep array data type natively in a
> sql
>
upport for OOP, but
PHP 5 provides better support.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
> PHP 5 also supports more library than PHP 4.:)
>
>
> --
> Haydar TUNA
> Republic Of Turkey - Ministry of National Education
> Education Technology Dep
m the server,
and POST, which sends a form to the server. It is therefore quite obvious
that I validate on every POST. Simple, isn't it?
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Todd Cary" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTE
. So if the user
presses the "refresh" button it simply repeats the GET.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
> On Wed, March 14, 2007 10:24 am, Tony Marston wrote:
>> I honestly don't know why people use the approach of having a hidden
&g
t would be unusual,
> and
> I rather keep the access through the name of the other table).
>
> I'm sure there are more things I'm not considering, that's why I ask your
> help to find them, and your opinion about what I've said up to now.
>
I think you ought to take a look at
http://www.tonymarston.net/php-mysql/databaseobjects.html and
http://www.tonymarston.net/php-mysql/databaseobjects2.html which explain the
approach which I have adopted. You can download a working sample from
http://www.tonymarston.net/php-mysql/sample-application.html. If you feel
REALLY adventurous you can download its big brother from
http://www.radicore.org/
In this the data access object handles all communication with the database,
and the business objects deal with nothing but PHP arrays.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
need to insert such text into the XML document using the
createCDATASection() method otherwise the tags will be converted BEFORE the
XSLT processor gets to look at it.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
""Buesching, Logan J"" <[EMAIL PROTE
You need to look at "disable_output_escaping" at
http://www.w3.org/TR/xslt#disable-output-escaping
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Matthew Croud" wrote in message
news:2c4840c2-45db-4d6c-b5fa-2cb15b171...@obviousdigital.com...
>
&g
You are constructing your query in "$qury" yet you are trying to read it
from "$query". Because they have different spellings they are treated as
different variables.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Watson Blair
d a single class is not allowed
to operate in more than one layer.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
""Parham Doustdar"" wrote in message
news:77.26.26879.9b9ad...@pb1.pair.com...
Hello there,
I've been asked to create something like the
other by simply
changing a single configuration variable. In my own framework I have
implemented DAOs for MySQL, PostgreSQL and Oracle.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Eric Bauman" wrote in message
news:b9.45.36627.eb296...@pb1.pair.com...
> I
kflow
engine.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"chetan rane" wrote in message
news:248b70ae0910271901o6ffd569dl203c9a08bfe8a...@mail.gmail.com...
> Hi Ben
>
> The quickest way to this is by using a framework.
> and the best way i could find
is as soon as possible so
that the changeover to PCRE wrappers can be fully tested and debugged before
PHP 6 goes live. This will make the changeover from POSIX to PCRE totally
transparent, and will be greatly appreciated in userland.
--
Tony Marston
http://www.tonymarston.net
http://www
de, so we've decided to drop them from PHP
entirely even though it will break lots of scripts" will not go down well in
userland.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"John Black" wrote in message
news:4af70120.1040...@network-technologies
That's an amateur fudge, not a professional fix. Besides, what happens if
your hosting company won't let you install PECL extensions?
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Eddie Drapkin" wrote in message
news:68de37340911081209p45
"Eddie Drapkin" wrote in message
news:68de37340911081330v799803f3he6ed60ecc6e67...@mail.gmail.com...
On Sun, Nov 8, 2009 at 4:13 PM, Tony Marston
wrote:
> That's an amateur fudge, not a professional fix. Besides, what happens if
> your hosting company won't let y
"Robert Cummings" wrote in message
news:4af7549d.1060...@interjinn.com...
> Tony Marston wrote:
>> "Eddie Drapkin" wrote in message
>> news:68de37340911081330v799803f3he6ed60ecc6e67...@mail.gmail.com...
>> On Sun, Nov 8, 2009 at 4:13 PM, Tony Marst
t;
>
> Because Tony's Radicore framework has a bunch of ereg* calls in it. ;-}
Just like a lot of other people's work.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
> Paul
>
> --
> Paul M. Foster
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Robert Cummings" wrote in message
news:4af76e1f.2050...@interjinn.com...
> Tony Marston wrote:
>> "Robert Cummings" wrote in message
>>>>> Then you've got several options:
>>>>> 1) Don't upgrade PHP.
>>>> Not a
"Ashley Sheridan" wrote in message
news:1257764339.1076.56.ca...@localhost...
> On Mon, 2009-11-09 at 00:23 +, Tony Marston wrote:
>
>> developer laziness
>> or incompetence is not an acceptable excuse.
>
>
> Exactly, so fix your scripts!
But my scri
"David Otton" wrote in message
news:193d27170911090331k7ecbe69cl1dd30651273e7...@mail.gmail.com...
> 2009/11/9 Tony Marston :
>
>> So you wouldn't trust the PHP developers to write simple code which takes
>> each POSIX function and redirects it to a PCRE func
It is not possible to return an object via a web service, only data. You can
create an object in the client process, then populate it with data obtained
from a web service.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Manoj Singh" wrote in mes
Take a look at http://www.tonymarston.net/php-mysql/databaseobjects.html
You can also download a working example of this code from
http://www.tonymarston.net/php-mysql/sample-application.html
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"Anton Heuschen" wrote
not? If not, and each implementation of a pattern takes just as much time
as the first, then where are the productivity gains from using design
patterns?
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
se them?
> Date: Thursday 31 December 2009
> From: Larry Garfield
> To: "Tony Marston"
>
> On Wednesday 30 December 2009 10:50:40 am Tony Marston wrote:
>> I have recently been engaged in an argument via email with someone who
>> criticises my low opinion of
"Larry Garfield" wrote in message
news:201001010553.41956.la...@garfieldtech.com...
> On Friday 01 January 2010 05:26:48 am Tony Marston wrote:
>
>> > It depends what you're reusing. Design patterns are reusable concepts,
>> > not reusable code. That
tton, then select
"Classroom". This has functions for rooms, teachers, subjects, lessons,
classes and students.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
100 functions of
10 lines each, you still end up with 1000 lines of code. If you do not have
the mental capacity to deal with a 100-line function then you are in the
wrong job.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.ne
"Ashley Sheridan" wrote in message
news:1338326229.2616.31.camel@localhost.localdomain...
> On Tue, 2012-05-29 at 17:06 -0400, Paul M Foster wrote:
>
>> On Tue, May 29, 2012 at 08:52:46AM +0100, Tony Marston wrote:
>>
>> > On May 21, 2012, at 8:32 PM, tamous
"tamouse mailing lists" wrote in message
news:cahuc_t__sw-_yhrw4n4uqr-fa46+cebunzgehboaatrafla...@mail.gmail.com...
On Tue, May 29, 2012 at 2:52 AM, Tony Marston
wrote:
On May 21, 2012, at 8:32 PM, tamouse mailing lists wrote:
A rule of thumb is no more than 50 lines per
func
"Tim Streater" wrote in message news:d0.7c.45755.25a3b...@pb1.pair.com...
On 03 Jun 2012 at 10:02, Tony Marston wrote:
"tamouse mailing lists" wrote in message
news:cahuc_t__sw-_yhrw4n4uqr-fa46+cebunzgehboaatrafla...@mail.gmail.com...
There is a point: if you are
e been totally confusing to allow alpha characters in a variable
that was supposed to contain nothing but numbers.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
saying "don't use encapsulation"or "don't use polymorphism". What a bunch
of idiots!
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
SELECTs
You cannot have relationships in a database without foreign keys, but you
can have foreign keys with constraints.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
without constraints, so saying that you
cannot use a field as a foreign key in a SELECT statement without having a
constraint defined in the database is just plain wrong.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Lester Caine" wrote in message news:51d6987c.9050...@lsces.co.uk...
Tony Marston wrote:
I was designing and building database applications before relational
databases
became popular, and in those old hierarchical and network databases there
were
no such things as foreign key c
Hi there,
i have following problem:
Assume we have a "cron.php" which is called every hour by a cron job.
This cron.php should then be used to execute other php-scripts
"script1.php", "script2.php".
For a pitty our server has Safe-Mode activated so we arent able to
shell_exec / exec those f
Hi there,
i have following problem:
Assume we have a "cron.php" which is called every hour by a cron job.
This cron.php should then be used to execute other php-scripts
"script1.php", "script2.php".
For a pitty our server has Safe-Mode activated so we arent able to
shell_exec / exec those f
Thanks for your replys.
Of course >>PHP 2.7.2<< was a careless mistake, i meant PHP 5.2.7, to
underline i'm not able to use those neat namespace features in PHP 5.3.
Let me provide you with more details.
As already mentioned cron.php should include at least two other
php-scripts because she
of CHAR(10)
I don't understand, please help (or point me to RTFM page)
Tony Yau
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
found the answer sorry about this
"Tony Yau" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> I try to do the following:
>
> CREATE TABLE IF NOT EXISTS Invoice(
> PKey INTEGER,
> Received DATETIME,
> Cost DECIMAL(10,2),
>
Hi Kim,
I've found the same article that Philip Hallstrom <[EMAIL PROTECTED]>
had posted
Tony
"Kim Madsen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> -Original Message-
> From: tony yau [mailto:[EMAIL PROTECTED]
> Sent: Wednesda
ctID) pair can be
inserted into the table?
Thanks
Tony Yau
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
H fellas,
This is my first post and I hope I'm doing this right!
I'm working on a dating site where I'd like to give the users the opportunity to send
an offline message to or chat with a person when they view the person's profile
depending on whether the person is on or offline respectively).
There's a small sample application that demonstrates how to use classes with
PHP 4 at http://www.tonymarston.net/php-mysql/sample-application.html
It also has a bigger framework at http://www.radicore.org/
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"
d studying design patterns.
Design patterns are overrated. For building transactions in CRUD
applications you need transaction patterns.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
> the heads first book
> is a great starting point.
> actually if you want a soli
ome of the fundamental oop facilities and its all
> the community had for a while.
> the bottom line is the facilities it offers for oop are bare and i see no
> reason to try to understand its
> peculiarities and weaknesses when php5 is here and php6 is on the way.
Rubbish. PHP 4's implem
hat would be like learning java4 even though java6 is
> in use, its just silly.
But if a lot of servers refused to upgrade from java 4 it would be pointless
using code that only worked in java 6..
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
> -nathan
>
> On
""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 10/3/07, Tony Marston <[EMAIL PROTECTED]> wrote:
>>
>>
>> Encapsulation is NOT data hiding.
>>
>> I repeat, encapsulation has absolutely n
""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 10/3/07, Tony Marston <[EMAIL PROTECTED]> wrote:
>>
>> Encapsulation is NOT data hiding. Take a look at
>
>
> please stop putting words into my mouth.
""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 10/3/07, Tony Marston <[EMAIL PROTECTED]> wrote:
>>
>>
>> ""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message
&g
""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 10/6/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
>
>>
>> Tony is right here. Encapsulation is about hiding the details of the
>> implementat
ive had the
>>> misfortune of working in places that have tightly coupled code. im
>>> talking about hundreds of thousands of lines of madness. ppp could have
>>> saved these systems greatly.
>>
>> Once again, just because someone writes bad programs doe
""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 10/9/07, Tony Marston <[EMAIL PROTECTED]> wrote:
>>
>> You are confusing member variables with local variables. Member variables
>> are part of the object
refactoring is long
overdue.
Perhaps you are trying to implement something from another language and
expecting PHP to be just like that other language, which is always a stupid
mistake. PHP is different, therefore the solution will be different. I
suggest you learn how PHP works and design accordingly, and stop trying to
force it into emulating another language.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 10/9/07, Tony Marston <[EMAIL PROTECTED]> wrote:
>>
>>
>> ""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL P
""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 10/9/07, Tony Marston <[EMAIL PROTECTED]> wrote:
>>
>> There's your problem, then. You are wasting your time trying to implement
>> fancy design pattern
"Larry Garfield" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Tuesday 09 October 2007, Tony Marston wrote:
>
>> I have bought and read several books on design patterns without being
>> impressed. I have seen countless examples of how partic
a better appreciation of some of the members of this
> list -- we have some smart people here (i.e., Rob, Tony, Larry).
When people use the word "smart" to describe me they usually follow it up
with "ass". :)
--
Tony Marston
http://www.tonymarston.net
http://www.rad
""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 10/9/07, Tony Marston <[EMAIL PROTECTED]> wrote:
>>
>>
>> ""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PR
a lawnmower does not contain grass, it is used to cut grass. Whole
grass goes in and cut grass comes out. The lawnmower does not have any grass
in its construction, therefore grass is not part of the implementation.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that you MUST use
interfaces. I can build solutions without them, so I do not see any
advantage in using them.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> and
ng that it is not possible to have polymorphism without using
interfaces? If so you are very much mistaken.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
""Nathan Nobbe"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 10/10/07, Tony Marston <[EMAIL PROTECTED]> wrote:
>>
>>
>> ""Jay Blanchard"" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL
ed the absolute path in the require_once line.
Is there a way to include files with relative paths?
--
Tony
ed the absolute path in the require_once line.
Is there a way to include files with relative paths?
--
Tony
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
with safe_mode on.
The target directory is a real world readable directory.
On Dec 12, 2007 3:43 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
>Tony,
>
>Calm down. It may take us 21 minutes to respond sometimes, but we
> will. No need to repost. ;-P
>
> On De
No luck with these solutions. What does work is:
require_once(dirname(__FILE__) . '/../php/support.php');
but I still don't understand why the relative link doesn't work.
On Dec 12, 2007 6:38 PM, Andrés Robinet <[EMAIL PROTECTED]> wrote:
>
> > -----Original
The humble tilde (~). I came across it the other day in some PHP code
[code]~E_ERROR[/code]
I'm curious, can't find any documentation on it. In math it refers to
propostional logic, is it the same thing in PHP ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
The humble tilde (~). I came across it the other day in some PHP code
[code]~E_ERROR[/code]
I'm curious, can't find any documentation on it. In math it refers to
propostional logic, is it the same thing in PHP ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
08 at 6:19 AM, Tony Collings <[EMAIL PROTECTED]>
wrote:
> The humble tilde (~). I came across it the other day in some PHP code
> [code]~E_ERROR[/code]
That comes from C, not postpositional math. It's bitwise negation.
That is, the number 47 in binary is 110001, with leading 0
mplate);
}
return $template;
}
}
All that extra code for absolutely no benefit! It is possible to define an
interface (as in API) without actually using the term "interface", so IMHO
the term "interface" is totally redundant and a waste of time.
--
T
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> On Wed, 2008-04-16 at 12:20 +0100, Tony Marston wrote:
>> The term "abstract" has been adequately defined in this thread, so I
>> won't
>> repeat it.
&
are living in cloud
cuckoo land.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
"paragasu" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> honestly, i never used any framework to do my coding.
> i look into few popular framework like cakeP
er
>> framework - it takes care of the boring repetitive stuff and leaves you
>> more
>> time to deal with the tricky stuff. If you think you can achieve the same
>> level of productivity WITHOUT a framework then you are living in cloud
>> cuckoo land.
>>
>>
proper application.
>..If you think you can achieve the same
> level of productivity WITHOUT a framework then you are living in cloud
>\cuckoo land.
>\[/snip]
>
> Tony is obviously joking here folks.
No I'm not.
--
Tony Marston
http://www.tonymarston.net
http://www
201 - 300 of 419 matches
Mail list logo