[PHP] assigning a part of the name of a variable with another variable before php replaces it with the value

2001-07-26 Thread Matthew DeChant
Specifically, If I have 3 HTTP_POST_VARS: HTTP_POST_VARS["client"] = test1 HTTP_POST_VARS["directory"]= test2 HTTP_POST_VARS["password"] = and I don't know the names of the vars ahead of time, how would I run a check to see if they exist and then get the specific POST_VARS's value. This is wha

[PHP] Open window2 (javascript), enter info in a form, then close window2 and refresh window1. help.

2001-07-26 Thread Matthew DeChant
I've gotten this far: URL to open an advanced search window(window2) from window1: Advanced Search Enter text in a form (snippet from form, close window if cancel is clicked, redirect window1 to new url, close window): print ""; print "field1\n"; print "\n"; print "\n"; print "\n"; Now the p

RE: [PHP] How to chop off a char off end?

2001-04-27 Thread Matthew DeChant
$x = "yourtexthere."; $x = substr($x, 0, -1); $x will then equal = "yourtexthere" -m -Original Message- From: Dexter [mailto:[EMAIL PROTECTED]] Sent: Friday, April 27, 2001 6:45 PM To: [EMAIL PROTECTED] Subject: [PHP] How to chop off a char off end? Using Perl , I usually say $stri