Re: [PHP] PHP & HTACCESS

2001-02-08 Thread Christian Sakshaug
Hey Take a look at www.phpbuilder.com, www.devshed.com or one of they many good sites on the net. Here you will find tutorials, forums, tips etc, that you can use for increase your experiance. I also suggest books to increase your exp to... http://www.php.net/links.php for more links At 05

[PHP] How to make PHP work in all sub-directories?

2001-02-08 Thread SED
Hi, I´m hosting a PHP-doc in sub-directorie (http://myserver/subdirectory/) on my IIS server Win2000 but it doesn't run, though it runs in the root (http://myserver/). Is there something in the PHP.ini to config (and how) or is it something else? Regards, Sumarlidi Einar Dadason SED - Graphic

Re: [PHP] Variable quantity chooser.

2001-02-08 Thread Jørg V . Bryne
The slider control is not a regular html-form-object. (on Windows you can see one in the recycle-bin properties). If you want to, or need to, i guess you can use an active-x control og make a javascript to do it. I wouldn't reccomend either... However if you need to set a not so spesific number y

[PHP] Exception Stack Error

2001-02-08 Thread Ashley M. Kirchner
I just compiled apache_1.3.17, mod_perl-1.25 and php-4.0.4pl1. However, now when I try to start apache, I get the following error: Fatal System Error: Raise at top of Exception Stack Where might this error be coming from? Apache? PHP? Some other PHP extension I might have compile

Re: [PHP] PHP & HTACCESS

2001-02-08 Thread Jean-Arthur Silve
hello, you can see with the following syntax : http://login:[EMAIL PROTECTED]/protecteddir/ So, the user enter the code and passwd from a PHP form, then you redirect him with this syntax. But prefer redirection with a javascript, because M$ Explorer seems do not love this: Header("Location:

Re: [PHP] Unlink for windows?

2001-02-08 Thread Phil Driscoll
>Hello, > >Does anyone have a function that can delete files like unlink(); for >windows? > >Thank you, Yes PHP does. It's unlink()! Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org -- PHP General Mailing List (http://www.php.net

Re: [PHP] uploading file

2001-02-08 Thread Richard Lynch
// Creates the image file with a timestamp $timestamp = time(); $image= $timestamp.$picture_name; if ($PLATFORM == "windows") { $new_path = str_replace('^', '\\', $WINDOWS_PATH); What's with the "^"?... And, since \ is special in PHP, you are changing ^ to \? Why? echo $picture; if (is_uplo

Re: [PHP] PHP & HTACCESS

2001-02-08 Thread Richard Lynch
> Does anybody know or have some PHP code to read the htaccess file. Off the top of my head: You may need to use mcrypt(), and the encryption used by your OS may or may not be available, and your OS may or may not have been configured at some point to use a different encryption, so the passwor

Re: [PHP] AS400 SQL Errors and Resources

2001-02-08 Thread Richard Lynch
> I reallize that the SQL syntax should be similar among all DB's which allow > SQL, but there are slight differences amongst them. With that said, I have > written an SQL statement to the AS400 and am getting errors back. So, and I > don't have ANY, I need a site to visit where I can reference

Re: [PHP] Mail-Encryption

2001-02-08 Thread Richard Lynch
> I want to send mails via the "mail"-command which are encrypted and > which uses the certificates used by Netscape Messenger and Outlook (if > you export the files, it's extention is .p12). > > - How do I generate such keys (in general) ? Install gnupg (http://gnupg.org) or PGP and use http://p

Re: [PHP] Need some Help! [:)]

2001-02-08 Thread Richard Lynch
> Basically in a nutshell... i made a new row in post signature int(1) And you have a new column (you said row, you meant column) in members signature text?... Where are you storing the actual text and how is it related to 1 or 2 or is it always just 1?... If I'm confusing you, draw it out on pa

Re: [PHP] Unlink for windows?

2001-02-08 Thread Richard Lynch
> Does anyone have a function that can delete files like unlink(); for > windows? unlink should work... Only things that Windows is inherently incapable of doing, or is just to broken (threads?) to do, don't work. Windows is real good at deleting files. It's so good at it, it sometimes just d

Re: [PHP] PHP && mySQL

2001-02-08 Thread Richard Lynch
> initial condition > 1) three are many *html in my SQL ex:xxx.html,and yyy.html > 2)I have domain ex: abc (ex: http://www.abc.com) > 3)database name : aaa > 4)table name :bbb > > > I want to try next step. > when I type in URL from brouze ,ex http://www.abc.com/xxx.html . > I can get xxx.html

Re: [PHP] sessions & javascript problem

2001-02-08 Thread Richard Lynch
> I have an interesting problem with sessions (using enable-trans-sid). > > I have created a page with the following javascript function on it: > > function swapImgRestore() { > var i,x,a=document.sr; for(i=0;a&&i x.src=x.oSrc; > } > > However when I disable browser cookies the code is altered b

Re: [PHP] Strange behavior with parser/methods?

2001-02-08 Thread Richard Lynch
> That is, we can have > $TestObject->mTestMember = create_function('','echo "TestMember";'); > but we can't do > $TestObject->mTestMember(); > > Can I get around this using clever placement of {}'s or ()'s? Wild Guess: {$TestObject->mTestMember}(); -- Visit the Zend Store at http://www.zen

Re: [PHP] db forms creator?

2001-02-08 Thread Richard Lynch
> Hi, can anyone point me towards an easy way to generate forms to update a > mysql database? I think there's something called PHPGen that does this... myPHPAdmin or whatever it is does it in a generic sort of way, no? -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? L

Re: [PHP] XML methods(SAX/expat)

2001-02-08 Thread Richard Lynch
> while ($data = fread($fp,1)) // yes, I know you shouldn't use '1', but it's > an example > { >xml_parse($parser, $data,feof($fp)); > } > > ie, should I set a flag if the CDATA's base64 encoded to persist over > multiple CDATA events, or does it wait for the closing tag and send all > of the

Re: [PHP] *Animated* images. (repost)

2001-02-08 Thread Richard Lynch
> I'm sorry for the repost, but the last one was misunderstood (i think). > i'm looking for ways to generate *animated* images using PHP. Check if http://php.net/gd supports any animation. Get GD from http://www.boutell.com Install it. Recompile PHP --with-gd -- Visit the Zend Store at http:

Re: [PHP] movies manipulation??

2001-02-08 Thread Richard Lynch
> i'm working on a web site where users will be able to upload movies. > the problem is that i want to dinamicly create a movie preview. > is it possibile, even with some external programs in other languages, to > exetract a picture from o movie? QuickTime? AVI? What?... Anyway, try to find a

Re: [PHP] Creating another php file

2001-02-08 Thread Richard Lynch
> $result2 = mysql_query("INSERT INTO winLoss(login, pass) > VALUES('$login', '$pass')"); > > if($result2) > { > $fp = fopen ("/home2/colorado/public_html/profiles/$screen_name$ext", > "w"); > fwrite($fp, " $result = mysql_query("SELECT * from winLoss WHERE

Re: [PHP] porting a php3 module/patch to php4

2001-02-08 Thread Richard Lynch
> Having seen Richard Lynch write recently on this list: > : There really were very, very, very few changes from PHP3 to PHP4, > : considering it was a complete re-write of the engine. > > I think I am going to break down and ask for tips, tricks, > etc, porting a php3 module to php4. For the rec

Re: [PHP] content retrieval from mp3.com band pages - need help

2001-02-08 Thread Richard Lynch
> Ok, I'm new to programming in PHP. What I'm trying to do is retrieve the > song list with play links off of my bands' page at Mp3.com. Ultimately > I want to build it into a function I can call with an array of song > names and it will return the html formatted as I like COOL!!! http://mp3.co

Re: [PHP] PHP4 Changelog

2001-02-08 Thread Richard Lynch
> As I am working on the upgradation of my system into PHP 4.0 from the > lower version, I want the Change log in a good format. A word document or > some other good format which comprises the complete the Change log would be > great for me to look through and do the upgradation process in the

Re: [PHP] Compile error w/ libextra.a (ranlib)

2001-02-08 Thread Richard Lynch
that this was merely the somewhat out of date and rarely seen _PHP2_ (phew, I guess...). So I need to get hosting support for this site up ASAP. I will need support for both PHP2 and PHP4 (which I will be converting the code to) and both msql and mysql (again, converting from the former to the la

Re: [PHP] HTTP Authentication w/IIS

2001-02-08 Thread Richard Lynch
>OK, I loaded PHP with the ISAPI filter, but still no luck with authentication.. Did you reboot? It is Windows... I think will tell you if you are actually using ISAPI or CGI or not... Maybe. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: ht

Re: [PHP] php_imap4r2.dll not loaded ?!?! (win2k)

2001-02-08 Thread Richard Lynch
> I'm trying to use some POP3 functions and the manual states I would need to > use the IMAP functions. > So I uncommented the ";extension=php_imap4r2.dll" line in my > "c:\winnt\php.ini" file. But it gave me the following error: > > "Unable to load dynamic library './php_imap4r2.dll' - The specif

Re: [PHP] email function's sender

2001-02-08 Thread Richard Lynch
>Since I've set sendmail_path to /var/qmail/bin/inject in php3.ini, all >emails coming from the http client come from me, i.e. my email address on >our server, and not from the apache client name, http ... > >What's wrong in my conf ... qmail comes with a sendmail wrapper, so you may want to use

Re: [PHP] Connectivity to AS/400

2001-02-08 Thread Richard Lynch
> I'm going to be trying to connect to the native DB2 database in a AS/400 > So far thats all I know about the IBM side. > > Can someone give me a short update on what options I have ? Option 1. ODBC bridge/whatsit from OpenlinkSW.com, EasyODBC.org (?) or that other one I always forget. Option 2.

Re: [PHP] FDF Toolkit uncompression error

2001-02-08 Thread Richard Lynch
> I've downloaded the FDF toolkit from adobe (fdftk4_05_C.tar.Z) and it > doesn't uncompress. I've noticed that other people are using it. Has > anyone else experianced this same problem and if so what was your work > around. Have you been able to uncompress other .Z files, or just .gz?...

Re: [PHP] Possible bug in pg_connect (4.0.3.pl1) ?

2001-02-08 Thread Richard Lynch
> $conexion2 = pg_Connect("host=$servidor user=$usuario password=$pass > dbname=$bd port=$puerto"); > > and this one does not ? > > $conexion2 = pg_Connect("host=$servidor port=$puerto user=$usuario > password=$pass dbname=$bd"); I always just copied the stuff in order... Does the manual spe

Re: [PHP] pdf question

2001-02-08 Thread Richard Lynch
> Is it possible to output to more than one pdf file at one time. Probably not... You could Zip them up into a .zip or .gz... -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.

Re: [PHP] Using a background image with GD

2001-02-08 Thread Richard Lynch
> Does anyone have an example or can someone tell me how to use a background > image in GD? You build the image with the background and get another image, and do that CopyResized thing to copy the second onto the background. If I actually used GD before I might know the function names... -- Vis

Re: [PHP] PHPSESSID location?

2001-02-08 Thread Richard Lynch
>Where is the temp session file held at? I have a script that uses sessions but I can't find the session file. >My php.ini file indicates that the session.save_path = c:\php\sessiondata but there is not any files there when there should be. Change those \ to / and keep all the players happy. >It

Re: [PHP] SELECT options is null or not an object

2001-02-08 Thread Richard Lynch
SELECT options is null or not an object > Does anyone know why I get this error when selecting an option in the box? I think that's a JavaScript error message, no?... In a popup window rather than in the middle of your page... >

Re: [PHP] MySQL previous next query

2001-02-08 Thread Richard Lynch
> I need to build a query that needs to find the previous or next record in a > database using a form. The records are numbered using a field called > 'sb_num'. This field is initially set using the form. > Would something like this work > Next: > Select 'field1', 'field2' from table order by sb_n

Re: [PHP] ora error

2001-02-08 Thread Richard Lynch
> Oracle Error: 2042 (ORA-02042: too many distributed transactions ORA-02063: > preceding line from SHEETS -- while processing OCI function OPARSE) > Session halted. Well, maybe you have a lot of transactions and never commit them. Wild Guesses: You used that cool ora_plogin persistent thing, so

Re: [PHP] Generic cloner?

2001-02-08 Thread Richard Lynch
> I'm wondering if there is an easy way to code a generic cloner at top > level of object inheritance tree so that all descendents can follow? Or by > nature the clone() function needs be implemented at final class > def.? Thanks a lot! You could probably use something like: function clone($

Re: [PHP] auto appending for each directory

2001-02-08 Thread Richard Lynch
> I'm developing a web page with a directory structure like this: > /main > -/subject1/ > --/subsubsect11 > --/subsubsect12 > --/subsubsect13 > --/subsubsect14 > --/subsubsect15 > -/subject2/ >

Re: [PHP] COM?

2001-02-08 Thread Richard Lynch
> Does Anyone know what needs to be installed on the server other than php > 4.0.4 and IIS to instantiate COM Objects like Excel and word. If Excel and Word are COM objects, that's pretty much it, I should think... What magical incantation you have to type into: $word = new COM("C:/path/to/word

Re: [PHP] Getting referrer page

2001-02-08 Thread Richard Lynch
> Is there any way in straight HTML to get the page referred from and make > a link out of it? Or is scripting languages, like my favorite, PHP, the > only way to do that? SSI (Server Side Include) *might* be able to do it, and doesn't really quality as a scripting language in my book. You could

Re: [PHP] Moving files between 2 servers??

2001-02-08 Thread Richard Lynch
> I'm toying around with the thought of a dev-site/live-site administration > system. Among other things, administrators would be able to remotely (via a > web interface), push files from the dev-site to the live-site. > > Can anyone help me understand what it would take to do this? Ideally, we >

Re: [PHP] Is there a way to call php functions in perl? and vice versa

2001-02-08 Thread Richard Lynch
> Is there a way to call php functions in perl? or call perl functions from > PHP codes? \n"; } if ($error){ echo "OS Error: $error. Usually path/permissions.\n"; } ?> Perl could call PHP the same way it calls anything (which I can say blithely since I have no clue how that

Re: [PHP] Can I do this to write out html file using fopen

2001-02-08 Thread Richard Lynch
>Is this correct way to do this? It should work, but seems a pretty weird way to do whatever you are doing... Actually, what are you doing?... Creating a blank template home/page for a new customer on an ISP VirutalHost setup or something? That's about the only way this is making sense to me fr

Re: [PHP] open_basedir bug or misunderstanding?

2001-02-08 Thread Richard Lynch
> I found something strange and don't know if it is a bug or that it is the > way it should work. > > Situation: > -- > > open_basedir = . I would try "./" for open_basedir... -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i

RE: [PHP] uploading file

2001-02-08 Thread Maxim Maletsky
Everyone say : "Good morning mr. Lynch" ! Man, I enjoy that, Cheers, Maxim Maletsky -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 5:41 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] uploading file // Creates the image file with a t

Re: [PHP] reg-ex problem

2001-02-08 Thread Christian Reiniger
On Thursday 08 February 2001 07:40, Michael Dearman wrote: > > > And the | is using '\d' and 'prem'. It probably should be > > > "/(div\d)|prem/ Unless those parens are part of the expression. > > > Then > > And after a second look, yea the \d is tightly bound to the div. > But in confirming this,

RE: [PHP] PHP4 Changelog

2001-02-08 Thread Maxim Maletsky
Hey, you know ... you've made me just too curious about cut&pasting. [sorry guys, I know it's [[[TOTALLY ::: OT]]] ] I have just succeeded doing it myself - I highlighted the text on php.net AND pasted it into word guess what : IT WORKED! and I CAN EVEN PRINT IT OUT!!! Is it that bad

RE: [PHP] PHP4 Changelog

2001-02-08 Thread Maxim Maletsky
Why don't you just [highlight] the text you need on php.net/ChangeLog-4.php - [CTRL+C], [paste] into a text editor, and then [cut&paste] into your M$ Word ? easy enough ... Cheers, Maxim Maletsky -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED]] Sent: Thursday, February

[PHP] PHP function using a WML variable from a select list as to access the right data in a MYSQL database

2001-02-08 Thread Kato Strandjord
I use apache server on win2000, php4, mysql and wml which I test local on my harddrive. The code under is working fine when I test it on emulators like UP SDK from phone.com. or other, but i have fooled it to use static variables which is not the solution i want. My problem is. How can I use my v

Re: [PHP] uploading file

2001-02-08 Thread Phil Driscoll
>Everyone say : "Good morning mr. Lynch" ! Hear Hear! I was all overcome with a wave of nostalgia :) Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Events in HTML with PHP

2001-02-08 Thread Francesco Rossi
Hi, How i can use the event OnChange of a tag for run a php script ? Es. Thank. -- 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] subscribe to the mailing list

2001-02-08 Thread harpreet kaur
Get free email and a permanent address at http://www.netaddress.com/?N=1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP] Access a printer via PHP

2001-02-08 Thread Ankur Verma
You cannot directly access a printer from a php script. but you can try locating a a command line utility which will print the data provided to it in the command line or a the contents of a filename provided in the command line to the printer connected to the server. If the data is quite large (

[PHP] Installing PHP on Redhat 7.0 ..

2001-02-08 Thread Petter
Hi. Does anyone know where i can find a step-by step installation guide for installing PHP on an Redhat 7.0 running apache ? Regards. Petter Dilling PHP Newbie :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

[PHP] can i install apache php-module AND php-cgi on the same windows-apache?

2001-02-08 Thread Sebastian Stadtlich
i need it, because i want to do some image genaration and that is broken in win32 in the apache module. i would like to have a different ending for these skripts that need to be executed as CGI... it would be easy possible with IIS, but i still would prefer apache, since with IIS there are oth

Re: [PHP] Compiling php??

2001-02-08 Thread Martin A. Marques
El Jue 08 Feb 2001 00:48, GAYTAN BAHAMONDEZ DANIEL EDUARDO escribió: > Hi there, > Is there a way to compile php files so that no one can read them > but php will undestand them?? something like .exe in win I think zend will (or is) do that. Saludos... ;-) -- System Administration: It's

[PHP] UserAUTH from webform

2001-02-08 Thread FredrikAT
Can I set a userid & pw from a webbased interface (make iexplore ... remember the id & pw ... like $PHP_AUTH_USER & PHP_AUTH_PW does while sending headers?) Do I have to set a cookie? - Fredrik A. Takle [EMAIL PROTECTED] -- PHP General Mailing List (http:

Re: [PHP] base dir

2001-02-08 Thread Martin A. Marques
El Jue 08 Feb 2001 01:44, Steve Werby escribió: > "Brandon Orther" <[EMAIL PROTECTED]> wrote: > > I am sure this is a dumb/easy question but I can't seem to find it > > looking at the php manual... can someone tell me the function that gets > > the path > > of > > > where the script is? > > Create

Re: [PHP] How to make PHP work in all sub-directories?

2001-02-08 Thread Martin A. Marques
El Jue 08 Feb 2001 05:34, SED escribió: > Hi, > > I´m hosting a PHP-doc in sub-directorie (http://myserver/subdirectory/) on > my IIS server Win2000 but it doesn't run, though it runs in the root > (http://myserver/). > > Is there something in the PHP.ini to config (and how) or is it something > e

[PHP] Previous Next problems !!

2001-02-08 Thread Niel Zeeman
Hi there I'd appreciate any help I'm looking for a way to have a "next 10 records" "previous 10 records" type of sinario, extracting records from a database. Now the only problem is that I want to do it in Interbase. I know mysql has a seek option and a method of only returning a segment of

Re: [PHP] Time problem

2001-02-08 Thread Steve Werby
<[EMAIL PROTECTED]> wrote: > Or you could do it the easy way in MySQL: > > SELECT SEC_TO_TIME( TIME_TO_SEC( OUT ) - TIME_TO_SEC( IN )) AS Hours, > This requires IN and OUT to be type TIME. That is a pretty sweet function and it's definitely faster to handle the conversion in MySQL instead of PHP.

[PHP-CVS] cvs: php4 /ext/mnogosearch php_mnogo.c test.php

2001-02-08 Thread Sergey Kartashoff
gluke Thu Feb 8 05:33:36 2001 EDT Modified files: /php4/ext/mnogosearch php_mnogo.c test.php Log: Added UDM_PARAM_SEARCHTIME result parameter. Now at least mnoGoSearch-3.1.10 required to use this module. Added some parameters aliases. Example updated

Re: [PHP] Installing PHP on Redhat 7.0 ..

2001-02-08 Thread Michael Hall
RedHat 7.0 should have rpm packages for PHP4 ( mod_php and standalone rpms). Do and to see if PHP4 is already installed. If not, find them in the rpm directory of your CD. Then just install the rpm. The mod_php package is what you want for setting PHP up as a DSO with Apache (probably the most

[PHP] Weird one--PHP parsing jpg image!?

2001-02-08 Thread dphillips
Our site, under construction, displays a gallery of jpeg images. We're using Apache with PHP 4.0.2 compiled in, on Windows 98SE. At one point we recall our page with $PHP_SELF, and it generates a URL like http://localhost/php/php.exe/sandbox/gallery_demo.php. The weird thing is that some of th

Re: [PHP] uploading file

2001-02-08 Thread Shane McBride
Yea, I guess I should have stripped out some of the special code before I posted. The ^ replaces \ when the user inserts the windows path, than I replace the ^ with \\ so the path works correctly. I did get this to work. I was sure fighting it though... - Shane DISCLAIMER: I am by no means an ex

RE: [PHP] Weird one--PHP parsing jpg image!?

2001-02-08 Thread Jon Haworth
It sounds like you're running it as a CGI instead of a module. Have you put the correct directives into your httpd.conf? They should be something like: LoadModule php4_module c:/php/sapi/php4apache.dll AddType application/x-httpd-php .php .php3 .php4 HTH Jon -Original Message- From:

[PHP] Parse WML to PHP?

2001-02-08 Thread Kato Strandjord
How is it possible to parse a WML strin variable with a value="SO480", and parse over to a PHP strin variabl , so you can use it to in a PFP function. I get a error messages in M3gate WAP emulator, an UP SDK emulator telling me this"unsupported content-type: text/html" -- PHP General Mailing L

[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4

2001-02-08 Thread Rasmus Lerdorf
rasmus Thu Feb 8 06:17:38 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: doc/qa account for Chris Newbill Index: CVSROOT/avail diff -u CVSROOT/avail:1.75 CVSROOT/avail:1.76 --- CVSROOT/avail:1.75 Tue Feb 6 07:48:22 2001 +++ CVSR

Re: [PHP] Variable quantity chooser.

2001-02-08 Thread David VanHorn
> >I'm sure I can help you, but I'm not able to follow your terminology. >What's a "quantity chooser" and what's a "slider"? Are you referring to >select boxes? I'm not trying to be rude, I just don't understand what >you're referring to. I'm confident you can accomplish what you want using a

Re: [PHP] Parse WML to PHP?

2001-02-08 Thread Chris Adams
On 8 Feb 2001 06:24:20 -0800, Kato Strandjord <[EMAIL PROTECTED]> wrote: >How is it possible to parse a WML strin variable with a value="SO480", and >parse over to a PHP strin variabl , so you can use it to in a PFP function. >I get a error messages in M3gate WAP emulator, an UP SDK emulator telli

[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4

2001-02-08 Thread Rasmus Lerdorf
rasmus Thu Feb 8 06:21:13 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: Doc account for Jin Tae-Young Index: CVSROOT/avail diff -u CVSROOT/avail:1.76 CVSROOT/avail:1.77 --- CVSROOT/avail:1.76 Thu Feb 8 06:17:37 2001 +++ CVSROOT

Re: [PHP] ora error

2001-02-08 Thread Mark
First guess is correct, yeah I did use the cool ora_plogin thing I'm only doing selects so why do I need to do any commits -Mark ""Richard Lynch"" <[EMAIL PROTECTED]> wrote in message 09ab01c091b8$3e6b4000$[EMAIL PROTECTED]">news:09ab01c091b8$3e6b4000$[EMAIL PROTECTED]... > > Oracle Error: 204

[PHP-CVS] cvs: CVSROOT / cvsusers gen_acl_file.m4

2001-02-08 Thread Rasmus Lerdorf
rasmus Thu Feb 8 06:26:08 2001 EDT Modified files: /CVSROOTcvsusers gen_acl_file.m4 Log: Doc account for Ingmar Heinrich Index: CVSROOT/cvsusers diff -u CVSROOT/cvsusers:1.205 CVSROOT/cvsusers:1.206 --- CVSROOT/cvsusers:1.205 Thu Feb 8 06:21:13 2

[PHP] Passing arrays as arguments to a method

2001-02-08 Thread rodrigo
Is it possible to pass arrays as arguments to class methods? If so, how? What is the proper syntax and things to look out for. Thanks in advanced. -- Ivan R. Quintero E.* (507)228-3477 Aptdo 1263 * (507)228-9105 Balboa, Ancon * 640-0370 Rep

[PHP-CVS] cvs: CVSROOT / cvsusers gen_acl_file.m4

2001-02-08 Thread Rasmus Lerdorf
rasmus Thu Feb 8 06:31:48 2001 EDT Modified files: /CVSROOTcvsusers gen_acl_file.m4 Log: PEAR account for Björn Schotte Index: CVSROOT/cvsusers diff -u CVSROOT/cvsusers:1.206 CVSROOT/cvsusers:1.207 --- CVSROOT/cvsusers:1.206 Thu Feb 8 06:26:08 20

Re: [PHP] can i install apache php-module AND php-cgi on the same windows-apache?

2001-02-08 Thread Steve Werby
"Sebastian Stadtlich" <[EMAIL PROTECTED]> wrote: > i need it, because i want to do some image genaration and that is broken in > win32 in the apache module. i would like to have a different ending for > these > skripts that need to be executed as CGI... it would be easy possible with > IIS, but i

[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4

2001-02-08 Thread Rasmus Lerdorf
rasmus Thu Feb 8 06:45:36 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: Change waldschrott to andre Index: CVSROOT/avail diff -u CVSROOT/avail:1.77 CVSROOT/avail:1.78 --- CVSROOT/avail:1.77 Thu Feb 8 06:21:13 2001 +++ CVSROOT/

Re: [PHP] Previous Next problems !!

2001-02-08 Thread Steve Werby
"Niel Zeeman" <[EMAIL PROTECTED]> wrote: > I'm looking for a way to have a "next 10 records" "previous 10 records" type > of sinario, extracting records from a database. Now the only problem is that > I want to do it in Interbase. I know mysql has a seek option and a method > of only returning a

Re: [PHP] Variable quantity chooser.

2001-02-08 Thread Steve Werby
"David VanHorn" <[EMAIL PROTECTED]> wrote: > Sorry, I've been away from this for a while. > Let me peel back a bit. > > When I generate the form, I pull up from the db, the quantity on hand, and > the quantity already committed to orders. So: > $max=$quantity-$commit is the maximum number I can al

[PHP] Re: [PHP-WIN] Re: [PHP] RE: [PHP-WIN] MSSQL Functions

2001-02-08 Thread Toby Miller
Frank, That worked like a charm. I just copied the ntwdblib.dll that comes with the PHP 4 binaries to the Winnt/System32 directory so the MSSQL functions are now working on a machine without the need to install MSSQL Server or Client. You just saved me from having to do a whole web site with the

[PHP] optimizing mysql with php

2001-02-08 Thread Patrik Wallstrom
What settings should I have if I would like to optimize PHP without exhausting my MySQL db? There is the mysql.max_persistent setting, which is on a per process level. Should I set this low, to 10 perhaps? If it's unlimited, PHP will just eat up another persistent connection until MySQL is exhau

Re: [PHP-CVS] cvs: php4 /ext/mnogosearch php_mnogo.c test.php

2001-02-08 Thread Jon Parise
On Thu, Feb 08, 2001 at 01:33:36PM -, Sergey Kartashoff wrote: > gluke Thu Feb 8 05:33:36 2001 EDT > > Modified files: > /php4/ext/mnogosearch php_mnogo.c test.php > Log: > Added UDM_PARAM_SEARCHTIME result parameter. > Now at least mnoGoSearch-3.1.10

Re: [PHP] COM?

2001-02-08 Thread Tim Knip
The magical incantations: "Word.Application" etc.. - Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 08, 2001 10:31 AM Subject: Re: [PHP] COM? > > Does Anyone know what needs to be installed on the server other than php > >

Re: [PHP] PHP File Uplaod Path

2001-02-08 Thread Shane McBride
Dhaval, You really do not nee to be concerned about the temp directory, but if you are, you can wite a little script (if your not the sysadmin) to find this out. Actually it tells you a ton of useful info. Here it is: Name it phpinfo.php or whatever you like, upload it to the server and view i

Re: [PHP] Passing arrays as arguments to a method

2001-02-08 Thread Chris Lee
Ive seen posts like this before ( 'how do I pass arrays as arguments to functions?' ) this is quite simple, nothing at all has to be done. $val) echo "$pos : $val \n"; } } $arr[] = 'chris '; $arr[] = 'lee '; $arr[] = 'works for '; $arr[] = 'mediawaveonline.com '; $test = new test($

[PHP-CVS] cvs: php4 /ext/domxml php_domxml.c php_domxml.h

2001-02-08 Thread Uwe Steinmann
steinm Thu Feb 8 07:12:16 2001 EDT Modified files: /php4/ext/domxmlphp_domxml.c php_domxml.h Log: - add domxml_unlink_node(), not tested Index: php4/ext/domxml/php_domxml.c diff -u php4/ext/domxml/php_domxml.c:1.26 php4/ext/domxml/php_domxml.c:1.27 ---

Re: [PHP] UserAUTH from webform

2001-02-08 Thread Chris Lee
Please explain more... IE, Netscape, Opera, Lynx, blah blah blah allways send the PHP_AUTH_USER / PHP_AUTH_PW if there is a user / pw to send. this works on a per domain name bases. ie. if I was on www.mediawaveonline.com and had to enter a username / passwd then anywhere I go on www.mediawaveon

[PHP] Converting CFML to PHP

2001-02-08 Thread Kevin Queen
List, I have been given the task of converting all of our current ColdFusion pages to PHP, I am wondering if there is some kind of converting tool out there for this. I don't need 100% accuracy as I can/will fix any errors, I am just looking for the easiest way to convert 500+ files. TIA, Kevin

[PHP] splitting a class across separate files?

2001-02-08 Thread Monte Ohrt
I have a class with many functions. About 80% of these functions are rarely used, so I'd like to split them out to a separate file and include them only if a certain condition applies. This way the PHP compiling is kept to a minimum. How do I make the included functions members of the current clas

[PHP] COM - get existing instance?

2001-02-08 Thread Tim Knip
Is it possible to grab a running instance of for example Word? In VisualBasic-words: can you use 'GetObject' instead of 'CreateObject'? The latter is done by : $word = new Com("Word.Application") this creates a NEW instance, however i want to get an already running instance. Possible? -- PH

[PHP] Php (&mysql) & different char-sets

2001-02-08 Thread Siim Einfeldt aka Itpunk
Is it possible to make three textareas on one page (of course it is, but read til the end, you`ll get the point) and let the user type into each box in a different language with different charsets. For example, lets say I want to insert three versions of one text on one page (without submitting

Re: [PHP] Weird one--PHP parsing jpg image!?

2001-02-08 Thread Christian Reiniger
On Thursday 08 February 2001 15:04, [EMAIL PROTECTED] wrote: > The weird thing is that some of the images show up as broken links. > Okay, so we get the link properties and copy & paste the URL into the > browser, like: http://localhost/php/php.exe/sandbox/images/rainbow.jpg. > We get back an err

Re: [PHP] splitting a class across separate files?

2001-02-08 Thread Chris Lee
Its called inheritance. rarley.php main_class.php -- Chris Lee Mediawaveonline.com [EMAIL PROTECTED] "Monte Ohrt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a class with many functions. About 80% of these functions are > rarely used, so I

[PHP] gif support

2001-02-08 Thread Pablo Martin De Natale
Hello! I've installed php4 like apache module, with enable gd. But I have't got gif support. How can I install php with gif support? Thanks Pablo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

[PHP] radiobutton

2001-02-08 Thread Miguel Loureiro
Hello, I have sometging like this: ">Opt1 how I know if some user choose some radiobutton??? I tried if($opt1) , but without success T.Y. Miguel Loureiro <[EMAIL PROTECTED] >

php-general Digest 8 Feb 2001 16:28:00 -0000 Issue 500

2001-02-08 Thread php-general-digest-help
php-general Digest 8 Feb 2001 16:28:00 - Issue 500 Topics (messages 38670 through 38775): Re: sending mail with PHP from web 38670 by: Yamin Prabudy Re: base dir 38671 by: Steve Werby 38682 by: Maxim Maletsky 38742 by: Martin A. Marques Re: Variable quantit

Re: [PHP] gif support

2001-02-08 Thread Chris Lee
the 'gif' format is owned and controled by compuserve, it is a copyrighted format, it is not an open format. This is why your finding no 'gif' support in php. old old versions of gd do have 'gif' support built-in (this was before all the lawsuits) I would not recommend this older version of gd, -

RE: [PHP] radiobutton

2001-02-08 Thread Jon Haworth
I think if($radio1) is what you're after. HTH Jon -Original Message- From: Miguel Loureiro [mailto:[EMAIL PROTECTED]] Sent: 08 February 2001 16:39 To: php-gen Subject: [PHP] radiobutton Hello, I have sometging like this: ">Opt1 how I know if some user choose some radiobutton??? I

Re: [PHP] radiobutton

2001-02-08 Thread Reuben D Budiardja
Try this: if($radio1 == $opt1) { do whatever } rdb At 04:39 PM 2/8/01 +, Miguel Loureiro wrote: >Hello, >I have sometging like this: >">Opt1 > >how I know if some user choose some radiobutton??? >I tried if($opt1) , but without success > >T.Y. > >Miguel Loureiro <[EMAIL

Re: [PHP] splitting a class across separate files?

2001-02-08 Thread Christian Reiniger
On Thursday 08 February 2001 17:13, Chris Lee wrote: > Its called inheritance. > rarley.php > > class rarley_used > { > ?> > main_class.php > > include_once('rarley.php'); > > class main_class extends rarley_used Other way round (rarely_used extends main_class) :) -- Christian Reinige

  1   2   3   >