, 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
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
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
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
&
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
username,password)
VALUES
('$fname','$lname','$address','$city','$state','$zip','$country','$email','$user
name','$password')";
$result = mysql_query($sql);
}
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
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
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]
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
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:
>
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]
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?
>
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
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
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&
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
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
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
.
*
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
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
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
>
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
>
> 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
/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
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
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
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
, 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]
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
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
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
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
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
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
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
---
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
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
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
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
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
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
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";
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
> [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
, $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
'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]
> 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
> 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(&
> 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...
> >
> &
> 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...
> >
> &
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
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.
[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
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
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
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
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
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]
> 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
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
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
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
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
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
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
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
(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.
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
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
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
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
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]
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
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]
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:
> >>
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]
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]
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]
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
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
>((*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]
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
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
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
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
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
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
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.
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]
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
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
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
) 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
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:
. 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
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]
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
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
> 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 - 100 of 111 matches
Mail list logo