Re: [PHP] $this->db->Record["WLPcountry.name"]

2001-07-21 Thread Philip Murray
- Original Message - From: "Mike Gifford" <[EMAIL PROTECTED]> > Hello, > > I'm using phplib to add functionality to my bibliography app. However I'm not > sure how to deal with selected data from different tables with the same field name. > > The example I provided in the signature was:

[PHP] $this->db->Record["WLPcountry.name"]

2001-07-21 Thread Mike Gifford
Hello, I'm using phplib to add functionality to my bibliography app. However I'm not sure how to deal with selected data from different tables with the same field name. The example I provided in the signature was: $this->db->Record["WLPcountry.name"] Which needs to be differentiated f

Re: [PHP] netBIOS, Windows, Sockets, fsockopen help

2001-07-21 Thread ReDucTor
ya, i've just been looking at that, doesn't apear to have much detail... the msdn doesn't have jack shit, other then it's functions... - Original Message - From: Chris Schneck <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 22, 2001 10:01 AM Subject: Re: [PHP] netBIOS, Windo

Re: [PHP] netBIOS, Windows, Sockets, fsockopen help

2001-07-21 Thread Chris Schneck
Try messing around with the popular linux package samba, in particual smbmount. You may also need to read up on ports 137, 138, 139. - Original Message - From: "ReDucTor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 21, 2001 4:47 PM Subject: [PHP] netBIOS, Windows, Soc

Re: [PHP] PHP based statistics/Graphs

2001-07-21 Thread Joe Conway
> On Tue, Jul 17, 2001 at 10:48:24PM -0700, Rasmus Lerdorf wrote: > > I like Vagrant. See http://vagrant.sourceforge.net > > I prefer R :) http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > > It is IMHO the best language for statistic. > > -Egon Do you know if anyone is working on a PHP extens

Re: [PHP] netBIOS, Windows, Sockets, fsockopen help

2001-07-21 Thread Chris Schneck
Try messing around with the popular linux package samba, in particual smbmount. You may also need to read up on ports 137, 138, 139. - Original Message - From: "ReDucTor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 21, 2001 4:47 PM Subject: [PHP] netBIOS, Windows, Soc

[PHP] netBIOS, Windows, Sockets, fsockopen help

2001-07-21 Thread ReDucTor
Hey, I am wondering if any one has any details on netBIOS, and stuff, so then i can browse shared files and folders on another computer, with in php i have tried looking up the commands sent, but haven't managed to find any... - James "ReDucTor" Mitchell -- PHP General Mailing List (htt

RE: [PHP] Image color quality problems

2001-07-21 Thread Kurt Lieber
Check out the PHP dl() function: http://www.php.net/dl It lets you load an extension at run-time, so if you can compile the newer version of GD, you may be able to download that directly. Only thing I'm not sure about is if you can override an already-loaded extension by downloading a newer ver

RE: [PHP] Image color quality problems

2001-07-21 Thread Seb Frost
Thanks Kurt. Unfortunately my server only has gd 1.6.2 (gd 1.8.3 required aparantly) and I can't change that. Never mind. - seb -Original Message- From: Kurt Lieber [mailto:[EMAIL PROTECTED]] Sent: 22 July 2001 00:26 To: 'Seb Frost'; [EMAIL PROTECTED] Subject: RE: [PHP] Image color qua

RE: [PHP] Image color quality problems

2001-07-21 Thread Kurt Lieber
Yes, it does, through the use of the GD and freetype libraries. (the freetype library is required for the imageTTFText function I used below) www.php.net/imagecreatefromjpeg > -Original Message- > From: Seb Frost [mailto:[EMAIL PROTECTED]] > Sent: Saturday, July 21, 2001 3:59 PM > To: [

[PHP] PHP, Excel, CSV and Problems!

2001-07-21 Thread Jeff Lacy
Hello Everyone, A client of mine is working with excel, and I need to move the data from excel to something php can deal with a little better. Naturally, I figured using .csv would be easiest, but I am running into several problems.I can get around them, but I need a regular expression (and

RE: [PHP] Image color quality problems

2001-07-21 Thread Seb Frost
Not an answer I'm afraid but does PHP has the ability to do this with JPEGs? Would be VERY useful to me if it does! - seb -Original Message- From: Kurt Lieber [mailto:[EMAIL PROTECTED]] Sent: 21 July 2001 23:27 To: [EMAIL PROTECTED] Subject: [PHP] Image color quality problems I have th

[PHP] Image color quality problems

2001-07-21 Thread Kurt Lieber
I have the following code that takes an existing image, creates a new one from it and writes some white text on top of that image: Problem is, the "white" text isn't white -- it's a dingy gray color. >From reading around, I thought maybe if I took an existing white pixel in the image and used t

Re: [PHP] testing if var is empty

2001-07-21 Thread Dave Freeman
On 21 Jul 01, at 14:50, Saquib Farooq wrote: > > if ($var) > > { > > // $var has been set > > } else { > > // $var has not been set > > } > what if the var is set to zero i.e. false. the control will go in > the else part if it is not zero ( not false) it will go in the if control.

Re: [PHP] PHP & SSI in armony?

2001-07-21 Thread Jack Sasportas
The answer is up to you. You make the shtml generate the php, OR the php generate the shtml... My guess is probably php generates the shtml, and the reference to it... I think that should work... Seb Frost wrote: > I want to use both PHP and SSI on the same page. My server requires that > SSI f

Re: [PHP] inserting free-form text with quotes to mysql

2001-07-21 Thread Matthew Garman
Ahh yes, that was exactly what I needed. (I knew it was simple!) But that brings up another question: whenever I have POST information propagate over more than one page, is it generally a good idea to *always* use htmlspecialchars () on my data? I.e., even if the data shouldn't need htmlspecia

Re: [PHP] PHP & SSI in armony?

2001-07-21 Thread Rasmus Lerdorf
> I want to use both PHP and SSI on the same page. My server requires that > SSI files are .shtml. If I set it to also treat .shtml files as php files > (like I have done with .htm) then what will happen? Will it get parsed > first for php and then for ssi, or the other way round? Or puke comp

[PHP] PHP & SSI in armony?

2001-07-21 Thread Seb Frost
I want to use both PHP and SSI on the same page. My server requires that SSI files are .shtml. If I set it to also treat .shtml files as php files (like I have done with .htm) then what will happen? Will it get parsed first for php and then for ssi, or the other way round? Or puke completely?

Re: [PHP] auto_prepend_file

2001-07-21 Thread Rasmus Lerdorf
Please read http://www.php.net/manual/en/configuration.php You need to use: php_value auto_prepend_file /usr/local/htdocs/oi2kplus1/phplib/prepend.php -Rasmus > I'm trying to get auto_prepend to work on Mandrake 8.0, apache is > configured with mod_php4 and mod_vhosts. Where do I add the comma

[PHP] PEAR Integrated Template Class

2001-07-21 Thread power jessie
Hi! Anyone using this? Can someone point me to a link on how to use this class. Thanks in advance! ~{{}}~ jessie .o0O()O0o. -- j e s s i e @ p o w e r - j e s s i e . n e t -- PHP General Mailing List (http://www.php.

[PHP] Problem with preg_replace

2001-07-21 Thread James Bogosian
Currently, I am parseing a string for href tags and adding a "target=_blank" to them to have them open up in a new window using this: $body = preg_replace("<[aA] [hH][rR][eE][fF]=\"(.*?)\">", 'a href="$1" target=_blank', $row->body); This works, to the best of my knowledge, however I was curious

[PHP] Fwd: for all ftsm members this is good advice

2001-07-21 Thread CN YEONG
Note: forwarded message attached. Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messengerhttp://phonecard.yahoo.com/ --- Ultraman <[EMAIL PROTECTED]> wrote: > There is a chatting room in FTSM Centre, so if the > MSN got problem we still can chat there. > > Log in

RE: [PHP] php 4.06 BUG !

2001-07-21 Thread Gonyou, Austin
I have a similar problem with 4.0.6 on Apache 2. -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-796-9023 email: [EMAIL PROTECTED] > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Saturday, July 21, 2001 5:56 AM > To: [EMAIL PROTE

RE: [PHP] mod_ssl & php4

2001-07-21 Thread David Price
Jason, I'm using PHP4, mod_ssl, and apache 1.3.20 on a test box and a production server without any problems. David Price -Original Message- From: Jason Rennie [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 21, 2001 7:02 AM To: [EMAIL PROTECTED] Subject: [PHP] mod_ssl & php4 Hi all,

[PHP] informix connection problem

2001-07-21 Thread Emre Hamit Kok
hi, we are using informix 7.31.UC6 as our database server. when we are trying to connect informix by dbaccess we are setting the below environment variables are as: export DBNLS=1;export LANG=tr_TR;export LC_COLLATE=tr_TR.ISO8859-9;export LC_CTYPE=tr_TR.ISO8859-9 but when we are rying to vonnect

RE: [PHP] Приглашаем на работу и к сотрудничеству.

2001-07-21 Thread Maxim Maletsky
well, if I was still living in Moscow or st. Petersburg I would definitely take a look at those job offers. ...wrong address? -maxim maletsky -Original Message- From: ASP [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 21, 2001 11:35 PM To: [EMAIL PROTECTED] Subject: [PHP] ðÒÉÇÌÁÛÁÅÍ Î

RE: [PHP] Приглашаем на работу и к сотрудничеству.

2001-07-21 Thread Seb Frost
quite. just what I was thinking actually. -Original Message- From: ASP [mailto:[EMAIL PROTECTED]] Sent: 21 July 2001 15:35 To: [EMAIL PROTECTED] Subject: [PHP] ðÒÉÇÌÁÛÁÅÍ ÎÁ ÒÁÂÏÔÕ É Ë ÓÏÔÒÕÄÎÉÞÅÓÔ×Õ. ÷Ù ÒÁÍÅÝÁÌÉ Ó×ÏÅ ÒÅÚÀÍÅ? ðòéçìáûáåí ë óïôòõäîéþåóô÷õ é îá òáâïôõ

[PHP] ðÒÉÇÌÁÛÁÅÍ ÎÁ ÒÁÂÏÔÕ É Ë ÓÏÔÒÕÄÎÉÞÅÓÔ×Õ.

2001-07-21 Thread ASP
÷Ù ÒÁÍÅÝÁÌÉ Ó×ÏÅ ÒÅÚÀÍÅ? ðòéçìáûáåí ë óïôòõäîéþåóô÷õ é îá òáâïôõ îÁÛÅ ËÒÅÄÏ – ÄÅÛÅ×ÙÊ É ÎÁÄÅÖÎÙÊ éÎÔÅÒÎÅÔ ÐÏ ×ÙÄÅÌÅÎÎÏÊ ÌÉÎÉÉ ÏÔ 10 Õ.Å. × ÍÅÓÑÃ. ðÏÄÒÏÂÎÏÓÔÉ ÎÁ ÓÁÊÔÅ www.asp-groups.ru ïÄÎÉÍ ÉÚ ÎÁÐÒÁ×ÌÅÎÉÊ ÄÅÑÔÅÌØÎÏÓÔÉ ïïï «áóð-âÅÚÏÐÁÓÎÏÓÔØ» (ÌÉÃÅÎÚÉÉ íóì 035657-2é É á 01603

[PHP] php 4.0.6 session problem

2001-07-21 Thread Dixie Flatline
Greetings! I'm using php 4.0.6 on a Debian 2.2.19 Potato with Apache 1.3.20. When I invoke the session_start() function, it creates a http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMA

[PHP] php 4.0.6 BUG!

2001-07-21 Thread helmutott
Php 4.0.6 allows parsing of php-scripts but crashes also when I doubleclick on "php.exe" in the windows-explorer I also get the same windows2000 error-window saying(translated): program error ("Programmfehler") php.exe has caused errors and is getting shut down. Restart the programm. An error l

[PHP] auto_prepend_file

2001-07-21 Thread rip
I'm trying to get auto_prepend to work on Mandrake 8.0, apache is configured with mod_php4 and mod_vhosts. Where do I add the command for prepending? I've tried in the vhosts.conf and http.conf, could be my syntax.. I've tried the following in both .confs: auto_prepend_file /usr/local/htdocs/oi2k

[PHP] mod_ssl & php4

2001-07-21 Thread Jason Rennie
Hi all, Are there any known problems with php4, modssl and apache 1.3.20 ? I looked around but all of the information was dated. Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] testing if var is empty

2001-07-21 Thread Stefan Rusterholz
Not a solution but some bricks to build it: if (isset ($var)){ ... }else{ ... } isset test if $var is set, but if you once assigned the var even an empty value, this will be true (e.g. after a $var=""; statment, isset will return true). You can unset $var with unset($var); Furthermore if $var c

Re: [PHP] php 4.0.6

2001-07-21 Thread E. Peter K. Chan
Hi Try going to the source directory ie where you unzipped the tarball for php. May as well upgrade to php4.0.6 - that could save you some problems now and later. Type in: # ./configure --help it says --with-readline[=DIR] so maybe you need to install readline first or point php to where it is

[PHP] php 4.06 BUG !

2001-07-21 Thread helmutott
I ran 4.04 win-binary without any problems. Installing 4.06 binary brings the following error when I want to save a record with a php-script to mysql 3.23.38 nt: "CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: ERR

RE: [PHP] include, require, require_once

2001-07-21 Thread Martin Marconcini
> Lets not destroy the user community now :( All the time I hear "Perl > users > are mea and rude" "The PHP community is great". I am just picking up JSP > (have to, for work) and can't stand their manuals and their users aren't > always as nice. > > Lets keep PHP nice and friendly ;) Yes it

RE: [PHP] include, require, require_once

2001-07-21 Thread Jeff Lewis
Lets not destroy the user community now :( All the time I hear "Perl users are mea and rude" "The PHP community is great". I am just picking up JSP (have to, for work) and can't stand their manuals and their users aren't always as nice. Lets keep PHP nice and friendly ;) Yes it is in the manu

[PHP] PHP4/SuSE 7.2/Upload

2001-07-21 Thread Inna Maatuk
Hey NG-users! The following errormessage come return, if i will upload a file from a workstation. Warning: SAFE MODE Restriction in effect. The script whose uid is 570 is not allowed to access /tmp/phpTw5msb owned by uid 0 in /var/www/mydom.de/sites/upload.php4 on line 131 Where is the access-

Re: [PHP] testing if var is empty

2001-07-21 Thread Saquib Farooq
On Sat, 21 Jul 2001, Dave Freeman wrote: > On 21 Jul 01, at 12:07, Justin French wrote: > > > I'm a semi-newbie, and if I want to check if a variable is set, or > > contains something, i've been doing it like this: > > > > if($var != "") { ... } > > if ($var) > { > // $var has been set >

Re: [PHP] testing if var is empty

2001-07-21 Thread Dave Freeman
On 21 Jul 01, at 12:07, Justin French wrote: > I'm a semi-newbie, and if I want to check if a variable is set, or > contains something, i've been doing it like this: > > if($var != "") { ... } if ($var) { // $var has been set } else { // $var has not been set } will do what yo

[PHP] php 4.0.6 problems with mcrypt

2001-07-21 Thread Dixie Flatline
Greetings! I've compiled a new php 4.0.6 as an apache module with added mcrypt support. When I invoke the following code: - function hex2bin($data) { $len = strlen($data); return pack("H" . $len, $data); } $iv = mcrypt_create_iv (mcrypt_get_iv_size (MCRYPT_BLOWFISH,

Re: [PHP] php 4.0.6

2001-07-21 Thread Rasmus Lerdorf
No idea. You haven't said whether you checked your phpinfo() output to see if you are actually running the latest version of PHP you just compiled. Perhaps you forgot a "make install", perhaps you forgot to restart your httpd. Perhaps your configure didn't find libreadline. Any number of thing

Re: [PHP] php 4.0.6

2001-07-21 Thread Adrian D'Costa
Hi Peter, I think the guru of php on the list can tell us what the problem is. I am going to compile 4.0.4pl2 and see if I get that error. In fact I am unable to access mysql now even though I have given --with-mysql. Any clues Adrian On Fri, 20 Jul 2001, E. Peter K. Chan wrote: > Hi Adrian

Re: [PHP] php 4.0.6

2001-07-21 Thread Adrian D'Costa
Hi, I have now compiled php --with-readline and --with-sockets but I still get the "call to undefined function socket() " what could be wrong. Adrian On Thu, 19 Jul 2001, Rasmus Lerdorf wrote: > Did you compile php using --with-readline ? > > On Thu, 19 Jul 2001, Adrian D'Costa wrote: > > >

RE: [PHP] include, require, require_once

2001-07-21 Thread Maxim Maletsky
as of PHP v 4.0.(2/4?) require() and include() behave in the exactly same way. include_once() and require_once() have the only difference from include() and require() - they check whether the file was already parsed within the script or the other included files. If it was the include is ignored.

Re: [PHP] a good PHP editor

2001-07-21 Thread ~~~i LeoNid ~~
On Sat, 21 Jul 2001 06:35:06 +0900 impersonator of [EMAIL PROTECTED] (Maxim Maletsky) planted &I saw in php.general: >Then why would you post this to the list instead of emailing me directly? > "Then" what? I don't see clause here:) I repeat for BEGINNERS: "Plse, don't top-post". I 'dn't respond