Re: [PHP] munge / obfuscate ?

2008-03-27 Thread Robert Cummings
On Thu, 2008-03-27 at 22:48 -0700, robert wrote: > I like this and never would have thought to do this. > > What kind performance hit does this have, if there were 100 images, > for example? Well... it would be like requesting 101 PHP pages :/ It would be heavy. It's not something I'd generally

Re: [PHP] munge / obfuscate ?

2008-03-27 Thread robert
I like this and never would have thought to do this. What kind performance hit does this have, if there were 100 images, for example? On Mar 27, 2008, at 7:02 PM, Robert Cummings wrote: Hi Joey, Please keep responses on the list so others can also benefit from the learning process. Comm

Re: [PHP] munge / obfuscate ?

2008-03-27 Thread Robert Cummings
On Thu, 2008-03-27 at 22:36 -0400, Bastien Koert wrote: > On Thu, Mar 27, 2008 at 9:10 PM, Joey <[EMAIL PROTECTED]> 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 o

Re: [PHP] Re: Quick email address check

2008-03-27 Thread Bastien Koert
On Thu, Mar 27, 2008 at 10:23 PM, Bill Guion <[EMAIL PROTECTED]> wrote: > At 1:28 PM -0400 3/26/08, Al wrote: > > >I'm scripting a simple registry where the user can input their name > >and email address. > > > >I'd like to do a quick validity check on the email address they just > >inputted. I ca

Re: [PHP] munge / obfuscate ?

2008-03-27 Thread Bastien Koert
On Thu, Mar 27, 2008 at 9:10 PM, Joey <[EMAIL PROTECTED]> 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 pers

[PHP] Re: Quick email address check

2008-03-27 Thread Bill Guion
At 1:28 PM -0400 3/26/08, Al wrote: I'm scripting a simple registry where the user can input their name and email address. I'd like to do a quick validity check on the email address they just inputted. I can check the syntax, etc. but want check if the address exists. I realize that servers

[PHP] Re: munge / obfuscate ?

2008-03-27 Thread Colin Guthrie
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

RE: [PHP] munge / obfuscate ?

2008-03-27 Thread Robert Cummings
Hi Joey, Please keep responses on the list so others can also benefit from the learning process. Comments below... On Thu, 2008-03-27 at 21:46 -0400, Joey wrote: > > -Original Message- > > From: Robert Cummings [mailto:[EMAIL PROTECTED] > > Sent: Thursday, March 27, 2008 9:28 PM > > To:

Re: [PHP] How to install PHP 5.x on Windows Server 2000 with IIS 5 and MySQL 5.x

2008-03-27 Thread Shelley
On Thu, Mar 27, 2008 at 10:44 PM, Philip Thompson <[EMAIL PROTECTED]> wrote: > On Mar 27, 2008, at 8:24 AM, [EMAIL PROTECTED] wrote: > > > Hello to All, > > > > Would you mind to help as the title of mail ? > > > > Thanks ! > > > > Edward. > > > > > Ok, I understand that sometimes people *have* to

Re: [PHP] munge / obfuscate ?

2008-03-27 Thread Robert Cummings
On Thu, 2008-03-27 at 21:10 -0400, 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

[PHP] munge / obfuscate ?

2008-03-27 Thread Joey
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 am trying to munge/obfuscate the

Re: [PHP] php_mssql.so

2008-03-27 Thread Chris
Liz Kim wrote: Maybe I could just compile it on a test machine and copy the .so file over to the working server. Would there be any incompatibility issues there? If and only if: - They are the same architecture (they both have to be i386 for example, one can't be an amd-64 and the other be a

Re: [PHP] php_mssql.so

2008-03-27 Thread Alfredo CV
Hola Liz You should go to http://rpm.pbone.net and search for php-mssql. In fact I did it;and there you will find the php-mssql packages for both RedHat 5 and RedHat 4 and for i386 and X86_64 and even for many other linux distributions. I upgraded my mysql to 5.0.2 and my php to 5.0.3 runnin

Re: [PHP] php_mssql.so

2008-03-27 Thread Liz Kim
Maybe I could just compile it on a test machine and copy the .so file over to the working server. Would there be any incompatibility issues there? Where could I download PHP 5.1.6? I am only able to see 5.2.5 and 4.4.8 on php.net... Thank you! On Thu, Mar 27, 2008 at 4:36 PM, Chris <[EMAIL PROTE

Re: [PHP] php_mssql.so

2008-03-27 Thread Chris
Liz Kim wrote: We have a set of PHP files which uses "dl()" to load the extension "php_mssql.so" at runtime. These were running on a server with PHP 4.3.9 and have been recently moved to a new server with PHP 5.1.6 (both RedHat). I have tried to simply copy the file "php_mssql.so" file to the dir

[PHP] php_mssql.so

2008-03-27 Thread Liz Kim
We have a set of PHP files which uses "dl()" to load the extension "php_mssql.so" at runtime. These were running on a server with PHP 4.3.9 and have been recently moved to a new server with PHP 5.1.6 (both RedHat). I have tried to simply copy the file "php_mssql.so" file to the directory of PHP mod

Re: [PHP] Developing existing java portal in php

2008-03-27 Thread ganu
On Thu, Mar 27, 2008 at 7:52 AM, Sangamesh B <[EMAIL PROTECTED]> wrote: > Hi all, > > Here is one web portal product which is already developed using java > tools. > I don't know java, php or perl. But I can learn php quickly compared to > java. Learning PHP,Perl is very easy as compare to Java.

[PHP] Having problems with XMLDocument

2008-03-27 Thread Christoph Boget
What is wrong with the following code? It's throwing a DOMException when I try to set the id attribute for the $lvl1Node but I can't see why... $doc = new DOMDocument('1.0', 'UTF-8'); $root = $doc->appendChild( $doc->createElement( 'root' )); for( $a = 0; $a <= 3; $a++ ) { $lvl_1_id =

Re: [PHP] Possible using XPath?

2008-03-27 Thread Robin Vickery
On 27/03/2008, Christoph Boget <[EMAIL PROTECTED]> wrote: > > > Is that possible? Or is this something I'd have to do programatically > > > using the nodes returned by the XPath query? Basically, I'm just > > > trying to get a fragment of the larger xml document... > > //[EMAIL PROTECTE

Re: [PHP] Re: optimilize web page loading

2008-03-27 Thread Eric Butera
On Thu, Mar 27, 2008 at 12:41 PM, Peter Ford <[EMAIL PROTECTED]> wrote: > > Jason Pruim wrote: > > > > On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote: > >> Al wrote: > >>> Good point. I usually do use the single quotes, just happened to key > >>> doubles for the email. > >>> > >>> Actua

Re: [PHP] Possible using XPath?

2008-03-27 Thread Christoph Boget
> > Is that possible? Or is this something I'd have to do programatically > > using the nodes returned by the XPath query? Basically, I'm just > > trying to get a fragment of the larger xml document... > //[EMAIL PROTECTED]'gc3']/child/ancestor-or-self::* Thanks for the response. However

Re: [PHP] Re: optimilize web page loading

2008-03-27 Thread Peter Ford
Jason Pruim wrote: On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote: Al wrote: Good point. I usually do use the single quotes, just happened to key doubles for the email. Actually, it's good idea for all variable assignments. Philip Thompson wrote: On Mar 26, 2008, at 6:28 PM, Al wrote:

Re: [PHP] Possible using XPath?

2008-03-27 Thread Robin Vickery
On 27/03/2008, Christoph Boget <[EMAIL PROTECTED]> wrote: > Let's say I have the following structure: > > > > > > > > > > > >

[PHP] Possible using XPath?

2008-03-27 Thread Christoph Boget
Let's say I have the following structure:

Re: [PHP] Re: optimilize web page loading

2008-03-27 Thread tedd
At 10:21 AM -0500 3/27/08, Shawn McKenzie wrote: I would assume your 2 examples to be the same because the point is that the PHP interpreter must parse for vars to substitute when it encounters double-quotes whether there are any vars in it or not. With single-quotes the interpreter does not ha

Re: [PHP] Re: optimilize web page loading

2008-03-27 Thread Shawn McKenzie
Shawn McKenzie wrote: > Jason Pruim wrote: >> On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote: >>> Al wrote: Good point. I usually do use the single quotes, just happened to key doubles for the email. Actually, it's good idea for all variable assignments. Philip Th

Re: [PHP] Re: optimilize web page loading

2008-03-27 Thread Shawn McKenzie
Jason Pruim wrote: > > On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote: >> Al wrote: >>> Good point. I usually do use the single quotes, just happened to key >>> doubles for the email. >>> >>> Actually, it's good idea for all variable assignments. >>> >>> Philip Thompson wrote: On Mar 26,

Re: [PHP] Re: optimilize web page loading

2008-03-27 Thread Jason Pruim
On Mar 27, 2008, at 11:05 AM, Shawn McKenzie wrote: Al wrote: Good point. I usually do use the single quotes, just happened to key doubles for the email. Actually, it's good idea for all variable assignments. Philip Thompson wrote: On Mar 26, 2008, at 6:28 PM, Al wrote: Depends on the serv

Re: [PHP] Developing existing java portal in php

2008-03-27 Thread Wolf
Sangamesh B <[EMAIL PROTECTED]> wrote: > Hi all, > > Here is one web portal product which is already developed using java tools. > I don't know java, php or perl. But I can learn php quickly compared to > java. > > My question is: Is it possible to develop such web portal using php & html?

Re: [PHP] Re: optimilize web page loading

2008-03-27 Thread Shawn McKenzie
Al wrote: > Good point. I usually do use the single quotes, just happened to key > doubles for the email. > > Actually, it's good idea for all variable assignments. > > Philip Thompson wrote: >> On Mar 26, 2008, at 6:28 PM, Al wrote: >>> Depends on the server and it's load. I've strung together

Re: [PHP] WAMP servers

2008-03-27 Thread Shawn McKenzie
Bastien Koert wrote: > On Thu, Mar 27, 2008 at 9:40 AM, Rod Clay <[EMAIL PROTECTED]> wrote: > >> Hello. Does anyone use a WAMP server? And, if so, have you found one >> to be better than another? >> >> I am using a WAMP server entitled, aptly enough, WampServer (formerly >> WAMP5). In the few w

Re: [PHP] Re: optimilize web page loading

2008-03-27 Thread Al
Good point. I usually do use the single quotes, just happened to key doubles for the email. Actually, it's good idea for all variable assignments. Philip Thompson wrote: On Mar 26, 2008, at 6:28 PM, Al wrote: Depends on the server and it's load. I've strung together some rather large html s

Re: [PHP] How to install PHP 5.x on Windows Server 2000 with IIS 5and MySQL 5.x

2008-03-27 Thread Shawn McKenzie
Paul Scott wrote: > On Thu, 2008-03-27 at 10:32 -0400, Wolf wrote: >> I'd suggest going with a real operating system (linux) which keeps patches >> updated quicker... >> > > As much of a Free Software advocate as I am, that is not the answer to > the question. That being said, however, I would re

[PHP] Developing existing java portal in php

2008-03-27 Thread Sangamesh B
Hi all, Here is one web portal product which is already developed using java tools. I don't know java, php or perl. But I can learn php quickly compared to java. My question is: Is it possible to develop such web portal using php & html? Let me explain how the java portal/product works: The use

Re: [PHP] WAMP servers

2008-03-27 Thread Haig Dedeyan
http://apache2triad.net/ is also good. Haig Ashley M. Kirchner wrote: Rod Clay wrote: Hello. Does anyone use a WAMP server? And, if so, have you found one to be better than another? I am using a WAMP server entitled, aptly enough, WampServer (formerly WAMP5). In the few weeks I have be

Re: [PHP] How to install PHP 5.x on Windows Server 2000 with IIS 5 and MySQL 5.x

2008-03-27 Thread Philip Thompson
On Mar 27, 2008, at 8:24 AM, [EMAIL PROTECTED] wrote: Hello to All, Would you mind to help as the title of mail ? Thanks ! Edward. Ok, I understand that sometimes people *have* to use a certain OS, but I would not use IIS - Apache is your friend. As far as your question goes... have you

Re: [PHP] How to install PHP 5.x on Windows Server 2000 with IIS 5 and MySQL 5.x

2008-03-27 Thread Paul Scott
On Thu, 2008-03-27 at 10:32 -0400, Wolf wrote: > I'd suggest going with a real operating system (linux) which keeps patches > updated quicker... > As much of a Free Software advocate as I am, that is not the answer to the question. That being said, however, I would replace the IIS with Apache2

Re: [PHP] How to install PHP 5.x on Windows Server 2000 with IIS 5 and MySQL 5.x

2008-03-27 Thread Wolf
[EMAIL PROTECTED] wrote: > Hello to All, > > Would you mind to help as the title of mail ? > > Thanks ! > > Edward. > What problems are you having? Have you read the Manual yet? I'd suggest going with a real operating system (linux) which keeps patches updated quicker... Wolf -- PH

Re: [PHP] WAMP servers

2008-03-27 Thread Ashley M. Kirchner
Rod Clay wrote: Hello. Does anyone use a WAMP server? And, if so, have you found one to be better than another? I am using a WAMP server entitled, aptly enough, WampServer (formerly WAMP5). In the few weeks I have been using it, I frequently get messages that a certain library or routine c

Re: [PHP] Re: optimilize web page loading

2008-03-27 Thread Philip Thompson
On Mar 26, 2008, at 6:28 PM, Al wrote: Depends on the server and it's load. I've strung together some rather large html strings and they aways take far less time than the transient time on the internet. I used to use OB extensively until one day I took the time to measure the difference. I

Re: [PHP] WAMP servers

2008-03-27 Thread Bastien Koert
On Thu, Mar 27, 2008 at 9:40 AM, Rod Clay <[EMAIL PROTECTED]> wrote: > Hello. Does anyone use a WAMP server? And, if so, have you found one > to be better than another? > > I am using a WAMP server entitled, aptly enough, WampServer (formerly > WAMP5). In the few weeks I have been using it, I f

[PHP] WAMP servers

2008-03-27 Thread Rod Clay
Hello. Does anyone use a WAMP server? And, if so, have you found one to be better than another? I am using a WAMP server entitled, aptly enough, WampServer (formerly WAMP5). In the few weeks I have been using it, I frequently get messages that a certain library or routine cannot be found.

[PHP] How to install PHP 5.x on Windows Server 2000 with IIS 5 and MySQL 5.x

2008-03-27 Thread edwardspl
Hello to All, Would you mind to help as the title of mail ? Thanks ! Edward. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pattern etc to reduce duplicated validation?

2008-03-27 Thread Eric Butera
On Thu, Mar 27, 2008 at 5:36 AM, David Lidstone <[EMAIL PROTECTED]> wrote: > Hi All > > I seem to be writing a lot of this: > > > // SCRIPT = > $var = $_POST['var']; > > // validate $var > > $foo = new foo; > $foo->setBar($var); > > > // CLASS == > class foo

Re: [PHP] Re: Quick email address check

2008-03-27 Thread Richard Heyes
All good suggestions guys. Richard's has the advantage of solving the potential for a delay by the user's email server. I'll have the user submit and tell'm to wait while I check the email address for them. Solves several problems. Al wrote: I'm scripting a simple registry where the user can

[PHP] Re: Pattern etc to reduce duplicated validation?

2008-03-27 Thread Peter Ford
David Lidstone wrote: Hi All I seem to be writing a lot of this: // SCRIPT = $var = $_POST['var']; // validate $var $foo = new foo; $foo->setBar($var); // CLASS == class foo { public function setBar($var) { // validate $var } } As you can s

[PHP] Pattern etc to reduce duplicated validation?

2008-03-27 Thread David Lidstone
Hi All I seem to be writing a lot of this: // SCRIPT = $var = $_POST['var']; // validate $var $foo = new foo; $foo->setBar($var); // CLASS == class foo { public function setBar($var) { // validate $var } } As you can see, the "issue" is that

Re: [PHP] Re: optimilize web page loading

2008-03-27 Thread jeffry s
On Thu, Mar 27, 2008 at 7:28 AM, Al <[EMAIL PROTECTED]> wrote: > Depends on the server and it's load. I've strung together some rather > large html strings and they > aways take far less time than the transient time on the internet. I used > to use OB extensively until > one day I took the time t

Re: [PHP] Re: Quick email address check

2008-03-27 Thread Tom Chubb
Can anyone recommend anything that would be good to use on an existing mailing list that is a few years old and didn't have any bounce handling? On 27/03/2008, Manuel Lemos <[EMAIL PROTECTED]> wrote: > > Hello, > > on 03/26/2008 02:28 PM Al said the following: > > I'm scripting a simple registry w