[PHP] Array confusion.

2001-03-22 Thread Sterling
, poping elements from the beginning and end of an array but not an example of getting a single element from an array. I'm sure I'm doing something backwards and might even be confused on how the array works but don't know what. If any one has any better solutions to this code

Re: [PHP] Array confusion.

2001-03-22 Thread Sterling
pose to be in the original email I sent out, it was just from my Emacs window wrapping and the = next to Dec became a problem after I quoted everything else but I found it eventually. Thanks again. It's now working as I expected it too. -Sterling CC Zona wrote: > > In arti

Re: [PHP] Text fading with PHP?

2001-03-24 Thread Sterling
H- Go here. http://www.dynamicdrive.com/ This site has a lot of free code that does fancy html stuff. It'll even tell ya which browsers the code is compatible. Later, -Sterling Jack Dempsey wrote: > > Umm, what exactly are you talking about?? I'm not sure how you could h

Re: [PHP] GD problem

2001-03-26 Thread Sterling
ll. Just a thought. -Sterling Brandon Orther wrote: > > Hello, > > Using GD i get this error. I know what it means I just wanted to know if > anyone knew how I resolve it. > > Error: ImageCreateFromJpeg: No JPEG support in this PHP build in jpg.php on > line 5 &

Re: [PHP] Simple If-else statement

2001-03-27 Thread Sterling
8^) Oh well if you don't use it you lose it. Take it easy. -Sterling Louis Brooks wrote: > > Hi: > > I am trying to set up a simple script that will verify that all the blanks > in a form have been filled out and then submit that to mySQL. If the form > has not been comple

Re: [PHP] Simple If-else statement

2001-03-27 Thread Sterling
username,password) VALUES ('$fname','$lname','$address','$city','$state','$zip','$country','$email','$user name','$password')"; $result = mysql_query($sql); }

[PHP] Pattern Replacing

2001-03-29 Thread Sterling
ully grasped the pattern stuff anyway. 8^/ But anywhoo... if anyone has any ideas send them along. Any help would be greatly appreciated. Thanks. -Sterling -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Pattern Replacing

2001-03-29 Thread Sterling
a SQL statement. Thanks for the input and if any one has any thoughts on the subject appreciate the assistance. -Sterling Sterling wrote: > > H- > > Well here's a pattern replace issue which I've been working on without > success hence the post. 8^) > > I

Re: [PHP] Pattern Replacing

2001-03-29 Thread Sterling
st)-2); $new = "$new "; Appreciate nudges in the right directions. -Sterling -- 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] Print or Echo.

2001-04-06 Thread Sterling
H- Just a quick question. Is there any difference between using print or echo? >From what I have read and seen there isn't any. Than why the two different commands? Thanks. -Sterling -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTEC

Re: [PHP] Manipulating Images into JPG

2001-05-10 Thread Sterling
H- A good place to start would be GD.pm and ImageMagick http://stein.cshl.org/WWW/software/GD/GD.html http://www.wizards.dupont.com/ -- This is the website but it's not pulling up right now. There are many others but this will give ya a start. HTH, -Sterling Adam Plocher wrote: >

[PHP] StripSlashes

2001-05-10 Thread Sterling
provide. Thoughts, Comments, Anecdotes? -Sterling -- 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] Print or Echo.

2001-04-09 Thread Sterling
H- Thanks to all that wrote in. Appreciate the information and have learned much, the links were most helpful. Happy coding everyone. Sincerely, -Sterling Sterling wrote: > > H- > > Just a quick question. > > Is there any difference between using print or echo? >

Re: [PHP] insert into

2001-04-24 Thread Sterling
H- Here ya go. http://www.php.net/manual/en/function.pg-connect.php This page and the links on the left hand column have everything you'll ever want to know about db connects and sql queries. 8^) -Sterling shawn wrote: > > Could someone tell me how to actually execute this sc

Re: [PHP] insert into

2001-04-24 Thread Sterling
H- You are right. My bust. Sorry for the errant info. Although I still highly recommend the site. 8^) -Sterling Philip Olson wrote: > > Sterling, it appears Shawn is using MySQL, not PostgreSQL. That said, > Shawn, have a look here : > > http://www.php.net/manual/e

[PHP] Escaping Characters - URL Encoding.

2001-04-24 Thread Sterling
done but the ampersand doesn't. If the "ampersand replace" is done after the "space replace" the ampersand get's replaced but the spaces do not. So for the code above the %20 was replaced but the & remained &. I split the lines up for simplicity. Is that&

Re: [PHP] checking if e-mail address and syntax are valid

2001-04-24 Thread Sterling
H- If you're wanting to do it *before* the user sends the form than javascript is the way to go. http://developer.irt.org/script/email.htm It's the very first FAQ. #122. -Sterling Carlos Fernando Scheidecker Antunes wrote: > > Hello all! > > I would like to know if

Re: [PHP] Escaping Characters - URL Encoding.

2001-04-24 Thread Sterling
H- Thank you very much! I feel kinda dumb. I think I'll take a break. 6 hours in front of a monitor is too much. 8^) Thanks for the assist. rawurlencode worked great. -Sterling Alexander Wagner wrote: > > Sterling wrote: > > $topic = "Aerospace & Commercial S

Re: [PHP] upload/download of files (This is LONG)

2001-05-01 Thread Sterling
rrect header and save out code your images will be screwy. Perhaps it's related. Sorry I can't be more helpful. Well that's all I can think of right now. Hope it helps some or gives a direction. -Sterling Tyler Longren wrote: > > Hello everyone, > > Here's my

[PHP] Subject: RE:Please Confirm!! Yes I want to Optin RE: php-general@lists.php.net

2001-10-05 Thread Sterling
. * To receive the Blastomatic please click on the following link: http://oneop.blastomatic.com/rainforest And Optin from this site. To receive my Weekly News Update reply to: mailto:[EMAIL PROTECTED]?Subject=BLASTOMATIC Sincerely, Sterling White

Re: [PHP] Using include() and URL's

2002-01-17 Thread Sterling Hughes
s on the windows systems, only unix. -Sterling > At 06:33 AM 1/18/02 +0200, you wrote: > >A couple of comments: > >1. Your include() statement specifies a different file than your error > >message - which one is right? > >2. From what I recall (but I'm not positi

Re: [PHP] Porting from Linux to Windows!?$#

2002-01-27 Thread Sterling Hughes
nd on what other features the piece of code use. In most cases, it is possible to port a script from Win32 to Linux, and vice-versa, with a few hours of hair-pulling and a little bit of luck... But then again, this question depends on the application. -Sterling >

Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Sterling Hughes
il is in fact the definition of spam! Secondly, reasonable assumptions can often be made, for example, when I see a message from you, its almost guaranteed that you'll be plugging PHPClasses, or Metabase, or both. Assumptions are why killfiles were invented. >From the users original pos

Re: [PHP] telnet or ssh in PHP (Curl?)

2001-12-17 Thread Sterling Hughes
> > Hi Bas! > > SSH is possible but complicated. > Not really, just create a tunnel... -Sterling -- 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 adminis

[PHP] Fwd: curl questionnaire!

2002-01-09 Thread Sterling Hughes
/q/ -Sterling --- Begin Message --- Hello fellow curl users! I'd like to ask you all who read this to skip over to the curl web site and fill in the questionnaire regarding various aspects of curl. I want to know what we all think of curl, what the general people think is important, w

Re: [PHP-CVS] cvs: php4 /ext/standard mail.c php_mail.h

2001-02-06 Thread sterling hughes
Derick Rethans wrote: > > On Tue, 6 Feb 2001, sterling hughes wrote: > > > Derick Rethans wrote: > > > > > > I know this... it should probably be noted in the docs. > > > > > > > Are you sure we should be adding that option to the mail() c

Re: [PHP-CVS] cvs: php4 /ext/mnogosearch php_mnogo.c test.php

2001-02-06 Thread Sterling Hughes
This extension is being released in this next version of PHP, you only need one news entry, something to the effect of "Added the UDM search extension (authors)" -Sterling > gluke Tue Feb 6 06:30:54 2001 EDT > > Modified files: > /php4/ext/mnogosearch php_mn

Re: [PHP] XSLT problems....

2001-02-06 Thread sterling hughes
ssages: "; echo "\n\n"; var_dump($messages); } And then before the xslt_run() function call place the following:: xslt_set_error_handler($parser, 'report_xslt_error'); And you will see a verbose listing of the errors. Or you can upgrade to the latest cvs

Re: [PHP-CVS] cvs: php4 /ext/standard file.c file.h

2001-02-11 Thread Sterling Hughes
, but it works. I'd say this is news worthy... Can you add an entry into the NEWS file. -Sterling -- PHP CVS 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-CVS] cvs: php4 /ext/midgard .cvsignore ChangeLog INSTALL Makefile.in access.c article.c attachment.c calendar.c config.m4 element.c event.c eventmember.c file.c fudge genentry.pl group.c host.c image.c mail.c member.c mgd_access.h mgd_article.h mg

2001-02-12 Thread Sterling Hughes
ar.gz topic.c > /php4/ext/midgard/logo midgard-logo.gif mklogo.c > Log: > Midgard 1.4.1 initial checkin > > Hopefully without risking another lengthy thread... What does this extension allow me (the common web developer to do)? -Sterling -- PHP CVS Mailing List (ht

[PHP-CVS] cvs: php4 /ext/bz2 bz2.c php_bz2.h /ext/curl curl.c php_curl.h /ext/sablot php_sablot.h sablot.c /ext/swf php_swf.h swf.c

2001-02-15 Thread Sterling Hughes
sterlingThu Feb 15 08:20:14 2001 EDT Modified files: /php4/ext/bz2 bz2.c php_bz2.h /php4/ext/curl curl.c php_curl.h /php4/ext/sablotphp_sablot.h sablot.c /php4/ext/swf php_swf.h swf.c Log: Change e-mail address

[PHP-CVS] cvs: php4 /ext/curl curl.c

2001-03-02 Thread Sterling Hughes
sterlingFri Mar 2 17:06:55 2001 EDT Modified files: /php4/ext/curl curl.c Log: add a warn not available for curl_getinfo(). remove unneccessary error checking. Index: php4/ext/curl/curl.c diff -u php4/ext/curl/curl.c:1.38 php4/ext/curl

Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c basic_functions.h

2001-03-03 Thread Sterling Hughes
Am I right that your removing this function? uu, backwards compat?? ;-) -Sterling > zeev Sat Mar 3 17:17:22 2001 EDT > > Modified files: > /php4/ext/standard basic_functions.c basic_functions.h > Log: > this function will never return true... > > &g

[PHP-CVS] cvs: php4 /ext/zziplib php_zziplib.h zziplib.c

2001-01-11 Thread Sterling Hughes
sterlingThu Jan 11 01:23:34 2001 EDT Modified files: /php4/ext/zziplib zziplib.c php_zziplib.h Log: @ Add an experimental version of the ZZipLib extension which provides the @ ability to read zip files. (Sterling) Index: php4/ext/zziplib

[PHP-CVS] cvs: php4 / EXTENSIONS /ext/zziplib CREDITS EXPERIMENTAL README

2001-01-11 Thread Sterling Hughes
sterlingThu Jan 11 01:35:15 2001 EDT Modified files: /php4 EXTENSIONS /php4/ext/zziplib CREDITS EXPERIMENTAL README Log: Housekeeping... Index: php4/EXTENSIONS diff -u php4/EXTENSIONS:1.12 php4/EXTENSIONS:1.13 --- php4/EXTENSIONS

[PHP-CVS] cvs: php4 /ext/curl curl.c php_curl.h

2001-01-12 Thread Sterling Hughes
sterlingFri Jan 12 02:49:39 2001 EDT Modified files: /php4/ext/curl php_curl.h curl.c Log: Make daniel's changes work in ZTS mode... Index: php4/ext/curl/php_curl.h diff -u php4/ext/curl/php_curl.h:1.15 php4/ext/curl/php_curl.h:1.16 ---

Re: [PHP] Problem with Exec()

2001-01-12 Thread Sterling Hughes
oster: Use PHP's built-in mail() function instead, don't fork out to sendmail, actually, better yet, use linux :-). -Sterling Richard Lynch wrote: > > First, make sure that sendmail is something the iUSR_machinename can run -- > Just because you logged in as you can run it do

Re: [PHP] Guru Needed - the parser is corrupting my html!!

2001-01-13 Thread Sterling Hughes
As a note, you can also place: And that will solve your problem... -Sterling Cynic wrote: > > this is a bug in PHP (several reports in bug db). either ask > your ISP to disable trans-sid in your virtual host, or do it > yourself in .htaccess > > At 15:52 13.1. 2001, Jam

Re: [PHP] Wondering whats wrong?

2001-01-13 Thread Sterling Hughes
t; --Toby > That is good advice, but i don't think that's the poster's problem. The problem is the following code: fputs("$fp", "GROUP $groups[$i]\n"); You cannot stringify a resource (with PHP 4). Therefore the offending code must look like: fputs($fp

[PHP-CVS] cvs: php4 /ext/sablot php_sablot.h sablot.c

2001-01-16 Thread Sterling Hughes
sterlingTue Jan 16 04:02:47 2001 EDT Modified files: /php4/ext/sablotphp_sablot.h sablot.c Log: @ Added the xslt_set_base function. (Sterling) Added the SABLOT_SET_ERROR() macro to set sablotron errors... Index: php4/ext/sablot

[PHP-CVS] cvs: php4 /ext/sablot sablot.c

2001-01-17 Thread Sterling Hughes
sterlingWed Jan 17 06:14:22 2001 EDT Modified files: /php4/ext/sablotsablot.c Log: Fix (well it works) the error display with sablotron. Index: php4/ext/sablot/sablot.c diff -u php4/ext/sablot/sablot.c:1.30 php4/ext/sablot/sablot.c:1.31

[PHP-CVS] cvs: php4 /pear/HTML Processor.php

2001-01-17 Thread Sterling Hughes
sterlingWed Jan 17 08:34:06 2001 EDT Added files: /php4/pear/HTML Processor.php Log: @ Add the HTML_Processor class which provides common functions for processing HTML. @ (Sterling) Index: php4/pear/HTML/Processor.php +++ php4/pear/HTML

Re: [PHP] xslt_run problems

2001-01-18 Thread Sterling Hughes
ade, or a work-around to see what exactly is wrong, is to simply go: function xsl_error($parser, $code, $level, $errors) { echo "Parser: $parser\n\n"; echo "Code: $code\n\n"; echo "Level: $level\n\n"; echo "Errors: \n\n\n";

[PHP-CVS] cvs: php4 /ext/sockets sockets.c

2001-01-18 Thread Sterling Hughes
sterlingThu Jan 18 12:49:13 2001 EDT Modified files: /php4/ext/sockets sockets.c Log: Fix the proto Index: php4/ext/sockets/sockets.c diff -u php4/ext/sockets/sockets.c:1.28 php4/ext/sockets/sockets.c:1.29 --- php4/ext/sockets/sockets.c:1.28

Re: [PHP] Clearing a variable

2001-01-18 Thread Sterling Hughes
> [EMAIL PROTECTED] > > 800-994-6364 > > www.webintellects.com > > > > > > unset($var); > Actually, just to clarify, that removes a variable from the symbol table. to clear the contents of a variable, just set it to null

Re: [PHP] Profanity Filter

2001-01-19 Thread Sterling Hughes
, $text)) { print("Naughty man"); } else { print("Well, fuck, you're curse free! Congrats..."); } Or just store it in a string and omit the implode and file() function calls (I'd prefer placing it in a file for easy addition of new curses)... If you go with the

Re: [PHP] Profanity Filter

2001-01-19 Thread Sterling Hughes
't like arrays, because then it requires a programmer to add dirty word... -sterling -- 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] Profanity Filter

2001-01-19 Thread Sterling Hughes
> On Fri, 19 Jan 2001, Sterling Hughes wrote: > > > If you go with the other method (described by Ignacio), see the in_array() > > function, which saves you the trouble of looping... > > > > -Sterling > > > > I thought about in_array(), but then I re

Re: [PHP] Profanity Filter

2001-01-19 Thread Sterling Hughes
> On Fri, 19 Jan 2001, Ignacio Vazquez-Abrams wrote: > > > On Fri, 19 Jan 2001, Sterling Hughes wrote: > > > > > I'm saying use the same method, but use an array and avoid the strpos() > > > function: > > > > > > $words = preg_split(&

Re: [PHP] Profanity Filter

2001-01-19 Thread Sterling Hughes
> On Fri, 19 Jan 2001, Sterling Hughes wrote: > > > Its a whip up of what I was talking about, I didn't mean it as real code > > :)... Switch $words to $word and then swith the argument order to in_array > > and yes, it makes sense... > > > &

Re: [PHP] Profanity Filter

2001-01-19 Thread Sterling Hughes
> On Fri, 19 Jan 2001, Sterling Hughes wrote: > > > Its a whip up of what I was talking about, I didn't mean it as real code > > :)... Switch $words to $word and then swith the argument order to in_array > > and yes, it makes sense... > > > &

[PHP-CVS] cvs: php4 /ext/sablot sablot.c

2001-01-20 Thread Sterling Hughes
sterlingSat Jan 20 15:42:03 2001 EDT Modified files: /php4/ext/sablotsablot.c Log: Fix the scheme handler support and make it compile on win32 systems. Index: php4/ext/sablot/sablot.c diff -u php4/ext/sablot/sablot.c:1.32 php4/ext/sablot

Re: [PHP] W98se, PWS 4.0, IE 5.5 php wird nicht interpretiert

2001-01-21 Thread Sterling Hughes
Hoi, Das hier ist eine rein-deutschsprachige Liste. Bitte schicke deutsche Mails an die deutsche PHP liste (php-center.de). Danke, Sterling Philipp Althaus wrote: > > trotz viel Nachlesen und üben schaffe ich es nicht php zum Laufen zu bringen. > Bin neu in der PHP-Welt.

Re: [PHP] W98se, PWS 4.0, IE 5.5 php wird nicht interpretiert

2001-01-21 Thread Sterling Hughes
[EMAIL PROTECTED] wrote: > > On Sun, Jan 21, 2001 at 09:40:01PM +0100, Sterling Hughes wrote: > > Hoi, > > Das hier ist eine rein-deutschsprachige Liste. Bitte schicke deutsche > > Mails an die deutsche PHP liste (php-center.de). > > Hei Sterling, this is a

Re: [PHP] null or NULL

2001-01-22 Thread Sterling Hughes
Carsten Gehling wrote: > > I don't get it. Is there any difference between null and NULL in PHP? > > Couldn't find any reference to either in the manual, only in the errata? > There is none. Its case-insensitive afaik. -Sterling -- PHP General Mailing List

Re: [PHP] PEAR?

2001-01-29 Thread Sterling Hughes
latest and greatest version of pear If your not adept with CVS, you can send me a mail for any class you want (or to the list)... There should be at least nightly builds (if that term could be used) on pear.php.net, I'll send you a note when there are Best Regards, Sterling Hughes [E

[PHP-CVS] cvs: php4 / TODO

2001-02-04 Thread Sterling Hughes
sterlingSun Feb 4 01:19:01 2001 EDT Modified files: /php4 TODO Log: Add a bunch of stuff.. Index: php4/TODO diff -u php4/TODO:1.109 php4/TODO:1.110 --- php4/TODO:1.109 Wed Jan 24 11:16:43 2001 +++ php4/TODO Sun Feb 4 01:19:01 2001

[PHP-CVS] cvs: php4 / TODO

2001-02-04 Thread Sterling Hughes
sterlingSun Feb 4 01:20:31 2001 EDT Modified files: /php4 TODO Log: # *Brain Fart* Index: php4/TODO diff -u php4/TODO:1.110 php4/TODO:1.111 --- php4/TODO:1.110 Sun Feb 4 01:19:01 2001 +++ php4/TODO Sun Feb 4 01:20:31 2001 @@ -71,7

Re: [PHP-CVS] cvs: php4 /ext/standard mail.c php_mail.h

2001-02-05 Thread Sterling Hughes
s the advanced features provided by sendmail, they can easily use popen() to achieve this... -Sterling -- PHP CVS 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] RE: [PHP-WIN] Revised [PHP] COM and PHP

2001-02-05 Thread Sterling Hughes
> I tried with FALSE same error. > > I also tried the following word example > > $word = new COM("word.application") or die("Unable to instanciate Word"); > print "Loaded Word, version {$word->Version}\n"; > $word->Visible = 0; > $word->Documents->Add(); > $word->Selection->TypeText("Testing, te

Re: [PHP-CVS] cvs: php4 /ext/standard mail.c php_mail.h

2001-02-06 Thread sterling hughes
Derick Rethans wrote: > > On Mon, 5 Feb 2001, Sterling Hughes wrote: > > > > @- Added a new parameter to mail() which appends aditional command line > > > @ parameters to the mail program. (Derick) > > > > This won't be portable, on windows it

Re: [PHP-CVS] cvs: php4 /ext/curl config.m4

2001-03-11 Thread Sterling Hughes
Why this? -Sterling > sniper Sat Mar 10 16:49:16 2001 EDT > > Modified files: > /php4/ext/curl config.m4 > Log: > If AC_CHECK_LIB fails, assume that --with-openssl is needed > > Index: php4/ext/curl/config.m4 > diff -u php4/ext/curl/config.m4:1.3

[PHP-CVS] cvs: php4 /ext/bz2 bz2.c php_bz2.h

2001-03-14 Thread Sterling Hughes
sterlingWed Mar 14 22:24:38 2001 EDT Modified files: /php4/ext/bz2 bz2.c php_bz2.h Log: Bit of a cleanup, added some inline docs, decreased the amount of memory used. Index: php4/ext/bz2/bz2.c diff -u php4/ext/bz2/bz2.c:1.8 php4/ext/bz2

[PHP-CVS] cvs: php4 /ext/bz2 bz2.c

2001-03-14 Thread Sterling Hughes
sterlingWed Mar 14 23:03:28 2001 EDT Modified files: /php4/ext/bz2 bz2.c Log: remove a little insanity. Index: php4/ext/bz2/bz2.c diff -u php4/ext/bz2/bz2.c:1.9 php4/ext/bz2/bz2.c:1.10 --- php4/ext/bz2/bz2.c:1.9 Wed Mar 14 22:24:38

[PHP-CVS] cvs: php4 /ext/bz2 bz2.c

2001-03-15 Thread Sterling Hughes
sterlingThu Mar 15 20:23:58 2001 EDT Modified files: /php4/ext/bz2 bz2.c Log: Slightly modified fix from jeremy brand <[EMAIL PROTECTED]>. he correctly pointed out that allocating the buffer to a little more than need (exact formula is

[PHP-CVS] cvs: php4 /ext/bz2 bz2.c

2001-03-19 Thread Sterling Hughes
sterlingMon Mar 19 10:59:24 2001 EDT Modified files: /php4/ext/bz2 bz2.c Log: Whitespace fix... Index: php4/ext/bz2/bz2.c diff -u php4/ext/bz2/bz2.c:1.12 php4/ext/bz2/bz2.c:1.13 --- php4/ext/bz2/bz2.c:1.12 Thu Mar 15 20:23:58 2001

Re: [PHP-CVS] cvs: php4 /ext/midgard config.m4

2001-03-19 Thread Sterling Hughes
to the fact that this extension shouldn't even be in > PHP CVS. Where's that PEAR thing? :) > I don't think it belongs in PEAR at all. I could see the logic behind distributing it with PHP, but don't see any reason to distribute it in pear... -Sterling -- PHP CV

Re: [PHP-CVS] cvs: php4 /ext/midgard config.m4

2001-03-19 Thread Sterling Hughes
(even the C version of it) ... and that they both > belong in PEAR. > Well, I think a db abstraction layer could and should be distributed. But that's off topic. The midguard code, imho, belongs distributed with midguard, not in pear (where it doesn't fit) or as an extension.

[PHP-CVS] cvs: php4 /ext/curl curl.c

2001-03-19 Thread Sterling Hughes
sterlingMon Mar 19 17:46:41 2001 EDT Modified files: /php4/ext/curl curl.c Log: Remove some unnecessary error checking Index: php4/ext/curl/curl.c diff -u php4/ext/curl/curl.c:1.39 php4/ext/curl/curl.c:1.40 --- php4/ext/curl/curl.c:1.39

[PHP-CVS] cvs: php4 /ext/curl curl.c

2001-03-20 Thread Sterling Hughes
sterlingTue Mar 20 13:30:43 2001 EDT Modified files: /php4/ext/curl curl.c Log: remove some unneccessary casts, remove unneccessary error casts, standardize the coding format for some of the stuff. Index: php4/ext/curl/curl.c diff -u php4

[PHP-CVS] cvs: php4 / EXTENSIONS

2001-03-21 Thread Sterling Hughes
sterlingWed Mar 21 11:46:13 2001 EDT Modified files: /php4 EXTENSIONS Log: Remove experimental status from bz2 Index: php4/EXTENSIONS diff -u php4/EXTENSIONS:1.15 php4/EXTENSIONS:1.16 --- php4/EXTENSIONS:1.15Fri Jan 19 08:12:36 2001

[PHP-CVS] cvs: php4 /ext/bz2 EXPERIMENTAL

2001-03-21 Thread Sterling Hughes
sterlingWed Mar 21 11:47:05 2001 EDT Removed files: /php4/ext/bz2 EXPERIMENTAL Log: Remove experimental status from bz2 (as of 4.0.6) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP-CVS] cvs: php4 /ext/dbx dbx.c dbx_mysql.c dbx_mysql.hdbx_odbc.c dbx_odbc.h php_dbx.h

2001-03-22 Thread Sterling Hughes
viour, or the fixing of an important bug/crash. -Sterling -- PHP CVS 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-CVS] cvs: php4 / FUNCTION_LIST.txt

2001-03-26 Thread Sterling Hughes
sterlingMon Mar 26 10:29:13 2001 EDT Removed files: /php4 FUNCTION_LIST.txt Log: Remove FUNCTION_LIST.txt, the file is sadly out of date and not really used... -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail

Re: [PHP-CVS] cvs: php4 /ext/fdf fdf.c

2001-04-06 Thread Sterling Hughes
the active voice is the correct voice for you to use in this case. -Sterling -- PHP CVS 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-CVS] cvs: php4 /ext/fdf fdf.c

2001-04-06 Thread Sterling Hughes
On Sat, 7 Apr 2001, Jani Taskinen wrote: > On Fri, 6 Apr 2001, Sterling Hughes wrote: > > >On Sat, 7 Apr 2001, Jani Taskinen wrote: > > > >> sniper Fri Apr 6 19:48:20 2001 EDT > >> > >> Modified files: > >>

[PHP] accessing files not in www root directory.

2001-06-30 Thread Sterling Anderson
s is a Linux server running Apache. Any ideas? Thanks, Sterling Anderson [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] accessing files not in www root directory.

2001-06-30 Thread Sterling Anderson
Linux server running Apache. Any ideas? Thanks, Sterling Anderson [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] PHP is cool by me.

2001-07-17 Thread Sterling Hanenkamp
fter I have put hours and days of effort into them--this one has done just that. Thanks, Sterling -- 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] Teen Hobos having sex? ..no.. but MAYBE

2001-07-30 Thread Sterling Hanenkamp
Matt's Script Archive was just updated a couple days ago and includes a fix similar to mine--I just discovered. Thanks, Sterling Andrew Sterling Hanenkamp wrote: > Actually, if you use telnet you can write your own headers and say > you've been refered by whoever you want

Re: [PHP-CVS] cvs: php4 /ext/standard dir.c

2001-04-09 Thread Sterling Hughes
On Mon, 9 Apr 2001, Sean Bright wrote: > elixerMon Apr 9 13:56:49 2001 EDT > > Modified files: > /php4/ext/standarddir.c > Log: > Stop SIGSEGV on Apache startup. Patch from <[EMAIL PROTECTED]> > Should be CONST_CS|CONST_PERSISTENT no? > > Index: php4/ext/stan

Re: [PHP-CVS] cvs: php4 /ext/odbc php_odbc.c

2001-04-16 Thread Sterling Hughes
>((*pv_onoff)->value.lval) ? > This should be breaking something, no? Either way an "if" statement is started therefore it needs to be finished. -Sterling -- PHP CVS 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-CVS] cvs: php4 /ext/odbc php_odbc.c

2001-04-17 Thread Sterling Hughes
On Tue, 17 Apr 2001, Jani Taskinen wrote: > On Mon, 16 Apr 2001, Sterling Hughes wrote: > > >> > >> -#ifndef HAVE_DBMAKER > >> - if ((*pv_onoff)) { > >> -#else > >>if (pv_onoff && (*pv_onoff)) { > >> -#en

[PHP-CVS] cvs: php4 /ext/sablot sablot.c

2001-04-19 Thread Sterling Hughes
sterlingThu Apr 19 07:59:34 2001 EDT Modified files: /php4/ext/sablotsablot.c Log: fix crash bug 10400. Index: php4/ext/sablot/sablot.c diff -u php4/ext/sablot/sablot.c:1.37 php4/ext/sablot/sablot.c:1.38 --- php4/ext/sablot/sablot.c:1.37

[PHP-CVS] cvs: php4 /ext/ccvs ccvs.c

2001-04-22 Thread Sterling Hughes
sterlingSun Apr 22 16:40:34 2001 EDT Modified files: /php4/ext/ccvs ccvs.c Log: Fix bug #10447. Index: php4/ext/ccvs/ccvs.c diff -u php4/ext/ccvs/ccvs.c:1.13 php4/ext/ccvs/ccvs.c:1.14 --- php4/ext/ccvs/ccvs.c:1.13 Sun Feb 25 22:06:48

[PHP-CVS] cvs: php4 /ext/curl curl.c

2001-04-24 Thread Sterling Hughes
sterlingTue Apr 24 15:10:41 2001 EDT Modified files: /php4/ext/curl curl.c Log: Fixed a crash bug. Return the proper amount. Index: php4/ext/curl/curl.c diff -u php4/ext/curl/curl.c:1.41 php4/ext/curl/curl.c:1.42 --- php4/ext/curl

Re: [PHP] socket error

2001-09-07 Thread Sterling Hughes
all to undefined function: socket() in c:\program files\apache >group\apache\htdocs\test\sock.php on line 10 > > > can any one help > The socket functions have been renamed as of php4.0.7 Use socket_open() instead... -Sterling -- PHP General Mailing List (http://www.ph

RE: [PHP] randomly picking a variable from an array

2001-09-07 Thread Sterling Hughes
ot;SELECT quote,author from randomQuote ORDER by RAND() LIMIT 1" in > mysql) > > If this isn't the case, something like this should work.. > > srand(time()); > $random=rand(0,sizeof($myVar)-1); > > Hope I could be of some help... > array_rand() will

Re: [PHP] socket error

2001-09-07 Thread Sterling Hughes
On Sat, 8 Sep 2001, sagar wrote: > thanX sterling, > > i've changed it to socket_open() but the problem > still exists. > Sorry, meant socket_create() -- for a list of the new names, open up php4/ext/sockets/sockets.c and take a look at the function entry.

Re: [PHP] file management

2001-09-07 Thread Sterling Hughes
the above is devoid of error checking :) -Sterling -- 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] Cybercash compiling as shared module

2001-09-07 Thread Sterling Hughes
hared and > ./configure --with-cybercash=shared,/path/to/mck > > both don't work. Is Cybercash not something that can be compiled as a > shared object? > No, I got this working in PHP 4.0.2 (scary that I remembered this off the top of my head). -Sterling -- PHP Ge

Re: [PHP] Re: Regular Expressions - A relatively simple search...

2001-09-09 Thread Sterling Hughes
On Mon, 10 Sep 2001, Mike Gifford wrote: > Thanks robin, this is very useful! > yep, although pathinfo() is much easier: $extension = pathinfo($userfile_name, PATHINFO_EXTENSION); -Sterling > Robin Vickery wrote: > > [EMAIL PROTECTED] (Mike Gifford) writes: &g

Re: [PHP] cURL support

2001-09-10 Thread Sterling Hughes
p1 and 4.0.5 work just fine. Curious. > Some people have reported problems with cURL and PHP v4.0.6 (regarding SSL, although I haven't seen them, and some people don't have problems). Upgrade to a recent snapshot (or latest CVS) of cURL and everything should be fine

Re: [PHP] Re: WELCOME to php-general@lists.php.net

2001-09-13 Thread Sterling Hughes
) yes, you can include pages from other servers 2) the error means that the domain name you are including from doesn't resolve to an ip address (more accurately an addrinfo structure). -Sterling > - Original Message - > From: "Andreas Sartori" &l

RE: [PHP] posted urls

2001-09-13 Thread Sterling Hughes
ough str_replace is faster and better... fyi, if you want to encode a string for a URL, use the urlencode() function. -Sterling > -Original Message- > From: Egon Schmid [mailto:[EMAIL PROTECTED]] > Sent: September 14, 2001 2:20 PM > To: Alexander Skwar > Cc:

Re: [PHP] Re: Why doesn't this work?

2001-09-15 Thread Sterling Hughes
. Untried, but > maybe this will do the trick for you: > > print {split("=",$testString)}[0]; > > This won't work. Reason: PHP isn't Perl. -Sterling -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] PHP/CVS

2001-09-15 Thread Sterling Hughes
src file contains: > $ cat ~/.cvsrc > cvs -z9 > update -d -P > checkout -P > diff -u > download it from php.net -Sterling -- 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 vs. PERL (Functional Comparison)??

2001-09-16 Thread Sterling Hughes
code. I'm personally a Perl fan myself, as far as syntax is concerned, so I can't make the best argument for PHP over Perl. But the reason I use PHP instead of Perl for web related programming is simply because I can code faster in PHP than I can in Perl (really, PHP

Re: [PHP] What is PHP's equivalent?

2001-09-17 Thread Sterling Hughes
alent, but... PHP supports loading of COM, .NET and Java objects into its source code, you can also write PHP extensions in C (much faster than COM, .NET or EJB). -Sterling -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: [PHP] GPL and The PHP License

2001-09-24 Thread Sterling Hughes
> 2) Can I write a program in php and to distribute it under the gpl license? yes, naturally... > 3) Why qpl and not gpl? > The PHP License is not the QPL. We're a bit more commercial friendly than the GPL or QPL... -Sterling -- PHP General Mailing List (ht

  1   2   >