[PHP] Question on Using fgets for Network I/O while Limiting Amount of Data Retrieved

2002-04-01 Thread J. Scott Johnson
reak; } } I've done it with and without the while loop, tried if tests and such. Its strange. Thanks in advance J. Scott Johnson Physical * * * * * * * * * * * * * * * * * * * * * * * * * * 80 Spring Road Nahant, MA 01908 Phone: * * * * * * * * * * * * * * * * * * * *

RE: [PHP] Problems reading a URL

2002-04-01 Thread J. Scott Johnson
Just as an aside, sourceforge seems to have changed the url. Its now: http://sourceforge.net/projects/snoopy/ (I was interested too). Scott -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: Monday, April 01, 2002 9:12 AM To: 'Stephen Phillips'; [EMAIL PROTECTED] Sub

RE: [PHP] time question

2002-03-30 Thread J. Scott Johnson
Why wouldn't you use gmdate: http://www.php.net/manual/en/function.gmdate.php and then increment it yourself by an offset? Scott -Original Message- From: anders nawroth [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 30, 2002 5:05 PM To: [EMAIL PROTECTED] Subject: [PHP] time question

RE: [PHP] PHP and XML/XLST/WDDX etc

2002-03-29 Thread J. Scott Johnson
anything else. NOTE -- I was doing SGML in 89 and XML ain't all that different. Scott * * * * * * * * * * * * * * * * * * * * * * * * * * J. Scott Johnson PHP Consulting and Design Work * * * * * * * * * * * * * * * * * * * * * * * * * * Virtual: * * * * * * * * * * * * * * * * * * * *

RE: [PHP] ASP vs PHP

2002-03-28 Thread J. Scott Johnson
I've seen a tool called Code Charge which claims to do that. http://www.codecharge.com/index2.html And, I think that the new Zend tools make this easier (but I really haven't started evaluation yet). www.zend.com Scott * * * * * * * * * * * * * * * * * * * * * * * * * * J. Scott J

RE: [PHP] Adding stuff to the end of strings

2002-03-27 Thread J. Scott Johnson
Shouldn't this work: $string = $string . "Some text added to the end"; Or am I thinking your question is simpler than it really is? * * * * * * * * * * * * * * * * * * * * * * * * * * J. Scott Johnson PHP Consulting

RE: [PHP] Create table

2002-03-27 Thread J. Scott Johnson
Closing connection to the db mysql_close($link); ?> * * * * * * * * * * * * * * * * * * * * * * * * * * J. Scott Johnson PHP Consulting and Design Work * * * * * * * * * * * * * * * * * * * * * * * * * * Virtual: * * * * * * * * * * * * * * * * * * * * * * * * * * [EMAIL PROTECTED] http:

RE: [PHP] looking for tutorial on XML parsing of attributes...

2002-03-23 Thread J. Scott Johnson
If you use xml_parse_into_struct, it does split out the attributes into the array it creates. I tested this with the standard manual code, adding a single attribute to the sample data i.e. $simple = "simple note"; $p = xml_parser_create(); xml_parse_into_struct($p,$simple,$vals,$index); xml_pars

RE: [PHP] URL information into a variable

2002-03-22 Thread J. Scott Johnson
Here you go: Scott -Original Message- From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 9:08 PM To: [EMAIL PROTECTED] Subject: [PHP] URL information into a variable How do I take the current URL and turn it into a variable? THANKS!! Phil -- PHP Gener

RE: [PHP] FAQ

2002-03-22 Thread J. Scott Johnson
n topics that I'm not finding, please email them to me. When its done, and useful, we can see about getting it auto posted (which is a _good_ idea). Thanks Scott J. Scott Johnson Virtual: * * * * * * * * * * * * * * * * * * * * * * * * * * [EMAIL PROTECTED] http://www.fuzzygroup.com/ Yahoo IM: