RE: [PHP] php4apache.dll...

2002-07-12 Thread Bruce Karstedt

I got it when I downloaded 4.2.1 if you can't find it I'll e-mail you a
copy.

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-Original Message-
From: Peter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 1:22 AM
To: php_gen
Subject: [PHP] php4apache.dll...
Importance: Low


Howdy

can any one remember where to get the apache2 ver of php4apache.dll?

Cheers

Peter
the only dumb question is the one that wasn't asked



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Win98, Apache, PHP Config Problem

2002-07-01 Thread Bruce Karstedt

Just went through - versions please?

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 8:53 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Win98, Apache, PHP Config Problem
Importance: Low


Good morning!

Over the weekend I attempted to set up another test platform on a Win98
laptop, running Apache as the server and MySQL as the database engine. Just
want to use it for some testing locally. No matter what I attempted I could
not get PHP to work. I followed suggestions from;

http://www.php.net/manual/en/install.windows.php

I tried some other experiments, and finally gave up. I would either get file
not found messages, or a server error. Has anyone ever done this kind of
install, and if so, is there something I can do to get it working? If not I
am going to install Linux on the laptop.

Thanks!

Jay



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Getting IP from behind proxies

2002-06-30 Thread Bruce Karstedt

Why not create a cookie for that poll. When the vote check for the cookie.
Unless a user clears the cookie himself, you basically limit votes to one
per computer or one per computer per user.

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 29, 2002 10:34 PM
To: JJ Harrison
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Getting IP from behind proxies
Importance: Low


You need to assign each person a unique identifier of some sort.  ie.
assign them a login and password and verify that information by sending a
message to their email address.  Then only people with multiple email
addresses can spam your system with votes.

Beyond that it comes down to verifying each voter manually.  Get a phone
number and call each one up.  Even that is not quite foolproof.

Personal certificates might be an option here, but that is rather
cumbersome for everyone involved.

Basically there is no good solution for this problem.  Until everyone in
the world has a unique and non-spoofable, easily verifiable id number,
what you are trying to do is impossible.

Basically live with the fact that your voting system will be inaccurate
and spoofable.

-Rasmus

On Sun, 30 Jun 2002, JJ Harrison wrote:

 what esle could i use?
 Rasmus Lerdorf [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  You can only get it if the proxy provides you with this data.  Most
don't,
  so this is not a reliable approach.
 
  -Rasmus
 
  On Sat, 29 Jun 2002, JJ Harrison wrote:
 
   I want to check to see if people have voted yet for a poll.
  
   How can I get the ip of a user from both behind a proxy and the
proxies
 ip?
  
   is this simple?
  
   will i have trouble with firewalls etc?
  
  
   --
   JJ Harrison
   [EMAIL PROTECTED]
   www.tececo.com
  
  
  
   --
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, visit: http://www.php.net/unsub.php
  
 



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] pop-up windows

2002-06-30 Thread Bruce Karstedt

Here ! Here ! Everyone's time is valuable, and therefore the more we all
respect each other's time and opinions, the more valuable a resource this
will become.

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 30, 2002 2:45 AM
To: Kevin Stone; [EMAIL PROTECTED]
Subject: Re: [PHP] pop-up windows
Importance: Low


on 29/06/02 2:53 AM, Kevin Stone ([EMAIL PROTECTED]) wrote:

 John I hate to critisize you since you are one of the most active members
on
 this list.  But are these types of comments really useful?
 -Kevin

No, I'm with John on this one.  I'd say I type no, JavaScript is
client-side, and PHP is server side around 20 times a week to this list,
and that's only when I can be bothered.

Searching for pop-up in the archives would have solved the writers problem
in about 2 minutes.

For this group to maintain it's worth, we need to encourage users to do a
LITTLE research before asking obvious questions, and we need to discourage
people wasting our time with repetitive questions, or those who clearly
subscribe to the but it's so easy to just send an email and wait to be
flamed mentality.


Regards,

Justin French


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] PHP with CSS

2002-06-30 Thread Bruce Karstedt

Quick question?

Is their anything in Apache or PHP that would keep styles from working. Both
external (CSS) and inline styles are ignored.

Environment :

Win XP Pro
Apache 2.0.39
PHP 4.2.1

Writing  Debugging on Homesite 4.0.1

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] PHP with CSS

2002-06-30 Thread Bruce Karstedt

Checking view source was the first thing I thought of. The inline code
appears OK, style sheets, I only see the link of course.

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 30, 2002 11:31 PM
To: '[EMAIL PROTECTED]'; PHP - General List (E-mail)
Subject: RE: [PHP] PHP with CSS
Importance: Low


if in-line styles aren't working (and you can see them when you do a view
source) then it's nothing to do with apache.

(unless there's a header() command I don't know about that stops them from
working...)

Martin

-Original Message-
From: Bruce Karstedt [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 2:32 PM
To: PHP - General List (E-mail)
Subject: [PHP] PHP with CSS


Quick question?

Is their anything in Apache or PHP that would keep styles from working. Both
external (CSS) and inline styles are ignored.

Environment :

Win XP Pro
Apache 2.0.39
PHP 4.2.1

Writing  Debugging on Homesite 4.0.1

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] JavaScript to PHP?

2002-06-29 Thread Bruce Karstedt

You might be able to pass them as a cookie.

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-Original Message-
From: Jed Verity [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 29, 2002 2:59 PM
To: Chris Shiflett
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Javascript to PHP?
Importance: Low


Hello, Chris,

Many thanks for the thorough description. It does make sense, of course...I
was just hoping that there was some kind of funky loophole that small brains
like mine couldn't comprehend.

Thanks again!
Jed

I liked it when Chris Shiflett wrote this to me:

 Jed Verity wrote:

 I can't find any information on passing JavaScript variables to PHP on
the
 same page (i.e. not through the POST information of a submitted form). Is
 this because it's not possible?

 Basically, this is not possible.

 A common area of confusion to those new to Web programming is the
 distinction between client-side and server-side code. PHP is an example
 of a server-side scripting language, while JavaScript is client-side. To
 PHP, anything that is not PHP is simply output. It doesn't matter if the
 output is HTML, JavaScript, XML, an image, etc. - it's all not PHP.

 When a user requests a PHP script, the PHP part of the script is
 executed prior to the output being sent to the client. Remember, the
 output may contain JavaScript. Once the output reaches the browser, the
 browser will attempt to render the HTML, execute the JavaScript, and
 whatever else is appropriate. So, to get back to your question, you are
 wanting to know how to have the browser (which is executing the
 JavaScript) be able to send a JavaScript variable to PHP (which could be
 thousands of miles away on whatever Web server the page was obtained
 from) on the same page, which means you want to be able to do this
 without communicating back to the Web server.

 So, your question can be summarized into:

 How can my browser send data back to the Web server without any further
 communication with the Web server?

 Hopefully that explains how it is impossible.

 The terms server-side and client-side are ignored by most people,
 understandably, because this industry is littered with useless terms
 that do little to describe what is really happening (in the case of Web
 services, the term is actually misleading in my opinion). However,
 these terms are very descriptive, and once you can begin to understand
 which code is executed on the server-side (by the Web server prior to
 sending the response to the Web client) and which code is executed on
 the client-side (by the Web client after receiving the response from the
 Web server), all of these types of questions will make more sense to you.

 Hope that gives a good description of the difference and can help you
 solve whatever problem you're currently working on.

 Chris




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Start / Stop

2002-06-24 Thread Bruce Karstedt

Timestamp it at the beginning and the end.

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-Original Message-
From: Chris Kay [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 24, 2002 6:57 PM
To: PHP General List
Subject: [PHP] Start / Stop
Importance: Low



Anyone have some tips on the best way to make a 

Script started @ 5:45pm

Script ended @ 5:50pm 

Script?

---
Chris Kay
Technical Support - Techex Communications 
Website: www.techex.com.au   Email: [EMAIL PROTECTED]
Telephone: 1300 88 111 2 - Fax: (02) 9970 5788 
Address: Suite 13, 5 Vuko Place, Warriewood, NSW 2102 
Platinum Channel Partner of the Year - Request DSL - Broadband for Business
---

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] mailing list program?

2002-06-22 Thread Bruce Karstedt

Try majordomo or ezmlm, neither are PHP dependent.

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-Original Message-
From: savaidis [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 22, 2002 3:08 AM
To: PHP list
Subject: [PHP] mailing list program?



Is there any mailing list prorgam for Linux server? I want to have text
import possibility of addresses.


Thanks

Makis





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


RE: [PHP] disable ability to download image?

2002-06-18 Thread Bruce Karstedt

I've generally seen this done in JavaScript, by disabling the right mouse
button.

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-Original Message-
From: Steph [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 4:14 PM
To: Php-General
Subject: [PHP] disable ability to download image?


Is there a way to disable the users ability to download images on public
pages. Or is this a Javascript capability?

~Steph


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: php server on Windows

2002-06-14 Thread Bruce Karstedt

Windows / PHP is fine for development work but I would never put a
production site on a Windows box (With all due apologies to you Windows
fans). Put your site on a *nix box with apache its a heck of a lot faster
and a heck of a lot more stable and a heck of a lot easier to configure and
upgrade.

Just my 2 cents

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-Original Message-
From: Peter [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 3:06 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: php server on Windows




Phil Schwarzmann [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 So I'm thinking about setting up a little php/mysql web server here at
 work and want to use Windows as my platform instead of Linux and have a
 couple questions...

 I know that PHP on Windows has some limitations as compared to Linux.
 What are these limitations?

 Which version of Windows would be best ?

 Is this gonna be a real pain in the ass to get PHP  MySQL  Apache 
 Windows to get along well?

 Can I use IIS instead of Apache ?

 Thanks!




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: php server on Windows

2002-06-14 Thread Bruce Karstedt


The last test I did was to put a custom built (by me) box dual 1.2G P4's 36G
Raid 5 all on 7200RPM spindles and 2GB ram running WIN 2000 Server with all
the back office toys vs. an old 133M Pentium, 1.2G 256Meg garbage box I had
in the basement running BSDi Unix with squid caching. The garbage box was 8
times faster. Look I'm not out to bash Microsoft but every good carpenter
has more than one tool in his box and knows which one to use for which job.
Even Microsoft uses Unix for their Web Servers.

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-Original Message-
From: Lazor, Ed [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 5:34 PM
To: '[EMAIL PROTECTED]'; 'Peter'; [EMAIL PROTECTED]
Subject: RE: [PHP] Re: php server on Windows


Do you have any benchmarks?

 -Original Message-
 fans). Put your site on a *nix box with apache its a heck of
 a lot faster




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: Re[2]: [PHP] Re: php server on Windows

2002-06-14 Thread Bruce Karstedt

An opinion was requested, and I gave it.

flame

I will make a few pointed comments and then I will stop wasting my time and
the time of the others on this list.

1) If you do not know why Unix and its various derivatives are a better,
meaning more flexible, more secure, faster, and more stable, then you
probably don't know much about Unix.

2) I don't consider any Windows platform stable for commercial serving
needs. I've had Unix boxes run continuously for over 3 years some as many as
5 and only one time was the crash caused by the operating system. Want to
tell me how many times you've seen the blue screen of death on a Windows
box.

3) Unix is faster for two main reasons - it has a real file system and it
doesn't have all GUI overhead cluttering up CPU/Disk/Bus resources. While
the GUI if a great feature on development boxes and workstations its a
complete waste of resources on a server.

4) If all you need to do is design web sites Win 2000 (don't use the FAT32
file system) / apache ( not 2.x) and PHP / Pearl / cgi is OK. But if you
want to be a successful webmaster and provide your clients / bosses / end
users with the best possible service / speed and uptime - learn and use
Unix.

5) If you want to learn how to configure the hardware - I'll teach you that
too. Just contact me off list.

Nuff said.

/flame



Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-Original Message-
From: Stuart Dallas [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 6:29 PM
To: [EMAIL PROTECTED]
Subject: Re[2]: [PHP] Re: php server on Windows


On Friday, June 14, 2002 at 11:30:07 PM, Bruce Karstedt wrote:
 Put your site on a *nix box with apache its a heck of a lot faster
 and a heck of a lot more stable and a heck of a lot easier to configure
and
 upgrade.

It's all very well saying that, but have you got any evidence to back those
comments up? With the arrival of Win2k, the win32 platform has become a lot
more stable and IMHO is now on a par with the '*nix' platform. As far as how
easy they are to configure and upgrade, it depends where you're coming from.
But for a complete beginner, IIS beats the competition hands down.

The speed issue is a tricky one. In another email you say...

On Saturday, June 15, 2002 at 12:08:51 AM, Bruce Karstedt wrote:
 The last test I did was to put a custom built (by me) box dual 1.2G P4's
36G
 Raid 5 all on 7200RPM spindles and 2GB ram running WIN 2000 Server with
all
 the back office toys vs. an old 133M Pentium, 1.2G 256Meg garbage box I
had
 in the basement running BSDi Unix with squid caching. The garbage box was
8
 times faster. Look I'm not out to bash Microsoft but every good carpenter
 has more than one tool in his box and knows which one to use for which
job.

That's the only benchmark you have? Not very conclusive is it. How did you
measure the speed? What were you requesting of the server? Was it under
load?
Were both servers under exactly the same conditions? You can't possibly
expect
us to accept that as definitive proof that the '*nix' platform is faster.

The only benchmark I would accept as definitive proof is one using identical
hardware and where each server has been tuned by an Apache/IIS expert as
appropriate. Each server must be hit by the same test script using the same
network connection which must also be in controlled conditions (i.e. a
dedicated connection).

 Even Microsoft uses Unix for their Web Servers.

Actually their main site is served by IIS 5 on Win2k
(http://uptime.netcraft.com/up/graph/?mode_u=offmode_w=onsite=www.microsof
t.com).
I know that they do use other platforms for other servers, but as far as I
can
tell, they are providing minor services compared to the IIS servers. But do
correct
me if I'm wrong.

--
Stuart


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] session problems....

2002-06-14 Thread Bruce Karstedt

You should not be writing to /tmp that is a system directory. php.ini is a
file. If you need a temporary directory, use ./tmp that will be directory
in your web root directory.

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-Original Message-
From: php [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 9:12 PM
To: [EMAIL PROTECTED]
Subject: [PHP] session problems


Anyone know why php would complain about not having permission to write
the session file in /tmp (and to check the session.save_path var in my
php.ini file. when it does specify /tmp in the php.ini and /tmp has
drwxrwxrwt for permissions?

I need a resolution... even if we have to pay for it... so if anyone
feels they are good enough to fix this we can compensate you for your
time.

Thanks,
Rick

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: Re[2]: [PHP] session problems....

2002-06-14 Thread Bruce Karstedt

I was referring to strict Unix directory naming conventions. /tmp is the
equivalent of root/tmp and no sysadmin wants you writing to his /tmp
directory. In fact you should not be allowed to write to /tmp. While I have
not checked this, I have the feeling that PHP takes care of this for you. If
you are creating a subdirectory, say for data, on your web site the Unix
path may be something like /websites/yoursitename/htdocs/subdirectory.

Since your default directory would be /websites/yoursitename/htdocs to get
to /websites/yoursitename/htdocs/subdirectory you should use ./subdirectory
which means start in my default directory and go down one level to
subdirectory.

I'm sorry if this sounds critical, but I have found that many of the problem
posted to this list are OS based, and I urge the members to learn both the
operating system that they do their development on and the box where your
site is hosted. The use of OS standard directories such as /tmp or /etc are
bad form in Unix and make error log analysis difficult at best

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-Original Message-
From: Julie Meloni [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 10:13 PM
To: Bruce Karstedt
Cc: 'php'; [EMAIL PROTECTED]
Subject: Re[2]: [PHP] session problems


BK You should not be writing to /tmp that is a system directory. php.ini is
a
BK file. If you need a temporary directory, use ./tmp that will be
directory
BK in your web root directory.


With all due respect, I think there's a reason that /tmp is the default
session.save_path value in php.ini.  /tmp is temp.  It's where
temporary things go.

Saying you shouldn't use that is pretty much saying Hey PHP
Development Group, you've done this wrong for 2 years.  If you don't
want to write your session files to /tmp, then don't.  But please
don't say that it's wrong to do so.  That's not the answer to the
guy's particular problem.


- Julie

-- Julie Meloni
-- [EMAIL PROTECTED]
-- www.thickbook.com

Find Sams Teach Yourself MySQL in 24 Hours at
http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Editor

2002-06-13 Thread Bruce Karstedt

I've been using Homesite - I really like it.

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-Original Message-
From: Daniele Baroncelli [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 2:19 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Editor


Hi guys,

Although any editor should be fine when coding PHP, I find that the standard
Notepad it's a real pain in the ass. Especially when the script gives you an
error at line 222 ! Each time I have to scroll and count each single line!

Can anyone suggest me a different editor ?


Cheers

Daniele



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Shut down server

2002-06-13 Thread Bruce Karstedt

This is a bad idea from a security standpoint. If your server is local,
login as root and type shutdown. If the system is remote telnet to the box,
login, su to root and type reboot. If you use shutdown remotely, there is no
way to restart the server.

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-Original Message-
From: Lazor, Ed [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 6:29 PM
To: 'Rosen'; [EMAIL PROTECTED]
Subject: RE: [PHP] Shut down server

 clip 

I am not a security expert.  Check with others to get their opinion on
whether this is the best approach.

 -Original Message-
 The server is Linux Red Hat 7.2
   Can someone tell me how I could make shut down the server ?
   Is it possible ?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: forcing file downloads

2002-06-13 Thread Bruce Karstedt

This is determined by your mime types in apache conf file (assuming you are
using apache) if the file type is not defined apache will try and download
the file instead of parsing it for the browser.

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-Original Message-
From: Timothy J. Luoma [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 9:48 PM
To: Justin French
Cc: php
Subject: [PHP] Re: forcing file downloads


On Wed, 12 Jun 2002, Justin French wrote:

 I know this has been discussed many times, but I've been hunting through
 the archives with very little resolution on the issue.

The user can define certain things given the way they want mime types to
be handled.

PDF used to be a good solution until several browsers decided that they
would display PDF.

So if I want to make sure someone downloads a file, I make it a ZIP, pure
and simple.

TjL




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Date?

2002-06-09 Thread Bruce Karstedt

? echo date(l, F j, Y); ? works just fine for me.

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-Original Message-
From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 08, 2002 11:50 PM
To: [EMAIL PROTECTED]
Cc: Jeremy Bowen
Subject: [PHP] Re: Date?


? echo date (l., .F. .d., .Y); ?
Sunday, June 09, 2002

But I would use:

?php echo date (l., .F. .d., .Y); ?

Don't know why, but someone told me once it had something to do with
versions.

John

Jeremy Bowen wrote:

 I am having nothing but trouble with the date function. I want it to print
 out a date like this: Saturday June 8, 2002 but as soon as I put spaces or
 comma's in the string I get parse errors. I can get it to print
 SaturdayJune082002 with  ? echo date (lFdY); ? I have tried escaping
with
 \ but it seems to make no difference.



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Combo box selected value...

2002-06-07 Thread Bruce Karstedt

Sounds like you are working on a windows box with a bad battery back up for
the clock!

Bruce Karstedt
President
Technology Consulting Associates, Ltd.
Tel: 847-735-9488
Fax: 847-735-9474


-Original Message-
From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 4:01 PM
To: Alexandra Aguiar
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Combo box selected value...


On Fri, 4 Jan 1980, Alexandra Aguiar wrote:
 I got the followin code to generate a combo box...

Your clock is off by about 20 years. Is it possible to fix it before
posting to the list? Thanks.

miguel


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php