[PHP] below10host.com as webhost?

2001-01-17 Thread Jeff Lacy

Hello everyone,

I was wondering if anyone had thought/opinions on below10host.com as a web
host?  I though phpwebhosting.com would be good, but then I read that some
people really hated it, so I just wanted to check to make sure this would be
okay and nobody had really trouble with it.

Thanks,

Jeff



-- 
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] below10host.com as webhost?

2001-01-18 Thread Jeff Lacy

I'm sorry, but why do you say webservpro doesn't make a lot of money?

I am really looking for a good host for a 'friend' of mine.   He has a small
website (<20mb) and I don't think it gets too many hits.  He doesn't have
very much money to spend on a web host, so it must be something cheap.  It
needs php (4 would be better), and at least 20 email accounts.  A mysql
database would be really, really good.  Ftp access (to upload pages) is a
must, but telnet/ssh is always a plus.  The host need to allow domain names.
I think this is about what my friend is looking for.  Does anyone have any
ideas (besides below10host.com or phpwebhosting.com)?  Thanks again :-)

Jeff



"Egan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Thu, 18 Jan 2001 01:54:28 -0600, "Jeff Lacy"
> <[EMAIL PROTECTED]> wrote:
>
> >anyone had thought/opinions on below10host.com as a web host?
>
> I'm speaking as a budding competitor, so keep that in mind. :-)
>
> According to their web page, below10host.com gives you 6GB per month
> for $9.95.  By way of comparison, webservpro charges $49.95 per month
> for the same 6GB.
>
> My analysis of costs tells me that at $49.95 for 6GB, webservpro does
> not have a large margin of profit in their price.  How can any hosting
> company sell the same 6GB per month for $9.95 and make enough profit
> to stay in business?
>
> At such a low price, I don't know how it's possible, unless a large
> majority of their customers consume so little of their quota so as to
> offset the loss incurred from customers who consume it all.
>
> 6GB per month is a fairly active site.  If you really have that much
> traffic, to me at least, $49.95 would seem affordable.  OTOH, if you
> have much less traffic, you could choose a lower priced plan.
>
> I believe in the adage of getting what you pay for.  Value is a
> balance between low price on the one hand, vs. high quality on the
> other.  The lowest price is not necessarily the best value.
>
> Egan
>
>
>
>
> --
> 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]




Re: [PHP] below10host.com as webhost?

2001-01-19 Thread Jeff Lacy

Okay.  I'll tell you a little more information.  The 'friend' of mine is
actually my local church.  I need ~20 email accounts because there should be
15 staff people (who will want/need email) and 5 for the future.  Since it
is a church, they don't have a lot of money to spend on stuff (i.e. a
website).  Their current host is at www.poconos.net, and the website of my
church is www.st-thomas-aquinas.com.  Poconos charges 19.95 a month, and I
was hoping they could get something less than that.

Does anyone know how to find out how much bandwidth my/my church's website
it getting?  Analog is installed, if that would help anyone figure something
out.  The stat's page is at www.st-thomas-aquinas.com/analog.html.

Right now I am thinking of going with CIS Management as the web host as they
seem to offer everything I need.  I am a little concerned about reliability
and stuff like that, so if someone with experience with them could say
something...

P.S. -- Could anyone give me advice/critics on the church's web site
(www.st-thomas-aquinas.com)?  The site really isn't much, but, not to
rationalize or anything, that isn't all my fault.  I am not a graphics
designer.  A few pics would probably make it look infinitely nicer, but I
don't know how to do them.

Thanks,

Jeff



""Jeff Lacy"" <[EMAIL PROTECTED]> wrote in message
948icc$9vs$[EMAIL PROTECTED]">news:948icc$9vs$[EMAIL PROTECTED]...
> I'm sorry, but why do you say webservpro doesn't make a lot of money?
>
> I am really looking for a good host for a 'friend' of mine.   He has a
small
> website (<20mb) and I don't think it gets too many hits.  He doesn't have
> very much money to spend on a web host, so it must be something cheap.  It
> needs php (4 would be better), and at least 20 email accounts.  A mysql
> database would be really, really good.  Ftp access (to upload pages) is a
> must, but telnet/ssh is always a plus.  The host need to allow domain
names.
> I think this is about what my friend is looking for.  Does anyone have any
> ideas (besides below10host.com or phpwebhosting.com)?  Thanks again :-)
>
> Jeff
>
>
>
> "Egan" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > On Thu, 18 Jan 2001 01:54:28 -0600, "Jeff Lacy"
> > <[EMAIL PROTECTED]> wrote:
> >
> > >anyone had thought/opinions on below10host.com as a web host?
> >
> > I'm speaking as a budding competitor, so keep that in mind. :-)
> >
> > According to their web page, below10host.com gives you 6GB per month
> > for $9.95.  By way of comparison, webservpro charges $49.95 per month
> > for the same 6GB.
> >
> > My analysis of costs tells me that at $49.95 for 6GB, webservpro does
> > not have a large margin of profit in their price.  How can any hosting
> > company sell the same 6GB per month for $9.95 and make enough profit
> > to stay in business?
> >
> > At such a low price, I don't know how it's possible, unless a large
> > majority of their customers consume so little of their quota so as to
> > offset the loss incurred from customers who consume it all.
> >
> > 6GB per month is a fairly active site.  If you really have that much
> > traffic, to me at least, $49.95 would seem affordable.  OTOH, if you
> > have much less traffic, you could choose a lower priced plan.
> >
> > I believe in the adage of getting what you pay for.  Value is a
> > balance between low price on the one hand, vs. high quality on the
> > other.  The lowest price is not necessarily the best value.
> >
> > Egan
> >
> >
> >
> >
> > --
> > 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 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] Date/Time Formatting

2001-01-20 Thread Jeff Lacy

When you are doing you select try something more along the lines of:

select date_format(date, '%e,%c,%Y') from tblmycoolstuff;

I got most of this stuff from
http://www.mysql.com/doc/D/a/Date_and_time_functions.html You need to look
at the table on that page to get the date to print out exactly as you want
it.  I know date_format works with the timestamp column type, but I don't
know (but I assume) that it works the same exact way for some of the other
types that store dates :-)

If you still are having trouble, maybe I could help you?

Jeff


""Richard Lynch"" <[EMAIL PROTECTED]> wrote in message
01e801c08244$85dfd640$[EMAIL PROTECTED]">news:01e801c08244$85dfd640$[EMAIL PROTECTED]...
> > Also I'd like to if possible to be able to enter and display the date in
> > Australian / European Time format (DD,MM,)
> > I'm currently entering it on the form using three text fields and then
> > rearanging them to the Format in mySQL and indserting it as a string,
but
> I
> > don't know how to 'break' up a mySQL Date value to rearange it.
>
> The breaking up of a MySQL date would be in the MySQL manual at
> http://mysql.org
> I dunno what it's called...  In PostgreSQL it's "date_part" though :-)
>
> I'm afraid there was another question in there somewhere, but I couldn't
> really discern it -- What you are doing seems quite reasonable to me.
>
>
>
> --
> 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] Mysql & Array Question

2001-01-20 Thread Jeff Lacy

Hello Everyone,

I am trying to make a page that will interact with mysql.  I need to be
able to access the result of my mysql_query by using a for loop.  I made a
little function that will sortof do this, but it returns a numeric array.
Of course, I want an associative array (becauses things get screwy with a
null). Does anyone know how to make something like what I want?  Thanks a
bunch :-)

This is my current function:

function returnArray ($id) {
 $z = array (array());
 for ($i = 0; $row = mysql_fetch_array ($id); $i++) {
  for ($a = 0; $a < sizeof ($row); $a++) {
   $z[$i][$a] = $row[$a];
  }
 }
 return $z;
}


-- 
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] PHP Editors

2001-01-21 Thread Jeff Lacy

Textpad is pretty good on Micro$ucks products.  It has a free evaluation
which isn't very bothersome (unlike others...).  You can examine it as
www.textpad.com.


""Karl J. Stubsjoen"" <[EMAIL PROTECTED]> wrote in message
003701c0815f$b6f80e40$0afc020a@kstubsjoen">news:003701c0815f$b6f80e40$0afc020a@kstubsjoen...
> So what editor is recommended?  I'm a little familiar with Emacs (kinda
> cool, but I'm use to keywords and such being colored - as in Interdev).
>
> Thanks!
>
>
> --
> 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]




Re: [PHP] Calendar program

2001-01-21 Thread Jeff Lacy

M$ Outlook?  I don't know, but try Outlook :-)


Jeff



"Todd Cary" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Does a calendar program exist in PHP similar to Yahoo's program?
> (http://www.yahoo.com/calendar)
>
> Todd
>
> --
> Todd Cary
> Ariste Software
> [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 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] session_register in function

2001-02-24 Thread Jeff Lacy

I had this same exact problem just today.  It all stems from the variable
namespace, I think

A similar code 'snippet' is shown below.  I just made it up, but I think it
illustrates my point.



Good luck with whatever you are doing,

Jeff Lacy


""Jon Rosenberg"" <[EMAIL PROTECTED]> wrote in message
000901c09e7d$16835420$0100a8c0@slinkyboi5">news:000901c09e7d$16835420$0100a8c0@slinkyboi5...
> The variable I register before the function becomes available in the
session
> to other pages...the variable I register inside the function are not
> accessible in the session to ohter pages.  Is this normal?  How can I work
> around this?  Thanks!  PHP4.0.4pl1 on Linux.
>
> sample code:
>
>  session_Start();
>
> $foo = "bar";
> session_register("foo");
>
> function bob($user){
> $username = $user . "one";
> $username2 = $user . "two";
> session_register("username");
> session_register("username2");
> return true;
> }
> ?>
>
>
> --
> 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] Address Standardization

2001-11-20 Thread Jeff Lacy

Hello,

Does anyone have a good function or ideas about address standardization?  I
need some form of it in a web-app I am trying to write, but I don't know
where to begin.

Thanks,

Jeff


-- 
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] PHP, Excel, CSV and Problems!

2001-07-21 Thread Jeff Lacy

Hello Everyone,

A client of mine is working with excel, and I need to move the data from
excel to something php can deal with a little better.  Naturally, I figured
using .csv would be easiest, but I am running into several problems.I
can get around them, but I need a regular expression (and I am NOT good at
writing those).

I'm not quite sure how I should explain what the regular expression ought to
do, so I am giving an example of the data ought to look like in php (after
the regular expressions), and how it looks in the .csv.

NOTE: I am exploding the data, so all ,'s must be changed into COMMA's.



| php
| .csv   |


heyaCOMMA there,hey is for horses  "heya, there",hey is
for horses
"byeCOMMA bye",ciaoCOMMA ciao  """bye, bye""", "ciao, ciao"
"good morning,I'm Bob Villa   """good
morning", I'm Bob Villa
sleep is good,IceCOMMA ThingyCOMMA  sleep is good,"Ice, Thingy,"


If those four examples aren't enough, please let me know.  I am NOT on the
php mailing list, so PLEASE send messages to me ([EMAIL PROTECTED] AND
to [EMAIL PROTECTED]).

Thank you very much (in advance),

Jeff


-- 
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] PHP, Excel, .CSV's, and Regular Expressions Help Needed!

2001-07-23 Thread Jeff Lacy

Hello Everyone,

A client of mine is working with excel, and I need to move the data from
excel to something php can deal with a little better.  Naturally, I figured
using .csv would be easiest, but I am running into several problems.I
can get around them, but I need a regular expression (and I am NOT good at
writing those).

I'm not quite sure how I should explain what the regular expression ought to
do, so I am giving an example of the data ought to look like in php (after
the regular expressions), and how it looks in the .csv.

NOTE: I am exploding the data, so all ,'s must be changed into COMMA's.

+---++
| php  | .cvs
|
+---++
piCOMMA 3.14,hey is for horses"pi, 3.14",hey is for horses
"byeCOMMA bye",ciaoCOMMA ciao"""bye, bye""", "ciao, ciao"
"good morning,I'm Bob """good morning", I'm Bob
sleep is good,IceCOMMACOMMAsleep is good,"Ice,,"


If those four examples aren't enough, please let me know.  I am NOT on the
php mailing list, so PLEASE send messages to me ([EMAIL PROTECTED] AND
to [EMAIL PROTECTED]).

Thank you very much (in advance),

Jeff







-- 
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] php and forms question

2001-01-30 Thread Jeff Lacy

Hia Chip,

If I were you (but I'm not, thankfully for both of us), I would use a
multiple select, and, maybe sessions.  I think sessions are better/easier
than hidden fields, but only in php4.  Multiple selects are nice.  They come
back as an array, which is pretty easy to deal with by using a loop.

Jeff



"Chip" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I am trying to build a multi-part form and am
> using the example from the book Beginning PHP4
> by Choi, Kent, Lea, et al. in chapter 8.
> Here's what I want to do -
> form_page1 - 10 input fields size=3
> then onwards to
> form_page2 - 5 input fields size=3
> then onwards to
> form_page3 - 5 input fields size=3
> (and about 5 or 6 pages more)
> form_page10 has submit button
> then the thankyou page with a list of the
> items chosen on the previous pages.
>
> These items will be brochures, the text-boxes
> are for a quantity. Most people will only want
> one but our authorized dealers can order as
> many as they need, whence the need for the
> size being 3 characters.
>
> In the example in the book they use a drop-
> down list, so only one item on the list can be
> chosen, this won't work for me.
>
> How do I store all the choices from each subsequent
> page and bring them all together on the final page?
>
> Thankyou,
>
> --
> Chip Wiegand
> Alternative Operating Systems
> www.wiegand.org
>
> --
> 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]




Re: [PHP] neat html output

2001-02-01 Thread Jeff Lacy

You can also use tabs (\t).

This is an example using tabs and newlines:
echo "\n\n\tHello There\n\tHow are
you\n";

Note: You must use quotes because ticks don't work.

Jeff




""Mark"" <[EMAIL PROTECTED]> wrote in message
9597gb$4el$[EMAIL PROTECTED]">news:9597gb$4el$[EMAIL PROTECTED]...
> I'd like my html output to be neatly written, including newlines is
helpful
> but does anyone know of a better way to output newlines than appending
> ."\n"; to every echo statement.
>
> -Mark
>
>
>
>
> --
> 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]




Re: [PHP] Learning MySQL

2001-02-04 Thread Jeff Lacy

Use a mysql mailing list and search around on the net.  Don't be afraid to
try things.  There are lots of tutorials out there, but I would ask the
mailing list because they are filled with people who will help you, but you
should try to help other people in the mailing list, too.  Just and idea :-)

Jeff



""Jeff Oien"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> What would your advice be for learning MySQL with PHP on an
> Apache server? I know a little Perl and am beginning to learn PHP.
> I'm more of a designer than a programmer (not enough geek genes).
> I went through the tutorial at WebMonkey and have it all installed
> and working, but the tutorial isn't able to go in depth about the
> basic functions of MySQL. Is this something better learned from
> a book? Suggestions for books and/or tutorials online would be
> appreciated.
> Jeff Oien, WebDesigns
> http://www.webdesigns1.com/
>
> --
> 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]




Re: [PHP] Telnet with php?

2001-02-09 Thread Jeff Lacy

If you are just looking for something better than the ms telnet program,
look at http://www.chiark.greenend.org.uk/~sgtatham/putty/.  it is so much
better than telnet.  I don't know if that is what you mean, though.

Jeff



""Brandon Orther"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> Is there a way to telnet with php?  If so does anyone know a good place to
> find a tutorial on it?
>
> Thank you,
>
> 
> Brandon Orther
> WebIntellects Design/Development Manager
> [EMAIL PROTECTED]
> 800-994-6364
> www.webintellects.com
> 
>
>
> --
> 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] % Help

2001-02-20 Thread Jeff Lacy

Hello Everyone,

Could someone please explain the whole % thing?  I sort of understand it,
but not quite.  My goal is to have a table, and have every row alternate
between 4 colors.  I can alternate sort of alternate between 3, but not
quite.  I have tried lots of different combinations, but I can't figure it
out.  Thank you very much!


Maybe there should be a better link to it in the manual.  The only one I
could find was at http://www.php.net/manual/en/ref.math.php, but it is far
from clear (to me at least....).

Jeff Lacy

P.S.  Please email me directly, and respond to the list because I am not
really subscribed to it.  When I look at the newsgroup, it crashes Outlook
Express, and the list is VERY high volume (for me).  Thanks again.


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