Re: [PHP] Zend PHP Certification test

2004-09-30 Thread Rory Browne
I haven't done the exam, yet, but based on some of the practice questions, I'm getting worried. I'm finding sample questions whose answers are not covered in the book. One such question was a list(, $var) = whatever, and nowhere in the book could I find an explanation for same. I've also used coun

Re: [PHP] Read word documents on a Linux server

2004-10-05 Thread Rory Browne
I'd also try and find a way of automating openoffice. Check first though, to ensure that the quality of the converted document is up to scratch. Having that said, OO.o has a pretty good reputation for this. On Tue, 05 Oct 2004 21:49:01 +0600, raditha dissanayake <[EMAIL PROTECTED]> wrote: > Jacob

Re: [PHP] Re: PHP5 and Multi Inheritance?

2004-10-17 Thread Rory Browne
I'm not sure, but I think the only way you are going to get MI in PHP, is if you implement if yourself. By this I mean, implementing the correct __get(), __set(), and __call() functions. On Sun, 17 Oct 2004 18:32:34 +0400, M Saleh EG <[EMAIL PROTECTED]> wrote: > Thanx Mathew > I guess I found it

Re: [PHP] Zend PHP Certification test

2004-10-17 Thread Rory Browne
I've been looking all over the Zend Cert site, trying to find the passing rate, ie how many questions I have to get right in order to pass. Is this information secret, or have I just not looked in the right place. If it's the latter, please enlighten me. Thanks Rory -- PHP General Mailing List

Re: [PHP] File and line that called a function?

2004-10-18 Thread Rory Browne
Sorry accidently replied off-list I basicly said to check out debug_backtrace() at http://www.php.net/debug-backtrace On Mon, 18 Oct 2004 13:56:33 -0600, Adrian Madrid <[EMAIL PROTECTED]> wrote: > Is there a way to know which file and line called a function youo are > in? I want to create an er

Re: [PHP] Re: heredoc syntax

2004-10-20 Thread Rory Browne
What OS are you using? On windows, you may have problems with the \r\n newline system. I read somewhere that the heredoc syntax requires the use of unix-style \n's Are you getting any error messages. If it didn't work you should get a syntax error. If so what was it? On Wed, 20 Oct 2004 20:46:54

Re: [PHP] Re: [users@httpd] Favorite Linux Distribution

2005-02-08 Thread Rory Browne
This question is as much about politics, and religion, as it is technical. I like mandrake, but I haven't used a distro yet, in which everything 'just worked'. Each distro I tried had some bug in it. Can't remember what they were, and they were easly circumvented, but if you don't know much about

Re: [PHP] Re: [users@httpd] Favorite Linux Distribution

2005-02-09 Thread Rory Browne
And if you question the political motivations jfgi for osama bin linux. On Wed, 9 Feb 2005 17:22:47 +, Rory Browne <[EMAIL PROTECTED]> wrote: > > In all my years of attending Church I never once heard anyone > > discussing Linux. Must be a denominational thing. > &g

Re: [PHP] Re: [users@httpd] Favorite Linux Distribution

2005-02-09 Thread Rory Browne
> In all my years of attending Church I never once heard anyone > discussing Linux. Must be a denominational thing. Dear Brethren, As a follower of st iGNUtious I am troubled by the spiritual blindness I see evident in the comment I see here before me. Did not the prophet RMS teach the true path?

Re: [PHP] Hi ALL

2005-02-22 Thread Rory Browne
How to use this list best: Search the archives at lists.php.net for [NEWBIE GUIDE] It was written by Jay Blanchard earlier this year I believe. Read it. Then read this: http://www.catb.org/~esr/faqs/smart-questions.html Then try learning PHP from the PHP manual. If you come across a problem, the

Re: [PHP] Hi ALL

2005-02-23 Thread Rory Browne
our facts straight. I think my 'giving back' greatly outweighs my 'taking' from this and any other tech forum that I've ever used. I'll provide you with a sample if necessary. On Wed, 23 Feb 2005 12:35:29 +0100, Jochem Maas <[EMAIL PROTECTED]> wrote: > Rory Browne

Re: [PHP] Hi ALL

2005-02-23 Thread Rory Browne
Sorry didn't mean to accuse you of attacking. Just had a more hectic day than usual, and maybe lost it a bit. Anyway, this is rapidly getting off topic, so.. On Wed, 23 Feb 2005 16:52:25 +0100, Jochem Maas <[EMAIL PROTECTED]> wrote: > Rory Browne wrote: >

Fwd: [PHP] Word file to PDF

2005-02-24 Thread Rory Browne
Sorry - forgot to cc this to the list. [off-topic] Any idea if there is any way to set up gmail so that it automaticly replys to the list. -- Forwarded message -- From: Rory Browne <[EMAIL PROTECTED]> Date: Thu, 24 Feb 2005 13:12:15 + Subject: Re: [PHP] Word file to

Re: [PHP] Word file to PDF

2005-02-25 Thread Rory Browne
> Run PHP on a windows platform that has MSWord and the PDF printing libraries > installed. Use PHP's COM support to load an MSWord object and see if you can > get it to load the word document and print it out as a PDF file. Once it is > printed to the file, you can use PHP to read the file and do

Re: [PHP] Help Required: How to call .vbs file from .php file?

2005-02-25 Thread Rory Browne
Okay: You need to be explain yourself in a MUCH CLEARER manner. You want to 'call' a 'vbscript' from a php file. What exactly do you mean? Do you want to run server-side vbscript, or do you want to run client-side vbscript. Do you want to use asp-style vbscript to generate html, or do you want to

Re: [PHP] how to move files from one place to another ?

2005-02-28 Thread Rory Browne
I think you should read his post before telling him to RTFM. AFAICT He wants to move the files, not copy them. I think the command he is looking for is infact http://www.php.net/rename , which isn't immediately obvious, when you are infact moving and not just renaming. It's only something you'd con

Re: [PHP] a new it company

2005-03-09 Thread Rory Browne
SPAMMER >From your email address I'm assuming that your name is Sharvan Saxena. It seems like too much of a coincidence that the contact person on that site(Tanuj Saxena), and your good self, have the same surname. Because it seems your are a spammer, and a liar(you concealed your alleged connect

Fwd: [PHP] `ls -l /` does not reproduce same info than when executed in bash.

2005-03-10 Thread Rory Browne
Forwarding to list - forgot to cc. -- Forwarded message -- From: Rory Browne <[EMAIL PROTECTED]> Date: Thu, 10 Mar 2005 18:50:41 + Subject: Re: [PHP] `ls -l /` does not reproduce same info than when executed in bash. To: Hans Deragon <[EMAIL PROTECTED]> Perha

[PHP] Re: Best Server OS

2005-03-28 Thread Rory Browne
Phil Depends on (a) What you want. (b) Who you are, and what your background is. What you want: If you want stability, then I'd go with Debian Stable. If you want proactive security then I'd go with OpenBSD. I'm not suggesting that OpenBSD is less stable than Debian, but I reckon that more peop

[PHP] Re: Create MDB File

2005-03-28 Thread Rory Browne
MDB suggests Access, so why not simply create a CSV, or some other generic format file from your MySQL, and import it into access, using COM/OLE, and save it as an MDB file. On Mon, 28 Mar 2005 22:14:07 +0100, Shaun <[EMAIL PROTECTED]> wrote: > Thanks for your reply, > > but this only works on W

Re: [PHP] RE: Best Server OS

2005-03-29 Thread Rory Browne
I'd stick OSX in somewhere between fedora and windows. Where do you get these security ratings? How does sendmail, or bind appear in these ratings? Some ratings suggest that windows is more secure than Unix!! You don't need a gui in a server. On Tue, 29 Mar 2005 11:10:18 -0500, Gerald Artman

Re: [PHP] Re: Create MDB File

2005-03-31 Thread Rory Browne
m within a PHP script). > > The CSV export idea isn't an option in this case. > > Has anyone found a way to create an MDB file (with a single table) from > PHP? > > ...Rene > > > On 28-Mar-05, at 7:18 PM, Rory Browne wrote: > > > MDB suggests Access

[PHP] SQL ternary thing

2005-04-06 Thread Rory Browne
Hi I appreciate this is an SQL issue, more than a PHP issue, but since it isn't a DB specific issue, and I'm planning on using it with PHP(and I'm not subscribed to any SQL lists), I thought I'd post it here. I have a table a bit like the following: create table thing (name char(10), value boole

Re: [PHP] Why does PHP have __toString() and not just toString()

2005-04-12 Thread Rory Browne
I was wondering that as well. While I was at it, I wondered why not use __to_str(), as per the PHP coding guidelines. While I'm at it, why is grass green, and milk white? On Apr 12, 2005 10:27 AM, Richard Davey <[EMAIL PROTECTED]> wrote: > Hello Tim, > > Tuesday, April 12, 2005, 10:07:44 AM, you

Re: [PHP] a new it company

2005-04-14 Thread Rory Browne
ith free speech you have to live with the odd incident like this. > > Dan Tappin (Dan T) > > On Mar 9, 2005, at 11:29 AM, Jochem Maas wrote: > > > Rory Browne wrote: > >> SPAMMER > >> From your email address I'm assuming that your name is Sharvan Saxe

Re: [PHP] php and linux shell script

2005-04-15 Thread Rory Browne
I don't think you'll find anything in PHP as simple as the shell script version of dialog, but you may be able to bang something together like that using ncurses. Probably handier if your time is more important than the machines, to just use the shell version using one of the Program Executions fu

Re: [PHP] Re: A question

2005-04-16 Thread Rory Browne
you write a script containing and only. You access that script through your web browser, and it will return a variety of useful information. Amongst it will be information labeled as SERVER API. If you are running as an apache module, Apache will appear in the box beside it. If you are using CGI,

Re: [PHP] Re: A question

2005-04-16 Thread Rory Browne
On 4/16/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > On 16 Apr 2005 Khorosh Irani wrote: > > > How I can find it in phpinfo() ? > > Another (simpler) approach is: not as versitile though. php_sapi_name() is better suited to situations where you will do something differently depending on

Re: [PHP] Re: trying to send mail via localhost

2005-04-16 Thread Rory Browne
I'm not expert, on this area, but unless I'm mistaken, that happens when the email address you are sending the mail to doesn't exist. For example if you try to send a mail to [EMAIL PROTECTED], when the actual address is [EMAIL PROTECTED], the username monk will not exist. Check your 'to' address.

Re: [PHP] Php + flash, need some help making a small .FLA

2005-04-17 Thread Rory Browne
I've only used flash, a couple of times( many years ago ), so I can't be of very much help, but you might be able to do something with ming - http://www.php.net/ming . If I remember correctly it would involve referencing images by their URL - images which would on the backend be served up with php.

Re: [PHP] Need help with file permissions for PHP files

2005-04-17 Thread Rory Browne
> Two things Rory > > a. You only replied to me, instead of the list. You have to probably > click on "reply to all" in your mail client. I have included the lists > address for this reply, so that it will appear there. Yeah sorry about that mailing you only thing. All the other lists I'm sub

Re: [PHP] Need help with file permissions for PHP files

2005-04-17 Thread Rory Browne
Because now it's out of order. On 4/18/05, Ryan A <[EMAIL PROTECTED]> wrote: > PLEASE lets not start on the. Only Joking. > > > > 2. "Because it reads out of order." > > Why? > > >"Why?" > > > > >"Top posting is bad." > > > > > III. Trimming is good, because it gets right to the

Re: [PHP] Re: CFP: DLS05: ACM Dynamic Languages Symposium

2005-04-18 Thread Rory Browne
There are times when cross-posting is approperate, and times when it isn't. In this case it's approperate. In the case of replying to his cross-posting it isn't. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php and linux shell script

2005-04-19 Thread Rory Browne
> http://gtk.php.net/ > Can you elaborate on what gtk has to do with making command line dialog boxes? > -- > Like Music? > http://l-i-e.com/artists.htm > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing Li

Re: [PHP] can I join two mp3 files with php

2005-04-19 Thread Rory Browne
Are you on Windoze or Linux. If you're on linux, I'm sure you could rig up something with mencoder. If you're on windoze, you might still be able to use mencoder, but I'm not sure, and you may find yourself with the need to explore other options. -- PHP General Mailing List (http://www.php.net/)

[PHP] explode a string

2005-04-20 Thread Rory Browne
Sorry jocham, for you getting this twice. I'd assume foreach is recommended because it lends to more readable code. More readable code, is generally considered better code. Personally I'd disagree and use while( list() = each() ), because it doesn't create a copy of the array in memory, especiall

Fwd: [PHP] Re: Can this code go faster?

2005-04-30 Thread Rory Browne
I sent this about a week ago, but I forgot to 'reply to all', and send it to the list. Thanks Rolf for pointing that out to me. I'm not totally sure, but this might work. I'm too tired to understand rolf's masks, but: wrote: > [EMAIL PROTECTED] (René Fournier) wrote in > news:[EMAIL PROTECTED]:

Re: [PHP] Re: Can someone help me build a regular expression?

2005-05-02 Thread Rory Browne
> You mite try this. I know that this work with perl. > > =~ m/^[0-9][A-Z][a-z]{2-3} \.[0-9]+$/ I'm not sure what the initial m does(I'm not a perl person), but the rest of the regex matches as follows. A string whose first character is a digit between 0 and 9. This is followed by an Upper case

Re: [PHP] to pass session from one websever to another webserver

2005-05-04 Thread Rory Browne
Elaborate. Do you want to pass the sesson from server_1 to server_2, and use the session on server_2 instead of server_1, or do you want to use the session on both servers at the same time, or switch frequently between both machines? On 04 May 2005 18:24:07 +0530, Balwant Singh <[EMAIL PROTECTED]

Fwd: [PHP] Re: How do you declare Vars in PHP? -I know it's not necessary, but I still want to know

2005-05-05 Thread Rory Browne
Otherwise you can 'declare' them by assigning them a null/zero/empty value. $my_number = 0; $my_string = "" $my_array = array(); The main reason for 'declaring' variables in PHP, is so that you can use them in functions without raising an E_NOTICE. On 5/5/05, Ryan Faricy <[EMAIL PROTECTED]> wro

Re: [PHP] Re: How to declare Vars in PHP?

2005-05-05 Thread Rory Browne
Next time you double post(I'm assuming by accident), could you reply to one, of the posts declaring it void, and point people to the other, so that you don't have two people answering the same question in two different threads. On 5/5/05, Ryan Faricy <[EMAIL PROTECTED]> wrote: > > "Jon M." <[EMAI

[PHP] Re: Error suppression operator (@)

2005-05-05 Thread Rory Browne
ditto everyone who said use it if you don't care about errors, but don't use it in places where you expect errors. Also don't use it in places where it can be avoided with minimal cost. For example if you have an optional field, and people usually fill it in, and rarely leave it empty, then you c

Re: [PHP] to pass session from one websever to another webserver

2005-05-05 Thread Rory Browne
In that case you're probably best to have a single source for the session data, and simply pass the SessionID as a $_GET variable in the URL. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] need class to send email w/attachments

2005-05-06 Thread Rory Browne
Try www.phpclasses.org/phpmailer I've never used it but it's mentioned quite a lot. On 5/6/05, Bosky, Dave <[EMAIL PROTECTED]> wrote: > Any recommendations for PHP classes that will send email messages with > attachments? > > Thanks, > > Dave > > HTC Disclaimer: The information contained in

Re: [PHP] compiling dynamic extensions without root access

2005-05-06 Thread Rory Browne
> yes you can do if u have compiled apache to support apache dynamic extensions. It doesn't matter how you compile apache. It's how you've configured PHP, and what type of server it's running on, how the server handles multiple clients. Zeus, and IIS don't AFAIK support dl(). I reckon it's safe

[PHP] Re: Reducing size of htm output

2005-05-07 Thread Rory Browne
First of all as Rasmus said, this 'compression' is barely(if at all) going to make a difference, after your pages have been compressed wth gzip, There are two reasons for this: 1 compression techniques detect repeated strings(such as spaces or newlines), and replaces them with one instance of tha

Re: [PHP] Re: Reducing size of htm output

2005-05-07 Thread Rory Browne
> excuse me? since when is this considered /good/ practice??? > It's one of those things that are concidered /bad/ practice according to > w3... Hmmm, didn't know the w3c had an opinion on the usage of tags to delimit javascript. I've always been recommended to use them, to hide the script from b

Re: [PHP] Re: Reducing size of htm output

2005-05-07 Thread Rory Browne
Besides, whether or not it's considered good practice to comment out js to non-js-capable browsers, a lot of people do it. And for the record, I wouldn't condone the removal of comments from code that someone may need to read sometime. HTML outputted from php is generally however only meant for th

Re: [PHP] Sending htm as it's being generated

2005-05-08 Thread Rory Browne
either follow each echo call with a flush() function call, or enable the implicit_flush in php.ini, or ini_set(). I don't think output buffering as described in the php docs is particularly relevent in this case. Bare in mind that some browsers don't display data either until they have received a

[PHP] PHP 5, mySQL and Win XP. I NEED HELP

2005-05-09 Thread Rory Browne
Sorry - forgot to CC to list. Personally I have a feeling that if you take out the :3306, your script might just work. I read somewhere that on unix, mysql used a unix socket whenever the hostname was localhost. On unix localhost:something means that something is a unix socket, when it would othe

Re: [PHP] Reducing size of htm output

2005-05-09 Thread Rory Browne
> But I remember gz encoding works fine with IE 5. Shouldn't be a problem with > 5.5. Did you try downloading the same compressed page twice, and checking the server logs, to see if it loaded from cache the second time around? > > Cheers, > > Prathap > > > -- Original Message ---

Re: [PHP] numbers as strings

2005-05-09 Thread Rory Browne
For the most part you can simply treat them as strings. What is happening that shouldn't be happening, or what should be happening, but isn't? > let us say > $a = 1; > $b = 2; > $c = 0; $str_a = (string)$a; $str_b = "$b" > I would like to be able to > $str = $c.$a.$b; Does that not work? What

Re: [PHP] Re: [PHP-DEV] make new return a reference to existent object

2005-05-09 Thread Rory Browne
I think Leonardo might have a point here. Built-in support for Singletons could be a nice feature, without the use of static functions, would be nice. I wouldn't use the 'new' keyword however. I think something along the lines of existing, or ref $ref = existing TEST; // which would return an exis

Re: [PHP] A couple questions about templating

2005-05-09 Thread Rory Browne
> I am trying to make a small, fast, and simple templating class... Now > I have mastered the art of variable replacement, and have made two > versions. The first one I made simply used file() to load up the file > into an array, Personally I think you should use file_get_contents() instead. > s

Re: [PHP] Re: A couple questions about templating

2005-05-10 Thread Rory Browne
> This has all been done before, and in a number of ways. If you really > *must* build your own templating class, go and thoroughly review the > code of those that already exist: Smarty, Savant, paTemplate, > FastTemplate, etc. Figure out how each solved the problems. Then > determine if you can im

Re: [PHP] Re: A couple questions about templating

2005-05-11 Thread Rory Browne
> Anyways, I restructered my code, and as far as I can see there is > nothing wrong with the code, except for that it simply doesn't work :) That's usually considered a fairly serious problem. > I'm probably missing something blatently obvious but I'll post it and > maybe someone can spot why thi

[PHP] protect your CSS files, and possibly other extenstions as well...

2005-05-11 Thread Rory Browne
Sorry Richard if you received this twice. Okay let me get this straight: You protect your includes by making sure that they have a protected string defined? You pass JS and CSS through PHP, and output a 404 unless they've got a HTTP_REFERER variable set to whatever you want it to be? I guess it

[PHP] Generating a php file

2005-05-11 Thread Rory Browne
You can start by clarifying. I had to read your message three times before I got a vague understanding. What I'm hearing is that you want to put something like into a string? You are having difficulty doing this because you are finding that your string contains the value of $msg, instead of a dol

[PHP] Generating a php file

2005-05-11 Thread Rory Browne
n Rossi <[EMAIL PROTECTED]> wrote: > > On 12/05/2005, at 6:03 AM, Rory Browne wrote: > > > You can start by clarifying. I had to read your message three times > > before I got a vague understanding. > > > > What I'm hearing is that you want to put someth

Re: [PHP] Form handling

2005-05-12 Thread Rory Browne
Personally I'm lazy, but I'd probably go with something along the lines of $filename = sprintf("step%d.php", (int)($_SESSION['step']) ); require ( file_exists($filename) ? $filename : "step1.php" ); same results in two lines of code - was one line, but I split it into two lines to make it more r

Re: [PHP] Hello, I'm new...

2005-05-13 Thread Rory Browne
A community website. Explain. Decide what features you want this community site to have. Once you've figured out(or explained) what type of services you want to offer to your community, and then check out hotscripts.com, or google. Three scripts that come to mind, are phpgroupware, phpbb, and

Re: [PHP] Hello, I'm new...

2005-05-13 Thread Rory Browne
> > Well now I don't even know what a framework is. I was expecting > someone to say "Oh, you should use model view controller" or > something. > > All the answers seem to be applications. > > Are applications frameworks? I never checked the dict def of a framework, but I always considered them

Fwd: [PHP] Pfpro PHP

2005-05-13 Thread Rory Browne
Forgot to cc to list I'm assuming you're running ./configure, which should be a shell script. I can't remember whether is's a /bin/sh or /bin/bash script, but if it's /bin/sh try modding the first line, which should #!/bin/sh to #!/bin/sh -x, similarly a /bin/bash script would be modded to show #

Re: [PHP] Pfpro PHP

2005-05-13 Thread Rory Browne
e /bin/sh to /bin/sh -x and I dump the out put to a file > "output.txt" > > Can you please see the file and tell me what is the problem? > > -- > Sincerely, > Rezk Mekhael > > -Original Message- > From: Rory Browne [mailto:[EMAIL PROTECTED] > Se

Re: [PHP] Form handling

2005-05-13 Thread Rory Browne
> What other methods would be good to use? Using a giant if statement? Did you read my code for this? It consisted of two lines, which basicly did the same thing as your massive ugly switch statment. It also does a limited amount of error-checking, in that it checks to make sure that the file act

Re: [PHP] php works in IE not Firefox?

2005-05-14 Thread Rory Browne
it seems more likely that the server is having issues. On 5/14/05, Simon Allison <[EMAIL PROTECTED]> wrote: > By the time a properly executed script(executed on the remote server) gets > to your computer, regardless of the fact it was done in php(or any other > server side language for that matter

Re: [PHP] Hello, I'm new...

2005-05-14 Thread Rory Browne
> I only really put in the bit about the community site as a sort of statement > about where I would like to go in my php quest. When I recently looked at > asp.net, Microsoft had a Community starter kit/framework which included all > the basic modules/applications needed to get such a site up and

Re: [PHP] Hello, I'm new...

2005-05-14 Thread Rory Browne
> AFAIK, PHP doesn't offer that kind of packaged approach. Perhaps > there's a major difference between the way MS approaches things and > the way PHP/open source does. Traditional ASP, and PHP, were fairly similar. ASP.NET and PHP are two very different solutions, to what is possibly the same prob

Re: [PHP] PHP-GTK, or something else, for desktop app development?

2005-05-16 Thread Rory Browne
I don't think php-gtk is currently suitable. As of 22 April Andrei was considering a very early alpha release. Taking that into consideration I'd doubt if it's stable enough yet for production. Gtk 1 is afaik obsolete. If you're going to jump to a different language, then I'd seriously consider an

Re: [PHP] WINBINDER! WOOT! Re: PHP-GTK, or something else, for desktop app development?

2005-05-16 Thread Rory Browne
On 5/16/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I missed the original post, but if you're looking at doing Windows desktop > development and want a GREAT alternative to GTK, definitely check out > Winbinder! Rubem and crew have done an awesome job (even though he modestly > calls it

Re: [PHP] Firefox COM object

2005-05-16 Thread Rory Browne
XPCOM is similar to COM, except that it is Cross Platform, and doesn't support DCOM. On 5/16/05, Dang Nguyen <[EMAIL PROTECTED]> wrote: > Hello, > > I would like to write some PHP scripts to automate web testing. I already > have a framework that uses the COM class to automate the tests in IE.

Re: [PHP] Cache

2005-05-16 Thread Rory Browne
Interesting idea. Using three identifiers, as a key. md5() returns a 32 hex-digit value. That means that there are can only be a maximum of 3.4 * 10^38 possible outcomes for the md5(). This means that there there is a 1 in 340 chance of a collision between filena

Re: [PHP] Components

2005-05-16 Thread Rory Browne
> Thank you I will look into it ;) but right now I'm also looking for the > php-developers' opinions. > So, what are your ideas about this? AFAIK Prado recently won a fairly well respected PHP Contest. I think the results speak for themselves. On 5/17/05, Evert | Rooftop <[EMAIL PROTECTED]> wrote

Re: [PHP] Cache

2005-05-17 Thread Rory Browne
> Probably, but not serializing at all, and stuffing the data directly into > shared memory would perhaps be faster, at least as I vaguely understood > the results of a thread on serialization on this very forum from a month > or two ago. (Check archives for "serialize" "shared memory" and "Rasmus

Re: [PHP] hey dip shit

2005-05-18 Thread Rory Browne
> > This list could really use an active moderator. Um no. You can't moderate what's already in peoples mailboxes, and if you're going to have all posts manually approved before delivery, then you're going to seriously affect the responsiveness of the list. Besides that post was harmless, was ap

Re: [PHP] hey dip shit

2005-05-18 Thread Rory Browne
> I didn't say anything about approval before delivery, and I really can't > see how an active moderator would screw up the list. You mean having > someone around who can remove email addresses subscribed to the list > that generate bounces would be a bad thing? Fair enough. That just wasn't my

Re: [PHP] hey dip shit

2005-05-18 Thread Rory Browne
> > Hell, I'll do it...if there are no objections from the established list > > members (like that will happen ;) > > John has my vote for what it's worth :) Ah why not? The man has a vision. /me seconds Jochams vote for John. > > > > > -- > PHP General Mailing List (http://www.php.net/) > To

Re: [PHP] Jakarta Tomcat and PHP

2005-05-18 Thread Rory Browne
I don't know if you checked out www.php.net/java but it seems to be what you're looking for. On 5/18/05, Evert | Rooftop <[EMAIL PROTECTED]> wrote: > My guess would be looking for how to use PHP as a CGI in tomcat. So > check out the manual for CGI stuff. > > grt, > Evert > > Chris Holden wrote:

Re: [PHP] Sending a string with $_POST/$_GET

2005-05-18 Thread Rory Browne
You don't set $_GET variables, like $_GET['name'] = whaever and expect to do something along the lines of echo $_GET['name'] in another page. To assign a value as a GET variable on another page, then you make the url of the other page whatever.php?name=value Then in whatever.php you can do someth

Re: [PHP] Responses in my email.

2005-05-18 Thread Rory Browne
This is primarly a mailing list. Not a news group. The whole idea of a mailing list is that you get every message mailed to you. If you don't want this then unsubscribe. You could always filter out any email sent to php-general, or containing the term [PHP] in the subject. On 5/18/05, Robert Me

Re: [PHP] Image Verification - Problems in Safari, Mac OS X

2005-05-19 Thread Rory Browne
if you have an image generated by http://www.example.com/createimage.php , you could always refer to it as http://www.example.com/createimage.php/{no_of_seconds_since_unix_epoch}.png On 5/19/05, Rahul S. Johari <[EMAIL PROTECTED]> wrote: > > On 5/19/05 10:59 AM, "Murray @ PlanetThoughtful" > <[EM

Re: [PHP] How to confirm subscriptions by e-mail on a PHP site ?

2005-05-20 Thread Rory Browne
You can either email them an URL containing an activation code, which would have them activate in their browser. If you don't understand the terms .forwared, or MTA, you should probably either learn more about them or skip to the third paragraph. If you want them to activate using their email clie

Re: [PHP] ZEND Certification

2005-05-20 Thread Rory Browne
On 5/20/05, Martin Zvarik <[EMAIL PROTECTED]> wrote: > Hi, > > anyone has taken ZEND PHP Certification Exam??? Yes. Loads of people here have taken it. Loads of other people here set the questions. > Please can you give me some information about it? I'm sure you'll get lots of useful and encoura

Re: [PHP] Can I prevent Server variables from being spoofed ?

2005-05-20 Thread Rory Browne
Not only can the user agent string be easly spoofed, but as a result of its abuse by certain webmasters(mostly Banks) Browsers such as Opera, and I believe Konqueror, have a setting that allows you to change the user agent string as a configuration option. The UserAgent is a hint. It is most defin

Re: [PHP] SMarty and commercial php (a little 0t)

2005-05-21 Thread Rory Browne
> I was wondering if its a good idea to template via smarty and include smarty > with my code? > also instructions to setup smarty when setting up the application i made? Good idea compared to what? Compared to a different templating library, compared to writing your own templating library, or com

Re: [PHP] SMarty and commercial php (a little 0t)

2005-05-21 Thread Rory Browne
> Yep, left myself quite open there...should have been more specific. > I will not write a templating library myself because there are so many > out there, > it would be a learning experience of course but other than that I think it > would be > rarely needed. > I meant bundling it along with t

Re: [PHP] ZEND Certification

2005-05-21 Thread Rory Browne
more complicated questions are usually answered here. All quoting the above sentence indicates is that not everyone here is experienced. Everyone has to start somewhere, and this list encourages learning, as well as black-voodoo-magic-trick swapping. > > I have looked at yellow pages, see

Re: [PHP] Search problem

2005-05-21 Thread Rory Browne
On 5/21/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > I need to build up a search module for a shop. If I make a basic search > (product title for example) it is ok. > > $query = "SELECT product_id FROM products WHERE title LIKE '%$title%'"; > > But i need an advance search for mor

Re: [PHP] PHP 5...

2006-07-11 Thread Rory Browne
Unless there is some specific reason that you need this code to run on both php4 and php5, then inform your boss/admin that the idea of developing on php5, to deploy on php4 is nuts. If they disagree inform them that they are personally nuts( tell them some guy on the internet said so ). It may b

Re: [PHP] Basic PHP knowledge test

2006-07-19 Thread Rory Browne
On 7/19/06, KermodeBear <[EMAIL PROTECTED]> wrote: > Does anyone have any links/resources for a > basic php knowledge test? If not, I'll have to > write one from scratch myself, and mess up the > rest of my day of goofing off/sleeping. It wouldn't hurt to pick up one of those Zend PHP Certific

Re: [PHP] Efficiency question

2006-07-26 Thread Rory Browne
For something like that that, unless you are doing it inside a loop, I wouldn't really worry about efficiency as much as I would about security On 7/26/06, Paul Scott <[EMAIL PROTECTED]> wrote: I have googled around a bit, but not really found anything useful... Which is more efficient? A cas

[PHP] HTTP_WebDAV_Server problems

2006-07-30 Thread Rory Browne
Hello All I'm trying to get a WebDAV server set up using PEAR::HTTP_WebDAV_Server, but so far I'm having little success. All I could get from the 11 Slides was that the Class had to be subclassed, and the methods overloaded, to provide the functionality. I gathered from the source-code, that I

Re: [PHP] Re: Is this really a pdf?

2006-08-07 Thread Rory Browne
On 8/7/06, Colin Guthrie <[EMAIL PROTECTED]> wrote: Sjef wrote: > Is it possible to recognize if a file for upload really is a pdf (like the > function getimagesize retuns the file type of the image)? If you have a suitible mime.magic file, and your PHP has the functionality built into it, you

[PHP] Espanol en esto lista

2006-08-16 Thread Rory Browne
No tengo bastante espanol para decir lo que quiero decir aqui correctimente, pero hay lista php-general-es para los mesajes espanol. ( I don't have enough spanish to say what I want to say here correctly, but there is a php-general-es list for spanish messages. ) Eso lista es para los mesajes en

Re: [PHP] Espanol en esto lista

2006-08-16 Thread Rory Browne
ng if there is any list in Spanish he can join. But I might be wrong :) -Original Message- From: Dave Goodchild [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 16, 2006 5:20 PM To: Rory Browne Cc: php-general@lists.php.net Subject: Re: [PHP] Espanol en esto lista > > Hablo espanol,

Re: [PHP] Espanol en esto lista

2006-08-16 Thread Rory Browne
ailto:[EMAIL PROTECTED] > Sent: Wednesday, August 16, 2006 5:20 PM > To: Rory Browne > Cc: php-general@lists.php.net > Subject: Re: [PHP] Espanol en esto lista > >> Hablo espanol, pero lo que Rory dice es verdad, hay otra lista en espanol. >> Pero, si quieres, you tratare en

Re: [PHP] php-general mailing list active?

2006-08-22 Thread Rory Browne
Check out lists.php.net On 8/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Would someone kindly let me know if there is activity on > [EMAIL PROTECTED] I have not gotten posts for a few days now, > and I'm having no luck connecting to the help, owner or admin addresses. Thanks Jochem,

Re: [PHP] OT - PHP Hosting Service in UK?

2006-09-05 Thread Rory Browne
> > Why? If they're not hosting it in-house, why does it matter where on > the globe it is? Request latency due to distance and intermediate hops. The shorter the distance and fewer hops the faster those little images, stylesheets, and various other embedded media will load. This won't be very n

Re: [PHP] Accessing .mdb Ms Access file from Linux without ODBC

2006-09-07 Thread Rory Browne
what does this have to do with PHP? I would assume that he's trying to do it on Linux through PHP. http://mdbtools.sourceforge.net/ http://pecl.php.net/package/mdbtools

Re: [PHP] Help converting C to PHP

2006-09-22 Thread Rory Browne
On 9/22/06, Kevin Waterson <[EMAIL PROTECTED]> wrote: This one time, at band camp, "Curt Zirzow" <[EMAIL PROTECTED]> wrote: > what about using: > php.net/pi > > note the precision description. > > or are we talking about a different pi. The goal of the codegolf.com challenge is to print pi t

  1   2   3   4   >