[PHP] Re: Trouble setting up

2001-03-12 Thread Tanya Brethour
Did you copy the php library over? And second.. are you actually going directly to the php script OR.. is it named index.php and you are only going to the directory? -Tanya On Mon, 12 Mar 2001, Luis wrote: > Hello all I new to the php . I was wondering > if anyone could help me out with a

Re: [PHP] Trouble setting up

2001-03-12 Thread Tanya Brethour
err not the library.. but php.ini -Tanya On Mon, 12 Mar 2001, Luis wrote: > Hello all I new to the php . I was wondering > if anyone could help me out with a little problem > that I'm having. I download the new version of > php. I installed mysql , apache (new version) and > php. > > What i'

[PHP] Get next record

2001-03-12 Thread WreckRman2
How can one get the next record to compare two fields... I want to check if the date of the first record matches the date of the next record with the least amount of code... David Smith Indy Web Design http://www.indywebdesign.com -- PHP General Mailing List (ht

RE: [PHP] Get next record

2001-03-12 Thread Boget, Chris
> How can one get the next record to compare two > fields... I want to check if the date of the first record > matches the date of the next record with the least amount > of code... You are going to have to work with row pointers. If you are using mySQL, look at the function: mysql_res

Re: [PHP] Get next record

2001-03-12 Thread Tanya Brethour
Umm if you are talking about records in the sense of a table.. you could do something like "SELECT record_id,record_date FROM table" and then go through the array and compare the dates. You only do one query from the database and then you know which records match by hanging onto their record_id.

[PHP] Re: Trouble setting up

2001-03-12 Thread Luis
Tanya Brethour wrote: > Did you copy the php library over? > > And second.. are you actually going directly to the php script OR.. is it > named index.php and you are only going to the directory? > > -Tanya > > On Mon, 12 Mar 2001, Luis wrote: > > > Hello all I new to the php . I was wondering

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

2001-03-12 Thread Colin Viebrock
cmv Mon Mar 12 11:30:56 2001 EDT Added files: /php4/pear/Net Dig.php Log: A nice friendly OO interface to dig Index: php4/pear/Net/Dig.php +++ php4/pear/Net/Dig.php http://www.php.net/license/2_02.txt. | // |

[PHP] what are the steps to recompile PHP?

2001-03-12 Thread colin olkowski
if one wants to recompile php (to add support for something that was missed during the first compile) is there a step I need to complete that will remove the earlier version of php, or do i just recompile over the old php and not worry about it? thanks colin olkowski - [EMAIL PROTECTED] cell 917

Re: [PHP] what are the steps to recompile PHP?

2001-03-12 Thread Tanya Brethour
I would assume that you need to 1) make sure you install it in the same place :) 2) if you already compiled a Apache binary you need to copy the new binary over.. or do another make install. I would just follow the steps you did when you first installed it.. and it should overwrite everything yo

[PHP] Need to download files in IE

2001-03-12 Thread James R. Edgar
I am trying to set my script up so that when a person clicks on the link, that the page will prompt for a download w/ the filename in the File Name field in the Save As prompt. I can get this to work in Netscapse but when I try to do it with Internet Explorer I encounter problems. It either says t

[PHP] SOS !

2001-03-12 Thread Nicolas MERLET
Please help me ! My problem is that I can't load PHP scripts (.php extension) with my personal server. My OS is Windows 95B (but MSIE 5 update), and I use PWS for Win 95 (not 4.0 for Win 98). My PHP version is: 4.0.4pl1 for Win32 I've already done this instructions, I've found in the manual:

Re: [PHP] SOS !

2001-03-12 Thread Phil Driscoll
A few people seem to have this PWS problem - and the only cure seems to be to reinstall PWS. The symptoms seem to be something like PWS is ignoring the scriptmap directive and no end of fiddling around with the registry will make it behave. You could always ditch PWS and use Xitami if you have a

Re: [PHP] getting client info

2001-03-12 Thread Tanya Brethour
I am not sure if there is a way to do this. The only thing you could do is determine level of encryption by browser version. This might work in some cases.. but obviously if they have an old browser version (whose encryption level is low by default) and they install like an encryption_pack (IE e

[PHP] In my attempt to read from a text file...

2001-03-12 Thread Peter Benoit
I'm trying preg_match with no success. I'd like to search inside the text file for my name, then pull all the info from that point till the next name which is Fred. The text file would be called names.txt So I'm trying to preg_match("Peter",names.txt,$myname) then do the same for Fred, and

Re: [PHP] Need to download files in IE

2001-03-12 Thread Pierre-Yves Lemaire
Hello, I do that with this piece of code. ( This will close the window, so open a new one and put this code inside) header("Content-disposition: attachment; filename=\"$fileName\""); header("Content-type: application-download"); header("Pragma: no-cache"); header("Expires: 0"); $fn=fopen($FileNa

Re: [PHP] search a text file

2001-03-12 Thread CC Zona
[quotes returned to bottom-posting, for clarity] In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Peter Benoit) wrote: > In article > <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Peter Benoit) wrote: > > > I've got a bit of a task where I need to poll a text file for several > lines > > of t

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

2001-03-12 Thread Colin Viebrock
cmv Mon Mar 12 11:35:28 2001 EDT Modified files: /php4/pear Makefile.in Log: Forgot to add it here Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.72 php4/pear/Makefile.in:1.73 --- php4/pear/Makefile.in:1.72 Thu Mar 1 23:52:56 2001 +++ ph

Re: [PHP] Good Free PHP Editor?

2001-03-12 Thread Simon Garner
From: "Boget, Chris" <[EMAIL PROTECTED]> > > HomeSite is great. www.allaire.com > > - not totally free I'm afraid, but there is an eval version. > > - runs under Windows yes > > - supports syntax highlighting for lots of languages > > including HTML, PHP, > > Perl, SQL, ASP (VB/JS). > > - can edi

RE: [PHP] search a text file

2001-03-12 Thread Peter Benoit
Very good info, but this text is located in a text file. How can I reference it this way? -Original Message- From: CC Zona [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 3:36 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] search a text file [quotes returned to bottom-posting, for

Re: [PHP] In my attempt to read from a text file...

2001-03-12 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Peter Benoit) wrote: > I'd like to search inside the text file for my name, then pull all the info > from that point till the next name which is Fred. > > The text file would be called names.txt > > > So I'm trying to > > preg_match("Peter

RE: [PHP] Good Free PHP Editor?

2001-03-12 Thread Angerer, Chad
Yes I use it with NT and run into occasional memory management problems as well. It is a great editor but has small issues that really can annoy a person. Also the FTP engine blows. It can be most unpredictable. Chad -Original Message- From: Simon Garner [mailto:[EMAIL PROTECTED]] Sen

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

2001-03-12 Thread Ulf Wendel
uw Mon Mar 12 12:22:13 2001 EDT Modified files: /php4/pear/Experimental/HTMLMenu.php Log: - made the URL check independend from $PHP_SELF - removed homepage specific code Index: php4/pear/Experimental/HTML/Menu.php diff -u php4/pear/Experim

RE: [PHP] Good Free PHP Editor?

2001-03-12 Thread Boget, Chris
> > Has the worst memory management of any software I've ever used. > > I have to reboot at lest 10 times a day when I use it. The support > > forum on their site is filled with complaints on this issue. Their > > response to this issue was not to fix the memory leak (or whatever > > it is) but

Re: [PHP] search a text file

2001-03-12 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Peter Benoit) wrote: > Very good info, but this text is located in a text file. How can I > reference it this way? Get the contents of the text file--for example, using fopen() with fread()--into a variable. Then use that variable as the se

RE: [PHP] Need to download files in IE

2001-03-12 Thread James R. Edgar
Hello, This is the URL of the link that I use. http://www.sitename.com/pizzeria.php3?pizzeria=aldentes Here is the code from the script. $file_path = "menus"; $file = $pizzeria . ".pdf"; $full_file = $file_path."/".$file; $filesize=filesize($full_file); header("Content-disposition: attachment;

RE: [PHP] Good Free PHP Editor?

2001-03-12 Thread James R. Edgar
Hello, I use editplus. It has a feature that lets you add in auto completion files, syntax files. It does have an eval version, and it is not that expensive. http://www.editplus.com Regards, Edgar -Original Message- From: Boget, Chris [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 20

RE: [PHP] Need to download files in IE

2001-03-12 Thread Peter Benoit
Yes, zip the pdf. Search the MSKB for more info. -Original Message- From: James R. Edgar [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 3:50 PM To: 'Pierre-Yves Lemaire' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Need to download files in IE Hello, This is the URL of the link t

RE: [PHP] Good Free PHP Editor?

2001-03-12 Thread Boget, Chris
> I use editplus. It has a feature that lets you add in auto > completion files, syntax files. It does have an eval version, > and it is not that expensive. The main feature I need of any editor is project management. Of all (and there have been *alot*) the editors I've looked at, Homesite is t

[PHP] update two frames at once?

2001-03-12 Thread Michael George
Hello al! Is it possible to have two frames updated when cliking on one link? I have a page that is broken into 4 parts: master title section title d section screen i r . what I want is that when a link is clicked on in the directory (the left column), I'd like to update t

RE: [PHP] Good Free PHP Editor?

2001-03-12 Thread Boget, Chris
> It does have a project feature. Yup. It sure does. However, it doesn't work as we need it to. When I looked at EditPlus last time, it had a flat project structure. Meaning that you could add files to a project, but when you opened that project, all you would see is a list of all the files.

Re: [PHP] update two frames at once?

2001-03-12 Thread Tanya Brethour
I dont believe so. -Tanya On Mon, 12 Mar 2001, Michael George wrote: > Hello al! > > Is it possible to have two frames updated when cliking on one link? I have a > page that is broken into 4 parts: > master title > section title > d section screen > i > r > . > > what I wan

RE: [PHP] update two frames at once?

2001-03-12 Thread Angerer, Chad
Yes you can.. use Javascript Look here.. http://www.virtualgeoff.com/junkyard/frames/multiple/ Chad -Original Message- From: Michael George [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 3:06 PM To: [EMAIL PROTECTED] Subject: [PHP] update two frames at once? Hello al! Is it

[PHP] array

2001-03-12 Thread Marco Aurélio
Hello!!! Please, assume I have the following mysql query: function get_products() { $result = mysql_query("select * from products"); while ($row = mysql_fetch_array($result)) { $prod_id = $row["prod_id"]; $prod_name = $row["prod_name"'];

RE: [PHP] update two frames at once?

2001-03-12 Thread Tanya Brethour
Well in straight/plain html frames.. I dont believe you can. -Tanya On Mon, 12 Mar 2001, Angerer, Chad wrote: > Yes you can.. use Javascript > > Look here.. http://www.virtualgeoff.com/junkyard/frames/multiple/ > > Chad > > -Original Message- > From: Michael George [mailto:[EMAIL PR

Re: [PHP] payment

2001-03-12 Thread Philip D. Jenkins
>Their website talks extensively about a merger with a 'Network 1' company >and now a buyout and a chapter 11 filing. The buyout, or "merger" press >release says: "CyberCash Internet Payment Processing Service to Continue >without Interruption." > >Is this incorrect? When you say that it 'died',

Re: [PHP] array

2001-03-12 Thread Tanya Brethour
Not that I am a php expert.. but it doesnt look like you ever assign products to anything. Shouldnt you be doing something like $products["$prod_id"] = $row["prod_id"] Also.. if you have more than one rows.. it would overwrite the array. Do you want a 2-d array? -Tanya On Mon, 12 Mar 2001, [

RE: [PHP] update two frames at once?

2001-03-12 Thread Angerer, Chad
By saying straight/plain html frames if you mean strictly HTML and no outside scripting language then you are right you cannot. But I don't think anyone is strictly limited to just HTML. Chad -Original Message- From: Tanya Brethour [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 200

RE: [PHP] array

2001-03-12 Thread James Atkinson
> Hello!!! > > Please, assume I have the following mysql query: > > function get_products() { > > $result = mysql_query("select * from products"); > while ($row = mysql_fetch_array($result)) { > $prod_id = $row["prod_id"]; > $prod_name = $row["prod_name

RE: [PHP] update two frames at once?

2001-03-12 Thread Tanya Brethour
I mean straight html. And people still using just plain html. I was just clearing up my answer. -Tanya On Mon, 12 Mar 2001, Angerer, Chad wrote: > By saying straight/plain html frames if you mean strictly HTML and no > outside scripting language then you are right you cannot. But I don't thi

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

2001-03-12 Thread Ulf Wendel
uw Mon Mar 12 12:30:44 2001 EDT Modified files: /php4/pear/Experimental/HTMLMenu.php Log: - made 'tree' the default redering type Index: php4/pear/Experimental/HTML/Menu.php diff -u php4/pear/Experimental/HTML/Menu.php:1.2 php4/pear/Experimenta

Re: [PHP] payment

2001-03-12 Thread Russ Cobbe
If you are worried about your payment processor going down (which to me would be a very serious concern) you might want to look at www.opayc.com which is a standardized way to talk to about 30 or so payment processors. So say C$ goes under, instead of having to redo integration to your app, y

Re: [PHP] payment

2001-03-12 Thread Mark Maggelet
On Mon, 12 Mar 2001 17:04:13 -0500, Russ Cobbe ([EMAIL PROTECTED]) wrote: >If you are worried about your payment processor going down (which to >me would be a very serious concern) you might want to look at >www.opayc.com which is a standardized way to talk to about 30 or so >payment processors.

[PHP] PHP (re)install problems

2001-03-12 Thread Jason Bouwmeester
I just reformatted my computer and reinstalled: Apache 1.3.14 Win32 r2 PHP 4.03pl1 mySQL 3.23.34 - Win I copied over my mySWL database and my PHP files and I get the following error: Warning: Undefined variable: Titlesearch in d:\apache\htdocs\bkhtml\movies.php on line 22 This is line 22 of mo

Re: [PHP] PHP (re)install problems

2001-03-12 Thread Jack Dempsey
> Warning: Undefined variable: Titlesearch in > d:\apache\htdocs\bkhtml\movies.php on line 22 > > This is line 22 of movies.php: > > print " action=\"movies/mysql_moviedb_search.php?Titlesearch=$Titlesearch\">\n"; are you sure your variable is capitalized previously? > > I also get this erro

Re: [PHP] payment

2001-03-12 Thread Russ Cobbe
> On Mon, 12 Mar 2001 17:04:13 -0500, Russ Cobbe ([EMAIL PROTECTED]) > wrote: > >If you are worried about your payment processor going down (which to > >me would be a very serious concern) you might want to look at > >www.opayc.com which is a standardized way to talk to about 30 or so > >paymen

RE: [PHP] PHP (re)install problems

2001-03-12 Thread Jason Bouwmeester
Yeah I am pretty sure it is right, it was working fine before I reinstalled. And thanks for the !$link that worked. jb > Warning: Undefined variable: Titlesearch in > d:\apache\htdocs\bkhtml\movies.php on line 22 > > This is line 22 of movies.php: > > print " action=\"movies/mysql_moviedb_se

Re: [PHP] Close persistent db-Connection

2001-03-12 Thread Nuno Silva
Hi, you can't close it :) If the connection is persistent pg_close() instructions are ignored (this is also true for other persistent connections and their respective close() instructions). You can do it in the shell sending USR1 to httpd (killall -USR1 httpd) or by restarting apache (apachec

Re: [PHP] PHP scripts

2001-03-12 Thread Nuno Silva
Hi, just ./configure make and you'll get a php binary rwxr-xr-x :) (do not pass --with-apache or --with-apxs to ./configure) Regards, Nuno Alexandre Hautequest wrote: > Hi all. > > How do i use php to build "shell scripts"? Please send me the compiler-time > options or the link to the page

[PHP] Cache Database-driven site

2001-03-12 Thread Joachim Maier
Hi all, i'm appreciating any comments on this idea: I'm about to create a completely database driven site (mySQL). Almost all of the output is generated from database data. A big part of the data is rather static of nature, eg. updated once a month. A smaller part is quite dynamic, e.g. content

Re: [PHP] Cache Database-driven site

2001-03-12 Thread Aaron Tuller
At 11:19 PM +0100 3/12/01, Joachim Maier wrote: >To create the HTML-cache page i need to build the whole HTML-page content in >memory, instead of echoing it back to the user's browser, and finally write >it to disk. That means, i have to write all HTML in php-code. I can't just >embed php-parts in

Re: [PHP] payment

2001-03-12 Thread Mark Maggelet
On Mon, 12 Mar 2001 17:34:14 -0500, Russ Cobbe ([EMAIL PROTECTED]) wrote: >> On Mon, 12 Mar 2001 17:04:13 -0500, Russ Cobbe ([EMAIL PROTECTED]) >> wrote: >> >If you are worried about your payment processor going down (which >>to >> >me would be a very serious concern) you might want to look at >>

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

2001-03-12 Thread Ulf Wendel
uw Mon Mar 12 14:03:51 2001 EDT Modified files: /php4/pear/Experimental/HTMLMenu.php Log: - removed a typo - added the Isomenu feature "use which fits best" for the search of the selected item Index: php4/pear/Experimental/HTML/Menu.php dif

Re: [PHP] payment

2001-03-12 Thread Aaron Tuller
At 2:32 PM -0800 3/12/01, Mark Maggelet wrote: >I'm leaning towards verisign/payflow pro. has anyone had trouble with >these guys? no. it's good stuff. Verisign is not going out of business anytime soon. and it's flat rate. you can't beat it. -aaron -- PHP General Mailing List (http://www

[PHP] over riding magic_quotes_sybase with ini_set()

2001-03-12 Thread Johnson, Kirk
Does anyone know if it is possible to override the php.ini setting for magic_quotes_sybase, using the ini_set() function? I have tried both of the following without success: ini_set("magic_quotes_sybase",1); and ini_set("magic_quotes_sybase","On"); I am trying to enable it for a particular app

RE: [PHP] Re: Good Free PHP Editor?

2001-03-12 Thread Jed Moss
Check out HTML-Kit http://www.htmlkit.com This is free and has everything you described plus 1000s of features and plugins. -- 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 admini

[PHP-CVS] cvs: php4(PHP_4_0_5) / configure.in /main php_version.h

2001-03-12 Thread Zeev Suraski
zeevMon Mar 12 14:26:18 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4 configure.in /php4/main php_version.h Log: Start 4.0.5 release process... Index: php4/configure.in diff -u php4/configure.in:1.221 php4/configure.in:1.221.2.1 --- php4/

[PHP] Back Button Problem

2001-03-12 Thread Corey Mosher
Hi, I have a site that performs insertions into a database, then uses header to redirect the user to a certain page. If the user hits the back button, then the submit button again, the information will be inserted twice. How can I prevent this? Thanks Corey Mosher

[PHP] ob_gzhandler strange behavior?

2001-03-12 Thread Brian DeFeyter
I'm running 4.0.4 with two patched files from CVS to fix the gzhandler memory leak. I'm using 'output_handler = ob_gzhandler' in my php.ini to compress output, however I notice that it usually doesn't work. I'll load a page, which will be uncompressed.. then reload it and it comes back compresse

Re: [PHP-CVS] cvs: php4(PHP_4_0_5) / configure.in /main php_version.h

2001-03-12 Thread Andrei Zmievski
On Mon, 12 Mar 2001, Zeev Suraski wrote: > zeev Mon Mar 12 14:26:18 2001 EDT > > Modified files: (Branch: PHP_4_0_5) > /php4 configure.in > /php4/mainphp_version.h > Log: > Start 4.0.5 release process... Did you see my message about PCRE problem?

Re: [PHP-CVS] cvs: php4(PHP_4_0_5) / configure.in /main php_version.h

2001-03-12 Thread Zeev Suraski
At 00:31 13/3/2001, Andrei Zmievski wrote: >On Mon, 12 Mar 2001, Zeev Suraski wrote: > > zeev Mon Mar 12 14:26:18 2001 EDT > > > > Modified files: (Branch: PHP_4_0_5) > > /php4 configure.in > > /php4/mainphp_version.h > > Log: > > Start 4.0.5 release

Re: [PHP-CVS] cvs: php4(PHP_4_0_5) / configure.in /main php_version.h

2001-03-12 Thread Andrei Zmievski
[EMAIL PROTECTED] about #9712 On Tue, 13 Mar 2001, Zeev Suraski wrote: > At 00:31 13/3/2001, Andrei Zmievski wrote: > >On Mon, 12 Mar 2001, Zeev Suraski wrote: > > > zeev Mon Mar 12 14:26:18 2001 EDT > > > > > > Modified files: (Branch: PHP_4_0_5) > > > /php4 conf

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

2001-03-12 Thread Ulf Wendel
uw Mon Mar 12 15:26:16 2001 EDT Modified files: /php4/pear/Experimental/HTMLMenu.php Log: - extended "prevnext" mode to show the previous, up and next item (up is new) Index: php4/pear/Experimental/HTML/Menu.php diff -u php4/pear/Experimental/HT

AW: [PHP] Cache Database-driven site

2001-03-12 Thread Joe Maier
Aaron, i would love to believe what you say. But i couldn't find any buffering functions in the online docs. Could you please gimme a pointer on where i can find these functions and what's their name. Are they available in php3? Thanks a lot, Joe -Ursprungliche Nachricht- Von: Aaron Tul

Re: AW: [PHP] Cache Database-driven site

2001-03-12 Thread Andrew Hill
http://www.php.net/manual/en/ref.outcontrol.php Regards, Andrew On 3/12/01 6:40 PM, "Joe Maier" <[EMAIL PROTECTED]> wrote: > Aaron, > i would love to believe what you say. > But i couldn't find any buffering functions in the online docs. > > Could you please gimme a pointer on where i can fin

[PHP] system() function

2001-03-12 Thread Daniel Lynn
I'm having an interesting problem. I'm running on an NT machine. I'm using the function: system("F:/full/path/program"); I've tried it using all kinds of forms of forward and back slashing, doesn't seem to matter... oddly enough, if I copy the text out from between the quote and paste it into a

Re: [PHP] payment

2001-03-12 Thread John Donagher
Agreed. Their test server could be more reliable, but I can't recall ever having problems with their live transaction server. On Mon, 12 Mar 2001, Aaron Tuller wrote: > At 2:32 PM -0800 3/12/01, Mark Maggelet wrote: > >I'm leaning towards verisign/payflow pro. has anyone had trouble with > >the

Re: [PHP] payment

2001-03-12 Thread Michael Kimsal
Mark Maggelet wrote: > On Mon, 12 Mar 2001 17:04:13 -0500, Russ Cobbe ([EMAIL PROTECTED]) > wrote: > >If you are worried about your payment processor going down (which to > >me would be a very serious concern) you might want to look at > >www.opayc.com which is a standardized way to talk to abo

Re: [PHP] Kick one of these darn elements out of my array, I aint having it!

2001-03-12 Thread David Robley
On Tue, 13 Mar 2001 05:08, Brandon Orther wrote: > Hello, > > I want to take one element out of an array, is there a way to remove an > element and have the array resorted so there isn't a blank spot where I > remove the elements? Here is an example if the above text made no > sense. > > Example:

[PHP] DSO x CGI

2001-03-12 Thread Christian Dechery
What are the main differences of running PHP as a DSO Module or as CGI? I had some problems running as DSO, cuz I need the mssq70 extension and everytime I ran a script it caused a GPF in php4ts.dll. So I switched back to CGI and the error disapeared. I wanna know if I'm loosing something with

Re: [PHP] PHP (re)install problems

2001-03-12 Thread David Robley
On Tue, 13 Mar 2001 08:46, Jason Bouwmeester wrote: > Yeah I am pretty sure it is right, it was working fine before I > reinstalled. > > And thanks for the !$link that worked. > > jb > > > > > Warning: Undefined variable: Titlesearch in > > d:\apache\htdocs\bkhtml\movies.php on line 22 > > > > Th

[PHP] HTTP Bailout

2001-03-12 Thread Nathan Cassano
When a client bails out of a http connection and apache shuts down that thread process, is there something or a way so that php can call some sort of destructor? My problem is if a client bails out right in the middle of a financial transaction I need some way of canceling a pending order. Nathan

[PHP] Re: [PHP-DEV] HTTP Bailout

2001-03-12 Thread Zeev Suraski
register_shutdown_function() should do the trick for you... Zeev At 22:34 12/3/2001, Nathan Cassano wrote: >When a client bails out of a http connection and apache shuts down that >thread process, is there something or a way so that php can call some sort >of destructor? My problem is if a clien

[PHP] Bug or what?

2001-03-12 Thread Fabio Ottolini (EDB)
First File - index.php Problem detected!" . "Your browser does not support cookies!" . "Enable cookies and try again."); die; } else { $page = "login.php"; header("Location: $page"); } } ?> Second File - login.php Forecast Tool - ATL Key Account Login: Password: Everything works

Re: [PHP] Bug or what?

2001-03-12 Thread Joe Stump
We had NASTY problems with cookies on different servers. I've even seen code work on one linux/apache machine and not another. This is usually due to the fact that the server's clock is off from the browsers clock (or vice versus) and the browser sees that the cookie has passed and destroys it wi

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

2001-03-12 Thread Ulf Wendel
uw Mon Mar 12 16:18:39 2001 EDT Modified files: /php4/pear/Experimental/HTMLMenu.php Log: - added the PPHP licence text - final structure, seems to be bug free - usage example missing, I'm writing on a german language tutorial, will add the usage

Re: [PHP] Mailing List

2001-03-12 Thread David Robley
On Mon, 12 Mar 2001 19:41, Peter Sabaini wrote: > On Mon, Mar 12, 2001 at 11:59:37AM +1030, David Robley wrote: > > On Mon, 12 Mar 2001 11:54, Thomas Anderson wrote: > > > Ok, I've tried time and time again to unsubscribe from php.net's > > > mailing list unisubscribe instructions but it doesn't w

Re: [PHP] update two frames at once?

2001-03-12 Thread Rene Maldonado
Hi I had the same problem, and I did not find an answer this way, the only way is with javascript . Rene Michael George wrote: > Hello al! > > Is it possible to have two frames updated when cliking on one link? I have a > page that is broken into 4 parts: > master title > sect

Re: [PHP] update two frames at once?

2001-03-12 Thread Stephan Ahonen
In the index page (change cols amounts to suit your layout): Put the menu in menu.html (duh), but here come the fun part. In section.html: Then in the menu frame, to update the section frames: , and put a frameset pointing to separate title and content pages in the sectionframeset.

RE: [PHP] Cache Database-driven site

2001-03-12 Thread Jon Snell
There are already some caching packages out there, I'm not sure how they perform with CGI (look into Squid). Having each page check for a cached version of itself sounds like a complicated approach. Another idea is to generate portions of your site as that don't change often from perl scripts, a

RE: [PHP] update two frames at once?

2001-03-12 Thread Jon Snell
Doing multiple frames and forms with JavaScript is not really a good idea. Debugging the code for this can become a nightmare... -Original Message- From: Rene Maldonado [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 6:59 PM To: Michael George Cc: [EMAIL PROTECTED] Subject: Re: [P

RE: [PHP] Grab and print user IP address

2001-03-12 Thread Jon Snell
These are normally already stored as variables in PHP for you. Run the phpinfo(); function and it will display a list of the current variables and values... -Original Message- From: Dream [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 4:00 AM To: [EMAIL PROTECTED] Subject: [PHP]

[PHP] no php archives?

2001-03-12 Thread rick
I can't get to the php archives... every time i try a search of the mailing list, I get nothing... :-( -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMA

php-general Digest 13 Mar 2001 01:50:28 -0000 Issue 563

2001-03-12 Thread php-general-digest-help
php-general Digest 13 Mar 2001 01:50:28 - Issue 563 Topics (messages 43464 through 43593): Re: Mailing List 43464 by: Jens Nedal 43466 by: Peter Sabaini 43587 by: David Robley (doubt)PHP console run 43465 by: Celestino Roberto Alejandro PHP Book 434

[PHP] Linux Journal ?

2001-03-12 Thread Luis
Does anyone out there read Linux Journal ? Just wondering because i have a question about a issue -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PRO

[PHP-CVS] cvs: php4 /ext/ming ming.c php_ming.h

2001-03-12 Thread Dave Hayden
opaquedave Mon Mar 12 17:57:39 2001 EDT Modified files: /php4/ext/ming ming.c php_ming.h Log: changed scalar args and returns to doubles, added Ming_setScale function, added SWFTEXTFIELD_HTML flag, fixed SWFTextField_setIndentation glitch Index:

Re: [PHP] Have you ever seen this?

2001-03-12 Thread Tiki
There is not too much science involved. The trick is to know what language encoding your browser support. Most of the browsers supports multi-languanges. If you look at the header of the HTML for the site, you will find the following: This will instruct to display the correct language encodings

[PHP] wordwrap() in php4.03pl1 does not work(?)

2001-03-12 Thread Nicole Lallande
Hi All, Am trying to use this function which in the manual is defined as working in versions of php > 4.02 -- well, I qualify - but the feature does not work. Anyone know what is going on? TIA, Nicole -- Nicole Lallande [EMAIL PROTECTED] 760.753.6766 #

Re: [PHP] fscanf

2001-03-12 Thread Yasuo Ohgaki
- Original Message - From: "Kubol" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 13, 2001 12:48 AM Subject: Re: [PHP] fscanf > 01-03-13 05:00:01, "Yasuo Ohgaki" <[EMAIL PROTECTED]> wrote: > > >I think fscanf() is line oriented in C, isn't it? (I haven't used fscanf() f

Re: [PHP] wordwrap() in php4.03pl1 does not work(?)

2001-03-12 Thread Nicole Lallande
Sheesh - I forgot - the function is wordwrap() Nicole Lallande wrote: > > Hi All, > > Am trying to use this function which in the manual is defined as working > in versions of php > 4.02 -- well, I qualify - but the feature does not > work. Anyone know what is going on? > > TIA, > > Nicole

[PHP] includes

2001-03-12 Thread Rick St Jean
I am looking for a simple way to include a file and not have it parsed. But I also do no want to strip out the html and php. Is there a way to do a nice and simple include and set parsing to false? Right now I use a fopen and fgets to read from the file. include() will parse it and execute it.

Re: [PHP] Back Button Problem

2001-03-12 Thread Yasuo Ohgaki
"Corey Mosher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > I have a site that performs insertions into a database, then > uses header to redirect the user to a certain page. If the > user hits the back button, then the submit button again, the > inf

[PHP] Develop e-mail like using PHP

2001-03-12 Thread Szeto
Hello, My company currently undergo a project to develop Internet e-mail system using PHP and Unix OS. I wondering what do i needed to understand before working on this project or any sample that i can download thank you -- -- Any

Re: [PHP] includes

2001-03-12 Thread David Robley
On Tue, 13 Mar 2001 13:45, Rick St Jean wrote: > I am looking for a simple way to include a file and not have it parsed. > But I also do no want to strip out the html and php. Is there a way > to do a nice and simple include and set parsing to false? > > Right now I use a fopen and fgets to read

[PHP] Problem with apostrophes!!

2001-03-12 Thread Kenneth R Zink II
My MySQL insert statements is returning errors when a field has an apostrophe in it. (I.E. Ken's) is there a way to get around that without using the \ in front of the apostrophes?? I've never had this problem before, in the past (on different servers) when a variable is inserted, it just accept

Re: [PHP] includes

2001-03-12 Thread Rick St Jean
How embarassing... I read about that and forgot about it. It is a matter a getting aquainted with new syntax. Thanks. Rick At 01:52 PM 3/13/01 +1030, David Robley wrote: >On Tue, 13 Mar 2001 13:45, Rick St Jean wrote: > > I am looking for a simple way to include a file and not have it parsed. >

RE: [PHP] includes

2001-03-12 Thread Chris Cocuzzo
I'm slightly confused as to why you would not want it parsed and executed...or I should say...what would be the differences in using the include function vs. reading it in like a file?? Chris -Original Message- From: Rick St Jean [mailto:[EMAIL PROTECTED]] Sent: Monday, March 12, 2001 10

Re: [PHP] Problem with apostrophes!!

2001-03-12 Thread Reuben D Budiardja
Maybe you can use this function. I don't use MySQL, I use Oracle, and I build this function for Oracle, but I think the basic problem (and solution is the same). I think basically you need to escape ' by adding another '. Thus "Ken's" should become "Ken''s". function format_mysql_string($stri

Re: [PHP] Problem with apostrophes!!

2001-03-12 Thread Gfunk
In mysql you can either enclose the string in double quotes, ie: "ken's \"trucks\" aren't as good as bob's" or you use the backslash: 'ken\'s "trucks" aren\'t as good as bob\'s' either way, you'll be using the backslash for one or the other quote. pretty sure mysql doesn't support the standard

[PHP] copying mysql db files

2001-03-12 Thread Peter Houchin
hiya, I'm tranfering mysql data base onto a unix machine, can i just copy the database directories across from my WinNT machine to the /usr/local/mysql-data directory? Peter -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: [PHP] HTTP_POST_VARS

2001-03-12 Thread Yasuo Ohgaki
No. Check box and radio buttons are not set, though. Regards, -- Yasuo Ohgaki ""stas"" <[EMAIL PROTECTED]> wrote in message 026001c07cc4$aeaa6250$9701a8c0@snewdel">news:026001c07cc4$aeaa6250$9701a8c0@snewdel... Hello, Is it that correct that only non-empty variables get inserted into HTTP_POS

<    1   2   3   >