Re: [PHP] multiselects and arrays

2001-05-10 Thread Toby Miller
You can use javascript with this naming convention, just not the way you're probably doing it. Here's a working example: html head title/title /head body script language=javascript type=text/javascript function getValue(field) { var form = document.testform; var temp =

Re: [PHP] forcing upload instead of showing doc

2001-05-08 Thread Toby Miller
I use this code: header(Content-Type: $filetype); header(Content-Disposition: atachment; filename=$showfilename); header(Content-Length: $filesize); readfile($source); Note the mispelling of atachment. This seems wrong but is actually the correct spelling for IE, Netscape doesn't seem to mind

Re: [PHP] Please review our coding standards [ ideas ]

2001-05-01 Thread Toby Miller
What I always do would probably fill both needs. My filenames usually look like this: URL Files - can be accessed directly through the browser filename.php - Normal PHP files Non-URL Files - are hidden from the browser either by means of .htaccess or by

Re: [PHP] Site Structure

2001-04-23 Thread Toby Miller
Jordan, Not true. If you make your PHP includes look like this: include($DOCUMENT_ROOT/includes/header.inc); Then you can make your image calls with an absolute URL like this: img src=/images/image.gif width=10 height=10 border=0 Also, it's not a good idea to use the .inc extension unless

Re: [PHP] Site Structure

2001-04-23 Thread Toby Miller
interpreter (which bypasses the situation because the first condition is no longer being met). I'm really curious to see how other developers handle these kind of development situations. - Original Message - From: indrek siitan [EMAIL PROTECTED] To: Toby Miller [EMAIL PROTECTED]; Jordan Elver

Re: [PHP] SSL SSL SSL SSL -- READ THIS!!!!!!

2001-04-18 Thread Toby Miller
- Original Message - From: "phpman" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, April 17, 2001 4:55 PM Subject: [PHP] SSL SSL SSL SSL -- READ THIS!! How do I establish an SSL socket connection with PHP? I have PHP compiled in an Apache Mod_SSL server. Do I need to

Re: [PHP] mySQL Question....

2001-04-18 Thread Toby Miller
How about actually using distinct? SELECT DISTINCT(email_addr) FROM myTable WHERE x = 1 --Toby - Original Message - From: "Jason Caldwell" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 18, 2001 1:47 AM Subject: [PHP] mySQL Question if i perform a SELECT query

Re: [PHP] Terrible Hosting Experience

2001-02-21 Thread Toby Miller
Here's another story to use as an "I told you so" if you choose to try them anyway. CI Host. We have been hosting with them for almost two years now. The only reason we never left was because we couldn't find anyone else offering the same redundant connections that we could actually verify. A

[PHP] HTTP Authentication not getting unset

2001-02-14 Thread Toby Miller
Hey all, New problem. I really hope there's something simple to do to fix it. Check out this scenario and tell me if there's a step that I'm missing. Inside my common footer on my site the very first call is to an include called UserAuth.inc.php. UserAuth.inc.php checks $REQUEST_URI to see

Re: [PHP] HTTP Authentication not getting unset

2001-02-14 Thread Toby Miller
Sorry, I meant common header, not footer. Inside my common "header" on my site .. (which also includes the same "header") ... - Original Message - From: "Toby Miller" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 14, 200

Re: [PHP] HTTP Authentication not getting unset

2001-02-14 Thread Toby Miller
rrent time() This would prevent anyone from viewing cached pages more then 30min old and force them to re-login -- Chris Lee Mediawaveonline.com em. [EMAIL PROTECTED] ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 ""Toby Miller"" [EMAIL PROTECTED]

[PHP] Re: [PHP-WIN] Re: [PHP] RE: [PHP-WIN] MSSQL Functions

2001-02-08 Thread Toby Miller
with the ODBC functions. Thanks a lot, Toby - Original Message - From: "Frank M. Kromann" [EMAIL PROTECTED] To: "Flint Doungchak" [EMAIL PROTECTED] Cc: "'Toby Miller'" [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, February 07, 2001 7:29

[PHP] MSSQL Functions

2001-02-07 Thread Toby Miller
Hey all, I've got a question about using the MSSQL Functions. The only way I've been able to use them is to install Microsoft SQL Client on the web server. Is there any way to get around this to use the MSSQL Functions without installing a copy of Microsoft SQL Client? Right now I am using

[PHP] Off Subject, but can't find any info elsewhere

2001-02-02 Thread Toby Miller
Web Developers, I know this has nothing to do with PHP, but some bright minds out there might have run across it. It's about Netscape 6 mouseovers. I've read elsewhere that Netscape 6 has problems with preloading images. I have confirmed this time and time again, but have not been able to

Re: [PHP] Tab character

2001-02-01 Thread Toby Miller
Yes, and here are others which came from the following URL: http://www.php.net/manual/en/pcre.pattern.syntax.php \a = alarm, that is, the BEL character (hex 07) \cx = "control-x", where x is any character \e = escape (hex 1B) \f = formfeed (hex 0C) \n = newline (hex 0A) \r = carriage return (hex

Re: [PHP] neat html output

2001-01-31 Thread Toby Miller
Mark, The closest way that I know of to accomplish this is to print them more like you would HTML. So in other words, you can do this: ?php print ' html head title$title/title /head body $content /body /html '; ? or like this: html head title?php print $title ?/title /head body ?php print

[PHP] $DOCUMENT_ROOT

2001-01-29 Thread Toby Miller
Whenever I include files in Apache I always do it like this: include($DOCUMENT_ROOT."/folder/file.php"); However, now I am doing a site in IIS and I do not have $DOCUMENT_ROOT at my disposal. What do most of you usually do to workaround this? Aside from installing Apache and Linux and

Re: [PHP] Quick Shipping

2001-01-22 Thread Toby Miller
Dave, This guy wrote a class to figure out UPS shipping rates. You might be able to start with it. Just go to the CODE section. I found it through Google.com. http://www.brogdon.net/~darrell/ Toby - Original Message - From: "Dave M." [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [PHP] looking for a PHP editor

2001-01-10 Thread Toby Miller
The editors that I usually use are Textpad and Jedit. I usually use Textpad as it's my favorite editor. Jedit is very similar to Textpad which is why it's my second favorite editor. The bonus of using Jedit is that it's written entirely in Java so it also runs in Linux (quite well too). You can