RE: [PHP] linking classes together

2001-03-22 Thread Stewart Taylor
Your need to define $db as a property of your sessions class. e.g. class sessions { var $db; function sessions { $this->db = new mysql_connect; } function testprint() { $this->db->connect() } } $sess = new sessions; $sess-> testprint(); -Original Message-

Re: [PHP] Installing PEAR

2001-03-22 Thread Paul rees
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes >Ok, IM a bit confused as to how PEAR is installed. I read through the README >file in the php source but found no explanation. > >I am tryin to use the PEARs DB abstracion. I have DB.php and DB/ in >/usr/local/lib/php. I added: 'include_

Re: [PHP] big problem

2001-03-22 Thread Tobias Talltorp
You need to set the permissions in that folder so that you can write. PHP acts like IUSR(computernmae), so set IUSR(computername) permission to write. This is Windows, by the way... // Tobias ""Salim Meethoo"" <[EMAIL PROTECTED]> wrote in message 99c90k$83u$[EMAIL PROTECTED]">news:99c90k$83u$[EM

[PHP] PAM authentification

2001-03-22 Thread Daniel Svensson, Coretrek
Hi there! I wonder if there is someone out there who can help me out with some advices regarding authentification with PAM (Pluggable Authentication Modules) using PHP. The main reason for using PAM is that I want to connect to Novell NDS/eDirectory to get info about a user based on a supplied u

[PHP] dbm support broken? Please help!

2001-03-22 Thread AK47
I'm trying to build php 4.0.4pl1 with dbm support on my RedHat Linux 6.2 box. I need it to be able to work with apache 1.3.14 mod_auth_dbm. Each time I run: ./configure \ --with-zlib=shared \ --with-xml=shared \ --with-gd=shared \ --with-interbase=shared \ --with-db \ --en

Re: [PHP] Simple question about mail() limitations (if any :)

2001-03-22 Thread Greig, Euan
< on IIS it is much better solution for more than few mails is to put them < simply in pickup directory of smtp server, I am also sure that there is a < similar possibility on linux How can I identify the location of the pickup directory for the smtp server (on NT)? Euan Greig Technical Consulta

RE: [PHP] How to delete a row from MySql

2001-03-22 Thread Jeff Armstrong
curious of Hither Green writes: > printf("(DELETE)", $PHP_SELF, $myrow["id"]); Is there a reason why you're not using interpolation? This looks simpler to me, and I thought that a lot of effort went into optimising PHP interpolation. echo "Delete $myrow[id]"; cheers, Jeff -Original M

[PHP] XML Problems

2001-03-22 Thread Niel Zeeman
Hi Folks Has anyone had problems with thej xml parser causing an Internal server error? I'm running IIS5 with the ISAPI module Thnx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] Oracle, Win2000, Apache, OCI

2001-03-22 Thread Greig, Euan
< I have seen -many- messages and spent an entire day reading, and haven't < found < what I'm looking for so i hope this is the correct place to ask. < When I try to make an ora_logon or ocilogon, I get < the error: Fatal error: Call to undefined function: ora_logon() < Is this an incorrect PHP

RE: [PHP] Ack! Cookie Problems!

2001-03-22 Thread Jeff Armstrong
Why not just set the session start time in a session variable and then test against that? Something like: session_start(); # This array contains all the session items if (!isset($sesh)) { $sesh = array(); session_register('sesh'); $sesh[start] = time(); } if ( $PHP_SELF == '/login') { if

Re: [PHP] Getting a header without ANY mime type

2001-03-22 Thread Christian Reiniger
On Thursday 22 March 2001 02:32, you wrote: > I've got a situation where I'm interested in returning a header without > ANY mime type specified. It looks like the default Mime type is set by > the server (plain text)? Or at least when I don't specify the type It's set by PHP (text/html) > that's

RE: [PHP] trim string - try array/join()

2001-03-22 Thread Jeff Armstrong
You have a hidden issue with the extra trailing comma. When I want a list of things, I prefer this approach: $db = mysql_select_db("tkenet_db"); $query = "SELECT app_name,status FROM approval_list where doc_no='6'"; $result = mysql_query($query,$db); $ccs=array(); while( $data = mysql_fetch_row(

Re: [PHP] files with html extension

2001-03-22 Thread Harshdeep S Jawanda
Jeff Armstrong wrote: > This is exactly why http://www.w3.org recommend that you DONT > SPECIFY A FILE TYPE TYPE in your HREFs. But doth that actually work - how many web servers are able to handle this type of link correctly? Ummm... and what happens (or is supposed to happen) to resolve xx

[PHP-CVS] cvs: php4 /ext/dbx CREDITS INSTALL LICENSE Makefile.in config.m4 dbx.c dbx.dsp dbx.h dbx_mysql.c dbx_mysql.h dbx_odbc.c dbx_odbc.h php_dbx.h

2001-03-22 Thread Marc Boeren
mboeren Thu Mar 22 03:07:04 2001 EDT Added files: /php4/ext/dbx CREDITS INSTALL LICENSE Makefile.in config.m4 dbx.c dbx.dsp dbx.h dbx_mysql.c dbx_mysql.h dbx_odbc.c dbx_odbc.h php_dbx.h Log: Added dbx modu

[PHP] please help with this simple problem

2001-03-22 Thread adam
i am coding a simple script to post a text area into a file. it works, but it posts it at the bottom and i wanted to have it post to the top of the text already there.. here's a snip of the important part of the script: $fp = fopen (basename($PHP_SELF) . ".comment", "a"); fwrite ($fp, $message)

RE: SV: [PHP] Booking by Date/Time in mySQL

2001-03-22 Thread Jeff Armstrong
Jon, not sure if I agree with you: locking - almost always a bad idea, atomicity is much faster and safer and usually indicates a better relational design. SQL is fundamentally set oriented, but newbies are almost always row oriented. mySQL locks table automagically, but it doesn't do ro

RE: [PHP] please help with this simple problem

2001-03-22 Thread Stewart Taylor
You need to copy the contents of the current file. Then recreate the file by writing the new message then writing back the original contents. e.g. $fname = basename($PHP_SELF). ".comment"; $fsize = filesize($fname); fp = fopen(basename($fname)); $data = fread($fp,fsize); fwrite($fp,$message); fwr

[PHP] multiple selection dropdown lists

2001-03-22 Thread Angie Bauer
Title: Clear Day Hi   we've got a dropdown list from a select statement, after you choose an option from there it creates another dropdown list also from a select statement.  We want to know how to be able to select multiple values from the 2nd one and send them through to the next page for

Re: [PHP] URIs as variables

2001-03-22 Thread Issac Goldstand
Nope. That gave me: I'd need to enumerate $HTTP_GET_VARS variable _keys_ too, but I don't know how... Also, how can I get it to work for both GET & POST methods? Is that possible? Thanks, Issac ""almir"" <[EMAIL PROTECTED]> wrote in message 99b66u$q0o$[EMAIL PROTECTED]">news:99b66u$q0o$[E

Re: [PHP] Lostpassword script Error

2001-03-22 Thread techzeus
Nobody can help? - Original Message - From: <[EMAIL PROTECTED]> To: "'PHP General List. (E-mail)'" <[EMAIL PROTECTED]> Sent: Wednesday, March 21, 2001 8:29 PM Subject: [PHP] Lostpassword script Error Hi there, I need some help here. I have uploaded all the files necessary into my serve

RE: [PHP] multiple selection dropdown lists

2001-03-22 Thread Stewart Taylor
You need to add '[]' to the selects name which informs php that the select field will have more than one value. Once your form has been submitted an array called $comboResultPlan will be available containing the selected options. -Stewart -Original Message- From: Angie Bauer [mailt

Re: [PHP] please help with this simple problem

2001-03-22 Thread adam
i tryed it and it ended up having an error that was caused originally by a lack of a $ on the 3rd line variable... after i fixed that it said wrong perameter count for fopen() on the third line, and "Warning: Supplied argument is not a valid File-Handle resource" for the remaining lines below that

RE: [PHP] files with html extension

2001-03-22 Thread Jeff Armstrong
Yes it works in Apache - try it! You could also read the Apache documentation on Content Negotiation. The following is a quote - Note on hyperlinks and naming conventions If you are using language negotiation you can choose between different

Re: [PHP] URIs as variables

2001-03-22 Thread rui
try this $myurl=urlencode(base64_encode($url)); in the input type echo ""; On 22-Mar-2001 Issac Goldstand wrote: > Nope. That gave me: > > > > I'd need to enumerate $HTTP_GET_VARS variable _keys_ too, but I don't know > how... > Also, how can I get it to work for

RE: [PHP] URIs as variables

2001-03-22 Thread Jeff Armstrong
Instead of using a HIDDEN form field (I assume you don't use this in any client side javascript), why not just use a session variable. Add this to the top of the relevant pages using include: You can then use $sesh[url] in any php block to find what this value was set to on the first page. Reg

Re: [PHP] please help with this simple problem

2001-03-22 Thread rui
you haven't specified the open type (a = append, w = write, r = read only , etc etc) solution $fp=fopen(basename($fname), "a"); just to match your example. On 22-Mar-2001 adam wrote: > i tryed it and it ended up having an error that was caused originally by a > lack of a $ on the 3rd line var

RE: [PHP] please help with this simple problem

2001-03-22 Thread Stewart Taylor
Sorry I missed "w+" from the fopen function $fname = basename($PHP_SELF). ".comment"; $fsize = filesize($fname); $fp = fopen(basename($fname),"w+"); <--- added "w+" $data = fread($fp,$fsize); fwrite($fp,$message); fwrite($fp,$data); fclose($fp) -Stewart -Original Message- From: adam

Re: [PHP] please help with this simple problem

2001-03-22 Thread adam
it works now, only it's earasing everything and then writing to the file. i think we have almost got this figured out. here's what the code looks like for the entire tag... --- ", $message); $date = date("l, F j Y, h:i a"); $message = "mailto:$email>$name -- $da

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

2001-03-22 Thread Jani Taskinen
When I still remember..I'm getting a lot of error messages into my error_log, e.g.: Unknown(0) : Warning - Constant xpath_boolean already defined And I think you have PHP_MINIT and PHP_RINIT mixed.. ie. Index: php_domxml.c === RCS

Re: [PHP] please help with this simple problem

2001-03-22 Thread adam
it works now, only it's earasing everything and then writing to the file. i think we have almost got this figured out. here's what the code looks like for the entire tag... --- ", $message); $date = date("l, F j Y, h:i a"); $message = "mailto:$email>$name -- $da

[PHP] Only 5 lines

2001-03-22 Thread Dennis Haller
Hi all, im using the following scripts: "; $numOfRows = mysql_num_rows ($result); for ($i = 0; $i < $numOfRows; $i++){ $threadid = mysql_result ($result, $i, "threadid"); $posts = mysql_result ($result, $i, "title"); $postusername = mysql_result ($result, $i, "postusername"); ec

Re: [PHP] Only 5 lines

2001-03-22 Thread Michael Bartlett
surely it should be limit 0,4 (0,1,2,3,4) = 5 items! remember 0 is row 1 not 1 ""Dennis Haller"" <[EMAIL PROTECTED]> wrote in message 99cs5b$bj4$[EMAIL PROTECTED]">news:99cs5b$bj4$[EMAIL PROTECTED]... > Hi all, im using the following scripts: > > include("connect.php"); > > $query = "SELECT thre

Re: [PHP] Only 5 lines

2001-03-22 Thread Michael Bartlett
if this message duplicates - sorry. some weirdness on my news client! dennis, i think your limit should read 0,4 because 0 is actually row 1 (we count from 0 not 1) so limit 0,4 gives you rows 0,1,2,3,4 - which is 5! not 4! ""Dennis Haller"" <[EMAIL PROTECTED]> wrote in message 99cs5b$bj4$[EMAI

[PHP] Only 5 lines (now with the right script :/ )

2001-03-22 Thread Dennis Haller
The question I asked before was for this script: http://nu.nl/deeplink_html", "r"); $read = fread($open, 1000); fclose($open); $search = eregi("nieuws.hoofd(.*)nieuws.overig< /B>", $read, $printing); $printing[1] = str_replace("", "", $printing[1]); $printing[1] = str_replace("", "", $printin

Re: [PHP] Only 5 lines

2001-03-22 Thread Dennis Haller
Thx Michael, but as u can see I already posted a new msg cause I copy pasted the wrong script :) THx for ure reply - Original Message - From: ""Michael Bartlett"" <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Thursday, March 22, 2001 1:52 PM Subject: Re: [PHP] Only 5 lines > if this

[PHP] Free Web Space

2001-03-22 Thread PIS Alaiddin Tayeh
Is there any place in the internet gives free hosting like (freeservers.com,geocities.com ..) supporting PHP/MySQL? Alaiddin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list adminis

[PHP-CVS] cvs: php4 /ext/dbx EXPERIMENTAL

2001-03-22 Thread Marc Boeren
mboeren Thu Mar 22 04:26:24 2001 EDT Added files: /php4/ext/dbx EXPERIMENTAL Log: no comment :) -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP] try catch in php?

2001-03-22 Thread elias
Java have error handling like C and not C as Java, and Java is C like and so is PHP. ""Jason Cox"" <[EMAIL PROTECTED]> wrote in message 002501c0a06d$4ce48ce0$[EMAIL PROTECTED]">news:002501c0a06d$4ce48ce0$[EMAIL PROTECTED]... > No, PHP doesn't have the extensive error handling that Java does. It'

RE: [PHP] Free Web Space

2001-03-22 Thread Jon Haworth
Head on over to http://members.evolt.org/ and have a look at what the wonderful folks over there are offering. HTH Jon -Original Message- From: PIS Alaiddin Tayeh [mailto:[EMAIL PROTECTED]] Sent: 22 March 2001 13:23 To: [EMAIL PROTECTED] Subject: [PHP] Free Web Space Is there any place

[PHP-CVS] cvs: php4 /ext/sockets sockets.c

2001-03-22 Thread Jani Taskinen
sniper Thu Mar 22 05:16:58 2001 EDT Modified files: /php4/ext/sockets sockets.c Log: Fix bugs: #9920, #9190 Index: php4/ext/sockets/sockets.c diff -u php4/ext/sockets/sockets.c:1.32 php4/ext/sockets/sockets.c:1.33 --- php4/ext/sockets/sockets.c:1.32 S

[PHP] LDAP problem

2001-03-22 Thread almir
ok i am usng php3.0.11 ,IIS4 and NT4 trying to connect to ldap server but i get a error Fatal error: Call to unsupported or undefined function ldap_connect() in ... i have included php3_ldap.dll in my php3.ini, i have even tried to include it dinamicaly with dl but then i get Fatal error: Unable

RE: [PHP] Oracle, Win2000, Apache, OCI

2001-03-22 Thread Brooks, Ken
Thanks guys. I'm going to try and tackle this later today. I was s happy just to get ODBC and oracle working yesterday. I had to install the oracle 8.1.6 client. Then i rolled back to php3. Works fine. I'm going to try the OCI stuff later, i'll letcha know. -ken -Original Message

[PHP] Oracle ODBC sql [ORA-00972: identifier is too long]

2001-03-22 Thread Brooks, Ken
I'm getting this message when i try to run a query on an Oracle database thru ODBC. I can connect to the database just fine. here is the code i'm trying to use. $td_oracle = odbc_connect($dsn, $username, $password) OR DIE("Unable to connect to oracle aradmin database"); $si_oracle_query = "SELE

[PHP] RE: Oracle ODBC sql [ORA-00972: identifier is too long]

2001-03-22 Thread Greig, Euan
I haven't used Oracle with ODBC, but nothing leaps out at me from your code. Some comments/ideas: The full meaning of error 0972 is that the name of a schema object (table, view, username etc) is too long (longer than 30 characters, maybe more for Oracle 8). The query statement you are using

Re: [PHP] Only 5 lines (now with the right script :/ )

2001-03-22 Thread Jack Sasportas
I'm guessing you are getting an extra blank If you get a result back in $headlines = sizeof($content) of 5, then you have 5 lines, but in your script you have the value of $i as ZERO ($i = 0; $i < $headlines; $i++) meaning 0,1,2,3,4,5 which is 6 lines, simply set your $i=1 and it should be co

[PHP] RE: Oracle ODBC sql [ORA-00972: identifier is too long]

2001-03-22 Thread Brooks, Ken
I only mentioned the part about the access, just to prove that I know i have a select statement working with an ODBC source. I know that I am connecting to the Oracle database, because if i put in a bogus user/pass i get an error stating so, when I supply the correct credentials I get no errors.

[PHP] Form help

2001-03-22 Thread Good Fella
Hi All, I currently have a small problem with my PHP form. I have made two PHP files (application.php and process_application.php). On submitting the form, you then move to process_application.php. Any errors will force the form NOT to be submitted to me. However, how do I stop people from

[PHP-CVS] cvs: php4(PHP_4_0_5) /ext/sockets sockets.c

2001-03-22 Thread Jani Taskinen
sniper Thu Mar 22 05:20:35 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4/ext/sockets sockets.c Log: MFH Index: php4/ext/sockets/sockets.c diff -u php4/ext/sockets/sockets.c:1.32 php4/ext/sockets/sockets.c:1.32.2.1 --- php4/ext/sockets/sockets.c:1.32

Re: [PHP] Free Web Space

2001-03-22 Thread Philip Olson
Check out this list : http://www.faqts.com/knowledge-base/view.phtml/aid/4058/fid/27 Regards, Philip On Thu, 22 Mar 2001, PIS Alaiddin Tayeh wrote: > Is there any place in the internet gives free hosting like > (freeservers.com,geocities.com ..) supporting PHP/MySQL? > > Alaiddin > > --

Re: [PHP-CVS] cvs: php4 /pear/HTML Common.php

2001-03-22 Thread Stig Sæther Bakken
["Martin Jansen" <[EMAIL PROTECTED]>] > On Thu, 22 Mar 2001 04:14:43 -, Adam Daniel wrote: > > >* @copyright Copyright 2001 Ethicon Endo-Surgery > > Isn't this a contradiction to the copyright notice of > the license in the head of the file? IMHO: who owns the copyright doesn't matter as

RE: [PHP] Form help

2001-03-22 Thread Jon Haworth
You could have a check for the HTTP_REFERER variable, if it doesn't contain "application.php", chances are they didn't come from that page. There might be a neater way to do it, but I don't know it :-) HTH Jon -Original Message- From: Good Fella [mailto:[EMAIL PROTECTED]] Sent: 22 Marc

RE: [PHP] RE: Oracle ODBC sql [ORA-00972: identifier is too long]

2001-03-22 Thread Brooks, Ken
Lets start at the basics. What is the easiest way to *make sure* that i am connecting to that oracle db? Anyway I can just list the tables, or something. odbc_tables or something like that?.. -ken -Original Message- From: Brooks, Ken [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22,

[PHP-CVS] cvs: php4 /pear/Cache/Container dbx.php

2001-03-22 Thread Christian Stocker
chregu Thu Mar 22 06:29:02 2001 EDT Added files: /php4/pear/Cache/Container dbx.php Log: a new container, which uses the new dbx extension of php as db-abstraction Index: php4/pear/Cache/Container/dbx.php +++ php4/pear/Cache/Container/dbx.php http://ww

Re: [PHP] Form help

2001-03-22 Thread Philip Olson
A common way is to add a check for the pressing of the submit button, so assuming : if ( isset($submit) ) { // process form } else { echo 'oh dear, you did not use form.'; } I usually use a hidden field instead as at times the submit button can be "skipped" as the user presse

RE: [PHP] RE: Oracle ODBC sql [ORA-00972: identifier is too long]

2001-03-22 Thread Brooks, Ken
I got it. I had the table name listed as aradmin_eps_service_instructions when in fact it should have been aradmin.eps_service_instructions (with the dot). I did not know this because all of the tables I had seen linked to this before used _ ,but the actual name (which i normally don't have priv

Re: [PHP] Only 5 lines (now with the right script :/ )

2001-03-22 Thread Dennis Haller
Still doesnt work, I think the problem is that the $content exist out of 1 array. So u cant limit it like in a SELECT query. The script sees the content of that array as 1 and therefor can not be splitted. THx for ure afford "Jack Sasportas" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED

[PHP] regexp on us tele number

2001-03-22 Thread Kurth Bemis
i'm still getting the hang of regexps, however i have on small problem - I can't seem to make one to work on a US telephone number. does anyone have something similar that i could work from? ~kurth -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

[PHP-CVS] cvs: php4 /pear/HTML Table.php

2001-03-22 Thread Martin Jansen
mj Thu Mar 22 06:32:51 2001 EDT Modified files: /php4/pear/HTML Table.php Log: - Fixed bug reported by Bertrand Mansion. Index: php4/pear/HTML/Table.php diff -u php4/pear/HTML/Table.php:1.2 php4/pear/HTML/Table.php:1.3 --- php4/pear/HTML/Table.php:1

[PHP-CVS] cvs: php4 /ext/standard basic_functions.c

2001-03-22 Thread Sean Bright
elixer Thu Mar 22 06:43:50 2001 EDT Modified files: /php4/ext/standard basic_functions.c Log: Fixed prototype. Index: php4/ext/standard/basic_functions.c diff -u php4/ext/standard/basic_functions.c:1.319 php4/ext/standard/basic_functions.c:1.320 --- php4/

RE: [PHP] Form help

2001-03-22 Thread Jon Haworth
> > You could have a check for the HTTP_REFERER variable, if it doesn't > > contain "application.php", chances are they didn't come from that page. > it's not a good idea to rely on $HTTP_REFERER for anything, and especially > for this. a referer is only reported when the user follows a hyperlin

RE: [PHP] Form help

2001-03-22 Thread Rick St Jean
not all browsers support the referrer or some people use software to block that, so that method is unreliable... the only way to do this is with a token. that is time sensitive from the database, even then there is no method that is hackproof. Rick At 03:41 PM 3/22/01 +, Jon Haworth wrote

[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-CVS] cvs: php4 /ext/dbx CREDITS INSTALL LICENSE Makefile.in config.m4 dbx.c dbx.dsp dbx.h dbx_mysql.c dbx_mysql.h dbx_odbc.c dbx_odbc.h php_dbx.h

2001-03-22 Thread Sean Bright
You may want to remove the C++ comments "//" and replace with with "/* */" comments. ""Marc Boeren"" <[EMAIL PROTECTED]> wrote in message cvsmboeren985259224@cvsserver">news:cvsmboeren985259224@cvsserver... > mboeren Thu Mar 22 03:07:04 2001 EDT > > Added files: > /php4/ext/dbx CREDITS INST

RE: [PHP] Unwanted signs!

2001-03-22 Thread Stewart Taylor
You can use the strip_tags function to remove HTML tags from the user inputted data e.g. $name = strip_tags($name) -Stewart -Original Message- From: Brian Rosenkrantz [mailto:[EMAIL PROTECTED]] Sent: 22 March 2001 15:50 To: [EMAIL PROTECTED] Subject: [PHP] Unwanted signs! I'm new to ph

Re: [PHP] Unwanted signs!

2001-03-22 Thread Philip Olson
Check out : http://www.php.net/manual/en/function.strip-tags.php So : $input = 'name'; $input = strip_tags($input); echo $input; // name Regards, Philip Olson http://www.cornado.com/ On Thu, 22 Mar 2001, Brian Rosenkrantz wrote: > I'm new to php (and from Denmark:-) and I'

[PHP] True64 installation

2001-03-22 Thread John Tran
Do you know where I can either: 1) download the PHP binaries for Digital True64 OSF1 V5.1 732 alpha or 2) get a OSF specific configuration file for compilation ? My goal is to run latest PHP under apache 1.3.19 with MySQL 3.22.20a on a dec osf. Thanks in advance, John Tran -- PHP General

[PHP-CVS] cvs: php4 /pear/Cache/Container dbx.php

2001-03-22 Thread Ulf Wendel
uw Thu Mar 22 06:57:45 2001 EDT Modified files: /php4/pear/Cache/Container dbx.php Log: - connection data typo - whitespaces Index: php4/pear/Cache/Container/dbx.php diff -u php4/pear/Cache/Container/dbx.php:1.1 php4/pear/Cache/Container/dbx.php:1.2

[PHP-CVS] cvs: php4 /pear/Cache/Container dbx.php

2001-03-22 Thread Ulf Wendel
uw Thu Mar 22 07:09:22 2001 EDT Modified files: /php4/pear/Cache/Container dbx.php Log: - added support for persistent connections Index: php4/pear/Cache/Container/dbx.php diff -u php4/pear/Cache/Container/dbx.php:1.2 php4/pear/Cache/Container/dbx.php:

[PHP-CVS] cvs: php4 /ext/midgard article.c element.c page.c pageelement.c topic.c

2001-03-22 Thread Emiliano Heyns
emile Thu Mar 22 07:11:41 2001 EDT Modified files: /php4/ext/midgard article.c element.c page.c pageelement.c topic.c Log: Added update duplicate checks Index: php4/ext/midgard/article.c diff -u php4/ext/midgard/article.c:1.18 php4/ext/midgard/article.c:

[PHP-CVS] cvs: php4 /ext/dbx dbx.c dbx_mysql.c dbx_mysql.h dbx_odbc.c dbx_odbc.h php_dbx.h

2001-03-22 Thread Marc Boeren
mboeren Thu Mar 22 07:14:35 2001 EDT Modified files: /php4/ext/dbx dbx.c dbx_mysql.c dbx_odbc.c dbx_mysql.h dbx_odbc.h php_dbx.h Log: Changed C++ style comments to C-style comments (Marc) #I hope I got 'em all @Changed C++ style

Re: [PHP-CVS] cvs: php4 /ext/dbx dbx.c dbx_mysql.c dbx_mysql.h dbx_odbc.c dbx_odbc.h php_dbx.h

2001-03-22 Thread Andrei Zmievski
On Thu, 22 Mar 2001, Marc Boeren wrote: > mboeren Thu Mar 22 07:14:35 2001 EDT > > Modified files: > /php4/ext/dbx dbx.c dbx_mysql.c dbx_odbc.c dbx_mysql.h dbx_odbc.h > php_dbx.h > Log: > Changed C++ style comments to C-style comme

RE: [PHP-CVS] cvs: php4 /pear/HTML Common.php

2001-03-22 Thread Daniel, Adam [EESUS]
>>* @copyright Copyright 2001 Ethicon Endo-Surgery >Isn't this a contradiction to the copyright notice of >the license in the head of the file? >-Martin I apologize for I meant to take that out before I commited it. I can't get into cvs right now if somebody wants they can go ahead and take

[PHP-CVS] cvs: php4 /pear/HTML Common.php

2001-03-22 Thread Martin Jansen
mj Thu Mar 22 07:27:07 2001 EDT Modified files: /php4/pear/HTML Common.php Log: - removed wrong copyright notice. Index: php4/pear/HTML/Common.php diff -u php4/pear/HTML/Common.php:1.2 php4/pear/HTML/Common.php:1.3 --- php4/pear/HTML/Common.php:1.2

Re: [PHP] Getting a header without ANY mime type

2001-03-22 Thread Spunk S. Spunk III
This would be part of a test tool I'd like to create in order to test conditions of an application. I want to send a request and ensure that the response has no set type or known length if possible (eg return some media that is undefined and see how the app handles the response). Anyone? Spunk

php-general Digest 22 Mar 2001 16:38:22 -0000 Issue 582

2001-03-22 Thread php-general-digest-help
php-general Digest 22 Mar 2001 16:38:22 - Issue 582 Topics (messages 45071 through 45136): Installing PEAR 45071 by: RalphGzman.aol.com 45081 by: Paul rees How to delete a row from MySql 45072 by: YoBro 45073 by: Peter Houchin 45086 by: Jeff Armstron

[PHP] Directory rights: Create and delete is possible but not ccggrp, why?

2001-03-22 Thread Dominique Paquin
I posted a message last week on this subject, and I have searched for an answer meanwhile. So i decided to re ask my question a little bit differently since i did not find the answer to my problem: I use a web based application I am making and through this application I create directories. I can

[PHP] Freshmeat Ad?

2001-03-22 Thread Michael Geier
Is there a reason Freshmeat is showing a banner stating "PHP 4.01pl2 is out"? Especially since the binary is up to 4.04pl1. Michael Geier CDMSports Systems Administration EMail: [EMAIL PROTECTED] Phone: 314.991.1511 x 6505 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-

Re: [PHP] Directory rights: Create and delete is possible but notccggrp, why?

2001-03-22 Thread Keith Vance
I have run into a problem similar to this. Basically what I have found is that there is no way to do this sort of thing using php through apache. I fixed my problem by writting a perl script that creates the directories and sets the permissions/groups correctly. I have php write out a text file an

[PHP] Probs with PHP4 and MySQL File Upload...

2001-03-22 Thread Kilian
Hello All! Since I upgraded to PHP4, file upload into MySQL tables seems not to work anymore. I am using PHPMyAdmin to access the database. When I try to upload a file there, I get the Error "The file '[tmpdir]/php129947' must be in the database directory or be readable by all" where [tmpdir] is

RE: [PHP] RE: Oracle ODBC sql [ORA-00972: identifier is too long]

2001-03-22 Thread Brian S. Dunworth
At 09:52 AM 3/22/01 -0500, Brooks, Ken wrote: >Lets start at the basics. > >What is the easiest way to *make sure* that i am connecting to that oracle >db? > >Anyway I can just list the tables, or something. >odbc_tables or something like that?.. To get a list of the tables, you could: SE

[PHP] A problem under Solaris

2001-03-22 Thread Emiliano Marmonti
Hello all 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? A

RE: [PHP] RE: Oracle ODBC sql [ORA-00972: identifier is too long]

2001-03-22 Thread Brian S. Dunworth
At 10:16 AM 3/22/01 -0500, Brooks, Ken wrote: >I got it. ah. :) good >I had the table name listed as aradmin_eps_service_instructions >when in fact it should have been aradmin.eps_service_instructions (with >the dot). > >I did not know this because all of the tables I had seen linked to

[PHP] Web Based PHP Content Manager Problems

2001-03-22 Thread Phil
I have tried using multiple PHP content manager programs and cannot seem to get any of them to save files that have been edited over the web interface unless the file permissions are set to let everybody write to them. Of course, we don't want to have out files writeable by the world. I have trie

[PHP] ODBC only working for 82 rows

2001-03-22 Thread Brooks, Ken
I've kind of hit a wall. I am using the data in an oracle table to create a table in mysql that is equivalent. It only gets thru 82 sometimes 83 records. Doesn't error out or anything, only inserts (and reports back to the screen) 82. There are 134 fields in the table. When i just print out the

Re: [PHP] Directory rights: Create and delete is possible but notccggrp, why?

2001-03-22 Thread Dominique Paquin
Thanks a lot for the answer, it's the first constructive response i have for my problem. I was banging my head on the walls with this one. I might just use C/Cron to correct this. If you implemented this could you guide me a little bit in the steps to follow to complete this? Thanks again. Domi

Re: [PHP] A problem under Solaris

2001-03-22 Thread Sebastien Roy
I got the same problem as you did, Just pick-up flex on a gnu mirror and your problem will be corrected! Regards, Sebastien Roy www.galeasec.com Emiliano Marmonti wrote: > Hello all > > I´m trying to compile PHP 4.0 under Solaris 8.0 - SPARC 250. When I try to >configure using the appropi

Re: [PHP] A problem under Solaris

2001-03-22 Thread Emiliano Marmonti
Thank you Sebastian, but I want to know what is flex (and I don´t know where could I obtain it). Thanks again. Emiliano. -- 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 administr

[PHP] Date subtraction

2001-03-22 Thread BlackLord
Hi! I want to subtract to date times from each other. Like : '2000 12 01 12:12:12' - '2000 11 10 11:39:59' Is there any function to do this subtraction or can i do it with MySQL's SELECT query ? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECT

Re: [PHP] LDAP problem

2001-03-22 Thread Brett Bandy
Make sure all the dlls used by php3_ldap.dll are available. I have php4 and the php_ldap.dll requires the libsasl.dll to be available. Brett ""almir"" <[EMAIL PROTECTED]> wrote in message 99d00g$j4h$[EMAIL PROTECTED]">news:99d00g$j4h$[EMAIL PROTECTED]... > ok > i am usng php3.0.11 ,IIS4 and NT4

Re: [PHP] Web Based PHP Content Manager Problems

2001-03-22 Thread CC Zona
In article <99dcc5$vm0$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Phil") wrote: > I have tried using multiple PHP content manager programs and cannot seem to > get any of them to save files that have been edited over the web interface > unless the file permissions are set to let everybody write to

[PHP] .htaccess question

2001-03-22 Thread Jimmy Bäckström
Yo! I need to know how I create a login script that uses the htaccess file to authenticate users. Thankful for any answers! /Broder B

Re: [PHP] A problem under Solaris

2001-03-22 Thread Joe Rice
If you have the "Bonus Software" pack that came with Solaris8, there is a CD call "Companion". That CD has everything you need form the GNU world. Loads of GNU solaris packages. joe Emiliano Marmonti([EMAIL PROTECTED])@Thu, Mar 22, 2001 at 02:43:25PM -0600: > Thank you Sebastian, > but I want t

[PHP] mail(), how can one specify ?

2001-03-22 Thread Richard
Greetings. If I would like to use mail(...), how could I make the "from" tag something else? I have not found any solution of specifying that! - Richard -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: [PHP] .htaccess question

2001-03-22 Thread Brian S. Dunworth
At 06:57 PM 3/22/01 +0100, Jimmy Bäckström wrote: >Yo! >I need to know how I create a login script that uses the htaccess file to >authenticate users. >Thankful for any answers! >/Broder B Set up your .htaccess file as usual, pointing to a userfile created with htpasswd. Place the .htacces

RE: [PHP] ODBC only working for 82 rows

2001-03-22 Thread Brooks, Ken
Nevermind. I got smart and used CREATE TABLE with a *really* long creation_definition specifying all fields. Works a millions times better/faster. -Original Message- From: Brooks, Ken [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 12:28 PM To: Brooks, Ken; [EMAIL PROTECTED]

[PHP] Problems uploading Files

2001-03-22 Thread Renzi, Sebastian
Hello again ! , i have a script that uploads a file , when i use the function move_uploaded_file() an error raises ,"Permission denied ." ,but if i upload the same file thru an ftp client it works correctly ! Sebastián Renzi Consultoría & Desarrollo de Sistemas. CODES S.A -- PHP General Ma

RE: [PHP] Problems uploading Files

2001-03-22 Thread John Almberg
Hello Sebastian, What a timely posting! I am trying to figure out how to allow a user (using any internet-connected pc) to upload a file to my PHP-enabled server. I am trying to use PHP and the FTP functions, but can't figure out how to address the file on the user's machine. Any hints from anyon

Re: [PHP] Problems uploading Files

2001-03-22 Thread Kilian
Renzi, Sebastian <[EMAIL PROTECTED]> wrote: > Hello again ! , i have a script that uploads a file , when i use the > function move_uploaded_file() an error raises ,"Permission denied ." > ,but if i upload the same file thru an ftp client it works correctly ! The user the webserver process ru

[PHP] Make Script login to password protected web sites

2001-03-22 Thread Brandon Orther
Hello, Can I put the user name and password at the top of my php script so it can loggin to a site that requires authentication? Can i put it anywhere in teh script to amek it do this? Thank you, Brandon Orther WebIntellects Design/Development Manag

Re: [PHP] Problems uploading Files

2001-03-22 Thread Kilian
John Almberg <[EMAIL PROTECTED]> wrote: [...] > Someone else suggested > that I use an > HTML 'upload', but I can't find anything about this in my HTML > documentation. -- Kilian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

  1   2   3   >