[PHP] e modifier

2001-11-10 Thread Brian Clark
Does anyone know when the PCRE modifier 'e' was added into PHP? Is it version dependant, or has it been there since 3.0? In 3.0.18 with `PCRE library version: 2.05 21-Apr-1999' I get: Warning: Unknown option 'e' in [...] But in 4.2.0-dev it is, of course, fine.

Re: [PHP] Looking for security annoucements

2001-11-08 Thread Brian Clark
gt; wouldbe advice? Would you happen to be running PHP-Nuke? -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Looking for security annoucements

2001-11-08 Thread Brian Clark
@ 2:14:00 AM on 11/9/01, Brian Clark wrote: >> I'm running a PHP/mySQL site which has been hacked twice this week >> :-((( >> I'm not so bad at security but I don't know any active resource to >> be aware of hole in PHP and/or MySQL, which forum/newsgro

Re: [PHP] Text Wrapper

2001-11-10 Thread Brian Clark
ny > one line is 34. > 1234567890123456789012345678901234 > Mary had a little lamb whose face > was icy cold. Everywhere that > Mary went the townsfolk were > sure to know. > Where would I start? PHP 4.0.2 or greater? http://www.php.net/manual/en/function.wordwrap.php If not, check out the use

Re: [PHP] XML DTD

2001-11-12 Thread Brian White
d one. thanks >for any >help, > >Melih Onvural >[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:

RE: [PHP] I suck at regular expressions!

2001-11-15 Thread Brian Paulson
Been Using this Function for some time and works real well with two exceptions 1. if the title line has a CR in it it will no get the title Example: This is a bad Title 2. If there are any other < > tags in the title it will fail. ([^<]*)(.*)', $string, $regs ) )

RE: [PHP] quick friday query

2001-11-16 Thread Brian Paulson
Casper, My guess would be that the folder that you are trying to write the file to doesn't have the correct permissions to allow the webserver to write to it. Try that and let me know if it works! Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftai

Re: [PHP] HELP ME!!!!

2001-11-16 Thread Brian Clark
print "$name is $status"; */ } (all untested) -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: [PHP] Equivilant of exit;

2001-11-16 Thread Brian Clark
) PHP has exit() and die(), as well. There are also built-in constants like __FILE__ and __LINE__ http://www.php.net/exit http://www.php.net/die http://www.php.net/constants -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mail

Re: [PHP] Auto Thumbnail?

2001-11-16 Thread Brian Clark
> Any ideas? Also, what kind of libraries would I need. You could use gd support that *could* be built into your PHP, alternatively you could use NetPBM (easier to get working). google.com for those.. -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list repl

Re: [PHP] Auto Thumbnail?

2001-11-16 Thread Brian Clark
ort. It can be tricky sometimes, which is why I suggested NetPBM, which doesn't require you to rebuild PHP, but will undoubtedly need safe_mode=Off because you'll need to process the images with exec() or http://www.php.net/backticks. -- -Brian Clark | PGP is spoken here: 0xE4D0C

Re: [PHP] Auto Thumbnail?

2001-11-16 Thread Brian Clark
prefix. --with-png-dir=DIRGD: Set the path to libpng install prefix. --with-jpeg-dir=DIR PDFLIB3: define libjpeg install directory --with-png-dir=DIR PDFLIB3: define libpng install directory -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on li

[PHP] fopen "r+" not working - how to add to beginning of txt file

2001-11-19 Thread Brian Tully
to put the pointer at the beginning of the file and add to it as opposed to overwriting it doesn't seem to be working for me. What am I doing wrong? Is there a better way to accomplish what I'm trying to do? any help would be GREATLY appreciated! regards, brian -- PHP General Ma

Re: [PHP] Problem with PARSE ERROR

2001-11-19 Thread Brian Clark
ysql_close ($link); You want: $link = mysql_connect ("localhost", "my_user", "my_pass") or die ("Could not connect"); print ("Connected successfully"); mysql_close ($link); (Lose the curly braces) -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8

Re: [PHP] strip (s) from the end of the string

2001-11-19 Thread Brian Clark
,'',$string); $string = str_replace('','',$string); Or maybe.. $string = preg_replace('/()+$/i','',$string); (untested) -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing L

Re: [PHP] transfer parameters

2001-11-19 Thread Brian Clark
Hi Astenios, @ 5:35:28 PM on 11/19/2001, astenios wrote: a> I'm trying to transfer a variable from one web-page to another a> The source page (http://astenios.hn.org/php/wall.php) is like a> echo ' >'; a> echo '', $row[1], ' '; Try:

Re: [PHP] use PHP as a module in Apache on win9x

2001-11-19 Thread Brian Clark
file what am I doing wrong? Where did you get the packages from? Try php4win which has Apache+PHP4 with a bunch of other support built-in. It should work `out of the box' on windows: <http://www.php4win.com/> -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon

Re: [PHP] strip (s) from the end of the string

2001-11-19 Thread Brian Clark
Hi Justin, @ 5:51:23 PM on 11/19/2001, Justin French wrote: JF> Sorry, yeah, there are other 's in the string... I only want to chop JF> the trailing ones. >> $string = preg_replace('/()+$/i','',$string); ^^^ that'll do it then. -- -Brian Clark | P

Re: [PHP] query works in mysql, but not from php

2001-11-19 Thread Brian Clark
Hi Olav, @ 5:58:14 PM on 11/19/2001, Olav Drageset wrote: OD> Hi OD> $sql = "SELECT user FROM persons WHERE user = '$firstName' and domain = '$domainName' ; "; Remove the semi-colon: $sql = "SELECT user FROM persons WHERE user = '$firstName&#

Re: [PHP] [newbie] passing variables

2001-11-19 Thread Brian Clark
Hi pjc, @ 7:59:51 PM on 11/19/2001, pjc wrote: p> The error that I am getting on delete_entry.php is that my variables aren't p> there. Any suggestions folks? Copy and paste the exact error message and repost it here. -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO

Re: [PHP] Form results sent to file

2001-11-19 Thread Brian Clark
<http://www.php.net/manual/en/function.fgetcsv.php> -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] phptriad / apache on windows question

2001-11-19 Thread Brian Clark
do it. If you don't want the directory listing take out Options Indexes. -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: SV: [PHP] fopen "r+" not working - how to add to beginning oftxt file

2001-11-19 Thread Brian Tully
nyone help me out here? I've looked the manual over and over, and checked the php.net website, but nothing covers the situation where you want to add text to the TOP of a file. fopen with the r+ option is not working the way it should. I'd be eternally grateful... brian On 11/19/01 6

[PHP] WXFEED Weather Script

2001-11-20 Thread Brian Paulson
I am trying to locate a script called WXFEED by John Sanders. The only place this script seems to be located is on hotscripts but the link no longer works. So if any one has downloaded it and still has it around I would appreciate it if I could get a copy. Thank You Brian Paulson Sr. Web

Re: [PHP] exec() help

2001-11-21 Thread Brian Clark
not fix it, but try wrapping the URL in \" > It is run inside an if loop and $Grab[2][$i] contains an e-mail address. > However it always returns an error and I cannot figure out why, any ideas?? What is the error message it produces? -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8

Re: [PHP] Global instance of class

2001-11-21 Thread Brian Clark
tance in all project. You should only need to do this (unless I've misunderstood): if(!defined('ONE_CLASS')) { define('ONE_CLASS', 1); $global_var = new one_class(); } That should only create one instance. -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please,

Re: [PHP] [±¤°í] php-general´Ô ¾È³çÇϽʴϱî?

2001-11-21 Thread Brian Clark
e's no other way to accomplish what you're wanting to do. -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Re: [PHP] array_merge();

2001-11-21 Thread Brian Clark
Hi Edgardo, @ 8:09:26 AM on 11/21/01, Edgardo Rossetto wrote: > I have a problem width array_merge(); in PHP 4 beta 2 (my ISP sucks, sorry) > and i need to know if there's a similar function o way to do this. There's probably a faster/elegant way to do this, but this should wor

Re: [PHP] HTTP Headers

2001-11-21 Thread Brian Clark
.variables.predefined.php> <http://www.php.net/manual/en/function.filemtime.php> -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] getting started

2001-11-21 Thread Brian Clark
th/to/modules/ is correct for your system) And you'll need to restart apache: $ apachectl stop $ apachectl start > What am I doing wrong/still need to do? Do you need to start php like > you do mysql and httpd? Nope.. -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT c

Re: [PHP] SuSE 7.1 mySQL

2001-11-21 Thread Brian Clark
ql /var Start mysql server: /etc/rc.d/mysql start Change root password: mysqladmin -u root password 'new-password-here' Test mysqladmin: mysqladmin -u root -pThePassword extended-status -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list rep

Re: [PHP] SuSE 7.1 mySQL

2001-11-21 Thread Brian Clark
@ 10:33:25 AM on 11/21/01, Brian Clark wrote: BC> (I *think* these instructions should work) For SuSE you might also need to do this before installing those RPMs: $ ln -s /etc/rc.d /etc/rc.d/init.d BC> Install newest RPMS from http://www.mysql.com : BC> $ rpm -i \ BC> MySQL-VERS

Re: [PHP] php- cgi

2001-11-21 Thread Brian Clark
cripts, but I don't know if running php as an apache module AND as a cgi is going to fly. > This also may help out with some timeout issues that arise. Search this page for max_execution_time: <http://www.php.net/manual/en/configuration.php> -- -Brian Clark | PGP is spoken here: 0

Re: [PHP] php- cgi

2001-11-21 Thread Brian Clark
epending on the sysadmin. -- -Brian Clark | PGP is spoken here: 0xE4D0C7C8 Please, DO NOT carbon copy me on list replies. -- 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 admini

[PHP] MySQL to Excel with mutiple sheets

2001-11-28 Thread Brian Lee
combine into one excel file with 4 different sheets? If anyone has a code for this or could possible help me it would be great. I am using: PHP: 4.04 Linux: 7.0 MySQL: 3.22.32 Thanks -Brian _ Get your FREE download of MSN

[PHP] WHat has happened to parse_str in the Docs????

2001-11-28 Thread Brian White
hat it put the results of parsing the query string into an associative array rather than creating variables. I have a vague recollection of something like that.... Regs Brian White - Brian White Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy Phone: +612-931979

Re: [PHP] PHP and XML

2001-11-29 Thread Brian White
;To contact the list administrators, e-mail: [EMAIL PROTECTED] - Brian White Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/

Re: [PHP] Apache Php SSL

2001-12-03 Thread Brian Clark
alid, it should work just fine. You'll need to point your httpd.conf to the right (previous) certificates though. That is explained pretty nicely in the mod_ssl INSTALL. -- -Brian Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: [PHP] BEST Book for Learning PHP/MySQL

2001-12-03 Thread Brian Clark
* Monty <[EMAIL PROTECTED]> [Dec 03. 2001 23:37]: > I'm a PHP and MySQL beginner. What's the best book I can buy that will get > me started using both these technologies? Thanks! <http://www.php.net/books.php> Take the time to look around the site. -- -Brian Cla

Re: [PHP] The BEST Content Management Script?

2001-12-03 Thread Brian Clark
ones? I like phpWebsite. google.com for it. Or check out freshmeat.net -- -Brian Clark -- 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] How can I uncompress zlib data in the browser?

2001-12-04 Thread Brian Duke
Is it possible to use the zlib functions in php to compress data, send that data to the browser, then uncompress it? My clients will only be using IE so is there something in IE that will do it? Javascript? Thanks, Brian - Brian (Be sure to remove the # symbol before replying to my email

[PHP] Re: How can I uncompress zlib data in the browser?

2001-12-05 Thread Brian Duke
ks like it works. - Brian >Yes. > >Read the manual about "output buffering". >Also read up on Apache's site about mod_gzip. >http://apache.org >Now, the 64 dollar question: > >Will the browser *CORRECTLY* identify and decompress the gzipped data? - Brian (Be

Re: [PHP] Pulling data out of a domain name

2001-12-05 Thread Brian Clark
below. This script works but I was just wondering does it > have to be so long winded I think you want parse_url() <http://www.php.net/manual/en/function.parse-url.php> -- -Brian Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] Simple(?) Question

2001-12-05 Thread Brian Clark
n do this, among other things: curl.haxx.se Or something like this: <http://marc.theaimsgroup.com/?l=php-general&m=100494042908669&w=2> -- -Brian Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: [PHP] Looking for help in making a Mulit Page Form

2001-12-05 Thread Brian Clark
> Please provide recommendations or any help! <http://www.php.net/manual/en/features.file-upload.php> -- -Brian Clark -- 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 adm

Re: Re[2]: [PHP] Pulling data out of a domain name

2001-12-05 Thread Brian Clark
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [Dec 05. 2001 18:38]: > Hello Brian, > actually no parse_url() will return various components of the URL > like > $url[scheme] = http > $url[host] = www.php.net > $url[path] = /download-php.php3 > $url[query] = csel=br > I

Re: [PHP] testing if mailaccount is existent

2001-12-06 Thread Brian Clark
able mail box. <http://phpclasses.upperdesign.com/browse.html/package/13> -- -Brian Clark -- 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] newbie: which packages are needed?

2001-12-06 Thread Brian Clark
: http://www.php4win.com/ MySQL client/server: http://www.mysql.com/ Everything else: http://www.php.net/downloads.php (check the installation intructions) http://www.mysql.com/ -- -Brian Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mai

Re: [PHP] encryption

2001-12-06 Thread Brian Clark
st store an Md5 of the password and not the actual password. <http://www.php.net/md5> -- -Brian Clark -- 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] Redirect Function?!!

2001-12-06 Thread Brian Clark
gs. > Appreciate the help, <http://www.php.net/header> -- -Brian Clark -- 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: Redirect Function?!!

2001-12-07 Thread Brian Clark
* Roko Roic <[EMAIL PROTECTED]> [Dec 07. 2001 03:26]: > I don't like header('Location: page.php'); so I use a HTTP request class to > call another script/page. This does fork another httpd, but that's life :) Just out of curiosity, what's wrong with header(

Re: [PHP] exec problems

2001-12-10 Thread Brian Clark
log revealed the following error: > > /ls: No such file or directory It is possible that your (host's?) server has safe_mode enabled and you or someone else has set safe_mode_exec_dir. Just a guess. <http://www.php.net/manual/en/features.safe-mode.php> -- -Brian Clark -- P

[PHP] 4.1.0 and is_file

2001-12-12 Thread Brian Paulson
this problem? Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com -- 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

Re: [PHP] vpopmail extensions ?

2001-12-13 Thread Brian Clark
r the functions, but that's just about all the documentation on those functions I can manage to find. Maybe Rasmus or someone will know more about those. I gather that they are experimental. I've never used them, myself. -- -Brian Clark -- PHP General Mailing List (http://ww

Re: [PHP] seg fault with snmp

2001-12-14 Thread Brian Clark
ith* the backtrace information included in your report. You'll get much better help from that system with oddball issues like that. -- -Brian Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

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

[PHP] mysql_query() problem

2001-12-16 Thread Brian Rue
"'"; $result = mysql_query($query,$conn); if (mysql_num_rows($result) != 0) { //*this is the line that returns the error* return true; } else { return false; } } I've checked that the connection works, and that the query is what it should be, and the query works when I t

[PHP] electronic postcard recommendation?

2001-12-17 Thread Brian Tully
not to keen on doing the CGI thing ever since moving over to PHP for some time now. I'd like to avoid the Internal Server Errors if at all possible ;). anyways, any experience and/or recommendations would be much appreciated. regards, brian -- PHP General Mailing List (http://www.php.net/) To

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] 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] Counting "Views" on records in DB!

2001-12-21 Thread Brian Rue
Add a column to your messages table called "views". Whenever you read the message (SELECT message FROM messages_table WHERE messageid='id';), increment the column for that row (UPDATE messages_table SET views = views + 1 WHERE messageid='id';). - Original Message - From: "Thomas Edison Jr.

Re: [PHP] Beginner question?

2001-12-21 Thread Brian Rue
>>Can anyone show me how to split() each line and parse to see if $user exists?<< // get contents of a file into a string $filename = "./users.txt"; $fd = fopen ($filename, "r"); $contents = fread ($fd, filesize ($filename)); fclose ($fd); // seperate the string into an array of lines $linebreak

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] 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] 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-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-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] ./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
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] 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] 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] 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] 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] 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] 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-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] 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] 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] 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
* 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] 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-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] 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] 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] gd_installation......................... :(

2001-12-25 Thread Brian Clark
* EMIN CALIKLI ([EMAIL PROTECTED]) [Dec 25. 2001 05:20]: > Hi Brian , Hiya. > Thanks for your requests . I 'm using php 4.0.6 + IIS 4.0 (Web Server) . I tried >many verisons of GD > library and failed. Did anyone tried php-4.1.0 verison on IIS 4.0 ? By the way Brian >I c

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

[PHP] Unwanted signs!

2001-03-22 Thread Brian Rosenkrantz
I'm new to php (and from Denmark:-) and I've just made my first guestbook, but I don't want people to be able to write there name like this name How can I delete these signs? Please help!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

RE: [PHP] A problem under Solaris

2001-03-22 Thread Dunaway, Brian
> I´m trying to compile PHP 4.0 under Solaris 8.0 - SPARC > 250. When I try to configure using the appropiate script, it > test for the existence of one package called lex and another > called flex, both couldn´t be found and the script can´t > continue. Anybody has be in the same trouble?

[PHP] PHP and Apachecon

2001-03-27 Thread Brian Moon
to be used as a starting point for discussion. Please just email them back to me as I am not on this list. Brian Moon -- dealnews.com, Inc. Makers of dealnews & dealmac http://dealnews.com/ | http://dealmac.com/ Look for my presentation at ApacheCon

Re: [PHP] Which way to make the thumbnail on the fly

2001-03-28 Thread Brian Clark
ou can try to install ImageMagick or NetPBM under your login directory. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please do not carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: [PHP] Problem to run java command line with passthru()

2001-03-28 Thread Brian Clark
; directly. Try backticks, but be sure to check user-supplied data. If you don't, you could be putting your webserver into a "world of hurt" as the country folks like to say in my part of the world. $line"; } ?> Other than that, try popen() http://www.php.net/manua

Re: [PHP] Which way to make the thumbnail on the fly

2001-03-28 Thread Brian Clark
Hi -Tuna-, @ 2:14:57 AM on 3/29/2001, nicuc.ac.jp wrote: > I can use just following commands no other commands allow. > Is this enough to install ImageMagick ? ... If you want to do what I think you want to do, then see my answer to your question about passthru() a minute ago. -Brian -

Re: [PHP] fscanf syntax

2001-03-30 Thread Brian Clark
m into a database for reporting. ... > What function should I use and what would the syntax be? Try explode(). -Brian -- PGP is spoken here: 0xE4D0C7C8 Please do not carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

Re: [PHP] Safety with PHP.

2001-04-02 Thread Brian Clark
r. As a matter of fact, you can get the same result in just about anything. If he doesn't realize the same thing can be done in, for example, Perl, he shouldn't even be auditing anything in the first place. What you've described is _certainly_ not limited to PHP. -Brian -- PGP is

Re: [PHP] ctype_alpha etc

2001-04-02 Thread Brian Clark
re --help | egrep ctype --enable-ctype Enable ctype support % Maybe.. I've never used it. -Brian -- PGP is spoken here: 0xE4D0C7C8 Please do not carbon copy me on list replies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

[PHP] measuring cpu time

2001-04-03 Thread Brian Hardwick
Im trying to optimize some php/mysql code. Does anyone know a way to measure the amount cpu time a php script consumes? - Brian Hardwick Tangible Networks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[PHP] PHP-Tuxedo Open Source Project

2001-04-07 Thread Brian Foddy
r, so I may not see a reply on the list. Hope to hear from you. Brian Foddy [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]

Re: [PHP] & PHP

2001-04-09 Thread Brian Clark
guration.php#ini.short-open-tag -Brian -- PGP is spoken here: 0xE4D0C7C8 Please do not carbon copy me on list replies. -- 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-

Re: [PHP] & PHP

2001-04-09 Thread Brian Clark
Hi Gary, @ 8:13:49 PM on 4/9/2001, Gary wrote: ... > I was afraid it would turn out like that. I hope our host will > disable the short tags for us. I'm not sure, but you may be able to specify that in an .htaccess file. Check the docs on that (maybe search for htaccess). -Brian

<    2   3   4   5   6   7   8   9   10   11   >