[PHP] List of all installed fonts on a system??

2001-03-10 Thread Andre Bajew

Hi,

anyone know of a way to get a list of all installed fonts on a system for
use inside of a combo box?

TIA!
Andre



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Anyone running their own Servers & DNS versus renting space/services from an ISP or Hosting??

2001-03-14 Thread Andre Bajew

Hi all,

I'm contemplating moving one of my larger sites off of a hosting company
over to my own PIII 1 Gigahertz. Thoughts right now are to use IIS 5.0 and
either SQL Server or MySQL. I can currently get a fixed IP address DSL
connection at 1.5 meg download and 512 Upload for fairly cheap. The reason I
would do this is control, control, control.

Is anyone out there running their own servers (not leased/rented form some
service)? Is it as easy as registering a domain name server with Network
Solutions and that's it? Also, how does one go about getting DNS updates
from the outside world to stay current with other DNS's?

Any input would be sincerely appreciated!
Andre



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Anyone running their own Servers & DNS versus renting space/services from an ISP or Hosting??

2001-03-14 Thread Andre Bajew

Thanks so much for your honest comments and input. So far I have seen zero
problems in the last 29 days with our DSL but you are absolutely correct in
that I could easily be hit with a disruption. I actually do back up our
current server with 4mm Dat and we are on a UPS but your points are very
well taken.

Thanks!
Andre


-Original Message-
From: Jason Murray [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 6:59 PM
To: 'Andre Bajew'; [EMAIL PROTECTED]
Subject: RE: [PHP] Anyone running their own Servers & DNS versus renting
space/services from an ISP or Hosting??


> I'm contemplating moving one of my larger sites off of a hosting company
> over to my own PIII 1 Gigahertz. Thoughts right now are to use IIS 5.0 and
> either SQL Server or MySQL. I can currently get a fixed IP address DSL
> connection at 1.5 meg download and 512 Upload for fairly cheap. The reason
I
> would do this is control, control, control.

In Australia, at least, (A)DSL services are presently subject to major
service disruptions on an irregular basis.

A hosting company has more, probably multihomed bandwidth than you, a
reliable backup solution (you'd hope :)), and disaster recovery plans
(again, you hope :)).

You, on the other hand, have a (in Australia, at least) shoddy DSL
connection, no (proven) backup system, and no disaster recovery plan
(if your power goes out, your server's gone).

Control, control, control often comes at the cost of reliability,
uptime and client happiness.

I wouldn't *dream* of moving a client's site from the hosting company
to my own system - I don't want to be blamed for the downtime, and any
server problems.

Jason

--
Jason Murray
[EMAIL PROTECTED]
Web Design Team, Melbourne IT
Fetch the comfy chair!


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Anyone running their own Servers & DNS versus renting space/services from an ISP or Hosting??

2001-03-14 Thread Andre Bajew

My thanks to all for the input. I will be taking a closer look at leasing a
dedicated machine which will still give me what I am after, ie. ability to
compile, install, upgrade, software when/where I need but without some of
the sysadmin headaches.

Thanks again to everyone !!
Andre

-Original Message-
From: Paul Warner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 8:07 PM
To: Andre Bajew; [EMAIL PROTECTED]
Subject: Re: [PHP] Anyone running their own Servers & DNS versus renting
space/services from an ISP or Hosting??


Why not lease a dedicated machine in your favourite flavour.  That way you
have the reliability of a hosting company that monitors 24-hrs, provides
generators, UPS, etc. but will have full control over site, configuration,
etc.  There are many dedicated servers available in NT/2000/Linux/Cobalt
Raq/etc. that start at < $100 USD/mo.  Understand, though that you are
responsible for updates, etc. including security.

-- P

- Original Message -
From: "Andre Bajew" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 14, 2001 7:51 PM
Subject: [PHP] Anyone running their own Servers & DNS versus renting
space/services from an ISP or Hosting??


> Hi all,
>
> I'm contemplating moving one of my larger sites off of a hosting company
> over to my own PIII 1 Gigahertz. Thoughts right now are to use IIS 5.0 and
> either SQL Server or MySQL. I can currently get a fixed IP address DSL
> connection at 1.5 meg download and 512 Upload for fairly cheap. The reason
I
> would do this is control, control, control.
>
> Is anyone out there running their own servers (not leased/rented form some
> service)? Is it as easy as registering a domain name server with Network
> Solutions and that's it? Also, how does one go about getting DNS updates
> from the outside world to stay current with other DNS's?
>
> Any input would be sincerely appreciated!
> Andre
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] APACHE .htaccess and PHP 403 errors

2002-02-10 Thread Andre Bajew

Hi,

Anyone out there familiar with Apache's .htaccess & running PHP scripts?

I'm using Apaches's mod_rewrite to route some virtual hosts which runs great
but is causing HTTP Error 403 - Access forbidden errors just for my .php
scripts. I assume there is some sort of .htaccess statement that will get my
php scripts back working but I haven't found it yet.

Any help would be sincerely appreciated!!
Andre



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




[PHP] possible to get the fully qualified path name for file updloads?

2001-04-07 Thread Andre Bajew

Hi,

I'm doing file uploads through PHP and now have a need to retrieve and store
the original fully qualified directory path name used for the upload. For
example if the user copied image file sample.jpg from c:\temp I need to
retrieve and store the c:\temp\ in addition to the sample.jpg that I am
already storing. The directory path does not seem to be availble anywhere.
Is there some way to get this?

TIA!
Andre



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] need some help with EREGI please

2001-07-15 Thread Andre Bajew

Hi all,

I know I'm doing something dumb but I keep missing it. What I am trying to
do is parse through some text and pick up starting at each ".  Starting at "" works
fine. I thought I read the eregi docu thoroughly but maybe not ??

Any help would be appreciated!
Andre

//get a line
  $line = fgets($page, 1024);
  //loop to get all news page links
  /* while(eregi(".*<\/a>", $line, $match)) */
  while(eregi("", $line, $match))
{
   //print out the news link
   print("");
   $link = ereg_replace("HREF=\"", "HREF=\"http://that domain . com/",
$match[0]);
   print($link);
   print("\n");



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] form variables showing blank but query shows non-blank ??

2001-02-15 Thread Andre Bajew

Hi,

I have a form that has 4 variables, one, $pass_category, being a select
list. The form posts a php script. Once inside the PHP script if I have not
selected one of the select list variables the value should be blank. If I
echo this out the value shows as blank. However, I later check the value of
the passed select list variable and it passes a  "if > "" test which has me
baffled. I don't have this problem with my three other variables that are
just form fields versus a select list. Am I missing something basic or ??
What I'm doing here is building a SQL statement based on form variables. A
snippet of the script is below.

I'd sincerely appreciate any help or guidance!!
Andre
"; /* This shows as blank */

echo "Pass_company=$pass_company";

echo "Pass_contact=$pass_contact";

echo "Pass_sort=$pass_sort";

}

$db = mysql_pconnect("mysql1:katychamber.com", "katyc2", "katyc2");

...

...

if ($pass_category > "") $sql2 = $sql2 . " and cat = '$pass_category' ";
/* this statement passes this test even though it appears to be blank */

...




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]