RE: [PHP] Make text a submit button?

2001-05-03 Thread Sander Pilon
bleh 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 a submit button? > > > Hello, > > I am

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 o

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 ex

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 head

RE: [PHP] HTTP compression

2001-02-04 Thread Sander Pilon
> Sean, > > Thanks, I see. How about headers ? Do they need to be compressed, too; in > other words, do headers "belong" to the output ? How about RTFR? :) (Read the .. RFC.) Really, when you've read http://www.faqs.org/rfcs/rfc2616.html you'll be able to understand a lot more about how htt

RE: [PHP] HTTP compression

2001-02-04 Thread Sander Pilon
Check the http 1.1 rfc - http://www.faqs.org/rfcs/rfc2616.html It links to the gzip file format rfc - http://www.faqs.org/rfcs/rfc1952.html > -Original Message- > From: Carsten Gehling [mailto:[EMAIL PROTECTED]] > Sent: 4 February 2001 19:19 > To: [EMAIL PROTECTED] > Subject: Re: [PHP]

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] 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 pro

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=3&id=6277&loc=0&thread=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 pe

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-sear

RE: [PHP] Search Engines and PHP

2001-01-23 Thread Sander Pilon
> > >If you want to be totally searchengine-safe, do not use variables on the > >url, do not rely on cookies and do not rely on POST variables > for the pages > >you want to have the searchengine spider. > > How the heck do you build a dynamic site without URL variables, > cookies, or POST variabl

RE: [PHP] Search Engines and PHP

2001-01-22 Thread Sander Pilon
> > I was wondering if anyone can enlighten me about the ability of search > engines to read and list PHP pages. I have been told that because PHP > produces a dynamic html page (i.e. one that possibly outputs > different HTML > for each hit or request) that they are not easily added to search en

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 se