Re: [PHP] Exact string replacement...

2002-02-09 Thread Brian Clark
ring, right? Take out the ^ in each and you'll get the correct result. > help me out Hope that helps. -- Headers set. CCs on list replies -> bit bucket. Brian Clark | The land of the free, and the home of the brave. Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Exact string replacement...

2002-02-08 Thread Brian Clark
replies -> bit bucket. Brian Clark | Unable to leap tall buildings in a single bound. Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Exact string replacement...

2002-02-08 Thread Brian Clark
; > Actually I want to replace "is" alone from the string and not all the > words that contains is... str_replace() would be easier: -- Headers set. CCs on list replies -> bit bucket. Brian Clark | Unable to leap tall buildings in a single bound. Fingerprint: 07CE FA37 8DF6

Re: [PHP] Re: Anyone Up?

2002-02-01 Thread Brian Clark
* Lars Torben Wilson ([EMAIL PROTECTED]) [Feb 01. 2002 05:07]: > On Fri, 2002-02-01 at 01:33, Brian Clark wrote: > > XHTML isn't too different. There are different `rules' -- like tags > > and attributes must be lower case, values must be surrounded by > > doub

Re: [PHP] Re: Anyone Up?

2002-02-01 Thread Brian Clark
quot;rocker\""; Likewise: print 'Brian is somewhat \'out of it\' most of the time'; The problem you spoke of happens when you do this: IIRC, $brian would turn out to contain 'is' without the insanity. -- Brian Clark | Avoiding the general publi

Re: [PHP] Re: Anyone Up?

2002-02-01 Thread Brian Clark
this is what you want... (Not trying to pick on you, Hugh. ) It'd be better just to write proper HTML/XHTML and use double quotes. or just: print ''; But it would work with single quotes around attributes. I don't know if it'd validate though. -- Brian Clark | Av

Re: [PHP] Anyone Up?

2002-02-01 Thread Brian Clark
t have been different. As of php 4.1.0, over here, that returns nothing in this context: -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Avoid strange women and temporary variables. -- PHP General Mailing List (http:/

Re: [PHP] Anyone Up?

2002-01-31 Thread Brian Clark
* Brian Clark ([EMAIL PROTECTED]) [Feb 01. 2002 02:37]: [...] > echo ${"Check$i"} Whoops. Make that: echo ${"Check$i"}; -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 It may be your sole purpos

Re: [PHP] Anyone Up?

2002-01-31 Thread Brian Clark
does not work of course! > for ($i = 1; $i <= $NMax; $i++) > { > echo $Check.$i""; echo ${"Check$i"} > } > :) Help Hope it helps. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Varia

Re: [PHP] Installing Apache on WinXP

2002-01-29 Thread Brian Clark
your Apache install directory, then execute Apache normally (just type apache, in that directory, in an MS-DOS console window). That may tell you what the "real" error is. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2

Re: [PHP] PHP and MYSQL Security`

2002-01-27 Thread Brian Clark
7;$hostname', '$user', '$password', and '$dbname' aren't interpolated. They're literally taken as the string $hostname, etc. Leave off the 's or surround the variables in double quotes. But you know that. ;-D -- Brian Clark | Avoiding the g

Re: [PHP] RTFM

2002-01-19 Thread Brian Clark
basically from my own > >experiences. You guys have seen this, right? <http://php.faqts.com/> -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Easy as 3.1415926535897932384626433832795028841 -- PHP Gen

Re: [PHP] RTFM

2002-01-19 Thread Brian Clark
tions unless they're really bored out of their mind, or _feel like learning, themselves_. I'm not trying to be sarcastic, I'm just speaking the truth. And, the PHP manual /is/ a Fine one. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 81

Re: [PHP] installing php3 and php4 on the same server

2002-01-17 Thread Brian Clark
.9.1.0.25 tested) - Solaris 2.5 or better - FreeBSD (3.2, 4.0 tested) - IRIX64 6.5 To enable it, It's explained there. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Fortune cookie: Outlook not so g

Re: [PHP] Re: Computer Science and PHP

2002-01-17 Thread Brian Clark
rator about installing PHP, he uttered: "PHP is too new. If it were coded in Perl it would work perfectly." Mega'tard Nonsense. [snipped the rest of possibly the longest post ever made to php-general] ;-D And, I know, it's not /that/ damned new. I've had to deal with that

Re: [PHP] Cannot load: iconv_module_entry

2002-01-11 Thread Brian Clark
ut I do have > /usr/compat/linux/etc/ld.so.conf I think FreeBSD uses rc.conf - check the shlib_dirs variable, IIRC. And a note about your earlier reply in this thread: I'm only guessing this will fix the problem. That's been the fix when I've seen error messages like that in the

Re: [PHP] Cannot load: iconv_module_entry

2002-01-10 Thread Brian Clark
27; So you configured PHP --with-iconv? My guess is that you'll need to include the path to your libraries for iconv in /etc/ld,so.conf then run ldconfig. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Too many frea

Re: [PHP] CGI and HTTP Authentication

2002-01-04 Thread Brian Clark
* Gaylen Fraley ([EMAIL PROTECTED]) [Jan 05. 2002 01:36]: > But is there a PHP variable that holds the Server API? How about a function that returns a string? php_sapi_name() PHP 4.x -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B

Re: [PHP] CGI and HTTP Authentication

2002-01-04 Thread Brian Clark
/path/to/httpd -l | grep mod_auth -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Backup not found: (A)bort, (R)etry, (P)ee your pants. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTE

Re: [PHP] php form

2002-01-04 Thread Brian Clark
tely new to PHP, this is a good introduction: <http://www.zend.com/zend/art/intro.php> -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Overflow on /dev/null, please empty the bit bucket. -- PHP General Mailing List (http:/

Re: [PHP] CGI and HTTP Authentication

2002-01-04 Thread Brian Clark
uot; it'll either say Apache or CGI. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 This page intentionally left unblank. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: [PHP] CGI and HTTP Authentication

2002-01-04 Thread Brian Clark
unless you use .htaccess based stuff. You may be able to use an admin page to add users and write out the .htaccess file(s). Might be possible.. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 (E)ight (M)egabytes (A)nd (C)ontinua

Re: [PHP] configuring sever to send mail (Win2k)

2002-01-04 Thread Brian Clark
* CJ ([EMAIL PROTECTED]) [Jan 04. 2002 23:01]: > PHP Version 4.0.6 > > [mail function] > ; For Win32 only. > SMTP = localhost Do you really have SMTP running on the Win2k server? -- Brian Clark | Avoiding the general public since 1805! Fingerp

Re: [PHP] PHP Compile Errors

2002-01-04 Thread Brian Clark
to have a clue how to get you fixed up (if they can). :-( I'd go to http://bugs.php.net and post a detailed report. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Enter any 11 digit prime number to continue. -- PHP General M

Re: [PHP] NEWBIE IN DISTRESS: Install Instructions are not work for PHP 4.1.1!!!

2002-01-04 Thread Brian Clark
People had problems in that past with 2.x; I don't know if the php-dev's have worked that out yet. > mentioned above) > PHP 4.1.1 > MDAC 2.7 > MySQL 3.23.46a Are there any hints in Apache's error_log? What is your exact LoadModule line you're using in httpd.conf? --

Re: [PHP] PHP-Friendly WYSIWYG HTML Editor

2002-01-04 Thread Brian Clark
rrent value produced by the PHP bits, > and then saves that information, statically. A lot of folks seem to love Macromedia Dreamweaver for use with PHP. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Everyone who believes

Re: [PHP] PEAR

2002-01-04 Thread Brian Clark
ragma: no-cache"); } $strHtml = $this->toHtml(); print $strHtml; } // end func display > Produces the following error: Which is why you are getting this error about header information: > TEST 1TEST 2 > Warning: Cannot add header information - headers already sent by (o

Re: [PHP] Cannot find imap library

2002-01-04 Thread Brian Clark
ry find me and hang me out back when it all goes poof. :) -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 It's been lovely, but I have to scream now. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] PHP XML with Dynamic Content

2002-01-04 Thread Brian Clark
to "how am i gonna mix this in the XML?" Why couldn't you store information in a database and write the XML files on the fly when you need XML? Or update the XML file when something changes? Or, why use XML at all? Do you _really_ need it? *confused* -- Brian Clark | Avoiding the

Re: [PHP] Warning: Unknown persistent list entry type in module shutdown (11)

2002-01-04 Thread Brian Clark
May help: <http://marc.theaimsgroup.com/?l=php-general&m=100847914032031&w=2> -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 I intend to live forever - so far, so good. -- PHP General Mailing List (http://

Re: [PHP] Re: Need some Linux/Apache help

2002-01-01 Thread Brian Clark
may want to google for "linux directory structure" or something similar. FYI, I keep my databases in /var/{type} where "{type}" is the type of database server. For example, postgres in /var/pgsql; mysql in /var/mysql; etc.. -- Brian Clark | Avoiding the general public since 1805! Fi

Re: [PHP] Re: Need some Linux/Apache help

2002-01-01 Thread Brian Clark
a new snapshot from snaps.php.net. tar -xzf [file] to unpack it, then try your same configure line, then make and see if you get the same problem. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 I'm not panicking.

Re: [PHP] Re: Need some Linux/Apache help

2001-12-31 Thread Brian Clark
* Brian Clark ([EMAIL PROTECTED]) [Dec 31. 2001 19:09]: > make 2>&1 /home/todd/makeerr.txt Gah! I need to just go watch TV or something. I meant: make 2>&1 > /home/todd/makeerr.txt That directs STDERR to STDOUT and that's redirected to /home/todd/makeerr.txt

Re: [PHP] Re: Need some Linux/Apache help

2001-12-31 Thread Brian Clark
* Brian Clark ([EMAIL PROTECTED]) [Dec 31. 2001 19:05]: > > How do I redirect the output *if* the output is errors? For example > > # make > /home/todd/makeerr.txt > Try this: > make 2> /home/todd/makeerr.txt Oh, and if you want it *all* to go to that file: make 2&g

Re: [PHP] Re: Need some Linux/Apache help

2001-12-31 Thread Brian Clark
ith > "--with-apxs". The configure runs fine; it is just the make and I have > noticed that with the above redirect, everything goes to the file > *except* the errors. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB

Re: [PHP] Re: Need some Linux/Apache help

2001-12-31 Thread Brian Clark
If you use --with-apxs you only need to build PHP and install it. > <<< > Just download PHP tarball, unpack it somewhere. > ./configure --with-apxs=/path/to/your/apxs [rest of your options here] > make install > >>> > Again, I am not sure how to find the path.

Re: [PHP] Support for GIF, PNG and JPEG. How ?

2001-12-31 Thread Brian Clark
bably dig it up on google... wait.. I think I remember "fly" using gd 1.3.x and I think it provides the source with it. <http://martin.gleeson.com/fly/> If you download the tarball, it *should* have gd version 1.3 in a directory in there somehwere. No idea if it still work

Re: [PHP] length of string

2001-12-31 Thread Brian Clark
* Ray Todd Stevens ([EMAIL PROTECTED]) [Dec 31. 2001 12:15]: > I can't seem to find this anywhere in the manuals. What is the > maximum length of a string? This probably depends on the Operating System.. for Linux you can check out limits.h, but for Windows, I have no idea. --

Re: [PHP] Re: Need some Linux/Apache help

2001-12-31 Thread Brian Clark
t of your options here] make install Then check httpd.conf to make sure it has a LoadModule line for php and AddType lines for php. You should see them commented out in httpd.conf. You should only need to uncomment the LoadModule line for PHP4, not PHP3. Then restart apache: /path/to/apachectl re

Re: [PHP] Listing files

2001-12-31 Thread Brian Clark
List the files in a directory Using PHP 4.x? <http://www.php.net/manual/en/class.dir.php> > 2) Send a selected file to the surfer <http://www.php.net/manual/en/function.header.php> Scroll 3/4 down. > Many thanks for any help in getting the correct syntax to do this..

Re: [PHP] Regular Expression Help

2001-12-31 Thread Brian Clark
ncluding) the ' portion of the BODY tag. "$matches[0] will contain the text that matched the full pattern, $matches[1] will have the text that matched the first captured parenthesized subpattern" So you want: $out[1] -- Brian Clark | Avoiding the general public since 1805! Fingerp

Re: [PHP] How to strip off all html-comments

2001-12-31 Thread Brian Clark
* James Cox ([EMAIL PROTECTED]) [Dec 31. 2001 06:38]: > http://www.php.net/stripcodes I think you mean strip_tags() <http://www.php.net/strip_tags> [...] > > Hello! How can I easily strip off all html-comments () from > > a string? > > Martin -- Brian Clark |

Re: [PHP] Re: Need some Linux/Apache help

2001-12-31 Thread Brian Clark
another one on your system)? > If Apache starts without probs, check the httpd.conf for php mime types. > What does Apache respond if you load your test script? -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Avoid

Re: [PHP] how long will REGISTERED GLOBALS be around?

2001-12-30 Thread Brian Clark
* PHP freak ([EMAIL PROTECTED]) [Dec 30. 2001 21:45]: > Think of how many PHP-CURIOUS people it'd turn off if you could ONLY do it with >$_REQUEST["myname"] Hell, I have to admit, that is pretty darn ugly. -- Brian Clark | Avoiding the general public since 1805! Finger

Re: [PHP] MySQL problem

2001-12-30 Thread Brian Clark
t does the server "say" in return? What is the error message? -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 You can't put a bag over someone's personality. -- PHP General Mailing List (http://ww

Re: [PHP] How to convert integers representations of a date to a date format variable

2001-12-30 Thread Brian Clark
store it as 30/12/2001 (but not a string) not only on a session variable >but also to make it easier to work with a MySQL table. For MySQL, this may help: <http://marc.theaimsgroup.com/?l=php-general&m=100927056511210&w=2> -- Brian Clark | Avoiding the general public since 1805

Re: [PHP] how long will REGISTERED GLOBALS be around?

2001-12-30 Thread Brian Clark
we're all going to have to face with older code as progress is made with PHP. It's probably not the last time something like this will happen. Happens with Perl, too. :-\ -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7

Re: [PHP] Parsing out numbers from a string

2001-12-30 Thread Brian Clark
/www.php.net/manual/en/pcre.pattern.modifiers.php> I think you'll want to use m (and g is default, as the comment says). Something like this may work: -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Recur

Re: [PHP] Need some Linux/Apache help

2001-12-30 Thread Brian Clark
script that contains > "phoinfo()" and it use to. That's because PHP isn't installed as an Apache module yet, or you haven't rebuilt Apache yet. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Immin

Re: [PHP] Handling checkboxs (MySQL+PHP)

2001-12-29 Thread Brian Clark
* David Jackson ([EMAIL PROTECTED]) [Dec 29. 2001 22:40]: > Brian -- > So I should change the line: > echo " >"; > To: > echo " >"; That should do it. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 07

Re: [PHP] Handling checkboxs (MySQL+PHP)

2001-12-29 Thread Brian Clark
* David Jackson ([EMAIL PROTECTED]) [Dec 29. 2001 21:41]: [...] > My question is how do I process checkbox when multi boxes have > been check. I keep thinking a array is created by check boxes? Use string[] as the name(s) -- where "string" is the label for the array you want.

Re: [PHP] Real Simple, but i'm new!!

2001-12-29 Thread Brian Clark
tion=news, action=links, action=asdfg and use a switch($action) I guess you're trying to make the URL as pretty as possible, right? -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 A library is an arsenal of liberty. -

Re: [PHP] WYSIWYG editors for HTML

2001-12-29 Thread Brian Clark
ers because Dreamweaver is the most popular WYSIWYG editor for that kind of stuff. I've never used Dreamweaver (or UltraDev?) but I hear they have "PHP Extensions" which may explain the popularity. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A

Re: [PHP] Control Panel , Webmin or similar Written in PHP

2001-12-29 Thread Brian Clark
rams/> or maybe here <http://www.hotscripts.com/PHP/Scripts_and_Programs/Server_Management/> -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Where are we going and why am I in this handbasket? -- PHP General Mailing List (htt

Re: [PHP] Which is which??

2001-12-29 Thread Brian Clark
t person to answer this, but if I had to give answer, I'd say they're all equal. You're going to have to define them _somewhere_. I mean, if they're global, right? So how much difference could one or the other make? If there is any huge difference, I'd love to know as

Re: [PHP] could not create new mailbox: Permission denied

2001-12-29 Thread Brian Clark
be the misconfig of IMAP server. Pls advise. Thanx. It's likely it's just a permissions problem.. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 10 out of 5 doctors feel it's OK to be skitzo! -- PHP General

Re: [PHP] pdflib

2001-12-29 Thread Brian Clark
> > What OS/distribution? A few months ago I installed 4.0.6 and pdflib on a > > SuSE server and it went just fine. [...] -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Fortune cookie: Outlook not so good, Microsof

Re: [PHP] Security bulletin?

2001-12-29 Thread Brian Clark
I mentioned here for secure coding practices: <http://marc.theaimsgroup.com/?l=php-general&m=100529130108021&w=2> And I can't seem to bring up zend.com lately.. (is something amiss with the site, by the way?) but if you can get there, I think Sterling Hughes wrote a good article (at zend.c

Re: [PHP] pdflib

2001-12-29 Thread Brian Clark
ake $ make test $ make install And in the PHP configure: --with-pdflib=/usr/local -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Therein lies the major problem facing the world. -- PHP General Mailing List (http://w

Re: [PHP] Only one instance of a script at a time !

2001-12-28 Thread Brian Clark
it instead, for example. That's one way.. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 $ mount -t neuro /dev/brain /mnt/head -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTEC

Re: [PHP] crack lib

2001-12-28 Thread Brian Clark
* Johnson, Kirk ([EMAIL PROTECTED]) [Dec 28. 2001 10:54]: > Hey, what is everyone talking about? What is the new crack lib > functionality? Is it in the docs yet? <http://download.php.net/manual/en/ref.crack.php> <http://www.zugeschaut-und-mitgebaut.de/php/extension.crack.h

Re: [PHP] MySql and /var/lib/mysql/mysql.sock Problem !!!

2001-12-28 Thread Brian Clark
y break other applications that depend on it being somewhere else. Check those scripts, they're probably defining the socket in there somewhere. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 UNIX: measuring in inconvenient

Re: [PHP] MsSQL from FreeBSD

2001-12-28 Thread Brian Clark
that in rc.local in order to get it to stick whenever you reboot. Again, I don't know if that'll have any effect.. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 One World, One Web, One Program. -- PHP

Re: [PHP] installing php with apache rpm (rh linux 7.2)???

2001-12-27 Thread Brian Clark
se you don't want to fool with Apache source, since you already have Apache installed via RPM. IN the INSTALL file, start where it states: QUICK INSTALL (DSO) -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 We are all fug

Re: [PHP] setlocale on OS X not working

2001-12-27 Thread Brian Clark
. I can't help you there. Although FreeBSD may use another method, or they may already be in the system, I'd just have no idea where you should look. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 English is my sec

Re: [PHP] setlocale on OS X not working

2001-12-27 Thread Brian Clark
1)Debian GNU/Linux LOCALE(1) NAME locale - Get locale-specific information. SYNOPSIS locale [ -a | -m] That's the one I was talking about.. Is there a `locale' package you can install for OSX? (There is for my system.) -- Brian Clark | Avoidin

Re: [PHP] MsSQL from FreeBSD

2001-12-27 Thread Brian Clark
about Linux, right? I'll bet `cat /proc/sys/fs/file-max` gives you 4096 Try upping the file descriptor limit in /proc/sys/fs/file-max. That may or may not solve the problem; worth a try. How much memory does the client machine (the one you `configure'd) have? -- Brian Clark | Avoid

Re: [PHP] setlocale on OS X not working

2001-12-27 Thread Brian Clark
in /usr/lib/locale, and I would use localedef to build definitions from the charmaps (I think. I might have those directories reversed.). I've never used (or seen) OSX, but does it use man? (I'm absolutely not being a smarta$$ here). If it has man, look at the man pages for `localedef&#x

Re: [PHP] MsSQL from FreeBSD

2001-12-27 Thread Brian Clark
m to disappear. In the output of phpinfo(), where it mentions your php.ini file, do you have it in that place? > On IIS i t works fine, but what do i miss??? -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Why is &

Re: [PHP] This makes NO SENSE!!!!!

2001-12-27 Thread Brian Clark
ars* to be a specific OS/distribution issue, but this is where my experience ends. I've seen weird issues like this on systems where I also see processes suddenly appear to have spawned in the winter of 1969. Check out the user notes here: <http://www.php.net/manual/en/function.mktime.php&g

Re: [PHP] PDF

2001-12-26 Thread Brian Clark
* Chamarty Prasanna Kumar ([EMAIL PROTECTED]) [Dec 26. 2001 05:09]: > > Hi All, > >Want to create PDF files using PHP Check out libpdf <http://www.php.net/manual/en/ref.pdf.php> Read the Introduction. -- Brian Clark | Avoiding the general public since 1805! Fing

Re: [PHP] gd_installation......................... :(

2001-12-26 Thread Brian Clark
y (like php_mssql.dll ,php_pdf.dll etc.)" So that's what I was going by. You're going to have to give a little more information. For instance, does the file php_gd.dll exist? -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E

Re: [PHP] Re: Suggestion: Adding fmt like linebreak algorithm

2001-12-25 Thread Brian Clark
class to compose and > send MIME messages as it is important that messages to not have more > than 75 characters per line. > http://phpclasses.UpperDesign.com/browse.html/package/9 For 4.0.2 or greater, there's also: <http://www.php.net/manual/en/function.wordwrap.php> --

Re: [PHP] Sessions php and flash5, cookies disabled

2001-12-25 Thread Brian Clark
7;m sure you meant for that line to be: Right? (note the $) Eventhough I don't think that has anything to do with your problem. > Thanks for any help. Why are you using SID=PHPSESSID= instead of just SID=? If you absolutely have to leave it the way you have it, you could always exp

Re: [PHP] gd_installation......................... :(

2001-12-25 Thread Brian Clark
named the ph_gd.dll file to php_gd.dll? Did you try that? -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 The beatings will continue until morale improves. -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] PHP/MYSQL ..what the hell is wrong here...

2001-12-25 Thread Brian Clark
uation. > the date field is empty, but it should be filled. When i enter in the value for the >date field in the form, I enter it as such: Jan 11, 2002 . I tested this beforehand >and it worked. What the hell is wrong?? $date = strftime("%y%m%d%H%M", strtotime($date)); And th

Re: [PHP] PHP4 and IB SS 6.01

2001-12-25 Thread Brian Clark
\ --with-interbase=/usr/local \ --with-apxs or.. If you don't want an apache module built, leave off --with-apxs and it'll create a standalone PHP executable (probably in /usr/local/bin/php unless you use --prefix=/usr in your configure line) -- Brian Clark | Avoiding the genera

Re: [PHP] SNMP with 4.1.0

2001-12-25 Thread Brian Clark
ough 'configure'. OK, another try. You say the file exists, but does it exist in /usr/local/snmp/lib/.libs? If not, you could always try a symlink to get them acquainted. Chances are, you've already tried that, correct? -- Brian Clark | Avoiding the general public since 1805! Finger

Re: [PHP] gd_installation

2001-12-24 Thread Brian Clark
7;t supposed to be named php_gd.dll instead of ph_gd.dll? Try making a copy of it and renaming it php_gd.dll and try to load that version. If that doesn't work, try this DLL instead: <http://php.weblogs.com/php_gd> -- Brian Clark | Avoiding the general public since 1805! Fingerprint:

Re: [PHP] SNMP with 4.1.0

2001-12-24 Thread Brian Clark
* Brian Clark ([EMAIL PROTECTED]) [Dec 24. 2001 22:26]: > OK, how about building the DSO via apxs manually and see if you get any > errors? IIRC, you can then place it in the correct directory in the > apache source and use --enable-shared=snmp in apache's configure > *I think*

Re: [PHP] SNMP with 4.1.0

2001-12-24 Thread Brian Clark
ry in the apache source and use --enable-shared=snmp in apache's configure *I think*. Why, let me ask Santa.. Yes, Santa says he believes that should work. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Sure FAT32 co

Re: [PHP] SNMP with 4.1.0

2001-12-24 Thread Brian Clark
`/usr/local/src/web/ssl2/php-4.1.0/ext/snmp' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/src/web/ssl2/php-4.1.0/ext' -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Enter any

Re: [PHP] gd_installation

2001-12-24 Thread Brian Clark
t; subject? > Sincerely. What's the exact error you're getting? -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Hardware: The parts of a computer system that can be kicked. -- PHP General Mailing List (http://

Re: [PHP] How to compile Apache/PHP

2001-12-24 Thread Brian Clark
the > compile from source. In addition to this, Todd, the install docs at mysql.com (and the Linux notes), are quite good, so have a look there, too, if you run into problems. (Or was it Interbase that you wanted? Must be the egg nogg) -- Brian Clark | Avoiding the general public since 1805!

Re: [PHP] Why Can't I Get PHP to Work with MySQL??

2001-12-23 Thread Brian Clark
he error is sort of misleading because it doesn't report *exactly* where it looked, but it's correct nonetheless. You need to pass it /usr/local because that is the correct *base* path. Now, after that, if it doesn't configure correctly, that's another story. -- Brian Clark

Re: [PHP] How to compile Apache/PHP

2001-12-23 Thread Brian Clark
ives, rather than depending on RPMs, for the first time. I know all of the above is kinda spotty, but I hope it gets you started. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 All you will ever be you are now becoming.

Re: [PHP] gd problem

2001-12-22 Thread Brian Clark
images that doesn't use this are coming up ok. Do this: % echo '' > /path/to/web/root/foo.php (of course, change the path to taste) Then open foo.php in your web browser. Look for the section titled `gd' That should tell you everything you need to know about gd support in

Re: [PHP] PHP software tool

2001-12-22 Thread Brian Clark
d would be useful. FAQ like you would not believe. <http://www.itworks.demon.co.uk/phpeditors.htm> <http://marc.theaimsgroup.com/?l=php-general> -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 HTML email needs

Re: [PHP] Premature EOS Header

2001-12-22 Thread Brian Clark
header ("location:dis_3.htm"); It may be because of that ^^^ line. Try this: header("Location: dis_3.htm"); Or check your server's error_log (which is bound to give you the reason why). -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE F

Re: [PHP] PGP --> PHP

2001-12-22 Thread Brian Clark
different environment. You need to create a dummy keyring for Apache's user in the location this may provide: Home is: ' . $effective_user['dir']; ?> Or you can use putenv() to make apache temporarily use another $HOME that has the correct keyrings. YMMV -- Brian

Re: [PHP] Config Problems

2001-12-22 Thread Brian Clark
nssl-whatever > openssl. Just so much more control that way :)) Wise choice. :) -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 STATUS QUO is Latin for the mess we're in. -- PHP General Mailing List (http://www.

Re: [PHP] ./configure error. won't let me continue...

2001-12-22 Thread Brian Clark
-linux-gnu What do you get when you run `/bin/bash config.guess` in your php source directory? (Judging by what you wrote, it'll tell you nothing, but just try it and see. Make sure you are in the top level of the source directory). -- Brian Clark | Avoiding the general public since 1805!

Re: [PHP] Config Problems

2001-12-22 Thread Brian Clark
d openssl from something like an rpm or deb package, you may need to get the -dev version which contains all the libraries configure is looking for. You may only have the shared libraries and configure is looking for the header files, etc. If you install those, configure might properly pick up opens

Re: [PHP] Config Problems

2001-12-22 Thread Brian Clark
a different result. (No need to CC me this time) -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 English is my second language, gibberish is my first. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-m

Re: [PHP] Config Problems

2001-12-21 Thread Brian Clark
* Brian Clark ([EMAIL PROTECTED]) [Dec 22. 2001 00:09]: > > --with-ldap=/usr/local/openldap/ \ > Probably --with-ldap=/usr here Whoops. For ldap, I meant --with-ldap=/usr/local according to what you said. [...] > For that, =/usr is probably what you want. It just wants to base pa

Re: [PHP] Config Problems

2001-12-21 Thread Brian Clark
probably what you want. It just wants to base path usually; it should know to look in include. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 All civilizations become either spacefaring or extinct. -- PHP General Mai

Re: [PHP] spliti

2001-12-21 Thread Brian Clark
/www.php.net/foreach or 3.x, use a while() with: http://www.php.net/list http://www.php.net/each > how can I do this.. > Thanks in Advance HTH. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 It's been lovel

Re: [PHP] Signing Files with PGP

2001-12-20 Thread Brian Clark
t"; > exec("$command",$answer); > obviously nothing is happening cause the pass phrase was > not given. One way is to use popen() to execute the command and fputs() to write out the passphrase. <http://download.php.net/manual/en/function.popen.php> -- Br

Re: [PHP] 4.10

2001-12-18 Thread Brian Clark
up.com/?l=php-dev&m=98968922501296&w=2> -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 $ mount -t neuro /dev/brain /mnt/head -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL P

Re: [PHP] seg fault with snmp

2001-12-15 Thread Brian Clark
* kancha ([EMAIL PROTECTED]) [Dec 15. 2001 02:59]: > I did not get a core dump. I got following in my apache error log file [...] > On Saturday 15 December 2001 13:01, Brian Clark wrote: > > (Be sure to take note of all the little comments on that page) No time to read &qu

  1   2   3   4   >