[PHP] [NEW] XML-PHP Forums

2003-06-30 Thread sterling
New forum, dedicated to XML/PHP, from the PHP/XML based site xmlmania.com (main site currently in development). Completely new, join NOW! -- PHP Announcements Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

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]

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

[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] does //commenting reduce performance?

2002-11-24 Thread Sterling Hughes
phase. If you're worried about the extra lex/io time on your scripts then (besides being a little insane :), you should just be using a cache like the PHP Accelerator or APC, which will make comments give you absolutely no performance hit. -Sterling -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Insert file into sql server binary field.

2002-11-24 Thread Sterling Hughes
> Read the file, addslashes(), and then insert it > Rather, read the file, don't touch addslashes, then insert it. AddSLashes is not for binary data... -Sterling > Naif Al-Otaibi wrote: > > >How can I insert a file into a binary field in sql server 2000. Do I >

Re: [PHP] OS X and cURL Issues

2002-11-30 Thread Sterling Hughes
you need to upgrade the bundled cURL to version 7.9.8 (soon to be 7.10.2), or install a special version of the cURL library for PHP's installation. -Sterling > I'm working on getting the following install working under OS 10.2.2: > > ../configure --prefix=/usr \

[PHP] Problems with text files from a Mac

2002-12-13 Thread Sterling Anderson
I am working on an application for a school district and am having some problems with the files they are supplying for import. They are supplying data files and I am writing routines to populate the database using these files. Its a simple file upload then I just need to parse through the tab se

Re: [PHP] PHP 4.3.0, function removed?

2002-12-28 Thread Sterling Hughes
leak() is only included if you compile PHP with debug mode. Out of interest, why on earth would someone in user-space be using the leak() function. -Sterling > Can't see anything in the changelog but after upgrading to 4.3.0 I get an error when >using leak(); > Fatal error: Cal

Re: [PHP] Web Based PHP CVS

2003-01-05 Thread Sterling Hughes
> > Does anyone know of any decent PHP/Web front ends to CVS? > check out chora. -sterling > Thanks > Mike > > > P.S. Still looking for a good Linux SysAdmin Mail list. > I don't understand Romanian but thanks for the answer! :-) > > > >

Re: [PHP] Zend IDE vs. PhpEd

2003-01-05 Thread Sterling Hughes
Zend IDE. 5) I like working with it more, and that's what it all comes down too. The Zend IDE is what I'm more comfortable with (outside of vim and emacs, which I must admit are my primary development tools). -Sterling > Thanks! > > John > > > > -- >

[PHP] PHP and XML mailing list

2003-01-24 Thread Sterling Hughes
on [EMAIL PROTECTED] -Sterling -- "Nothing is particularly hard if you divide it into small jobs." - Henry Ford -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] slides

2003-01-27 Thread Sterling Hughes
On Mon, 2003-01-27 at 10:20, Ornella Fasolo wrote: > Hallo, > does anybody knows where can I find a set of presentation > sildes of the PHP language base(or PHP toghether with mysql)? . > May be coming from any tutorial or previous course. > Thank you very much > http://talks.php.net/ > Ornella

[PHP] Destroying COM objects

2003-02-27 Thread Sterling Anderson
When using the COM functions in PHP what is the equivalent of ASPs "set object=nothing"? I am using the Crystal Report objects and I cannot seem to destroy my Report object. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Destroying COM objects

2003-02-28 Thread Sterling Anderson
Tried setting it to NULL and unset(com_onject). Neither are working. I'm stumped. On Thu, 27 Feb 2003 23:35:23 +, Rich Gray wrote: >> When using the COM functions in PHP what is the equivalent of >> ASPs "set object=nothing"? >> I am using the Crystal Report objects and I cannot seem to >>

RE: [PHP] php5 writeup

2003-04-04 Thread Sterling Hughes
again ? i've been reading the java > intro on the sun site and it goes into detail about it > http://ny1.php.net/talks/show.php/php5intro/13 > > hmm i soughta found php4 cant do this > > function add_agent($name) { > array_push($this->agents, $name); &g

Re: [PHP] dotnet module?

2003-06-11 Thread Sterling Hughes
In php5 you can use the mono module. -Sterling On Wed, 2003-06-11 at 21:43, DvDmanDT wrote: > Hello, I was wondering if anyone has a working php_dotnet.dll? I was also > wondering is anyone was going to add class constructor support for it? Or is > that already supported? > > Th

[PHP] PHP 5.0.0 Beta 1

2003-06-29 Thread Sterling Hughes
The PHP development community is proud to announce the release of PHP 5 Beta 1. Both source packages and a Win32 build are available, you can find these packages at http://www.php.net/downloads.php. For a complete list of changes, please refer to http://www.php.net/ChangeLog-5.php. Some of the m

[PHP] Re: [PHP-DEV] Do I need the closing ?> tag

2002-11-08 Thread Sterling Hughes
uld any PHP developer care to > prognosticate on the liklihood this might change in future? > I definitely think that _you_ should do it. But this is not the proper place for these questions, ask them on [EMAIL PROTECTED] ?> Sterling -- Sterling Hughes <[EMAIL PROTECTED]> Did I

[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

[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

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

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

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

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

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

  1   2   >