Re: [PHP] Stripping HTML selectively?

2001-03-03 Thread Erick Papadakis
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, as follows: Original text: Hi!

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

2001-03-03 Thread John Henckel
Ken, I didn't believe you that IE was so stupidly implemented until I tried it myself. You are right, IE 5 rememebers the password even though I hit CANCEL on the re-authenticate prompt. And it remembers the password even when I close all browser windows. If you decide to store authenticatio

[PHP-CVS] cvs: CVSROOT / cvsusers

2001-03-03 Thread Andrei Zmievski
andrei Sat Mar 3 21:13:09 2001 EDT Modified files: /CVSROOTcvsusers Log: Changing email for Frank. Index: CVSROOT/cvsusers diff -u CVSROOT/cvsusers:1.233 CVSROOT/cvsusers:1.234 --- CVSROOT/cvsusers:1.233 Fri Mar 2 07:05:45 2001 +++ CVSROOT/cvsuse

[PHP] How big is too big?

2001-03-03 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

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

2001-03-03 Thread Eelco de Vries
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. I run the script in my browser and get the bare decimal values displayed and not the GIF ima

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

2001-03-03 Thread Ken
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 he has to hit escape. There's

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

2001-03-03 Thread Frank M. Kromann
fmk Sat Mar 3 18:41:27 2001 EDT Modified files: /php4/ext/standard info.c Log: Changed code layout to remove PHP warning when running php as a CGI. Index: php4/ext/standard/info.c diff -u php4/ext/standard/info.c:1.129 php4/ext/standard/info.c:1.130 --- p

Re: [PHP] stumped on mailing a complete page

2001-03-03 Thread Simon Garner
From: "Brett" <[EMAIL PROTECTED]> > This question may have been asked a million times, but I have had no luck > searching for a difinitive answer. > > I want to send a confirmation email upon receiving an order, and would like > to send the page that I display on the browser to the user. > > I ca

[PHP] Fwd: PHP and printing

2001-03-03 Thread fano
Hello php-general, Hi, I'm working with php4 and mysql on a suse 6.3 I made a program for an ISP that creates accounts, clients, payments, invoices. Everymonth they need to print like a quote (a list of every non paid thing) its ok, I could do that, I mean in the screen... Is it possible t

Re: [PHP] Problems with IIS4 (Win2k)

2001-03-03 Thread Josh McDonald
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. What functionality is missing from the CGI version besides http-auth? can it handle uploads? Gfunk - Original Message - From: "Ernest E Vogelsinger" <[EMAIL PROTE

Re: [PHP] stumped on mailing a complete page

2001-03-03 Thread kevin1
use $filearray = file("http://www.yourstite.com/yourscript.php?some_vars=whatever"); then $body = join (" ",$filearray); mail($to $subject,$body); or something like that. Maybe readfile() may be of use here to. You just want to read the page in as a string, so make sure that you use some m

Re: [PHP] Problems with IIS4 (Win2k)

2001-03-03 Thread Ernest E Vogelsinger
At 21:56 04.03.2001, Josh McDonald said: [snip] >Hi, >I'm having problems with IIS 4 trying to install PHP. If I install the >exe in the application mappings, I get the good old: > >"CGI Error >The specified CGI application misbehaved by not returning a

[PHP] Problems with IIS4 (Win2k)

2001-03-03 Thread Josh McDonald
Hi, I'm having problems with IIS 4 trying to install PHP. If I install the exe in the application mappings, I get the good old: "CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:" Message, and if I use the php4i

Re: [PHP] stumped on mailing a complete page

2001-03-03 Thread Philip Murray
Hi, This might help, its a script that'll suck in a page from your site and send it as an HTML email. Its NOWHERE near perfect, and needs alot of fixing. But it works. It relys on HTML Mime Mail class from http://www.heyes-computing.net/scripts/. But I had to make a few changes to the class to m

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

2001-03-03 Thread Zeev Suraski
zeevSat Mar 3 17:45:20 2001 EDT Modified files: /php4/ext/standard output.c php_output.h /php4/main main.c Log: Fix non-thread safe mode Index: php4/ext/standard/output.c diff -u php4/ext/standard/output.c:1.41 php4/ext/standard/output.c:1.42 ---

Re: [PHP] stumped on mailing a complete page

2001-03-03 Thread Lewis Bergman
> This question may have been asked a million times, but I have had no > luck searching for a difinitive answer. > > I want to send a confirmation email upon receiving an order, and would > like to send the page that I display on the browser to the user. > > I can not figure out how to send a pa

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

2001-03-03 Thread Zeev Suraski
Heh, well, if everyone has any logic relying on this function, they should know that it's faulty :) At 03:25 4/3/2001, Sterling Hughes wrote: >Am I right that your removing this function? > >uu, backwards compat?? ;-) > >-Sterling > > > > zeev Sat Mar 3 17:17:22 2001 EDT > > > > Modifi

Re: [PHP] (URL Translating) Apache, PHP, and the love of itall.... well, maybe not.

2001-03-03 Thread Aaron Tuller
that's easy. don't redirect, just do an include() on the PHP file you actually want, or if you're using some fancy caching system and alrady have the output in a file, do a readfile(). then use Apache's ForceType. I think it's like: ForceType application/x-httpd-php something like that.

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

2001-03-03 Thread Sterling Hughes
Am I right that your removing this function? uu, backwards compat?? ;-) -Sterling > zeev Sat Mar 3 17:17:22 2001 EDT > > Modified files: > /php4/ext/standard basic_functions.c basic_functions.h > Log: > this function will never return true... > > > Index: php4/ext/standard/basi

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

2001-03-03 Thread Zeev Suraski
zeevSat Mar 3 17:17:22 2001 EDT Modified files: /php4/ext/standard basic_functions.c basic_functions.h Log: this function will never return true... Index: php4/ext/standard/basic_functions.c diff -u php4/ext/standard/basic_functions.c:1.311 php4/ext/s

[PHP] stumped on mailing a complete page

2001-03-03 Thread Brett
This question may have been asked a million times, but I have had no luck searching for a difinitive answer. I want to send a confirmation email upon receiving an order, and would like to send the page that I display on the browser to the user. I can not figure out how to send a page, like the l

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

2001-03-03 Thread Jim Winstead
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > Hi, I'm wondering if there's an ezmlm equivalent of the "lists-full" > command for majordomo. That command returns data like the following > (from the PostgreSQL list): no ezmlm equivalent that i'm aware of, but here's the subscription

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

2001-03-03 Thread Zeev Suraski
zeevSat Mar 3 17:09:36 2001 EDT Modified files: /php4/ext/sablotsablot.c /php4/ext/standard output.c php_output.h Log: Improve chunked output buffering - the output handler now knows at which stage it is Index: php4/ext/sablot/sablot.c diff -u

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

2001-03-03 Thread Zeev Suraski
zeevSat Mar 3 17:08:47 2001 EDT Modified files: /php4/sapi/cgi cgi_main.c Log: whitespace fix Index: php4/sapi/cgi/cgi_main.c diff -u php4/sapi/cgi/cgi_main.c:1.95 php4/sapi/cgi/cgi_main.c:1.96 --- php4/sapi/cgi/cgi_main.c:1.95 Mon Feb 26 10:

[PHP] RE: [PHP-DEV] pspell/aspell breaking

2001-03-03 Thread Mike Robinson
FWIW, I have this setup working fine on a stock rhl7.0 box. It still says 'indices' is spelt wrong though. ;> Mike Robinson > > Setup: > aspell-.32.6 > pspell-.11.2 > php-4.0.4pl1 > apache_1.3.14 > RH 7.0 > glibc 2.2-12 > gcc-2.96-69 > > Procedure: > ./pspell-.11.2/configure > make && make i

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

2001-03-03 Thread Chuck Hagenbuch
chagenbuSat Mar 3 14:36:42 2001 EDT Modified files: /php4/pear/Mail RFC822.php Log: documentation/whitespace Index: php4/pear/Mail/RFC822.php diff -u php4/pear/Mail/RFC822.php:1.4 php4/pear/Mail/RFC822.php:1.5 --- php4/pear/Mail/RFC822.php:1.4

Re: [PHP] (URL Translating) Apache, PHP, and the love of it all.... well, maybe not.

2001-03-03 Thread Yasuo Ohgaki
> I'm going to start with a nice simple, hopefully, questions. > > Some of you may have seen PCWorld.com - and its urls that are like > http://www.pcworld.com/news/view/0,aid,3911,00.asp. This is achieved with a > product called XCache (for IIS, visit www.xcache.com), wich translates this > url in

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

2001-03-03 Thread Chuck Hagenbuch
chagenbuSat Mar 3 14:06:42 2001 EDT Modified files: /php4/pear/Mail RFC822.php Log: Add a validate parameter that allows you to turn off validation of atoms. This lets you pass in an address list containing non-mime-encoded addresses, for example,

[PHP] Static Classes

2001-03-03 Thread ADnoctum
Hello to everyone. First time here and already I have a question: PHP has static classes?. In C++ I could write: class { void hello(void) { cout << "Hello, world!"; } } Test; Test.hello(); Now I have a variable "Test" wich is a class that canot be instantiated nor inherited. Can

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

2001-03-03 Thread Yasuo Ohgaki
> 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: .inc.php > 2. > add code: > if ($PHP_SELF==MY_NAME) exit; > as first line in t

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

2001-03-03 Thread Brian Clark
Hi Ned, @ 9:27:57 AM on 3/3/2001, Ned Lilly wrote: > Hi, I'm wondering if there's an ezmlm equivalent of the "lists-full" > command for majordomo. That command returns data like the > following (from the PostgreSQL list): While not exactly what you wanted, this may provide some of those stat

[PHP-CVS] cvs: php4 /ext/ircg ircg.c ircg_scanner.re

2001-03-03 Thread Sascha Schumann
sas Sat Mar 3 13:22:13 2001 EDT Modified files: /php4/ext/ircg ircg.c ircg_scanner.re Log: Finally fix the handler API to always pass smart_str's to the handlers. format_msg now takes smart_str's only as parameters. This easily saves a couple o

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

2001-03-03 Thread Jon Parise
On Sat, Mar 03, 2001 at 07:14:36PM -, Ulf Wendel wrote: > PR: > What does PR mean - Public Relations? In this context, it means "Problem Report". It should probably be renamed "Bug:" and filled in with the bug ID when the commit closes an open bug in the PHP bug tracker. -- Jon Pari

Re: [PHP] Converting String to Variable

2001-03-03 Thread Chris Adams
On 3 Mar 2001 08:02:16 -0800, Randy Johnson <[EMAIL PROTECTED]> wrote: >Is there anyway to convert a string to a variable > >example > >$str="monday"; > >I would like to then do this: > >$monday="blah"; extract() does something like that for arrays. There's no way to write the code the way you h

[PHP] (URL Translating) Apache, PHP, and the love of it all.... well, maybe not.

2001-03-03 Thread Jenni &/or Patrick
I'm going to start with a nice simple, hopefully, questions. Some of you may have seen PCWorld.com - and its urls that are like http://www.pcworld.com/news/view/0,aid,3911,00.asp. This is achieved with a product called XCache (for IIS, visit www.xcache.com), wich translates this url into http://w

[PHP] $B!a=5KvFCJL9f!a(B

2001-03-03 Thread [EMAIL PROTECTED]
--- $B!y!z(B $B#I#B#M%U%)!<%i%`#2#0#0#13+:E(B $B!z!y(B --- 2001.03.03 - $B=5Kv$r3Z$7$/2a$4$9$?$a$N%5%$%H$r$*CN$i$;CW$7$^$9!#(B http://www9.xdsl.ne.jp/~jmp/index.html -- $B>pJsDs6!4k6H$+$i$N$40MMj$K$h$j$3$N%a!<%k$

Re: [PHP] help gurus: multi-dimensional array problem.

2001-03-03 Thread andrew
Because I want to display it like this: category1 (href anchor to category1 below) category2 category3 category1 link1 link2 link3 category2 link1 etc... On 3/3/01 2:49 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Addressed to: andrew <[EMAIL PROTECTED]> >

Re: [PHP] help gurus: multi-dimensional array problem.

2001-03-03 Thread php3
Addressed to: andrew <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from andrew <[EMAIL PROTECTED]> Sat, 03 Mar 2001 14:26:30 -0500 > > help! :)> > > I'm trying to return a list of links under associated categories from a > database table that has the fields: "linkID, catego

Re: [PHP] Inane ereg_replace question

2001-03-03 Thread mailing_list
this will work: ereg_replace(" *: *",":",$b); I don't know why you use an OR! If you only wanted to know WHY this doesn't work: the searchstrings overlap (abc is poisitioned BEFORE cde - so the parser only will see abc in abcdefghiabcdefghi but not cde in XdefghiXdefghi!! $a="abcdefghi"; $a.=$a;

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

2001-03-03 Thread Ulf Wendel
uw Sat Mar 3 11:21:50 2001 EDT Modified files: /php4/pear Cache.php Log: The main file with new features. - added support for cache dataset groups - added extSave() - see my next PEAR list posting - added getUserdata() Index: php4/pear

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

2001-03-03 Thread Ulf Wendel
uw Sat Mar 3 11:19:25 2001 EDT Modified files: /php4/pear/CacheOutput.php Log: Made Output use the new features. Index: php4/pear/Cache/Output.php diff -u php4/pear/Cache/Output.php:1.7 php4/pear/Cache/Output.php:1.8 --- php4/pear/Cache/Output.php:

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

2001-03-03 Thread Ulf Wendel
uw Sat Mar 3 11:18:31 2001 EDT Modified files: /php4/pear/CacheGraphics.php Log: Renamed the class to follow PEAR's guides. Index: php4/pear/Cache/Graphics.php diff -u php4/pear/Cache/Graphics.php:1.3 php4/pear/Cache/Graphics.php:1.4 --- php4/pear/

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

2001-03-03 Thread Ulf Wendel
uw Sat Mar 3 11:17:20 2001 EDT Modified files: /php4/pear/CacheFunction.php Log: Changed the order of the inline module comment and the copyright stuff. Ok, I know this will lead to some discussion. But please let me change it so that PHPDoc wor

[PHP] help gurus: multi-dimensional array problem.

2001-03-03 Thread andrew
help! :)> I'm trying to return a list of links under associated categories from a database table that has the fields: "linkID, category, name, url". I'm selecting the fields and then trying to construct a multi-dimensional array so that the correct items get put into it (and then printed out):

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

2001-03-03 Thread Ulf Wendel
uw Sat Mar 3 11:14:36 2001 EDT Modified files: /php4/pear/CacheContainer.php Log: PR: What does PR mean - Public Relations? Anyway: new cache structure/features - allowed to group cache datasets in a group - allowed to add userdata [CHAR(

php-general Digest 3 Mar 2001 19:12:55 -0000 Issue 545

2001-03-03 Thread php-general-digest-help
php-general Digest 3 Mar 2001 19:12:55 - Issue 545 Topics (messages 42429 through 42464): Re: [PHP-DB] How do I keep the selected showing... 42429 by: andreas \(.work\) Re: last inserted record 42430 by: Christian Reiniger Re: Netscape problems with PHP 42431 by: D

[PHP] Complicated Form Handling

2001-03-03 Thread Fred
my table holds these fields: userid, pid, setting, status the pk is the pid field, and for each pid a user holds, there is a different row to hold the user's pid's setting and status. I am making a script t modify the setting of the user pid, the script first generates a form, the form goes: Use

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

2001-03-03 Thread Ulf Wendel
uw Sat Mar 3 11:05:55 2001 EDT Modified files: /php4/pear/Cache/Container shm.php Log: Updates for the new structure/featues Index: php4/pear/Cache/Container/shm.php diff -u php4/pear/Cache/Container/shm.php:1.2 php4/pear/Cache/Container/shm.php:1.3 -

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

2001-03-03 Thread Ulf Wendel
uw Sat Mar 3 11:05:22 2001 EDT Modified files: /php4/pear/Cache/Container phplib.php Log: Changes for the new structure / features Index: php4/pear/Cache/Container/phplib.php diff -u php4/pear/Cache/Container/phplib.php:1.5 php4/pear/Cache/Container/

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

2001-03-03 Thread Ulf Wendel
uw Sat Mar 3 11:02:54 2001 EDT Modified files: /php4/pear/Cache/Container file.php Log: Changes for the new cache structure / features. - added delDirectory() as a helper function for flush - new file format Index: php4/pear/Cache/Container/

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

2001-03-03 Thread Ulf Wendel
uw Sat Mar 3 11:01:03 2001 EDT Modified files: /php4/pear/Cache/Container db.php Log: Changes for the new cache structure - extended inline docs - extended calls to the still not existant call CacheError - several changed for the new cache structur

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

2001-03-03 Thread mailing_list
Hi! as I wrote in my mail: 1. I won't name them ".inc" but ".inc.php" (so *I* know, it's an include file) 2. I don't even want them to be executable!!! and therefore my question was, if this (on top of every include-file) would be safe enough: >> if (substr($SCRIPT_URL,-8)==".inc.php") exit; $PH

Re: [PHP] passing variables

2001-03-03 Thread Terry Romine
I do this kind of thing all the time. Consider using hidden for the various values you are passing, and name the buttons "doAction" and set the values to "Add", "Delete", "View" ... Then the php file can do: switch($doAction) { case "Add": // your code break; case "Delet

[PHP] Re:Fw: can't start apache

2001-03-03 Thread John Hinsley
> > > Scott Wagner wrote: > To: php > Sent: Thursday, March 01, 2001 11:55 PM > Subject: can't start apache > > > Hi > I just installed mysql, apache and php4 on Linux Mandrake 7.0 from a cd I got with >the book "PHP Fast and Easy" > After installing apache it seemed ok and started normall

[PHP] Inane ereg_replace question

2001-03-03 Thread rm
I have to get rid of any spaces on either side of the : mark. Can anyone explain why php 3.xx $a="to be or not :to to be"; $b=ereg_replace(" *:",":",$b); $b=ereg_replace(": *",":",$b); works and $b=ereg_replace(" *:|: *",":",$b); does not work. I've had this problem before and en

Re: [PHP] Help w/ sprintf

2001-03-03 Thread Philip Olson
consider using number_format, for example : $formatted_number = number_format(1250560, 2); // 1,250,560.00 $formatted_number = number_format(1250560);// 1,250,560 regards, Philip Olson http://www.cornado.com/ On Sat, 3 Mar 2001, Anthony Rodriguez wrote: > What are the directives fo

Re: [PHP] Nesting 'foreach ()'

2001-03-03 Thread Daniel Grace
"Tim Ward" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > is okay (but still doesn't work) although I have noticed that you seem to > need to code-block single statements in if ... else constructs > i.e > if (1==1) echo("fred") else echo("bill"): > should wor

[PHP-CVS] cvs: php4 /ext/ircg ircg_scanner.c ircg_scanner.re

2001-03-03 Thread Sascha Schumann
sas Sat Mar 3 09:01:32 2001 EDT Modified files: /php4/ext/ircg ircg_scanner.c ircg_scanner.re Log: 4-fold increase of ircg_mirc_color() with a single new rule. Index: php4/ext/ircg/ircg_scanner.c diff -u php4/ext/ircg/ircg_scanner.c:1.4 php4/ext/i

RE: [PHP] Converting String to Variable

2001-03-03 Thread John Meyer
Here's my question: why do you want to do this, and is there a better way to do this, say a hash list or something? BTW, isn't monday defined as a constant that always equals "blah!" It always has for me. -Original Message- From: Randy Johnson [mailto:[EMAIL PROTECTED]] Sent: Saturday,

RE: [PHP] Converting String to Variable

2001-03-03 Thread Randy Johnson
it may look weird but that is the way it needs to be done. here is a better example $str=myfunct() this returns monday then i want the monday to turn into this $monday so i can do this $monday="BlaH"; thanks randy -Original Message- From: Ernest E Vogelsinger [mailto:[EMAIL PROTEC

Re: [PHP] Converting String to Variable

2001-03-03 Thread Ernest E Vogelsinger
At 17:09 03.03.2001, Randy Johnson said: [snip] >Is there anyway to convert a string to a variable > >example > >$str="monday"; > >I would like to then do this: > >$monday="blah"; [snip] RTFM ;-> $$str = "blah"; pr

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

2001-03-03 Thread Sascha Schumann
sas Sat Mar 3 08:26:55 2001 EDT Modified files: /php4/ext/ircg ircg.c Log: Improve the speed of format_msg() (5 fold increase). We are still spending too much time in ircg_mirc_color(). According to gprof on FreeBSD, it is something like 20% for

[PHP] RE: Netscape 4.75 problems

2001-03-03 Thread Dennis Gearon
I've got a weird problem with 4.75 as well. If you guys would go to http://64.177.230.204/FlowInputTable.php and just reload it several times, you'll see that it's fine, but enter any six numbers into the 1st 6 blocks and submit it, when it comes back to itself and does the final redraw, NS4.

[PHP] Converting String to Variable

2001-03-03 Thread Randy Johnson
Is there anyway to convert a string to a variable example $str="monday"; I would like to then do this: $monday="blah"; thanks randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP] passing variables

2001-03-03 Thread george
Thanks Ben, and a quick answer as well. that means I can give them an option on the main page to delete or view the email, which is even better. Thanks George -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] passing variables

2001-03-03 Thread Michael Hall
OK, sorry, I read your post in a hurry. Something like this should work: Do Something On the next page you'd have: $sql = "Do Something WHERE id = '$id'"; By the way, you don't necessarily have to go to a different page in the sense of a different file ... all your 'pages' can

Re: [PHP] passing variables

2001-03-03 Thread Ben Weinberger
You could make them on the same page with a PHP statement something like: if ($Reply) { //put your reply script here } elseif ($Delete) { //put your delete script here } Just make sure the name and value of the input tags on the previous page are called Reply and Delete. Best, -Ben At 03:0

Re: [PHP] passing variables

2001-03-03 Thread george
Yes but it still goes to the same page, if i give the option to delete or reply would it not need to go to different pages one with the DELETE and the other to reply. However I am still very much a newbie so of anyone knows better(which is a certainy) then I would be delighted to listen.. Than

Re: [PHP] passing variables

2001-03-03 Thread Ben Weinberger
You could still use a form, but just have a very small one... something like: This would then pass any variables you wanted to the next page... -Ben At 03:49 PM 3/3/2001 +0100, Ernest E Vogelsinger wrote: >At 15:41 03.03.2001, george said: >[snip] > >

Re: [PHP] passing variables

2001-03-03 Thread Ernest E Vogelsinger
At 15:41 03.03.2001, george said: [snip] > I plan to add hidden fields for all the information pulled out the db my >question is this how do you pass variables into the next page without using >a form. >can it be done say instead of a form there was a link n

Re: [PHP] length limit of URL?

2001-03-03 Thread Ernest E Vogelsinger
At 14:02 03.03.2001, Michael Hall said: [snip] >Does anyone know the practical limit to the length of a URL? Some of mine >are now 100 characters long with heaps of variables packed in, so I'm >wondering what the limits are? [snip]---

Re: [PHP] passing variables

2001-03-03 Thread george
Thanks Michael, but what I plan on doing is pulling the name,subject and email address out of the db, then giving the option to view the full message, but i have had to do this using a form so my code looks like $row[title] $row[name]$row[subject]"; echo "$row[email]"; } echo "";

[PHP] length limit of URL?

2001-03-03 Thread Michael Hall
Does anyone know the practical limit to the length of a URL? Some of mine are now 100 characters long with heaps of variables packed in, so I'm wondering what the limits are? Thanks Mick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] PHP web based mailing list administrator

2001-03-03 Thread Michael Hall
Yes, they are about. Try hotscripts.com. Mick On Sat, 3 Mar 2001, Peter Van Dijck wrote: > Hi, > 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

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

2001-03-03 Thread Michael Hall
Include files do not have to end with '.inc', which is purely a convention of dubious value. If you use '.php' as the extension for included files, they will have to be parsed by PHP and can't be read as plain text from outside. Mick On Sat, 3 Mar 2001 [EMAIL PROTECTED] wrote: > Hi! > > I wan

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

2001-03-03 Thread Ned Lilly
Hi, I'm wondering if there's an ezmlm equivalent of the "lists-full" command for majordomo. That command returns data like the following (from the PostgreSQL list): --- pgsql-general (no description) Subscribers: 1217 Posts:

Re: [PHP] passing variables

2001-03-03 Thread Michael Hall
One way: Pull as much info as you need out of the db, including the email id, then have a select box or check box if you want which sends the id of the email you want to delete back to a 'DELETE FROM' sql statement. No need for cookies that I can see. Mick On Sat, 3 Mar 2001, george wrote:

Re: [PHP] Help w/ sprintf

2001-03-03 Thread mailing_list
> What are the directives for the sprintf function to format an integer with > > commas (e.g.: 1,250,560)? you don't mean commas but thousands' grouping??? if you want thousands' grouping it depends on your locale setting! --cut-- For some numeric conversion a radic character (`decimal po

[PHP] passing variables

2001-03-03 Thread george
I have a page which pulls contact information out of a database name, email message, and displays it on a page using mysql_fetch_array so my question is how is it possible to delete one of the emails, the only way i can think of is to use a checkbox and a hidden field giving the id and then place

[PHP-CVS] cvs: php4 / php.ini-dist

2001-03-03 Thread Sebastian Bergmann
sbergmann Sat Mar 3 05:10:13 2001 EDT Modified files: /php4 php.ini-dist Log: Jan says: 'Do not load php_gtk.dll through php.ini, only use dl(), otherwise it crashes (atleast on Win32).' Me thinks: 'There should be no crash, but a warning. Anyways,

[PHP] PHP web based mailing list administrator

2001-03-03 Thread Peter Van Dijck
Hi, 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 administrate) mailing lists. I have access to my

[PHP] Help w/ sprintf

2001-03-03 Thread Anthony Rodriguez
What are the directives for the sprintf function to format an integer with commas (e.g.: 1,250,560)? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mai

[PHP-I18N] Fwd: Req: Cash Offer!!

2001-03-03 Thread jannetfreebish67
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/rush009900/ IF THE LINK IS NOT HIGHLIGHTED OR YOU CA

[PHP] Fwd: Req: Cash Offer!!

2001-03-03 Thread jannetfreebish67
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/rush009900/ IF THE LINK IS NOT HIGHLIGHTED OR YOU CA

[PHP] Fwd: Req: Cash Offer!!

2001-03-03 Thread hollyjacobsemail77
hi there, please take a moment to check out the newest cash offer. cash is waiting for you! Click Below Or copy the link and paste it in your browser http://www.geocities.com/omega99/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

[PHP] Hide Include-Files from the Web

2001-03-03 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: .inc.php 2. add code: if ($PHP_SELF==MY_NAME) exit; as first line in the inluded script. so,

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

2001-03-03 Thread Ulf Wendel
uw Sat Mar 3 03:46:19 2001 EDT Modified files: /php4/pear/Cache/Container phplib.php Log: bugfix: idExists(), inline Doc changes: class doc Index: php4/pear/Cache/Container/phplib.php diff -u php4/pear/Cache/Container/phplib.php:1.4 php4/pear/Cache/C

[PHP] Extract() with 2D array

2001-03-03 Thread CC Zona
Does extract() work on multidimensional arrays? IOW, I have an array like... array($elem1=>array($val1,$val2),$elem2=>$val3) ...from which I'd like to extract $elem1 and $elem2. Should this be possible with extract()? The docs just say the function takes an array as a parameter, but don't

Re: [PHP] Netscape problems with PHP

2001-03-03 Thread Dennis Gearon
I've got a weird problem with 4.75 as well. If you guys would go to http://64.177.230.204/FlowInputTable.php and just reload it several times, you'll see that it's fine, but enter any six numbers into the 1st 6 blocks and submit it, when it comes back to itself and does the final redraw, NS4.75

Re: [PHP] last inserted record

2001-03-03 Thread Christian Reiniger
On Saturday 03 March 2001 05:16, you wrote: > i'm having a little bit of problems with a little mysql table i'm > using. the table has no primary key nor index nor nothing. > > i was wondering if it's possible to select the last inserted record of > a table with this characteristics. Add a prima