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 use

[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 t

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 > ... > **

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

[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 : http://w

[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 de

[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 PROTECTED

[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] 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 Desa

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

2001-03-04 Thread John LYC
try this printf(" ", 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 picked up > by mySQL db. > > this

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 a

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

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

[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, cl

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

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:

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

2001-03-04 Thread Ken
At 04:28 PM 3/5/01 +1300, Simon Garner wrote: >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

[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] 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 ok

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

[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 PROTECTED]

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 ... c

RE: [PHP] Unix-time problem

2001-03-04 Thread Don Read
On 05-Mar-01 Nicklas af Ekenstam wrote: > Hi! > > I wrote this simple function to return the current date minus supplied > number of years: > > function get_birthdate($age_in_years) { > > You, obviously, call it like this: echo get_birthdate(1); > Which would return a datestring that

[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] 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

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 loca

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? joh

[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 PROTEC

[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,

[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 go

[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 n

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

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 myclass(

[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;

[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 = $dat

[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

[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 > >

[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 (ht

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

Re: [PHP] Running php code inside of a string within a php script..

2001-03-04 Thread Jovan Sedlan
You can save the string to, say, "temp.php" and then use include("temp.php"). -- Jovan Sedlan [EMAIL PROTECTED] http://www.sedlan.com #7 Components Home "Aviv Revach" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hey! > > At 14:29 02/03/01 -0300, Lucas Perso

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 ma

[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 php4/sapi/cgi/cgi_main

Re: [PHP] anchor "#" not working?

2001-03-04 Thread Brian White
Well, that came back to me as Garbage, so Just in case - here it is as an attachment. (I hope this works .. ) At 12:09 PM 3/5/01 +1100, Brian White wrote: >OK. The Following code , when put in a file called "anchortest.php". Seems >to work >properly. Might be a good starting point: --

[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: htt

Re: [PHP] anchor "#" not working?

2001-03-04 Thread Brian White
OK. The Following code , when put in a file called "anchortest.php". Seems to work properly. Might be a good starting point: PHP Anchor Test PHP Anchor Tester Regenerate Number of Anchors Please enter the Number of Anchors: Select An Anchor To Go To: [$i] "; } ?> Generated

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)

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

[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: nomesobrenome"; for ($i=0; $i < $linhas_retornadas; $i++) { $row=pg_fetch_array($result,$i);

[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 php4/ext

[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] configure for WDDX functions

2001-03-04 Thread Tom
I am getting the dreaded "Call to undefined function: wddx_serialize_vars()" from code that previously ran/now runs fine on 4.0.2pl1 (win32) Here's what I have: I am on an server farm that has 4.0.4pl1 installed (FreeBSD) phpinfo shows XML enabled - but not 'additional modules' are shown (wher

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; CR

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: > >> > actually, here is a snippet of the function I'm using the generate the link: > > ...more > > and the subsequent anchor on the next page > > while ($row = m

[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 When I try indexing the pages, using htdig, all I get is a redirect message. And of course the basic authentication won't work. Has anyone had any experience of this? What I am thinking of trying is

[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();

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 Lis

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: > ...more and the subsequent anchor on the next page while ($row = mysql_fetch_row($result)) { $row[2] $row[3] } I've verifeid that $row[0] is printing the exact same conten

[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] Re: IE 5.5,authentication,PHP sessions: IE never stops

2001-03-04 Thread Michael A. Peters
On Sun, 04 Mar 2001 15:11:55 -0600 (CST) Don Read <[EMAIL PROTECTED]> wrote: > > 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 > > de

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

Re: [PHP] anchor "#" not working?

2001-03-04 Thread Brian White
Try: 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 looki

[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: about half-

[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 --- php4/ext

[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 YO

[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 t

[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 17:

[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 und

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

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,

[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] 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 addi

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 f

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 stripslashe

[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 l

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

2001-03-04 Thread Thomas Edison Jr.
Julian, i tried : instead notice the single quote ' missing. And that WORKED!!! It displayed the right value in the next PHP page. Unfortunately there's another problem. it only DISPLAYED the right value...but when it adds the value in the database...it adds with the plus + sign. i.e., it ad

[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 wor

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

2001-03-04 Thread Julian Wood
Try printf("") 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() including $myrow[something] being picked up > by mySQL db.

[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 : this doesn't work : printf("") OR such combinations as given in the manual. I tried

[PHP] file() function

2001-03-04 Thread Felipe Lopes
I found this script on the internet...It's a script of a message board...My problem is that I just want to display the 30 newer messages stead of all messages...What do I have to change??? I tried to use the file() function...I know it's possible to do what I want to with that function, but

[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 b

Re: [PHP] system() and stdout

2001-03-04 Thread Clayton Dukes
You have to have the output as part of the system or exec command, Here's a ping function, maybe this will help: exec("/bin/ping -c3 $ipaddr", $output, $error); echo "\n"; while (list(,$line) = each($output)){ echo $line, "\n"; } if ($error){ die("OS Error:

[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 com

[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 +++ CVSROOT

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] 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 properly

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, portal

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 a

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 Ke

[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 app

[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

[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 --- php4/e

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 activ

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 (Tyi

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 i

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] Help Please: Php configuration

2001-03-04 Thread Phil Driscoll
I'm guessing that you are adding the ISAPI version of php. If so, try installing it as a CGI instead (set the script mappings to php.exe instead of php4isapi.dll and remove php4isapi.dll from the filters list). Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.co

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 f

[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

[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 Sun

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 c

  1   2   >