RE: [PHP] Make text a submit button?

2001-05-03 Thread Sander Pilon
a href=javascript:document.forms[0].submit()bleh/a Or something very similar. See the form.submit() function in your favorite Javacsript manual. -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: 3 May 2001 18:09 To: PHP User Group Subject: [PHP] Make text

RE: [PHP] Which is better coding style...

2001-04-19 Thread Sander Pilon
Definitely the second style :) (If we were talking about C(++) then the first would have even been forbidden by my companies coding standard as well as several coding standards of other companies I worked for.) The reason is this - a function has one entrypoint (duh) and one exitpoint. Jumping

RE: [PHP] What's XML's Purpose??

2001-04-15 Thread Sander Pilon
XML, IMHO, can best be regarded as a layer between the real data and the application. We used to make up new formats for allmost every type of data exchange. Every type had its own format, its own parser, and because of that the same mistakes were made over and over again. Some formats weren't

RE: [PHP] Forcing htaccess login again

2001-02-26 Thread Sander Pilon
The request for a password is usually generated by a 401 header. Just do this - Header("WWW-authenticate: basic realm=\"Some realm\""); Header("HTTP/1.1 401 Unauthorized"); exit; That should pop up a box. Just make sure you check the values of $PHP_AUTH_USER/PW first before presenting those

RE: [PHP] Display progress in browser using flush(); IE versus NS

2001-01-26 Thread Sander Pilon
Netrape supports multipart documents. Read up on your mime types and encodings, and use that to create a nice progressbar in netscape :) -Original Message- From: Chris Lee [mailto:[EMAIL PROTECTED]] Sent: 26 January 2001 23:53 To: [EMAIL PROTECTED] Subject: Re: [PHP] Display

RE: [PHP] Display progress in browser using flush(); IE versus NS

2001-01-26 Thread Sander Pilon
Look here - http://home.netscape.com/assist/net_sites/mozilla/index.html (That is not an animated gif) http://home.netscape.com/assist/net_sites/pushpull.html It only works in netscape (so far), but hey... you can't forget the two remaining people on the planet that actually use it, right?

RE: [PHP] Zend hit (Encoder price)

2001-01-25 Thread Sander Pilon
Hello, What do you think about Zend position? http://php.weblogs.com/ http://zend.com/phorum/read.php?num=3id=6277loc=0thread=6277 I think that if Zend wants to sell it for $6000, then they have all right to. These guys have worked hard, and they deserve some cash for it. If people

RE: [PHP] RE: url hide

2001-01-23 Thread Sander Pilon
Perhaps not related to php but I was wandering, is it possible to hide site's real url and replace it with something else (some other URL). ie. someone clicks on a link on www.blah.co.uk which takes the user to an designated area (ie. /house-search/) on www.foo.co.uk.

RE: [PHP] Dynamic 'left menu's' on site: Like a windows explorer system???

2001-01-11 Thread Sander Pilon
Hi, I need to change my static left menu's into more dynamic ones, like when you click one title of the menu, it shows it sub menu etc. Any body knows if that can be achieved using PHP? Or should i repel on other techniques? If someone did make similar stuff, could you please send me