Re: [PHP] Different colors on lines

2002-06-14 Thread Chris Bunting

Hello,
Check out the following link.

http://www.zend.com/codex.php?CID=322

There are various code examples for alternating table backgrounds.


Hope this helps,
Chris Bunting

_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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




RE: [PHP] Advanced User Authentication --- solved

2002-06-14 Thread Chris Bunting

Hi All,
  Here is a link to an easy to use session program. Has all the code needed 
I think. This is what I have been using to get used to sessions and all.

http://www.trios.org/php/sessions/

Hope this helps soneone,
Chris

_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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




Re: [PHP] SSL Support for PHP....

2002-06-14 Thread Chris Bunting

Hello,
  I'm not to sure about the servers. I use Windows XP Pro and I'm coding and 
stuff offline to learn more about php, lasso and mysql. I've been doing this 
awile now but I've had problems with various php/mysql scripts. I usually 
get scripts from hotscripts.com and have prolly about 100 different programs 
running. Just messing moreless.

On IIS 5.0 that comes with WINXP Pro, I ran IIS5.0, MySQL, PHP and Lasso. 
Every once in a while, IIS would hang and would not do anything at all. This 
happened on many propular scripts such as php nuke.

I have also ran the same configuration above along with Cold Fusion and 
tried, Xitami (imatix.com), Omnihttpd, and Apache..

All these servers ran well with no problems. Xitami is slow, Apache is much 
better but I don't care much for non gui stuff, and Omnihttpd is the fastest 
in my opinion.

However, I'm only using this software on a home computer, Gateway 1.5 MHZ 
with 512 MB ram. I am now using apache again on WINXP PRO and all has been 
well for now.

Personally, I like IIS although it does get slow on smaller servers with 
alot of traffic. ASP and the likes slow it down to much for me but other 
than that, there is alot of documentation for seting it up to run various 
programs such as Cold Fusion, Lasso, Php ect.

I know this isn't much help. It's just my thoughts on what I've went through 
recently and just my general thoughts on the server. Remember, Apache on 
WIN2K or any windows machine isn't nearly as fast as on linux.

Chris

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




Re: [PHP] Editor

2002-06-14 Thread Chris Bunting

PHP Editors List...

http://www.itworks.demon.co.uk/phpeditors.htm

Check out http://www.php.net

The links section is handy at times...


Chris

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




[PHP] Gathering user info with php or php and mysql.

2002-06-13 Thread Chris Bunting

Hi All,
  I've been messing around and trying to figure out how to log info for 
error messages. I'm using a htaccess file to redirect requests to php error 
pages like below,

My htaccess file:

ErrorDocument 401 /error/error401.php
ErrorDocument 403 /error/error403.php
ErrorDocument 404 /error/error404.php
ErrorDocument 500 /error/error405.php

My question is this, Is it possible to use php to get the referring url, 
browser, os, date of error and stuff and then either write it to a text file 
or possible log it into mysql?

I've looked at files that insert data into a mysql database but the info 
comes from a post form or such. I'd just like the page to add this to mysql 
on page load so that I can write a page to pull the errors and view them 
online.

If you know of a link to documentation or have any ideas, Let me know. I'd 
like to figure this out as I'm trying to learn php but any and all help is 
appreciated.

Thanks in advance,
Chris Bunting

_
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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




Re: [PHP] Reg-Maximum allowed size for uploaded files

2002-06-13 Thread Chris Bunting

Hello,
  I'm not sure about this either but did you write the upload script 
yourself? I know that most upload file scripts include a hidden tag to 
include the maxfilesize of image uploads on the posting form itself. Wasn't 
sure if you were using someone elses script and didn't notice that.

Chris Bunting




_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


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




Re: [PHP] Reg-Maximum allowed size for uploaded files

2002-06-13 Thread Chris Bunting

A quick search on google shows that yes, Php has a maximum upload filesize 
of 10MB.

Maybe your upload timed out or the session expired if you are using them 
before you got to 10MB or something else happened.

Chris Bunting

_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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




Re: [PHP] Gathering user info with php or php and mysql.

2002-06-13 Thread Chris Bunting


Run this little program:

   pre? var_dump($_SERVER) ?/pre

and see if you don't learn something useful.

migue

Thank you.. This is just what I was trying to find.. Well, The info at 
least. Never would of thought about a tag to show the info..

Again, Thank you..
Chris Bunting




_
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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