Re: [PHP] Hide Include-Files from the Web

2001-03-04 Thread mailing_list
Hi! I want my include-files not be seen from outside AND not be executed!!! I don't have access to a directory outside DOCUMENT_ROOT and I don't have .htaccess!!! I think about something like: 1. name: file.inc.php 2. add code: if ($PHP_SELF==MY_NAME) exit; as first

Re: [PHP] Stripping HTML selectively?

2001-03-04 Thread Steve Edberg
At 09:43 PM 3/3/01 , Erick Papadakis wrote: Thanks Brian, I have tried the allowable tags, but I need to remove the ATTRIBUTES of a tag, not the tag itself. STRIP_TAGS totally removes the tag, and ALLOWABLE_TAGS lets the tag be. WHat I wish to do is let the main tag be but remove its attributes,

[PHP] NETSCAPE Screws QUERY STRING!!!!!!

2001-03-04 Thread Thomas Edison Jr.
I'm passing variables in a query string to my php pages. The variables whose values contain spaces due to multiple words are being passed correctly to the Internet Explorer browser and are working perfectly there. However, they are not working at al in NETSCAPE browser. What should i do? The

[PHP] Help Please: Php configuration

2001-03-04 Thread archana sharma
Hi All, I am new in PHP world. I am trying to configure my php with IIS4. Here is the info what I downloaded and installed: php version: php4.0.4 for win32 [2000-12-20] (from http://php4win.de site) Web server: IIS4 But as soon as I do the step of "Add/Edit extension mapping " in IIS4, my

Re: [PHP] Help Please: Php configuration

2001-03-04 Thread Michael Hall
I don't know a thing about IIS ... but the archives can be found at http://www.php.net/support.php Good Luck Michael On Sun, 4 Mar 2001, archana sharma wrote: Hi All, I am new in PHP world. I am trying to configure my php with IIS4. Here is the info what I downloaded and installed:

Re: [PHP] NETSCAPE Screws QUERY STRING!!!!!!

2001-03-04 Thread Meir Kriheli - MKsoft
You should use the urlencode() function. See http://www.php.net/manual/en/function.urlencode.php -- Meir Kriheli MKsoft computer systems 'There's someone in my head but it's not me" - Pink Floyd - Original Message - From: "Thomas Edison Jr." [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: [PHP] NETSCAPE Screws QUERY STRING!!!!!!

2001-03-04 Thread Juanma
Try urlencode ... - Original Message - From: "Thomas Edison Jr." [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, March 04, 2001 1:20 PM Subject: [PHP] NETSCAPE Screws QUERY STRING!! I'm passing variables in a query string to my php pages. The variables whose values

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

2001-03-04 Thread Martin Jansen
mj Sun Mar 4 06:26:59 2001 EDT Modified files: /php4/pear Cache.php Log: fixed typo Index: php4/pear/Cache.php diff -u php4/pear/Cache.php:1.3 php4/pear/Cache.php:1.4 --- php4/pear/Cache.php:1.3 Sat Mar 3 11:21:49 2001 +++ php4/pear/Cache.php

[PHP] PHP PostgreSQL

2001-03-04 Thread Marcelo Pereira
Hi, All. I have to build a web site and I was studying postgreSQL, but, whether I am quite wrong or this database does not support Foreign Key. Does anyone use postgreSQL and know how handle Foreign Keys ??? Thanks, Marcelo Pereira Computer Programmer

Re: [PHP] Problems with IIS4 (Win2k)

2001-03-04 Thread Phil Driscoll
Yeah after a net stop and net start I've got the cgi version working, but I still can't seem to get the PHP isapi module up. This could be a permissions issue on any of the php files (php4ts.dll, php4isapi.dll, php.ini or any extension dlls enabled in php.ini). For test purposes, if you give

Re: [PHP] Static Classes

2001-03-04 Thread Alexander Wagner
ADnoctum wrote: Hello to everyone. First time here and already I have a question: PHP has static classes?. [..] Test.hello(); Now I have a variable "Test" wich is a class that canot be instantiated nor inherited. Can I do that in PHP?. PHP has static method calls with class::method()

Re: [PHP] Content-Type: image/gif and send the image in hex

2001-03-04 Thread Christian Reiniger
On Sunday 04 February 2001 05:53, you wrote: Hi all, I'm trying to make a demonstration script (using PHP) that demonstrates the use of MIME types in HTTP headers. It should send the Content-Type header and than sends an image to the browser in hex. What do you mean with "in hex"? Hex is a

Re: [PHP] PHP web based mailing list administrator

2001-03-04 Thread Christian Reiniger
On Saturday 03 March 2001 13:59, you wrote: Yes, they are about. Try hotscripts.com. And if you don't insist that the manager is written in PHP, try GNU Mailman. It comes with its own /very nice) web-based admin software. does there exist a web based mailing list administrator in PHP (Tying

Re: [PHP] any way to count subscribers to PHP lists?

2001-03-04 Thread Ned Lilly
Thanks to all who responded. Sounds like there's no built-in way for list subscribers to access this info on demand, but this info gives me a baseline. If anyone has any ideas on how to regularly collect this info, I'd welcome any thoughts. My idea is to try and track subscriber and list

[PHP] newbie---cookie help

2001-03-04 Thread McShen
hi Please help a newbie. I have 2 links on my website. It wil show "NEW" if my visitors have only visited my site once in 24h. If my visitors visit my site for more than once in 24h, i wanna show "OLD". I know cookie can do it. but i don't know how, Please help. Any script will be greatly

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

2001-03-04 Thread Zeev Suraski
zeevSun Mar 4 07:46:13 2001 EDT Modified files: /php4/ext/standard output.c Log: Improve memory consumption on chunked output buffering Index: php4/ext/standard/output.c diff -u php4/ext/standard/output.c:1.42 php4/ext/standard/output.c:1.43 ---

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

2001-03-04 Thread Zeev Suraski
zeevSun Mar 4 07:49:38 2001 EDT Modified files: /php4/ext/standard info.c Log: Fix phpinfo() bug that crept in Index: php4/ext/standard/info.c diff -u php4/ext/standard/info.c:1.130 php4/ext/standard/info.c:1.131 --- php4/ext/standard/info.c:1.130

Re: [PHP] PHP PostgreSQL

2001-03-04 Thread The Hermit Hacker
On Sun, 4 Mar 2001, Marcelo Pereira wrote: Hi, All. I have to build a web site and I was studying postgreSQL, but, whether I am quite wrong or this database does not support Foreign Key. Does anyone use postgreSQL and know how handle Foreign Keys ??? Yes, it supports Foreign Keys ...

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

2001-03-04 Thread Manuel Lemos
Hello Aviv, On 28-Feb-01 20:07:21, you wrote: Hey! So what do YOU offer me to do? Should I use visual Hebrew (write a php3 script which will reverse Hebrew words), or should I stick only to Logical Hebrew? In the ideal world you would figure if the browser supports logical Hebrew or not and

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

2001-03-04 Thread Manuel Lemos
Hello Boaz, On 01-Mar-01 04:17:25, you wrote: The IE / NN war was one that left no chance for NN in Israel. While MS spent millions in making all of their products in Hebrew, including the free IE, NN refused to support Hebrew. I don't think this is a matter of browser wars. Ideally, portals

[PHP] system() and stdout

2001-03-04 Thread Michael Robbins
I am trying to use system() to run an external command and have the output placed into a variable using: $output = system("/usr/local/bin/somecommand"); the output is placed into $output, and it also places it instream with the HTML. Anyone know why this is happening? or how to

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

2001-03-04 Thread Sebastian Bergmann
Zeev Suraski wrote: zeevSun Mar 4 07:49:38 2001 EDT Modified files: /php4/ext/standard info.c Log: Fix phpinfo() bug that crept in Now I'm getting these warnings: info.c D:\Programme\MS Visual Studio\Projekte\php\php4\ext\standard\info.c(92) : warning C4047:

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

2001-03-04 Thread Andrei Zmievski
andrei Sun Mar 4 09:36:30 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: PHP-GTK docs access for James Moore. Index: CVSROOT/avail diff -u CVSROOT/avail:1.109 CVSROOT/avail:1.110 --- CVSROOT/avail:1.109 Fri Mar 2 13:48:11 2001 +++

[PHP] How much could you charge for a PHP-MySQL Spanish online course?

2001-03-04 Thread akio
Hello everyone! How do you charge these things, per words? The amount of time spent? I've never done this and I'm quite clueless. Any ideas would be really appreciated. TIA Regards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] How big is too big?

2001-03-04 Thread Joe Sheble (Wizaerd)
Is there a practical limit one should make on a php file to be included? I'm putting all my global variable declarations and function defintitions into one file to be included across the site. I had thought about splitting them different files based on functionality, but then I thought it would

[PHP] Re : [PHP] NETSCAPE screws QUERY STRING

2001-03-04 Thread Thomas Edison Jr.
The urlencode() is working fine with an echo statement normal query string. But it's NOT working with complex query string in printf() including $myrow[something] being picked up by mySQL db. this works : a href="add_pro_over.php3?title=? echo urlencode($title) ?" this doesn't work :

Re: [PHP] Re : [PHP] NETSCAPE screws QUERY STRING

2001-03-04 Thread Julian Wood
Try printf("a href=\"pro_page1.php3?title='".urlencode($myrow[title])."'\"") J on 3/4/01 11:55 AM, Thomas Edison Jr. at [EMAIL PROTECTED] wrote: The urlencode() is working fine with an echo statement normal query string. But it's NOT working with complex query string in printf()

[PHP] Re : [PHP] NETSCAPE screws QUERY STRING

2001-03-04 Thread Thomas Edison Jr.
Julian, i tried this out it's giving the single quotes in the value... 'value+value2' and on the next page where i'm printing the value...the backslashes are also being added in front of single quotes : \'value value2\' where can i go from here? this has made the urlencode function to

[PHP] NETSCAPE screws up query string : more problems!

2001-03-04 Thread Thomas Edison Jr.
Julian, i tried : a href=\"pro_page1.php3?title=".urlencode($myrow[title])."\" instead a href=\"pro_page1.php3?title='".urlencode($myrow[title])."'\" notice the single quote ' missing. And that WORKED!!! It displayed the right value in the next PHP page. Unfortunately there's another problem.

[PHP] date

2001-03-04 Thread george
Can you mark the date when an entry is placed in the db and then get that date to display when the info is pulled out TIA george -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] Re : [PHP] NETSCAPE screws QUERY STRING

2001-03-04 Thread Julian Wood
Where is the string 'value+value2' coming from? $myrow[title]? If it is coming from the db (I'm guessing - it seems a little strange to me that this would be your title, but in this code we're discussing there is no other possible source), and it has slashes in it, you may need to use

Re: [PHP] date

2001-03-04 Thread Stephan Ahonen
Can you mark the date when an entry is placed in the db and then get that date to display when the info is pulled out I'd put the UNIX timestamp of the entry date into a sort of parallel entry. I don't know how DBs work, (never had a mySQL server to play with =( ) but under a big blanket

[PHP] Change the Input to st different..

2001-03-04 Thread Erdinc Guler
hi.. my problem is to change some characters from input data coming from a form to something..i mean like : inputoutput --- i-- y fire -- fyre Is it possible?? erdinc.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Php, Apache, mysql - make error

2001-03-04 Thread S Jha
HI Gurus, I am getting this error. I saw few posting for this error and found someone suggesting "-lz" option in Makefile in LIBS option. However, I didn't found this line in apache Makefile. Also I tried other methods including reloading zlib, reconf mysql ..but in vain. Please help. I did -

php-general Digest 4 Mar 2001 21:30:04 -0000 Issue 547

2001-03-04 Thread php-general-digest-help
php-general Digest 4 Mar 2001 21:30:04 - Issue 547 Topics (messages 42494 through 42525): Re: Stripping HTML selectively? 42494 by: Steve Edberg NETSCAPE Screws QUERY STRING!! 42495 by: Thomas Edison Jr. 42498 by: Meir Kriheli - MKsoft 42499 by: Juanma

[PHP] question about php sessions

2001-03-04 Thread Ed Lazor
Hi =) Is it possible to track a user session across multiple domains? We have several related web sites and want to enable a user to login through one site and end up logged in to them all. I tested and it didn't work and I'm guessing it's a limitation of cookies. As in, a cookie created

[PHP] User login using session algorithm

2001-03-04 Thread Arcady Genkin
I'm planning to write a simple user login module. I want it to be a stand-alone class, and not rely on cookies (I'm passing all variables via GET method anyways, so I just want to pass a session ID in the URL). Before I go ahead and do some mistake, could somebody have a look at the outline of

[PHP] NEWEST CRAZE

2001-03-04 Thread newmarketing5644
Hey...Janet Here... We Haven't Talked In So Long!! How Have You Been? Thought I would Forward you this email! I usually delete these but I opened this one, like what I saw, and thought you would like to see this. http://www.geocities.com/anewmarket/ IF THE LINK IS NOT HIGHLIGHTED OR

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

2001-03-04 Thread Emiliano Heyns
emile Sun Mar 4 13:54:00 2001 EDT Modified files: /php4/ext/midgard oop.c Log: Fetch sitegroup field if available Index: php4/ext/midgard/oop.c diff -u php4/ext/midgard/oop.c:1.9 php4/ext/midgard/oop.c:1.10 --- php4/ext/midgard/oop.c:1.9 Tue Feb 27

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

2001-03-04 Thread Zeev Suraski
zeevSun Mar 4 14:03:23 2001 EDT Modified files: /php4/ext/standard info.c Log: I don't know German, but I imagine that was the problem :) Index: php4/ext/standard/info.c diff -u php4/ext/standard/info.c:1.131 php4/ext/standard/info.c:1.132 ---

[PHP] anchor # not working?

2001-03-04 Thread andrew
hi folks! I've got a baffling, but probably simple problem (the worst kind) In my index.php page, I'm dynamically generating links like this: http://localhost/news.php#1 When I click the link, the url string get's passed in, and looking at the source of the news.php page shows: a href="#1"/a

Re: [PHP] anchor # not working?

2001-03-04 Thread Brian White
Try: a name="1"/a At 06:02 PM 3/4/01 -0500, andrew wrote: hi folks! I've got a baffling, but probably simple problem (the worst kind) In my index.php page, I'm dynamically generating links like this: http://localhost/news.php#1 When I click the link, the url string get's passed in, and

Re: [PHP] anchor # not working?

2001-03-04 Thread Simon Garner
From: "andrew" [EMAIL PROTECTED] hi folks! I've got a baffling, but probably simple problem (the worst kind) In my index.php page, I'm dynamically generating links like this: http://localhost/news.php#1 When I click the link, the url string get's passed in, and looking at the

RE: [PHP] Re: IE 5.5,authentication,PHP sessions: IE never stops

2001-03-04 Thread Don Read
On 04-Mar-01 Ken wrote: Thanks for the idea, John. I know about the auth logout. Unfortunately, that means that when a user clicks "logout", he gets a "log in" prompt! And, in IE, he has to deliberately blank out the password field, THEN hit enter, THEN the prompt will come again, and

[PHP] Day of the Week

2001-03-04 Thread Chris Anderson
Is there a function to return the day of the week? Or at least a number that I can use to determine this? Thanks

Re: [PHP] anchor # not working?

2001-03-04 Thread andrew
thanks for the feedback, gents, but it's not working :/.. I changed to this, as suggested: a name="1"/a actually, here is a snippet of the function I'm using the generate the link: a href=\"news.php#$row[0]\"h5...more/h5/a and the subsequent anchor on the next page while ($row =

Re: [PHP] Day of the Week

2001-03-04 Thread Alexander Wagner
Chris Anderson wrote: Is there a function to return the day of the week? Or at least a number that I can use to determine this? RTM http://php.net/date Have a look at "D", "l" (lowercase L) and "w". regards Wagner -- Assumption is the mother of all fuck-ups. -- PHP General Mailing List

[PHP] Please help!! how to compare an array with another

2001-03-04 Thread Jimmy Bäckström
Shu! I am currently working on a site where I want to randomly show pictures. I am using sessions to save the id's of the pictures that a user has seen during his/hers visit. My first question is: Can I use an array as a session variable? like this: $arr = array(1, 2, 3, 4, 5); session_start();

[PHP] php, secure pages htdig

2001-03-04 Thread Miles Thompson
I've protected my PHP pages with this little fragment of script, at the very top of the page ? session_start(); if( !session_is_registered( "member_id" ) ) { header("Location: user_logon.php\n"); } ? When I try indexing the pages, using htdig, all I get is a redirect message. And of

Re: [PHP] anchor # not working?

2001-03-04 Thread Don Read
On 04-Mar-01 andrew wrote: thanks for the feedback, gents, but it's not working :/.. I changed to this, as suggested: a name="1"/a actually, here is a snippet of the function I'm using the generate the link: a href=\"news.php#$row[0]\"h5...more/h5/a and the subsequent anchor on

Re: [PHP] PHP PostgreSQL

2001-03-04 Thread Andrew Halliday
The following is an example demonstrating how to set up a foreign key constraint in PostgreSQL 7: CREATE SEQUENCE school_id_seq; CREATE TABLE school ( school_id INT NOT NULL PRIMARY KEY DEFAULT nextval('school_id_seq'), school_name VARCHAR(80) NOT NULL ); CREATE SEQUENCE student_id_seq;

[PHP] Why doesnt pass-by-value work?

2001-03-04 Thread Andrew Halliday
When I call this function: function getColumnName($col) { if ($col 0 $col pg_numfields($this-lastResultSet)) return pg_fieldname($this-lastResultSet,$col); else return null; } It returns null all the time ! The condition is NOT the problem ... Ive

[PHP] How to connect to PostgreSQL with phpPgAdmin

2001-03-04 Thread Paulo Parola
For the phpPgAdmin users, if you might help!!! I am running PostgreSQL 7.1 over RedHat. When trying to connect through the web everything goes right. A script that is currently working: ?php $link = pg_Connect("host=localhost port=5432 dbname=teste") or die ("Could not

Re: [PHP] Change the Input to st different..

2001-03-04 Thread David Robley
On Mon, 5 Mar 2001 08:59, Erdinc Guler wrote: hi.. my problem is to change some characters from input data coming from a form to something..i mean like : inputoutput --- i-- y fire -- fyre Is it possible?? erdinc.. Have a look in the String Functions section of

Re: [PHP] Why doesnt pass-by-value work?

2001-03-04 Thread Andrew Halliday
Ahh - dont worry about this post ... :) AndrewH - Original Message - From: "Andrew Halliday" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 05, 2001 10:51 AM Subject: [PHP] Why doesnt pass-by-value work? When I call this function: function getColumnName($col) {

[PHP] undefined symbol: xmlXPtrNewContext

2001-03-04 Thread Jack Lauman
I get the following error when I attempt to start Apache 1.3.19 (RedHad 7.0): apachectl start Syntax error on line 230 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/apache/libphp4.so: undefined symbol: xmlXPtrNewContext /usr/sbin/apachectl start:

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

2001-03-04 Thread Sean Bright
elixer Sun Mar 4 16:20:41 2001 EDT Modified files: /php4/ext/standard file.c Log: get_meta_tags now handles single quoted attributes as well as those that are double quoted. Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.144

[PHP-CVS] cvs: php4 /sapi/cgi cgi_main.c

2001-03-04 Thread Jani Taskinen
sniper Sun Mar 4 17:26:36 2001 EDT Modified files: /php4/sapi/cgi cgi_main.c Log: Can't output any error messages if there isn't any function initialized to do it.. # Bug report: #7650 Index: php4/sapi/cgi/cgi_main.c diff -u

Re: [PHP] date

2001-03-04 Thread Michael Hall
Yes you can. Include a field in your db called 'date' or whatever. Generate the date in your script using: $today = date("Y-m-d"); Then simply add the date to the db along with everything else. There are lots of ways to format dates, too many to describe here. Have a look at the PHP

Re: [PHP] date

2001-03-04 Thread Simon Garner
From: "Michael Hall" [EMAIL PROTECTED] Yes you can. Include a field in your db called 'date' or whatever. Generate the date in your script using: $today = date("Y-m-d"); Then simply add the date to the db along with everything else. There are lots of ways to format dates, too many to

[PHP] connecting do MS Access...

2001-03-04 Thread Christian Dechery
which is the best way to connect to MS Access and process and request queries? is it with odbc_*() functions? cuz I found that not that good... . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Mailing List

[PHP] Re: IE 5.5,authentication,PHP sessions: IE never stops

2001-03-04 Thread Ken
At 03:11 PM 3/4/01 -0600, Don Read wrote: On 04-Mar-01 Ken wrote: I know about the auth logout. Unfortunately, that means that when a user clicks "logout", he gets a "log in" prompt! And, in IE, he has to deliberately blank out the password field, THEN hit enter, THEN the prompt will

[PHP] Re: IE 5.5,authentication,PHP sessions: IE never stops

2001-03-04 Thread Ken
At 03:18 PM 3/4/01 -0800, Michael A. Peters wrote: ... Generally, I don't think a login prompt when a user clicks logout is such bad thing. It lets the user know they are logged out, and the software is waiting for another login. If they choose to go elsewhere, that's fine. Why it's bad is

[PHP] Unix-time problem

2001-03-04 Thread Nicklas af Ekenstam
Hi! I wrote this simple function to return the current date minus supplied number of years: function get_birthdate($age_in_years) { // get the current timestamp into an array $timestamp = time(); $date_time_array = getdate($timestamp); $hours =

[PHP] simple OO question

2001-03-04 Thread John LYC
can i do this..? //declaring class class myclass{ //declaring properties ... //declaring methods.. function mymethod(){ //can i declared variable in method? var $myvar; ... //do something }//end of mymethod /// if yes, do i access myvar like this. $item = new myclass;

Re: [PHP] simple OO question

2001-03-04 Thread Andrew Halliday
yes you can do all of this but in no OO language so far have i seen the ability to access a variable inside a method...you would have to do this: class myclass { var $myvar; function setmyvar($newmyvar) { $this-myvar = $newmyvar; } } Then you could do this: $myclassObj = new

Re: [PHP] Re: IE 5.5,authentication,PHP sessions: IE never stops

2001-03-04 Thread Simon Garner
From: "Ken" [EMAIL PROTECTED] Why it's bad is that, if the user clicks "cancel", they are not logged out. They have to manually clear the field, THEN OK, then they get prompted AGAIN, THEN they hit cancel. That's nuts, and my users aren't going to understand that. Why do they need to be

[PHP] Question

2001-03-04 Thread Deependra B. Tandukar
Greetings ! I am using PHP4 and MySQL for database in the web. I am using two tables. I made a search script for one table which displys the list on the web page and want to put a link in one of the fields on that web page so that the link takes browserts to the data of the other page. I could

[PHP] Re: IE 5.5,authentication,PHP sessions: IE never stops

2001-03-04 Thread Ken
At 04:11 PM 3/5/01 +1300, Simon Garner wrote: From: "Ken" [EMAIL PROTECTED] Why it's bad is that, if the user clicks "cancel", they are not logged out. They have to manually clear the field, THEN OK, then they get prompted AGAIN, THEN they hit cancel. That's nuts, and my users aren't going to

[PHP] Re: IE 5.5,authentication,PHP sessions: IE never stops

2001-03-04 Thread Simon Garner
From: "Ken" [EMAIL PROTECTED] Nope - with IE5.5, even with that box NOT checked, the user remains logged in until either a) the computer is restarted, or b) a new user-authentication header is sent, AND the user clears out the password field and hits OK. Otherwise the user stays logged in, in

[PHP] Page not found error

2001-03-04 Thread Randy Johnson
if I leave my browser on a php and then I click a link after lets say 5 or 10 minutes that links to another php page it says page not found even though the page is there. has anybody else experienced this error? thanks randy -Original Message- From: Randy Johnson [mailto:[EMAIL

Re: [PHP] simple OO question

2001-03-04 Thread John LYC
class myclass{ $fields = mysql_list_fields("database1", "table1", $link); $columns = mysql_num_fields($fields); for ($i = 0; $i $columns; $i++) { var mysql_field_name($fields, $i); } }//class now.. can i do this? is there a performnance issue here? can i put this in the constructor?

RE: [PHP] Re: IE 5.5,authentication,PHP sessions: IE never stops

2001-03-04 Thread Mitchell Kirschner
Nope, I'm working with a real client, who has multiple users on the same machine, and IE5.5 is installed on it, and, lo and behold, though the rest of the browsers work fine, IE5.5 has this awful bug. I don't have this session-terminating problem with IE 5.5 when using Apache and PHP locally

Re: [PHP] Page not found error

2001-03-04 Thread Lewis Bergman
if I leave my browser on a php and then I click a link after lets say 5 or 10 minutes that links to another php page it says page not found even though the page is there. has anybody else experienced this error? Is this link passed as a value or something that might expire with a session?

[PHP] mail problem

2001-03-04 Thread Peter Houchin
Hiya, am near completeion of a site only i can't get any mail to send to multiple recipients at all .. either in the "To:" section or having on email in "To" and one email address in "CC" section.. and i need to be able to do this ... can any one offer any suggestions ...( I'd prefer to have

Re: [PHP] mail problem

2001-03-04 Thread David Robley
On Mon, 5 Mar 2001 14:17, Peter Houchin wrote: Hiya, am near completeion of a site only i can't get any mail to send to multiple recipients at all .. either in the "To:" section or having on email in "To" and one email address in "CC" section.. and i need to be able to do this ... can

[PHP] what does $$ mean?

2001-03-04 Thread Ed Lazor
I'm studying some code from the net and was kinda curious. There are places where it references variables like this: $$testvar What's the difference between that and $testvar ? -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

RE: [PHP] what does $$ mean?

2001-03-04 Thread Jason Murray
I'm studying some code from the net and was kinda curious. There are places where it references variables like this: $$testvar What's the difference between that and $testvar ? $testvar means "the value of the variable named 'testvar'". $$testvar means "the value of

[PHP] max array size question..

2001-03-04 Thread Jeff
I'm trying to read in a text file that has 42620 lines. Each line has zip code information separated by commas. I have no problem reading the file into an array. But when I try and read each element in the array and put it into another array I get a "500 server error". The second to last line

Re: [PHP] simple OO question

2001-03-04 Thread Andrew Halliday
No, you cant do this as you coded it, however minor alterations will allow this. Last time i checked, you couldnt initialise variables in object scope ... you can only declare them. This makes sense, because thats what the constructor is for. Altered code for what you want to do is as follows:

Re: [PHP] Re: IE 5.5,authentication,PHP sessions: IE never stops

2001-03-04 Thread Ed Lazor
However, if you want more control over the authentication process I suggest making your own login form and using cookies, instead of HTTP authentication. Then you can log users out just by unsetting the cookie(s). This is how I will wind up going, EXCEPT the users will be required to click

[PHP] Re: IE 5.5,authentication,PHP sessions: IE never stops

2001-03-04 Thread Simon Garner
From: "Ken" [EMAIL PROTECTED] What Windows version is this under? Windows 98 and Mac OS 8 or 9. - Ken Is IE set to "Launch browser windows in a separate process" (if that option still exists in 5.5)? Have a look in Tools Options Advanced. Perhaps if that is not checked, closing the

Re: [PHP] simple OO question

2001-03-04 Thread Andrew Halliday
Ahh damn - minor omission - add a '( )' after myclass constructor name :-) AndrewH - Original Message - From: "Andrew Halliday" [EMAIL PROTECTED] To: "John LYC" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, March 05, 2001 2:47 PM Subject: Re: [PHP] simple OO question No, you

RE: [PHP] Re: IE 5.5,authentication,PHP sessions: IE never stops

2001-03-04 Thread Don Read
On 05-Mar-01 Ken wrote: At 04:11 PM 3/5/01 +1300, Simon Garner wrote: From: "Ken" [EMAIL PROTECTED] Why it's bad is that, if the user clicks "cancel", they are not logged out. They have to manually clear the field, THEN OK, then they get prompted AGAIN, THEN they hit cancel. That's nuts,

Re: [PHP] what does $$ mean?

2001-03-04 Thread Philip Olson
Check out : http://php.net/manual/en/language.variables.variable.php Example : $a = 'hi'; $$a = 'sup'; $hi now equals 'sup' Regards, Philip Olson http://www.cornado.com/ On Sun, 4 Mar 2001, Ed Lazor wrote: I'm studying some code from the net and was kinda curious. There

Re: [PHP] Re : [PHP] NETSCAPE screws QUERY STRING

2001-03-04 Thread John LYC
try this printf(" a href=\"pro_page1.php3?title='%s\" ", urlencode($myrow[title])') john "Thomas Edison Jr." wrote: The urlencode() is working fine with an echo statement normal query string. But it's NOT working with complex query string in printf() including $myrow[something] being

Re: [PHP] Problem getting PostgreSQL to compile

2001-03-04 Thread K Old
Yes, I've checked phpinfo() and not it is not compiled in. That is the problem. I have recompiled PHP with pgsql support and there is some problem. I'm not sure why it isn't compiling it in. I've tried everything I knowthe installation goes fine...no error messages, everything seems

[PHP] File Upload doesn't work with Netscape Serious problem!

2001-03-04 Thread Dhaval Desai
Hi! File upload doesn't work with Netscape Navigato. I have Netscape COmmunicator 4.5. I try to upload files and I get Network Error. If it is working for any of you guys please give me the URL so that I can test it out and check my problem.. Help me out. Thank You! Cheers!~ Dhaval

[PHP] Function to compare an array with another array

2001-03-04 Thread Jimmy Bäckström
Shu! I need some help here. I have a script where I want to compare two arrays with eachother, and return one value from that does not exists in both arrays. I have an array of pictures id number created from a database query. I use sessions to save id numbers of pictures into an array. I want

[PHP] Object Oriented Databases

2001-03-04 Thread Fabian Fabela
Hello. I want to use an object oriented database, I have not researched a lot in this theme but I hope you can help me. I want to use php, can I use it with any object oriented database, like goods, sod, groovy, ozone, objstore, db40? Thank you for your help. Fabian Fabela [EMAIL

[PHP] dealing with no record

2001-03-04 Thread [EMAIL PROTECTED]
People If I run a sniplet like this: ** $query="select name from foo"; $result= mysql_query($query); while($row = mysql_fetch_row($result)) stuff...to display record found ... *** what am I suppose to do if I also want the code to be able to

[PHP] NETSCAPE screw query string : THANKS ALL !!!!! SOLVED!!

2001-03-04 Thread Thomas Edison Jr.
Thanks to all of you guys for helpin me out solve this otherwise horrendous task of making the query string work in netscape. much thanks to Julian!! Cheers, T. Edison jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc. Homepage :

Re: [PHP] PHP web based mailing list administrator

2001-03-04 Thread Manuel Lemos
Hello Peter, On 03-Mar-01 10:00:55, you wrote: does there exist a web based mailing list administrator in PHP (Tying in with some open source mailing list software)? Ideally, something like egroups (now groups.yahoo.com). I just want to be able to easily administrate (or have other people

Re: [PHP] dealing with no record

2001-03-04 Thread David Robley
On Tue, 6 Mar 2001 06:36, [EMAIL PROTECTED] wrote: People If I run a sniplet like this: ** $query="select name from foo"; $result= mysql_query($query); while($row = mysql_fetch_row($result)) stuff...to display record found ... ***

[PHP] comparing values

2001-03-04 Thread Paul
below is the code I am using, $sourcefile is a url var for example http://url/?sourcefile=/this/path/to/whatever.php $filelist = array("", "db_auth.conf", "config.php", "master.functions.inc" );/* these are the files I want to protect from

Re: [PHP] IE 5.5,authentication,PHP sessions: IE never stops running?

2001-03-04 Thread Harshdeep S Jawanda
Hi, Ken wrote: I'm experiencing strange behavior with my user authentication scheme in my PHP app, with users using IE 5.5 (PC and Mac). I am using browser authentication (WWW-Authenticate and 401 headers), "no cache" headers, and PHP 4 sessions. I am finding that even when the user