Re: [PHP] about include

2001-03-01 Thread Felipe Fernandez
Hi, Marcos You can try something like this: / web root $SiteRootDir = "/home/httpd/mydomain"; / phorum directory $PhorumDir = "/phorum"; / libraries include $SiteRootDir.$PhorumDir."/common.php"; Felipe At 08:59 1/03/01 +, Marcos wrote: >hi, >everytime i add include

[PHP] How would you have liked to have invested in Yahoo when it was still a year old?

2001-03-01 Thread Jess Ragaza
or eBay? Well, I missed it too. Now we all have the great opportunity not only to relive it but also to help usher the real Information Highway and be rewarded for our vision and courage! Our company, Internet Architecture, Inc. will offer free web contents: true beginning applications of the Inf

Re: [PHP] PHP on Cobalt

2001-03-01 Thread Fernando Caamaño
Hello, by default there aren't any php version in the cobalt, but you could install the version you prefer. I have been working with cobaltraq 3 for a year with php, and it works ok. regards Fernando Caamaño - Original Message - From: "Jochen Kaechelin" <[EMAIL PROTECTED]> To: "Php-Gener

[PHP] variable scope -- unsetting vars inside functions

2001-03-01 Thread Michael A. Smith
When a function finishes execution does it automatically clean up its local variables or should I manually unset() them? For example: function do_something() { $local_var = 'something really big...'; return true; } Does $local_var immediately vanish from existence when do_something finis

[PHP] Newbie question about running JAVA classes on PHP scripts

2001-03-01 Thread Federico Ragazzoni
Hi all, I've a problem with my php.ini file, running JAVA classes... What exactly should write in php.ini? I've JDK in /usr/local/jdk and PHP in /usr/local/php Tanks

Re: [PHP] PHP single user??

2001-03-01 Thread Rick Hodger
Todd Cary <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am having a very strange problem: PHP 4.0.4 on a NT 4 platform with > IIS 5 is only allowing one surfer to do a DB Select. If the DB is busy > with the first user, the page is not available to other u

Re: [PHP] require on compressed files

2001-03-01 Thread Christian Reiniger
On Wednesday 28 February 2001 22:58, you wrote: > I am trying to get the expected behavior of: > require("filename.gz"); > or > require("filename.bz2"); > to work properly. Why do you want to do that? If that file is just a normal include file, compression just adds unneccessary overhead. If it

Re: [PHP] Newbie question about running JAVA classes on PHP scripts

2001-03-01 Thread Robert Vetter
Federico Ragazzoni wrote: > > Hi all, I've a problem with my php.ini file, running JAVA classes... > What exactly should write in php.ini? > I've JDK in /usr/local/jdk and PHP in /usr/local/php Would you explain us, what does (or should) php.ini have to do with JAVA? Robert -- PHP General M

Re: [PHP] about include

2001-03-01 Thread Christian Reiniger
On Thursday 01 March 2001 09:59, you wrote: > hi, >everytime i add include function to a script it will answer like: > Warning: Failed opening 'common.php' for inclusion > (include_path='/usr/local/apache/htdocs:/home/httpd/mydomain') in > /home/httpd/mydomain/h24h/foro/admin/index.php on

[PHP] big database with php ?

2001-03-01 Thread Markus H. Maussner
hi.. i am looking for a database wich runs with php and supports big tables ... i am thinking about areas in the range of 1,5-2TB. can mysql handle that ? i know ms-sql is good for databases at arround 1TB. markus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EM

[PHP] Need Function generating integers

2001-03-01 Thread M. A. Ould-Beddi
I need a sequence of small integers for primary keys in mysql tables; I want php to generate them. How can I do that? Thanks -- 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 admi

[PHP] including html

2001-03-01 Thread Marcos
hi, i would like to put all the content from a html file into a php. (like working with SSI) index.php include ('info.html) is this right? regards, marcos [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: [PHP] including html

2001-03-01 Thread Harshdeep S Jawanda
Marcos wrote: > index.php > include ('info.html) I think readfile($inputFileName); would be a better option. -- Regards, Harshdeep Singh Jawanda. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] File type not set

2001-03-01 Thread Fredrik Wahlberg
I'm uploading a file to my server, and I check the mime-type and file size before saving it. For some reason I get the file size, but not the file type. $userfile_type returns nothing and $userfile_size returns the correct size. This works just fine on another server where I have the same scri

Re: [PHP] Need Function generating integers

2001-03-01 Thread CC Zona
In article , [EMAIL PROTECTED] ("M. A. Ould-Beddi") wrote: > I need a sequence of small integers for primary > keys in mysql tables; I want php to generate them. > How can I do that? A sequence of integers for the primary of a table in a mysql

[PHP] newbie: mail setup in php.ini

2001-03-01 Thread Mat Marlow
Hi all, I have a simple form that seems to do everything except send the mail and it's not even returing TRUE from mail() anymore. I'm pretty sure there's a problem with our smtp server since we're using our ISP's smtp to send mail from usually so I've tried setting SMTP to that outside server in

[PHP] iptcembed

2001-03-01 Thread Mathur
Hi ! Anybody having a clue, about how to use iptcembed () !! And by the way the iptcparse() function dowsnot pick up the image URL .. Mathur -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To conta

[PHP] get html-page

2001-03-01 Thread mailing_list
Hi! I have a php-script, that gets a HTML-Page, parses it and print some information on this page! 'file("http:// ...")' doesn't work on my server, so I use 'fsockopen($host,$port)' which works fine! Now I migratet my scripts to another free-ISP, and there both methods fail! - What can I try els

Re: [PHP] including html

2001-03-01 Thread Josh Reynolds
On Thu, 1 Mar 2001, Marcos wrote: > hi, > > i would like to put all the content from a html file into a php. > (like working with SSI) > index.php > include ('info.html) > > is this right? > > regards, > > marcos > [EMAIL PROTECTED] > -- PHP General Mailing List (http://

[PHP] images problem

2001-03-01 Thread John LYC
i uses the following method to display an image draw from database.. set_magic_quotes_runtime(0); $query = "select diagram from $QuestTab where qns_id = '$QnsID'"; $result = @MYSQL_QUERY($query); $data = @MYSQL_RESULT($result,0, "d

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

2001-03-01 Thread Sergey Kartashoff
gluke Thu Mar 1 03:38:17 2001 EDT Modified files: /php4/ext/mnogosearch php_mnogo.c Log: Added UdmFreeEnv call to mnoGoSearch link list destructor to free memory allocated for environment. Index: php4/ext/mnogosearch/php_mnogo.c diff -u php4/ext/

Re: [PHP] Restrict Access per IP Addresses

2001-03-01 Thread Nazoréen
Thank you for the script, but it is not clear for me :-) i'm a beginner in PHP ! This script accept all range IP for every domain, but me i need to determine only a range IP for select domains. Users will be connect by my network, so they have an IP give by the network. Example (because i don't

[PHP] whats the message count ?

2001-03-01 Thread Markus H. Maussner
hi.. i have 2 small questions 1. is there somehting like an archive since the verry first mail here ? 2. i can order "old" mails from the script who managed this folder right ? but i need to say what number i want.. like i want number 499-550 .. so my question what number do we have actually ? (

RE: [PHP] PHP and iPlanet on Solaris

2001-03-01 Thread Montgomery-Recht, Evan
Figured it out, it the reference for php4_execute service needs to be higher up in the file. evan > -Original Message- > From: Montgomery-Recht, Evan [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, February 28, 2001 9:33 AM > To: [EMAIL PROTECTED] > Subject: [PHP] PHP and iPlanet on S

RE: [PHP] whats the message count ?

2001-03-01 Thread Kees Hoekzema
hi, 1. http://marc.theaimsgroup.com/?l=php-general 2. will be there too i think Kees -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Namens Markus H. Maussner Verzonden: Thursday, March 01, 2001 12:52 PM Aan: [EMAIL PROTECTED] Onderwerp: [PHP] whats the messag

[PHP] Export Linux Users and Password's to MYSQL database

2001-03-01 Thread Joe Njeru
Hi All, Is there a way I can export the users in my Linux machine to a mysql database. Together with their passwords without manually entering all of them. I will appreciate any input. Thanks in advance, Joe Njeru Nairobi, Kenya. "Where the sun shines all day!!" -- PHP General Mailing Lis

Re: [PHP] found a bug with File Uploads..

2001-03-01 Thread TTT
after hunting a little more it appears that apache adds a 'content-type: blabla" at the start of the file. Php just copies the already corrupted file ... any clues on how to fix that ? -- Thierry TABARD Digital Sound Planet http://www.digitalsoundplanet.com ""TTT"" <[EMAIL PROTECTED]> wrote in m

Re: [PHP] Export Linux Users and Password's to MYSQL database

2001-03-01 Thread Hrishi
On Thursday 01 March 2001 17:37, Joe Njeru wrote: > Hi All, > > Is there a way I can export the users in my Linux machine to a mysql > database. Together with their passwords without manually entering all of > them. the passwords are usually encrypted and stored in /etc/passwd or /etc/shadow

[PHP] Javascript and Php

2001-03-01 Thread kaab kaoutar
Hi! I'd like to include an inc file once a button id cliked! I tried calling that function: function more() { ; // var f=; document.form1.action="formhtl_rd.html";document.form1.submit(); } but it fails! Any idea Thanks _

[PHP] PHP on NetWare

2001-03-01 Thread Surendranath
Hi, Can you please let me know whether anyone is working on PHP for NetWare Web server (Apache/Enterprize)? Rgds, Surendra -- 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 admi

Re: [PHP] Need Function generating integers

2001-03-01 Thread Miles Thompson
Use MySQL's autoincrement ? Miles At 10:29 AM 3/1/01 +, M. A. Ould-Beddi wrote: >I need a sequence of small integers for primary >keys in mysql tables; I want php to generate them. >How can I do that? > >Thanks > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail

[PHP] strange think with 'mail()' [sendmail?]

2001-03-01 Thread Michael Plies
Hy leuts i got a strange problem and hope someone knows a solution or a hint i send a mail in a absenden.php3 like this: mail("[EMAIL PROTECTED]","subjekt","inhalt", "Content-Type: text/html\nFrom: <[EMAIL PROTECTED]>"); the mail reaches me, is readable, but on the next time i start netscape i

[PHP] strange think with 'mail()'

2001-03-01 Thread Michael Plies
Hy leuts i got a strange problem and hope someone knows a solution or a hint i send a mail in a absenden.php3 like this: mail("[EMAIL PROTECTED]","subjekt","inhalt", "Content-Type: text/html\nFrom: <[EMAIL PROTECTED]>"); the mail reaches me, is readable, but on the next time i start netscape i

RE: [PHP] Export Linux Users and Password's to MYSQL database

2001-03-01 Thread Jason Beebe
Depends. say you are wanting to put the passwords from your servers passwd file, you would only be able to export the encrpypted passwords, since they are one-way encrypted. you will not be able to store plain text passwords in the db from your passwd file through importing it. if you want to do t

Re: [PHP] strange think with 'mail()'

2001-03-01 Thread Lewis Bergman
> mail("[EMAIL PROTECTED]","subjekt","inhalt", > "Content-Type: text/html\nFrom: <[EMAIL PROTECTED]>"); > > the mail reaches me, is readable, but on the next > time i start netscape its GONE ? > I tryed some other header pieces, but all get the >same effekt. What do the headers look like when it

[PHP] pg_cmdtuples support needed in PHP4

2001-03-01 Thread Jess Perez
Is there anyone here who can tell me where I can get the pgsql.c module for PHP4 that has the cmdtuples support compiled in so that when it is called from PHPlib it does not give the following error message. Warning: This compilation does not support pg_cmdtuples() in ../phplib/php/db_pgsql.inc o

[PHP] changing the .ini file

2001-03-01 Thread Mat Marlow
Hi, Surely you don't have to re-boot the server (NT/IIS) when you change the .ini file??!! I'm trying to change the SMTP value but when I do, my phpinfo() page still lists the old one. And that'll be why my forms don't work! ;o) I've stopped and started the website to no avail, what should I do?

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

2001-03-01 Thread Sergey Kartashoff
gluke Thu Mar 1 05:26:25 2001 EDT Modified files: /php4/ext/mnogosearch php_mnogo.c php_mnogo.h test.php Log: Udm_Get_Doc_Count function from mnoGoSearch 3.1.11 has been added. mnoGoSearch library version printing in phpinfo() has been added. Example

Re: [PHP] changing the .ini file

2001-03-01 Thread Ernest E Vogelsinger
At 14:47 01.03.2001, Mat Marlow said: [snip] >Hi, >Surely you don't have to re-boot the server (NT/IIS) when you change the >.ini file??!! I'm trying to change the SMTP value but when I do, my >phpinfo() page still lists the old one. And that'll be why my fo

Re: [PHP] pg_cmdtuples support needed in PHP4

2001-03-01 Thread Egon Schmid (@work)
Jess Perez wrote: > > Is there anyone here who can tell me where I can get the pgsql.c module for > PHP4 that has the cmdtuples support compiled in so that when it is called > from PHPlib it does not give the following error message. > > Warning: This compilation does not support pg_cmdtuples()

[PHP] RE: How to insert time and date into mysql?

2001-03-01 Thread Foley, John
I have an application that serializes uploaded files by datetime of upload. This may not be the most efficient, but this will yield a MySQL DATETIME type string: $datetime = date("YmdHis"); If you are looking for a DATE column and a TIME column seperately (not re

Re: [PHP] Newbie question about running JAVA classes on PHP scripts

2001-03-01 Thread Adrian Murphy
try this article: http://www.phpbuilder.com/columns/marknold20001221.php3 though i must admit i couldn't get it to work on windows. - Original Message - From: Federico Ragazzoni <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 01, 2001 9:24 AM Subject: [PHP] Newbie ques

Re: [PHP] Hebrew websites transition with php3 ..

2001-03-01 Thread Meir kriheli
On Thursday 01 March 2001 09:17, Boaz Yahav wrote: I think that Aviv should stick to logical hebrew (which is the standart, as mentioned by Boaz). I don't use IE (I'm using Linux) and I can access all the logical sites with no problem, including the "" tag and the 'direction: rtl' style (thank

[PHP] security improvements

2001-03-01 Thread Gustavo Vieira Goncalves Coelho Rios
Would it be a good features if php had all programs executed with system,exec,passthrouth and `` wrapped by apache suexec ? What you think about that ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PHP] RE: How to insert time and date into mysql?

2001-03-01 Thread Kevin Cawthorne
Why not use the CURDATE() and CURTIME() functions built into mysql? Kevin Cawthorne - Original Message - From: "Foley, John" <[EMAIL PROTECTED]> To: "'Zenith'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, March 01, 2001 2:20 PM Subject: [PHP] RE: How to insert time and date in

Re: [PHP] PostgreSQL vs InterBase

2001-03-01 Thread Meir kriheli
On Wednesday 28 February 2001 06:19, [EMAIL PROTECTED] wrote: > Arnold Gamboa wrote: > > I hve heard a great deal about InterBase. Please comment on which is > > better: > > > > 1. Speed > > 2. Data Reliability > > 3. Compatibility with PHP > > > > Thanks for your comments. > > > > -- > > 1. I

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

2001-03-01 Thread Sergey Kartashoff
gluke Thu Mar 1 05:38:38 2001 EDT Modified files: /php4/ext/mnogosearch php_mnogo.c php_mnogo.h test.php Log: Udm_Api_Version function has been added. Example updated. Index: php4/ext/mnogosearch/php_mnogo.c diff -u php4/ext/mnogosearch/php_mnogo.

Re: [PHP] Hebrew websites transition with php3 ..

2001-03-01 Thread Aviv Revach
Hey! Ok, I think that I will stick to logical Hebrew as most of you suggested. But still, I'm interested in knowing how could I take a HTML document which contains HTML tags, Hebrew words and English words, and reveres only the Hebrew words (making them Visual Hebrew) using only php3 functions

[PHP] Restrict Access per IP Addresses

2001-03-01 Thread Nazoréen
Thank you for the script, but it is not clear for me :-) i'm a beginner in PHP ! This script accept all range IP for every domain, but me i need to determine only a range IP for select domains. Users will be connect by my network, so they have an IP give by the network. Example (because i don't

[PHP-CVS] cvs: php4 / NEWS

2001-03-01 Thread Sergey Kartashoff
gluke Thu Mar 1 05:44:05 2001 EDT Modified files: /php4 NEWS Log: # Corrected NEWS entry about mnoGoSearch extension. Index: php4/NEWS diff -u php4/NEWS:1.600 php4/NEWS:1.601 --- php4/NEWS:1.600 Mon Feb 26 07:20:53 2001 +++ php4/NEWS Thu Mar

Re: [PHP] Hebrew websites transition with php3 ..

2001-03-01 Thread Meir kriheli
As Boaz suggested look into hebrev and hebrevc functions. They are the only ones I can think about right now. check http://php.net/hebrev http://php.net/hebrevc the manual states that this functions are defined in PHP3 and PHP4. HTH -- Meir Kriheli There's someone in my he

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

2001-03-01 Thread Sergey Kartashoff
gluke Thu Mar 1 06:18:06 2001 EDT Modified files: /php4/ext/mnogosearch test.php Log: # mnoGoSearch example updated. Index: php4/ext/mnogosearch/test.php diff -u php4/ext/mnogosearch/test.php:1.16 php4/ext/mnogosearch/test.php:1.17 --- php4/ext/mnog

Re: [PHP] Restrict Access per IP Addresses

2001-03-01 Thread Ernest E Vogelsinger
At 16:09 01.03.2001, Nazoréen said: [snip] >there are 3 networks, each of them have a mask : (it is not necessary to >know these parameters i think !) >198.143.15.255 (255.255.255.0) >202.139.84.255 (255.255.255.128) >210.176.142.255 (255.255.255.192) > >Whe

RE: [PHP] RE: How to insert time and date into mysql?

2001-03-01 Thread Foley, John
>Why not use the CURDATE() and CURTIME() functions built into mysql? Because my filing system requires that the filename.extension be datetime.extension in the PHP LP script (lazy man's serialization). That way, I can just referance the datetime when I build my table of

AW: [PHP] Passing values from ASP to PHP

2001-03-01 Thread Sebastian Stadtlich
Hi you could try to ad a filter for 'exactfilename.asp' and assign it to php. i forgot most of my iis knowledge, but as far as i recal the .asp filter can be changed on per-directory basis. putting exactfilename.asp in the filter- tab higher then the asp one should map it to php it can be do

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

2001-03-01 Thread Sergey Kartashoff
gluke Thu Mar 1 06:51:11 2001 EDT Modified files: /php4/ext/mnogosearch php_mnogo.c test.php Log: UDM_PARAM_CROSS_WORDS mnoGoSearch extension session parameter has been added to use crosswords available since version 3.1.11 of mnogosearch. Example upd

RE: [PHP] Passing values from ASP to PHP

2001-03-01 Thread Opec Kemp
Hi, To enumerate the key/value in ASP from the form you'd do this <% dim element dim objForm dim strURL '/* We're creating an object so that it won't matter which ' * HTTP method the previous form uses. ' */ If LCase(Server.Request("HTTP_METHOD")) = "post" Then Set objForm = Request.Fo

RE: [PHP] Passing values from ASP to PHP

2001-03-01 Thread Michael Geier
I'm no ASP guru (never touched it actually), but...it seems as if this will add an extra "&" on the end of the url. myscript.php?one=blue&two=red&three=yellow& ^ -Original Message- From: Opec Kemp [mailto:[EMAIL PROTECTED]] Sent: Thursday, March

[PHP-CVS] cvs: php4 /pear/Cache Cache.php Function_Cache.php /pear/Cache/Container cache_container.php cache_container_file.php

2001-03-01 Thread Sebastian Bergmann
sbergmann Thu Mar 1 07:35:18 2001 EDT Added files: /php4/pear/CacheCache.php /php4/pear/Cache/Container cache_container.php cache_container_file.php Removed files: /php4/pear/CacheFunction_

RE: [PHP] Double Click

2001-03-01 Thread Brinkman, Theodore
A tactic I've been planning to use, but don't know if it actually works or not, is to disable the button first thing in its onClick so the second click occurs on a disabled button. Does anybody know if this actually works or not? - Theo -Original Message- From: John Huggins [mai

[PHP] javascript VS php

2001-03-01 Thread Miguel Loureiro
Hello all I would like to know if its possible from a javascript function call a php function (uiuiuiuiui...) ? This because I have a bidimensional array, and when user select a option of a checbox, on javascript function I read the selectedIndex and want to see the values of that name ( see ar

Re: [PHP] javascript VS php

2001-03-01 Thread Reuben D Budiardja
Javascript (js) is client side and PHP is server side. So what you can do to call the php function is by re-submitting the page, with somekind of a flag from the js to call the php function. You write the php parts like: if($flag) callTheFunctions(args); Reuben D. B At 04:28 PM 3/1/01 +000

Re: [PHP] File type not set

2001-03-01 Thread Chris Lee
I find depending on the browser the mime-type is not allways set or correct. I like to double check it before I save the type in my db. I find alot of the time my type is set to application/octlet-stream meaning it knows its binary data, just the browser didnt know what kind. --

Re: [PHP] best slashdot?

2001-03-01 Thread Rick Hodger
Jason Murray <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > PHPSlash is really goodd, although user management won't be > > out until .7 and .6 was just released. PHPNuke has usermanagement, > > but from what I hear its not all that customizable.. Check ou

Re: [PHP] big database with php ?

2001-03-01 Thread Chris Lee
on a 45mb table with 31,470 rows mysql takes this long. mysql> SELECT stockno from products; ... 31470 rows in set (2.34 sec) mysql> not exactly great performance, if I put two 'LIKE' statments and an 'ORDER BY' clause then we're at 8 sec this is on a PII500 512mb ram linux.mysql 3.23

Re: [PHP] Double Click

2001-03-01 Thread Hrishi
On Thursday 01 March 2001 21:41, Brinkman, Theodore wrote: > A tactic I've been planning to use, but don't know if it actually works or > not, is to disable the button first thing in its onClick so the second > click occurs on a disabled button. Does anybody know if this actually > works or not

[PHP] pleaaaaaaaase help!

2001-03-01 Thread kaab kaoutar
Hi! please i'm really in need of knowing if there is a way to do a php statement once a button is clicked! Thanks _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List (htt

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

2001-03-01 Thread Sebastian Bergmann
sbergmann Thu Mar 1 07:42:36 2001 EDT Added files: /php4/pear/Cache/Container cache_container_phplib.php Log: Added Cache Container class for PHPLIB's database abstraction layer DB_Sql. I can't test this right now, but Ulf told me earlier today that it

[PHP] htaccess problem

2001-03-01 Thread Jason Jacobs
Hey all. I've written htaccess files and stuff with one or 2 users, and it works fine. I decided that making an htgroup file would work best in my situation though, so I went to webmonkey.com and followed their tutorial to make the htaccess files. As far as I can tell, all of my files are corre

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

2001-03-01 Thread Sebastian Bergmann
sbergmann Thu Mar 1 07:47:01 2001 EDT Added files: /php4/pear/Cache/Container cache_container_shm.php Log: Just hired Björn Schotte to foster the Shared Memory Cache Container implementation. He'll start working on it right away. Index: php4/pear/C

Re: [PHP] pleaaaaaaaase help!

2001-03-01 Thread Jason Jacobs
Um...yeah. Make the action of the form with the button be a script with the statement. - Original Message - From: kaab kaoutar <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 01, 2001 11:59 AM Subject: [PHP] plese help! > Hi! > please i'm really in need of kno

[PHP-CVS] cvs: php4 /pear Cache.php /pear/Cache Cache.php Container.php /pear/Cache/Container cache_container.php cache_container_file.php cache_container_phplib.php cache_container_shm.php file.php phplib.php shm.php

2001-03-01 Thread Chuck Hagenbuch
chagenbuThu Mar 1 08:32:30 2001 EDT Added files: /php4/pear Cache.php /php4/pear/CacheContainer.php /php4/pear/Cache/Container file.php phplib.php shm.php Removed files: /php4/pear/CacheCache.php /php4/pear/Ca

Re: [PHP] big database with php ?

2001-03-01 Thread Julian Wood
Definitely something wrong with your setup, if a query takes as long as 2 hours. I could see maybe 2 seconds to return all 31000 rows, but why would you ever need all 31000 rows? Put a limit on it to say 20 or 30 and you'll get fast performance. If your columns are indexed, the order by won't tak

Re: [PHP] found a bug with File Uploads..

2001-03-01 Thread TTT
Hi, I found a workaround in http://bugs.php.net/bugs.php?id=9298&edit=2 hope that helps. -- Thierry TABARD Digital Sound Planet http://www.digitalsoundplanet.com ""TTT"" <[EMAIL PROTECTED]> wrote in message 97jdcm$9ja$[EMAIL PROTECTED]">news:97jdcm$9ja$[EMAIL PROTECTED]... > Hi , > in fact it do

RE: [PHP] Can't connect php to mysql on linux

2001-03-01 Thread John Huggins
Also, consider getting PHP 4 on your system. PHP 3 is old hat. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Saturday, February 24, 2001 11:33 AM > To: George Alexander; [EMAIL PROTECTED] > Subject: Re: [PHP] Can't connect php to mysql on linux > > >

[PHP] exclusive file locking under windows

2001-03-01 Thread Monte Ohrt
Is exclusive locking not supported under windows? It doesn't seem to be working: flock($fd, LOCK_EX); -- Monte Ohrt <[EMAIL PROTECTED]> http://www.ispi.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: [PHP] pleaaaaaaaase help!

2001-03-01 Thread Thomas Deliduka
Uh huh, I agree. You can't run client-side PHP, it's called javascript. On 3/1/01 12:01 PM this was written: > Um...yeah. Make the action of the form with the button be a script with the > statement. > > - Original Message - > From: kaab kaoutar <[EMAIL PROTECTED]> > To: <[EMAIL PROTEC

[PHP-CVS] cvs: php4 /pear Makefile.in

2001-03-01 Thread Chuck Hagenbuch
chagenbuThu Mar 1 08:33:34 2001 EDT Modified files: /php4/pear Makefile.in Log: update the makefile for the new Cache classes. Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.68 php4/pear/Makefile.in:1.69 --- php4/pear/Makefile.in:1.68

[PHP-CVS] cvs: php4 /pear Makefile.in

2001-03-01 Thread Chuck Hagenbuch
chagenbuThu Mar 1 09:02:06 2001 EDT Modified files: /php4/pear Makefile.in Log: missing a backslash Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.69 php4/pear/Makefile.in:1.70 --- php4/pear/Makefile.in:1.69 Thu Mar 1 08:33:34 2001

[PHP] Javascript & php

2001-03-01 Thread kaab kaoutar
Thanks! Does it mean that there is no way to execute a php statement after the click of a button ? then go to the other page mentionned in the form action ? >From: "Johnson, Kirk" <[EMAIL PROTECTED]> >To: "'kaab kaoutar'" <[EMAIL PROTECTED]> >Subject: RE: [PHP] plese help! >Date: Thu,

Re: [PHP] Javascript & php

2001-03-01 Thread Jason Jacobs
Not exactly. I mean, like I said, you can execute a script as the action, but if you have output generated by the script, a redirect using header() or a javacsript redirect won't work (I think). You could either write all of the output (don't ask me how, but I'm sure it's possible) to a file, re

[PHP] related to my .htgroup question...

2001-03-01 Thread Jason Jacobs
Heh...I'm a list frequenter today... Ok, so I want to be able to do some things with php. 1) add a user to the .htpasswd file I know I can use exec() to run commands on the server. The problem here is that when I do "htpasswd .htpasswd username" I get prompted for passwords twice. How the heck

php-general Digest 1 Mar 2001 18:17:20 -0000 Issue 541

2001-03-01 Thread php-general-digest-help
php-general Digest 1 Mar 2001 18:17:20 - Issue 541 Topics (messages 42125 through 42203): multiple query in 1 select ? 42125 by: Jack Sasportas 42131 by: CC Zona Caller's __LINE__ 42126 by: elias Re: [PHP-GENERAL] Please help 42127 by: Nilesh Parmar

[PHP] Some search engine questions....

2001-03-01 Thread John Coggeshall
Hey guys, I've got a question regarding a search engine I have to write Basically what I have is this.. I have a table with a serialized array in it. I'd like to take that array and search for keywords... I've got a mySQL database and this is how I'm doing it... SELECT a FROM b,c WHERE(b.ser

[PHP-CVS] cvs: php4 /pear/Cache Container.php /pear/Cache/Container file.php phplib.php shm.php

2001-03-01 Thread Sebastian Bergmann
sbergmann Thu Mar 1 09:18:23 2001 EDT Modified files: /php4/pear/CacheContainer.php /php4/pear/Cache/Container file.php phplib.php shm.php Log: Added flushPreload() method. Index: php4/pear/Cache/Container.php diff -u php4/pear/Cache/Container.

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

2001-03-01 Thread Chuck Hagenbuch
chagenbuThu Mar 1 09:22:59 2001 EDT Added files: /php4/pear/Cache/Container db.php Log: almost working version. Index: php4/pear/Cache/Container/db.php +++ php4/pear/Cache/Container/db.php http://www.php.net/license/2_02.txt.

Re: [PHP] pleaaaaaaaase help!

2001-03-01 Thread Carsten Gehling
From: "kaab kaoutar" <[EMAIL PROTECTED]> Sent: Thursday, March 01, 2001 5:59 PM > please i'm really in need of knowing if there is a way to do a php statement > once a button is clicked! What you really need to understand is, that PHP is a SERVER-side scripting language. The only way to execute

Re: [PHP] PHP single user??

2001-03-01 Thread Todd Cary
Rick - That was a typo. I have IIS 5 on my Win 2K and my friend has IIS 4 on the NT 4 box. Something that I believe is at the heart of the problem is the fact that in the ISAPI Filters, PHP is associated with php4isapi.dll and the green up arrow does not come up; there is a red down arrow inste

[PHP] Bitwise solution?

2001-03-01 Thread Boget, Chris
I'm wondering how I can do the following (if it is possible at all): I have 2 values. The first is a constant while the second is not. The second value, in this case, is a unix time stamp and as such will change every time it is set, down to the second. I need to somehow merge the two values s

[PHP] PHP image browser

2001-03-01 Thread Timothy Wright
Can PHP & GD-lib create an index with thumbnail images of all graphics in a directory? Has anyone done this? Specifically, I would like to create small (maybe 1/8 or 1/16 size) thumbnails on-the-fly and place them in an index.php page with links to the larger images. Thanks in advance, Tim Wri

RE: [PHP] Bitwise solution?

2001-03-01 Thread Boget, Chris
> on 3/1/01 02:34 PM, [EMAIL PROTECTED] split open and melted thusly: > > I was thinking I could do something like this: > > ( var1 & var2 ) > i think what you want is: > ${$var1$var2} But that would give me a value of a variable variable. And I need a numerical value so $var1 ="joe"; $var2 = da

[PHP] Odd PHP/MySQL Question

2001-03-01 Thread Kath
I have a user database where a year has to be put in. Now, I want to compile a list of each different year and how many users are in that year. Is there a way to do this beyond coding for each year: SELECT * FROM students WHERE year = '1983' ? - Kath

Re: [PHP] PHP image browser

2001-03-01 Thread php3
Addressed to: "Timothy Wright" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Timothy Wright" <[EMAIL PROTECTED]> Thu, 1 Mar 2001 14:40:16 -0500 > > Can PHP & GD-lib create an index with thumbnail images of all graphics in a > directory? Has anyone done this? Specif

[PHP] PHP 4.0.4pl1 on Cobalt Raq 2

2001-03-01 Thread Matt Perry
I have a Cobalt Raq 2 with with 2.0.34 kernel installed. When I compile PHP and then try to execute it, it will dump core with the following message: Floating point exception (core dumped) I'm untaring the files, cd'ing to the directory and running './configure' and then 'make'. The compile

[PHP] Error, anyone seen this before?

2001-03-01 Thread Brandon Orther
hello, I am getting this error when I try to get an ftp_list. Warning: Unable to find ftpbuf 0 in c:\apache\htdocs\sitemaestro\scripts\formmail.php on line 72 and ideas? Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PRO

RE: [PHP] Odd PHP/MySQL Question

2001-03-01 Thread Hoover, Josh
You could try something like this: SELECT year, count(studentID) FROM students GROUP BY year ...where studentID is the primary key column/field in your students table. Josh Hoover KnowledgeStorm, Inc. Searching for a new IT solution for your company? Need to improve your product marketing? Vi

Re: [PHP] Odd PHP/MySQL Question

2001-03-01 Thread Julian Wood
select count(*), year from students group by year; on 3/1/01 12:07 PM, Kath at [EMAIL PROTECTED] wrote: > I have a user database where a year has to be put in. > > Now, I want to compile a list of each different year and how many users are in > that year. > > Is there a way to do this beyond

[PHP] Munging hidden/form variables

2001-03-01 Thread Boget, Chris
It is possible (I've done it) to find out all the variables that make up a form on a particular site, generate a similar form on your site with that form's action being the CGI/PHP script that the particular site uses to process the form once submitted, modify the values for the form variables to

[PHP-CVS] cvs: php4 /pear Makefile.in /pear/Cache Graphics.php Output.php

2001-03-01 Thread Sebastian Bergmann
sbergmann Thu Mar 1 11:22:26 2001 EDT Added files: /php4/pear/CacheGraphics.php Output.php Modified files: /php4/pear Makefile.in Log: Added Graphics and Output Cache. Index: php4/pear/Makefile.in diff -u php4/pear/Makefile

RE: [PHP] Munging hidden/form variables

2001-03-01 Thread Boget, Chris
> Is there any way to defend against this? Is there any way > to ensure that when a form is submitted that the submission > request originated from your site/domain and not somewhere > else? Knowing that $HTTP_REFERER cannot be relied on as containing valid data (as some browsers don't support i

  1   2   3   >