[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

[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

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

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

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

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

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

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

[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

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

[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] 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] 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] How would you code: $r = func() or return 0?

2001-09-26 Thread Sterling Hughes
() statement: > $value = some_function() > if (!$value) { > return 0; > } The last way is how you would do it... And FYI, its an extra if statement in the Perl code too (speed wise)... -Sterling -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] curl_exec() output and curl_setopt( CURL_CERTIFICATE,$path )

2001-09-25 Thread Sterling Hughes
On Tue, 25 Sep 2001, Kamil Nowicki wrote: > 1. How to redirect curl_exec() output to a variable without >passing it thru a file? > curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $data = curl_exec($ch); echo $data; curl_close($ch); -Sterling -- PHP General Mai

Re: [PHP] CURL

2001-09-24 Thread Sterling Hughes
> curl_setopt ($ch, CURLOPT_HEADER, 0); > > > curl_exec ($ch); > curl_close ($ch); > fclose ($fp); > ?> > What's the URL your fetching? You don't need SSL for file system access... -Sterling > > I have come to believe that the whole

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

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] 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] 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] 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] 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: 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] 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: 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] 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] 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] 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] 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
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] Re: include_once vs require_once

2001-08-04 Thread Andrew Sterling Hanenkamp
Perhaps the manual should be made to reflect this since, my understanding came from the online version of the manual. Sterling Philip Olson wrote: > Yes, this is essentially true. Zeev posted this to the list awhile ago, > see the following : > > http://www.faqts.com/kn

[PHP] Re: include_once vs require_once

2001-07-31 Thread Andrew Sterling Hanenkamp
the file whereas an included file is only imported if the include() statement is executed. The same is true for the _once() versions except that the statement evaluates to nothing if the file has already been imported by another statement. Cheers, Sterling Mike Cullerton wrote: > hey fo

[PHP] Re: Syntax Error On Line 1

2001-07-31 Thread Andrew Sterling Hanenkamp
the correct line endings often leads to confusion for parsers. Cheers, Sterling Php Wannabe wrote: > I recently just started using PHP. I searched this list's archives first, > but couldn't find an answer to my question: > > Whenever I get a "syntax error"

[PHP] Re: also window.open(javascript)

2001-07-31 Thread Andrew Sterling Hanenkamp
window.open() to identify the file's location. (Sending the filename itself would probably be imprudent security-wise.) Then, the second script can find the file in the temp folder on the server from the passed identifier. Cheers, Sterling Eduardo Kokubo wrote: > I know I sent I message

[PHP] Re: Sort by bigger count(*)

2001-07-31 Thread Andrew Sterling Hanenkamp
Unless you've used GROUP BY you'll only return one row. I think that something like SELECT x, count(y) FROM table GROUP BY y ORDER BY count(y); Ought to work. Later, Sterling Elias wrote: > Hello, > > I made a query that uses count(*) > now how can i get the result

[PHP] Re: Regex question

2001-07-31 Thread Andrew Sterling Hanenkamp
You're making your expressions too complicated. To test for just that string, eregi("HTTP/1\.[01] 302", $output) should work. Later, Sterling Boaz Yahav wrote: > I'm trying to find if a string exists inside a string. Instead of using > strstr() twice I want to use

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] Teen Hobos having sex? ..no.. but MAYBE

2001-07-30 Thread Andrew Sterling Hanenkamp
WAYS CHECK THE RECIPIENT to make sure it's not just anyone. I've quit using that script in favor of my PHP script that just translates keys given in the form into real addresses so that the formmail doesn't even really get the ability to send to just anyone. Sterling PS -

[PHP] Classes and sessions

2001-07-24 Thread Andrew Sterling Hanenkamp
gling with this for 3 or 4 days now and some help would be much appreciated. 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]

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

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

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

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

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

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

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

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

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

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

[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] 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); }

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

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

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

[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

[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

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

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.

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

[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

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

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

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

[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

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

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

  1   2   >