tedd wrote:
> At 12:56 AM +0100 11/28/07, Jochem Maas wrote:
>> Colin Guthrie wrote:
>>> tedd wrote:
>>
>> ...
>>
>> >
>> > Sorry Tedd, but I'm not sure where the browser sniffing stuff came in.
>>> IE and FF both offer a U
Jeff Benetti wrote:
> Am I correct that if two people are logged on using two different languages
> that the session var will keep track of the different users (by IP I assume)
> and the server won’t mess up?
Sessions are per-user and are not global (you'd need to use something
like memcache or si
TG wrote:
> Unless your URL is more complicated than your example, you shouldn't need to
> use urlencode() at all. You'd need to use it in a case where your string
> may contain characters that aren't valid in URLs like spaces and such:
>
> $baseurl = "http://www.somesearchsite.com/search=";;
Jay Blanchard wrote:
> [snip]
> I'm going to be inserting data from a PHP form into a mysql field. The
> data could contain special characters like < > ' " \ /, etc. How do I
> handle that? just $data = addslashes(htmlspecialchars($data)); before
> the insert query? because later on the data
Daniel Brown wrote:
> On Dec 18, 2007 10:17 AM, Richard Heyes <[EMAIL PROTECTED]> wrote:
>> Emails that bounce get sent back to the address in the Return-Path:
>> header. Correct?
>
> Yes, sir.
>
Except when they go to the envelope sender or the Errors-To address. ;)
"Errors-To: This is
js wrote:
> That wouldn't work well when you have to update multiple tables in a
> transaction.
> I think it's more maintainable to use GLOBALS than passing around dbh
> to classes/functions.
But you don't need to pass the dbh around to classes or functions, they
can just call getDB when they need
Sancar Saran wrote:
> And this is why I'm asking here, WHY I should avoid globals like plague ?
> Every one says bad. Alright, but no one says WHY ?
Well for one thing it makes things harder to trace. You look at some
code and you're just using some magic global variable. You can't tell
what kind
Zoltán Németh wrote:
> an error must have occurred with mysqli_prepare, so it returned a
> boolean false, that's what all those warnings are complaining about...
>
> are you sure $link is a valid mysqli link identifier?
And as a general rule, defensive programming approaches would state that
you
Jason Pruim wrote:
> Thanks for looking, here's the result of the vardump, I did $link first
> and then $stmt
>
> object(mysqli)#1 (0) { } bool(false)
>
> Not quite what it should be is it?
Well the first bit looks fine but clearly the mysqli_prepare() is not
working properly. Try calling mysql
Hi,
Martin Alterisio wrote:
> Please let me do a little explanation of the title first. Japanese is an
> interesting language where context is vital to the meaning of a word.
> Sayonara usually means a simple "good bye", but within a different context
> can mean "we'll probably never meet again".
Martin Alterisio wrote:
> Well, it was my intent not to say that in particular because is rather
> personal. I just wanted to pass on all the things that may be of some use to
> another developer.
Sorry I didn't mean to drag it out of you :)
> If you must know, there are three reasons why I'm dis
Christoph Boget wrote:
> Getting the elements by tag name, while iterating through the list I see
> that one of the nodes has an id of 'custom'. However, when I try to get the
> element directly using getElementById(), it doesn't return the node
> properly. Am I doing something wrong?
A common p
Richard Lynch wrote:
>
> On Tue, January 8, 2008 3:40 pm, Jack Mays wrote:
>>> funnily enough exit is even listed as a function.
>>>
>>>
>> Sure it is: http://us2.php.net/manual/en/function.exit.php
>>
>> Unless I'm missing a point here or something. :)
>
> Technically, exit is "language construc
julian wrote:
>
>
> Hi,
>
> I am implementing this
>
> class dbaccess{
> static $db=null;
> static $othervar=33;
>
> private function dbaccess(){
> dbaccess::$db= new mysqli("localhost",USER,PASSWD,DB);
> if(mysqli_connect_errno()){
> echo "no way";
> }
> }
>
Julian wrote:
>
> but that forces me to implement a large interface of functions that I
> prefer to avoid...
>
> the $dummy thing works... but I guess it is not "by the book".
>
> I would like to understand what am I missing fom the concept
You made a critial error in the original implem.
Maximus Entertainment wrote:
>
> _Bad Company – This Saturday Night in Milwaukee, WI_
Great. That's super relevant for 99.9% of this mailing list.
Anyone near Milwaukee should go along and punch one of the promoters :D
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
Richard Lynch wrote:
> On Fri, January 18, 2008 11:15 am, Colin Guthrie wrote:
>> Maximus Entertainment wrote:
>>> _Bad Company – This Saturday Night in Milwaukee, WI_
>> Great. That's super relevant for 99.9% of this mailing list.
>>
>> Anyone near M
Ronald Wiplinger wrote:
> What is a good tool to coordinate a team of programmers efficiently?
>
> To give each one a different part of the project is a start, but it needs to
> get combined at some points to be a working project.
>
> Not to debug code you have written was a hint, to see actually
Per Jessen wrote:
> All,
>
> I have a website where some of the pages require several mysql queries -
> they're independent, so in principle they could easily be run in
> parallel. Has anyone looked at doing that?
http://uk3.php.net/manual/en/function.mysqli-multi-query.php
--
PHP General Mail
Per Jessen wrote:
> I know how to do multiple queries - the key issue in my question was how
> to do them concurrently (i.e. in parallel).
So you want to make PHP multithreaded???
Col
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Per Jessen wrote:
> Colin Guthrie wrote:
>
>> Per Jessen wrote:
>>> I know how to do multiple queries - the key issue in my question was
>>> how to do them concurrently (i.e. in parallel).
>> So you want to make PHP multithreaded???
>
> No, just the my
Tom Chubb wrote:
> Thanks for all your responses.
> Rich, I guess you're right! Anyway PHP is only a hobby for personal sites,
> so I shouldn't really worry too much but wanted to get a general feel from
> people.
> The only big advantage for the MBP is that it has Firewire 800 which would
> be bet
Brady Mitchell wrote:
>>> I don't use a mac myself but a colleague does. He seems to have apache
>>> and PHP installed on the machine but he generally uses the Xampp
>>> package. I don't know if this is the official home page or but but start
>>> here: http://www.apachefriends.org/en/xampp-macosx.h
Rob G wrote:
> //BEGIN EXAMPLE
>
>
>
> mysql_query ("INSERT INTO testimonials (id, quote, name) VALUES ('$id_1',
> '$entry_1', '$name_1')");
>
>
>
> mysql_query ("INSERT INTO testimonials (id, quote, name) VALUES ('$id_2',
> '$entry_2', '$name_2')");
>
>
>
> mysql_query ("INSERT INTO te
Mário Gamito wrote:
> Hi,
>
> Is it possible to call from within MySQL an external PHP script ?
> I've read "MySQL Stored Procedure Programming" from O'Reilly but found
> nothing :(
>
> How can I do this ?
>
> Any help would be appreciated.
Could be that a Trigger does what you want?
http://dev
Mário Gamito wrote:
> Hi Nathan,
>
>
>>> Is it possible to call from within MySQL an external PHP script ?
>>> I've read "MySQL Stored Procedure Programming" from O'Reilly but
>>> found nothing :(
>> I'd really like to see an example of why you need this functionality,
>> if that'd be okay. Not t
Zoltán Németh wrote:
> I strongly recommend git. it has several great advantages above cvs or
> svn. for example, it does not store whole copies of the whole tree if
> you make a branch, but stores only the differences. it is much faster,
> and losing a commit is really hard even if you screw thing
Colin Guthrie wrote:
> The other thing about git particularly for web projects that store
> multiple revisions of binary data (images etc.) is that the git-clone
> could end up taking up much more space than the SVN equiv. Due to the
> fact that a git clone is essentially a full copy
Pieter du Toit wrote:
> Hi
>
> I have this weird problem, when i select a file to upload, the variable
> arrives as an array at the action php file, this is the code, and the
> variable name is txtPhoto
I'd give a shorter example. People don't want to read through all your
code..
Also you shou
Pieter du Toit wrote:
> I ran a print_r on it and this is the results
>
> Array ( [txtPhoto] => Array ( [name] => g1.jpg [type] => image/pjpeg
> [tmp_name] => /tmp/php3qkA4A [error] => 0 [size] => 17008 ) )
>
> The image received here must be inserted into a database as binary it looks
> like i
Pieter du Toit wrote:
> This is my problem
>
> Warning: fopen() expects parameter 1 to be string, array given in
> /usr/www/users/zululr/marketplace/myzululand/specials_proc.php on line 49
Dude, just as a general observation, when you are asking for help, don't
just describe what you do, post th
Pieter du Toit wrote:
> That is the problem, i can see the name of the file with $txtPhoto['name']
> but when i use the same with temp_name, i get nothing, one weird thing is
> this [error] => 0 [size] => 17008 , what is that?
>
> this is the code that is giving the problem
> $txtPhotoData = ad
Dave Goodchild wrote:
> Will you two pricks cut it out. How fucking tedious.
That's so rude has nobody told you that we prefer bottom-posting on
this list? I guess not /me shakes head.
:p
Col
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
jeffry s wrote:
> i know it is forbidden to sell open source software.
Actually, you can sell GPL software. But that's not the point here.
Persumably the client knows all about it and knows it exists and
"selling" it per-se is not the important part here.
> let say i have costumer want me to modi
Larry Garfield wrote:
> On Wednesday 19 March 2008, Colin Guthrie wrote:
>
>> Also as it's GPL and as you are "supplying" the modifications you make
>> to your client, you are obliged to release the changes you make to the
>> community. If this was a
Larry Garfield wrote:
> If the code is "work for hire" and the initial ownership is with the
> client/company, then there is no distribution and so you are not required to
> do anything. That includes if you are a full time employee of the company.
OK, that's more or less my understanding.
It
[EMAIL PROTECTED] wrote:
> Thanks for the info, Jeremy. Regardless of the technical details, my code
> still broke. I am little discouraged that an operation that should be so
> simple has these sorts of gotchas.
There can also be some surprisingly awkward to find bugs that are not
even "deliber
Joey wrote:
> Hi All,
>
>
>
> I have written an app to allow a person to go online and see a picture we
> take of them. When we link to the picture I don't want it to be obvious
> that the URL is
>
> Domain.Com/Pix/123.jpg because the next person we take a picture of may be
> 123.jpg, so I a
Mário Gamito wrote:
> Hi,
>
> I have this PHP script (simplificated here), called delete_tmp.php
> that basically calls external commands:
>
>
> $session_file = '/tmp/sess_89765'
>
> system(''rm -f' . ' ' . $session_file);
>
> ?>
>
> delete_tmp.php file is owned by gamito.users
>
> /tmp/ses
Bill wrote:
>> You can build mailto: links with a default subject and text, but I am
>> not sure you can force Outlook to use specific HTML. It's wiser to not
>> rely on mailto: .
>
> Hotmail will accept mail delivery from PHP ?
mailto: links have nothing to do with PHP but generally speaking mai
Per Jessen wrote:
> Alain Roger wrote:
>
>> Concretly, user will buy some products/services online and i would
>> like to send him a PDF invoice via email.
>>
>> is there a PDF module under PEAR or directly under PHP ?
>
> So far I've seen two approaches to this:
>
> 1. LaTeX to PDF
> 2. Openo
Joey wrote:
> Does anyone have a link to source code for a pagerank script?
>
> I want to provide this to users.
Here's one:
$res = mysql_query('SELECT * FROM pages ORDER BY rank');
You should probably be a little more specific! Do you mean a script that
can access Google's webservices to find
Daniel Brown wrote:
> A lot of people don't realize, but if you're using Linux, CUPS has
> a nice print-to-PDF-file option. It's not native PHP, of course, but
> it's a nice, quick, reliable alternative.
Indeed. I always find this very useful and even more so when it's
exposed via Samba to al
Robert Cummings wrote:
> On Tue, 2008-04-01 at 17:00 +0100, Colin Guthrie wrote:
>> Stut wrote:
>>> Daniel Brown wrote:
>>>> Off-list.
>>>>
>>>> Hey, don't shoot me down just yet, Mr. Dallas. Gotta' make the
>>>
Stut wrote:
> Daniel Brown wrote:
>> Off-list.
>>
>> Hey, don't shoot me down just yet, Mr. Dallas. Gotta' make the
>
> And less of the real name on the interweb please, I'm undercover!
Hey don't worry, half way through next week, Bobby will come out the
shower and it'll turn out all the
Ryan Panning wrote:
> Jochem Maas wrote:
>> essentially it boils down to replacing '::' with '/' to determine the
>> path
>> from the namespace in your case - that is easy enough, your still
>> stuck with
>> finding out whether your being asked to load a namespace, class, or
>> function
>> (do name
Ryan Panning wrote:
> Richard Heyes wrote:
>>> err-um sorry for the noise; actually the namespaces work w/ functions
>>> as well.
>>
>> So not OO specific? Is there anything I can read that describes them?
>>
> Yes, it's on the docs site. Although this continues to change as I
> believe brackets {}
Hi Ed,
Long time no speak... keep running into you every now and then online :)
Hope you are well.
Ed W wrote:
> 45MB x2 is a lot less than 215MB...
>
> Also, I would expect the actual consumption to be less than 2x since not
> all the data will be doubled in size..?
>
> Any other suggestions o
Larry Garfield wrote:
> On Wednesday 02 April 2008, Jochem Maas wrote:
>
>>> there is one curiosity / caveat underlying the 5.3 implementation... so
>>> does the namespace get supplied to the autoload function as well as the
>>> class name? is it just one big string or are they separate?
>> one
Larry Garfield wrote:
> See, I'm working on a different approach for Drupal. We're actually scanning
> our own code base and building up an index of all classes (and functions!) in
> the system, saving that to the database, and then the autoload implementation
> just polls the database for the
Ed W wrote:
> Interesting, but I think I have come to the wrong forum? Where do the
> programmers who implement PHP hang out? I really need to get under the
> bonnet on this and find out what's happening - I'm not after speculation
> (thanks to everyone who responded though)
You probably want th
Damian Hischier wrote:
> Hi list
>
> I have to copy mails from one IMAP server to an other IMAP server. For that
> purpose I want to write a PHP script.
>
> Can anybody help me on that
>
> Thank you very much for your help
If you really, really want to write your own go for it, but I've
migrat
Joe Harman wrote:
I am curious here if any of you are considering or already using
OpenID or Windows CardSpace? Does anyone see this being a big deal???
from a users stand point it seems like a big hassle to get started
with it and I'm not sure if it would scare people away or not? any
thoughts
revDAVE wrote:
Newbie - is there a function similar to the sql 'like' comparison operator?
I would like to be able to compare 2 strings:
If $this ---*like or similar to*--- $that
That type of thing...
I strongly suggest you read up on regular expressions:
http://uk.php.net/manual/en/book.reg
Chris wrote:
Rob Gould wrote:
I am creating a touch-screen kiosk application, using a full-screen version of Safari 3.1, and was wondering if there's a way I can force Safari to cache a large background image JPEG.
What I'm finding is that Safari 3 will sometimes cache my large 1.1 MB backgro
Steve Finkelstein wrote:
If any of you have run into similar frustrations, I'd love to hear it.
So far I've spent the better part of the evening fiddling with
extremely rudimentary features which no IDE in any programming
environment I've ever worked with has imposed on me. Perhaps this
thing i
Wolf wrote:
Ray Hauge <[EMAIL PROTECTED]> wrote:
I just read an interesting article about enterprise software. One of
the most common arguments against PHP tends to be "It's not enterprise
ready." This article talks more about ruby, but it could be about any
"non-enterprise" language as
mike wrote:
On 5/29/08, Weston C <[EMAIL PROTECTED]> wrote:
Fortunately, I'll have full control of the hosting environment in the
context this matters. :)
dl is definitely interesting, but I'm worried that runtime invocation
might mean performance hits. Is there a way to do load/startup time
Scott McNaught [Synergy 8] wrote:
Hello,
I am running a production server with APC and php. We recently had a crash
where APC bombed out. When it does this, the server serves empty, white
pages.
Here is what the error_log says.
I have not yet found a resolution for this. There are no calls
Scott McNaught [Synergy 8] wrote:
Thanks for your reply. I will try upgrading it.
If anyone else has experienced this problem, please let me know.
Something else to note, I'm using pthread locking. I read about various
things and looked a presentation from Facebook's use of APC and the fact
KLEIN Stéphane wrote:
do you know one free (open source) http mysql tunneling writed in php ?
Do you mean tunnelling in the classic sense, e.g. have a webpage that
spits reads in data and spits out data and to which you can effectively
connect a standard mysql client to?
Or do you just mean
VamVan wrote:
Hello All,
What is the best method to build and deploy php scripts along the different
environments? You can talk about rpm's and stuff
My specific scenario is
Step1:
Developer checks code in to perforce (repo)
Step 2:
Then I need to upgrade my integration instance.
Step 3:
Michelle Konzack wrote:
It should support:
1) PostgreSQL (my own database)
2) MySQL (my current hosting provider offer it only)
3) Threating
^
I don't think you'll have to search too far to find some old code with a
very high level of threat..
:p
Pavel wrote:
В сообщении от Thursday 12 June 2008 16:43:59 Richard Heyes написал(а):
This may be of interest (HTML 5 diffences to HTML 4 overview):
what about xHTML? html died few years ago and i thought is was official..
Oh there are *lots* of discussions about that. Personally I'm sticking
Usamah M. Ali wrote:
On Thu, Jun 12, 2008 at 4:34 PM, Bastien Koert <[EMAIL PROTECTED]> wrote:
PHP does not support threading AFIAK.
He probably meant "threading" as in "forum threads", i.e. topics where
discussions are presented in a threaded way.
I assumed exactly that :)
--
PHP General
Ross wrote:
> I have an old laptop and would like to either run linux on it or have it
> running window and emulate a lixux environment. Is this possible?
>
> What is the easiest way to get linux to run on a windows machine? Is it any
> easier to do this on a mac?
VMWare. Very easy.
Live CD's
Richard Lynch wrote:
> On Sat, April 21, 2007 1:18 pm, [EMAIL PROTECTED] wrote:
>> Hi sorry not really a php question.. but using it in a php script :)
>>
>> I want to list the date and time a file was created so I want someting
>> like..
>>
>> Apr 21 18:57 monkey.txt
>>
>> Ive been playing around
Jochem Maas wrote:
> sorry OP I can't comment on the degradation your seeing, but I'm
> interested if anyone can - in the mean time you might consider downgrading
> apache
> and measuring the difference and subsequently upgrading apache whilst
> downgrading php and measuring
> the difference also
Beauford wrote:
> Does anyone else have this problem with the list. It seems that every time I
> check my email there is one or more messages from the list that royally
> screws up Outlook. I usually have to delete all list messages from the
> actual server and reboot. It only happens with emails f
Robert Cummings wrote:
> On Wed, 2007-04-25 at 21:23 +0800, Man-wai Chang wrote:
>> where can I find the documentation about this "symbol"?
>
> Maybe in the documentation? A cursory glance from me though didn't turn
> anything up. Either way I can inform you of the purpose...
>
> The following tw
Marten Lehmann wrote:
> Hello,
>
> I'm trying to include a shared object file with the function dl(). But I
> always get:
>
> Warning: dl() [function.dl]: Unable to load dynamic library
> '/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared
> object file: No such file or director
Marten Lehmann wrote:
> Hello,
>
> I'm trying to include a shared object file with the function dl(). But I
> always get:
>
> Warning: dl() [function.dl]: Unable to load dynamic library
> '/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared
> object file: No such file or director
Marten Lehmann wrote:
> Hello,
>
> I'm trying to include a shared object file with the function dl(). But I
> always get:
>
> Warning: dl() [function.dl]: Unable to load dynamic library
> '/homepages/xyz/util.so' - /homepages/xyz/util.so: cannot open shared
> object file: No such file or director
Daniel Brown wrote:
>As a result of an ongoing thread, I am launching a project that should
> allow users on shared hosting accounts and other restricted Unix-like
> hosting systems to utilize text-to-speech synthesis, primarily the Festival
> TTS engine. The goal of the project will be to cre
clive wrote:
>
>> I'd say give some attention to the zip method you use.
>
> or better yet rsync the file, send only what has changed.
Good advice but may not work as well with extended insert syntax which
results in smaller dump files and much faster import too.
I guess with CSV it could work
Merlin wrote:
> Hi there,
>
> I am thinking about creating a kind of adserver which is customized for
> my needs. As I would be most confident in doing this with php, I am
> asking myself if this is the right choice or if it would be wiser to
> take a C++ aproach for example to get a higher perfor
Chetan Graham wrote:
> Hi all,
> I am writing a script and need to eject the cd-rom drive at some point.
> Does anyone have an idea how to do this?
> This is a simple command isn't it?
> I greatly appreciate your help
Seeing as everyone is telling you to use "exec('eject')" to eject your
disk I'll
Robert Cummings wrote:
> On Thu, 2007-06-07 at 16:36 -0400, Daniel Brown wrote:
>> Are you using Amarok on Windows, Linux, or other? I have Amarok
>> 1.3.1 on KDE 3.4.2 on Mandriva 2006.0 Community on 2.6.12-12mdksmp on
>> an i686 Intel(R) Pentium(R) 4 CPU 2.60GHz w/ 1GB RAM on a desk with a
>
Alain Roger wrote:
> Hi,
>
> I would like to create a log system to keep a trace of all users' actions
> (log-in, remove, change or update data, and so on...).
> What should i do or to what should i take care to not have problem ?
>
> I was thinking to create a folder on my server where log files
Paul Scott wrote:
> I have set up our new Chisimba blog system (GPL, http://avoir.uwc.ac.za)
> to blog all of the posts to this list.
>
> Please check it out at
> http://196.21.45.50/fsiu/chisimba_framework/app/index.php?module=blog&action=allblogs
>
> and let me know what you think!
Erm, reinve
Paul Scott wrote:
> On Wed, 2007-06-13 at 11:51 +0100, Colin Guthrie wrote:
>> Erm, reinventing the wheel?
>>
>
> Not quite, more of a test of the code so that I know that Bad Things do
> not happen when there is a lot of traffic/posts.
>
> If it serves another purp
Chris wrote:
> Hi Javier,
>
> well, in germany (at least what I have seen so far)... the min offer was
> around 23k. I get about that money myself, and I live really cheap, with a
> cheap car (cheapest you can get), and a girlfriend who doesn't need or want
> much. So if you have a family, in a
Stut wrote:
>> I don't like the branching in subversion, it's a lot easier to work with
>> in CVS.
>
> That's odd since this is one of the major advantages that Subversion has
> over CVS (for me at any rate). When you branch or tag in CVS it will sit
> there and create a copy of every single file
clive wrote:
>>
>> I have no clue how big the files are, but you might want to store them
>> in a database. That can speed up things, but don't ask me how much ;)
>>
>> Tijnema
>>
> no dude, while database are convenient, files systems are faster, I mean
> thats what they were designed for, serving
Hi,
Don't want to spam the list, but figured after the London Salaries topic
recently, that I'd post this!
We're needing a PHP/MySQL developer, preferably with experience of
general server admin too.
The details can be found here if anyone is interested:
http://www.tribalogic.net/tribalogic/jobs
Jochem Maas wrote:
> Colin Guthrie wrote:
>> One other good thing about Subversion is the flexibility of it's hooks.
>> You can setup scripts to automatically deploy your changes to a live
>> environment. It's ace!
>
> 2 points I'd like to make:
Tijnema wrote:
> Well, I have a lot experience with PHP, HTML and MySQL. Also some
> experience with Unix system administration. I'm 15 years old, so
> could I apply for the job? :)
We can offer a competitive package that involves free milk and cookies,
a nap time in the afternoon and a note to g
Jochem Maas wrote:
> Edward Kay wrote:
>
> ...
>
>> But the advert is for a GRADUATE developer ;) Whilst your messages to this
>> list show you know a lot about PHP, I doubt you've managed to fit a degree
>> in yet :)
>
> What does a graduate php developer earn in Scotland? and is it
> the the p
Robert Cummings wrote:
> Things I learned to do while obtaining my B.C.S. degree:
>
...
... snip of lots of interesting/funny stuff
...
> For me going to university was a little bit about getting a piece of
> paper and a lot about having fun and meeting people (I met my wife
> there). One thing th
Mike Frysinger wrote:
> On 6/9/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
>> On Sat, June 9, 2007 4:27 pm, Mike Frysinger wrote:
>> > anyone know of some software to generate images like this:
>> > http://wh0rd.org/register.png
>> > idea is i have a list of registers and their bit meanings, and i
Daniel Brown wrote:
>What the hell? Why not start a thread that can be fun and
> challenging for all of us.
How about this:
It's a bit more obscure ;)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dan wrote:
> How are we going to respond to these? Should we answer or just kepe
> them to ourselves.
>
>
> SPOILER**
>
> Answer: Many a mickle makes a muckle?
SPOILER in the title is a good idea!
I was going for "Mony a mickle maks a muckle" hence the name of my
constant, but I'l
Daniel Brown wrote:
>What the hell? Why not start a thread that can be fun and
> challenging for all of us. It's something I haven't seen done
Here's another quickie: Dead simple one!
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Daniel Brown wrote:
>What the hell? Why not start a thread that can be fun and
> challenging for all of us.
One more before bed:
class pin
{
private $mVisible;
private $mInstantiateTime;
public function __construct()
{
$this->mInstantiateTime = floor(time() / 86400) * 86400;
Colin Guthrie wrote:
> Daniel Brown wrote:
>>What the hell? Why not start a thread that can be fun and
>> challenging for all of us.
>
> One more before bed:
>
> class pin
> {
> private $mVisible;
> private $mInstantiateTime;
>
> publi
Robert Cummings wrote:
> On Wed, 2007-06-27 at 00:24 +0100, Colin Guthrie wrote:
>> Daniel Brown wrote:
>>>What the hell? Why not start a thread that can be fun and
>>> challenging for all of us. It's something I haven't seen done
>&
Robert Cummings wrote:
> On Tue, 2007-06-26 at 17:00 -0700, Eric Newberry wrote:
>> I think I have to answer to this one: 'If at first you don't succeed try,
>> try again'.
>
> Here's another one...
>
>
> $x = rand( 1, 20 );
> for( $i = 0; $i < $x; $i++ );
> while( --$i > 0
Stut wrote:
> Surely this should be...
>
> function x()
> {
> static $count = 0;
> $count++;
> switch ($count)
> {
> case 1: return 'bitten';
> case 2: return 'shy';
> }
> return '';
> }
:p
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Daniel Brown wrote:
>What the hell? Why not start a thread that can be fun and
> challenging for all of us. It's something I haven't seen done
> anywhere else yet, but I wouldn't be surprised if it has been. Let's
> put together some names, phrases, and other stuff expressed as PHP
> code an
Richard Davey wrote:
> Hi all,
>
> Just wanting to pick your collective brains on this one:
>
> How do you go about implementing a swear / bad-word filter in PHP?
>
> Reasons for needing one aside, I'm just wondering if you favour a
> regexp, a substr_count, or what? Do you like to *** out the b
201 - 300 of 505 matches
Mail list logo