Re: [PHP] Location in php's source for ini-values

2008-02-03 Thread Richard Lynch
On Sat, February 2, 2008 5:09 am, ehl lhe wrote: > > hello, > > > I'd like to know where PHP finally sets the php.ini-values in it's > sourcecode, e.g. max_execution_time, open_basedir, etc... > What I need is to set several static values which must not be editable > using php.ini, .htaccess, ini

Re: [PHP] Location in php's source for ini-values

2008-02-02 Thread Daniel Brown
On Feb 2, 2008 6:09 AM, ehl lhe <[EMAIL PROTECTED]> wrote: > > hello, > > > I'd like to know where PHP finally sets the php.ini-values in it's > sourcecode, e.g. max_execution_time, open_basedir, etc... > What I need is to set several static values which must not be editable using > php.ini, .hta

Re: [PHP] location of the PHP executable

2007-04-12 Thread Davi
Em Quarta 11 Abril 2007 19:38, Buesching, Logan J escreveu: > IF db not exists THEN > locate -u > END-IF > > I'd hate to see the time it'd take to create a first-time database... > this could take awhile to run. > _maybe_ locate -u is faster than ls / -Rv... Need to test before

Re: [PHP] location of the PHP executable

2007-04-11 Thread Chris
Børge Holen wrote: On Wednesday 11 April 2007 23:50, Jarrel Cobb wrote: Don't you have to run locate -u first to generate the database before using locate? You can't just assume a database exists already can you? not an updated one at least, updatedb can also be used to update. Probably can

Re: [PHP] location of the PHP executable

2007-04-11 Thread Børge Holen
On Wednesday 11 April 2007 23:50, Jarrel Cobb wrote: > Don't you have to run locate -u first to generate the database before using > locate? You can't just assume a database exists already can you? not an updated one at least, updatedb can also be used to update. and if you're in a little bit of

Re: [PHP] location of the PHP executable

2007-04-11 Thread Jochem Maas
your script should try it's best to find the executable, on failure you might consider having it mail an error to you so at least you can pre-empt the client with regard to getting things working. most windows machines will probably have there php binary at: $_ENV['PHPRC'].'php.exe' vari

Re: [PHP] location of the PHP executable

2007-04-11 Thread Mattias Thorslund
Jochem Maas wrote: > > have you tried looking for this info you want? > > > Yup, but the manual seems kind of "light" on the subject. > > I can't say for sure if it always exists but on the few boxes > > I tried I found and entry in both $_SERVER and $_ENV: > > > > "_" => '/usr/bin/php' >

Re: [PHP] location of the PHP executable

2007-04-11 Thread Richard Lynch
On Wed, April 11, 2007 2:49 pm, Mattias Thorslund wrote: > I have looked in the documentation but can't find it: > > My PHP script (which is run from the command prompt - CLI) needs to > know > the file system location of the PHP executable. This is because it > needs > to run a second PHP script.

Re: [PHP] location of the PHP executable

2007-04-11 Thread Jochem Maas
Mattias Thorslund wrote: > Jim Lucas wrote: ... > $ /my-location-of/php myscript.php > /my-location-of/php > $ > > I was hoping there's a function or $_SERVER property that would contain > this? have you tried looking for this info you want? I can't say for sure if it always exists but on the fe

RE: [PHP] location of the PHP executable

2007-04-11 Thread Buesching, Logan J
ts.php.net Subject: Re: [PHP] location of the PHP executable Em Quarta 11 Abril 2007 18:50, Jarrel Cobb escreveu: > Don't you have to run locate -u first to generate the database before using > locate? You can't just assume a database exists already can you? > If you can use lo

Re: [PHP] location of the PHP executable

2007-04-11 Thread Mattias Thorslund
Jim Lucas wrote: > Mattias Thorslund wrote: >> Hi, >> >> I have looked in the documentation but can't find it: >> >> My PHP script (which is run from the command prompt - CLI) needs to know >> the file system location of the PHP executable. This is because it needs >> to run a second PHP script. I

Re: [PHP] location of the PHP executable

2007-04-11 Thread Davi
Em Quarta 11 Abril 2007 18:50, Jarrel Cobb escreveu: > Don't you have to run locate -u first to generate the database before using > locate? You can't just assume a database exists already can you? > If you can use locate, you can use which... =P BTW, do something to check OS then: IF OS == *ni

Re: [PHP] location of the PHP executable

2007-04-11 Thread Jarrel Cobb
Don't you have to run locate -u first to generate the database before using locate? You can't just assume a database exists already can you? On 4/11/07, Jim Lucas <[EMAIL PROTECTED]> wrote: Mattias Thorslund wrote: > Hi, > > I have looked in the documentation but can't find it: > > My PHP scri

Re: [PHP] location of the PHP executable

2007-04-11 Thread Jim Lucas
Mattias Thorslund wrote: Hi, I have looked in the documentation but can't find it: My PHP script (which is run from the command prompt - CLI) needs to know the file system location of the PHP executable. This is because it needs to run a second PHP script. I know about the "which" command but i

Re: [PHP] Location of .so files on Linux box

2007-04-10 Thread Richard Lynch
On Tue, April 10, 2007 8:24 am, Miles Thompson wrote: > This probably belongs in php-install, but here goes. > > Where should extension files be located? Yes. :-) They should go wherever it makes sense on your setup. > In php.ini the default entry > for > extension_dir is: > extension_dir=

Re: [PHP] Location of .so files on Linux box

2007-04-10 Thread Børge Holen
On Tuesday 10 April 2007 15:24, Miles Thompson wrote: > This probably belongs in php-install, but here goes. > > Where should extension files be located? In php.ini the default entry for > extension_dir is: > extension_dir= "./" > > That's fine, but relative to which directory (locations in par

Re: [PHP] Location ....

2005-12-30 Thread Richard Lynch
On Fri, December 30, 2005 2:16 pm, Robert Cummings wrote: >> Similarly, watch out for BLANK LINES after the last ?> in your >> files. >> >> They will trip you up for header() > > Regarding that last ?> in scripts, the PHP engine intentionally > supports > it's omission so that you don't have to thi

Re: [PHP] Location ....

2005-12-30 Thread Robert Cummings
On Fri, 2005-12-30 at 15:04, Richard Lynch wrote: > On Wed, December 28, 2005 8:15 am, Christian Ista wrote: > > PHP? I tried this code : header("Location: mypage.php"); > *LOL* That was one of the best write-ups I've ever read concerning the headers already sent error message. > Similarly, watch

Re: [PHP] Location ....

2005-12-30 Thread Richard Lynch
On Wed, December 28, 2005 8:15 am, Christian Ista wrote: > PHP? I tried this code : header("Location: mypage.php"); > > But in some case, I have error message "headers already sent". Then I You know the old saying, "You can't step in the same stream twice"? Think about it. Really think about it.

Re: [PHP] Location ....

2005-12-29 Thread Sameer N Ingole
Christian Ista wrote: From: Jay Blanchard [mailto:[EMAIL PROTECTED] Header is a good solution, and is the only one available in PHP for redirects. It requires that you do not send anything else out to the browsers before sending the redirect, which is what is causing your error. You can always u

Re: [PHP] Location ....

2005-12-28 Thread Curt Zirzow
On Wed, Dec 28, 2005 at 03:15:09PM +0100, Christian Ista wrote: > Hello, > > Could you tell me a efficient solution for change page (new location) in > PHP? I tried this code : header("Location: mypage.php"); > > But in some case, I have error message "heade already send". Then I use a > javascri

RE: [PHP] Location ....

2005-12-28 Thread Jay Blanchard
[snip] Ok but there is something more strange. I use "header location" in a switch/case. An header location by case. I don't understand at the end of the case, the header location don't work and I go through the others cases. Any idea why ? [/snip] Not without seeing code. -- PHP General Maili

RE: [PHP] Location ....

2005-12-28 Thread Christian Ista
> From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Header is a good solution, and is the only one available in PHP for > redirects. It requires that you do not send anything else out to the > browsers before sending the redirect, which is what is causing your error. > You can always use the output b

Re: [PHP] Location ....

2005-12-28 Thread Silvio Porcellana [tradeOver]
Christian Ista wrote: > Hello, > > Could you tell me a efficient solution for change page (new location) in > PHP? I tried this code : header("Location: mypage.php"); > note: HTTP/1.1 requires an absolute URI http://php.net/header > But in some case, I have error message "heade already send". T

RE: [PHP] Location ....

2005-12-28 Thread Jay Blanchard
[snip] Could you tell me a efficient solution for change page (new location) in PHP? I tried this code : header("Location: mypage.php"); But in some case, I have error message "heade already send". Then I use a javascript solution : window.location.href="mypage.php"; Is there a good solution in p

Re: [PHP] Location header does not work?

2004-08-05 Thread Justin Patrin
On Thu, 5 Aug 2004 10:35:47 -0500 (CDT), Bing Du <[EMAIL PROTECTED]> wrote: > I really appreciate everyone who responded taking your valuable time > looking into my problem. > > Now back to my problem. Changing the condition to "if($_SERVER['HTTPS'] > != 'on')" did not make any difference unfortu

RE: [PHP] Location header does not work?

2004-08-05 Thread Ed Lazor
I sent Bing specific code that will work: If (!IsSet($_SERVER["HTTPS"])) Header("Location: https://"; . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]); Manually go to the URL specified. https://computing.eng.iastate.edu/mambo/index.php?option=content&task=view&i d=159&Itemid=162 I

RE: [PHP] Location header does not work?

2004-08-05 Thread Ford, Mike [LSS]
On 05 August 2004 17:12, Ford, Mike [LSS] wrote: > (1) Your browser requests > https://computing.eng.iastate.edu/mambo/index.php?option=conte > nt&task=view&i d=159&Itemid=162 Bother! Sorry, that should, of course, be http:// in step (1)! Cheers! Mike --

RE: [PHP] Location header does not work?

2004-08-05 Thread Ford, Mike [LSS]
On 05 August 2004 16:36, Bing Du wrote: > I really appreciate everyone who responded taking your valuable time > looking into my problem. > > Now back to my problem. Changing the condition to > "if($_SERVER['HTTPS'] > != 'on')" did not make any difference unfortunately. So the result was > stil

Re: [PHP] Location header does not work?

2004-08-05 Thread Bing Du
I really appreciate everyone who responded taking your valuable time looking into my problem. Now back to my problem. Changing the condition to "if($_SERVER['HTTPS'] != 'on')" did not make any difference unfortunately. So the result was still the URL in the Address box of the browser changed to h

Re: [PHP] Location header does not work?

2004-08-04 Thread Jason Wong
On Thursday 05 August 2004 06:18, Justin Patrin wrote: > if($_SERVER['HTTPS'] != 'on') { Careful, IIRC the value of $_SERVER['HTTPS'] differs depending on websever. The original isset() is the better way. Bing, IIRC you're redirecting back to the same page weren't you? > if ($option == 'cont

Re: [PHP] Location header does not work?

2004-08-04 Thread Justin Patrin
On Wed, 4 Aug 2004 17:02:30 -0500 (CDT), Bing Du <[EMAIL PROTECTED]> wrote: > Ok, now I'm confused and cannot understand the result of the following > code snippet. After click the link that I want to redirect, the URL in > the Address box of the browser changed from http to https fine (that's > w

Re: [PHP] Location header does not work?

2004-08-04 Thread Bing Du
Ok, now I'm confused and cannot understand the result of the following code snippet. After click the link that I want to redirect, the URL in the Address box of the browser changed from http to https fine (that's what I expected). But 'hello my friend' was also displayed. How come?

Re: [PHP] Location header does not work?

2004-08-04 Thread Skippy
Quoting Justin Patrin <[EMAIL PROTECTED]>: > On Tue, 3 Aug 2004 15:34:27 -0500 (CDT), Bing Du <[EMAIL PROTECTED]> wrote: > > The latest message I got was 'Redirection limit for this URL exceeded. > > Unable to load the requested page.This may be caused by cookies that are > > blocked.'. > > Your p

Re: [PHP] Location header does not work?

2004-08-03 Thread Justin Patrin
On Tue, 3 Aug 2004 15:34:27 -0500 (CDT), Bing Du <[EMAIL PROTECTED]> wrote: > The latest message I got was 'Redirection limit for this URL exceeded. > Unable to load the requested page.This may be caused by cookies that are > blocked.'. > Your page is redirecting you over and over again. Your pro

Re: [PHP] Location header does not work?

2004-08-03 Thread Matthew Sims
> The latest message I got was 'Redirection limit for this URL exceeded. > Unable to load the requested page.This may be caused by cookies that are > blocked.'. > > Bing > Correct me if I'm wrong but I think this is an Apache error. -- --Matthew Sims -- -- PHP General

Re: [PHP] Location header does not work?

2004-08-03 Thread Monty
s, or just Netscape? Monty > From: [EMAIL PROTECTED] (Bing Du) > Newsgroups: php.general > Date: Tue, 3 Aug 2004 15:34:27 -0500 (CDT) > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Location header does not work? > > The latest message I got was 'Redirection limit for thi

RE: [PHP] Location header does not work?

2004-08-03 Thread Ed Lazor
; 'Bing Du'; '[EMAIL PROTECTED]' > Subject: RE: [PHP] Location header does not work? > > header("Location: " . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); > > > > -Original Message- > > From: John Nich

RE: [PHP] Location header does not work?

2004-08-03 Thread Ed Lazor
header("Location: " . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); > -Original Message- > From: John Nichel [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 03, 2004 12:59 PM > To: Bing Du; [EMAIL PROTECTED] > Subject: Re: [PHP] Loca

Re: [PHP] Location header does not work?

2004-08-03 Thread Bing Du
The latest message I got was 'Redirection limit for this URL exceeded. Unable to load the requested page.This may be caused by cookies that are blocked.'. Bing > On Tuesday 03 August 2004 15:41, Bing Du offered up the following tid-bit > of > information : >> I've been struggling with this redire

Re: [PHP] Location header does not work?

2004-08-03 Thread Matthew Sims
> I've been struggling with this redirect thing for a while but still cannot > get it work. I'm desperately needing help, please. > > What I want to do is redirect > http://computing.eng.iastate.edu/mambo/index.php?option=content&task=view&id=159&Itemid=162 > to > https://computing.eng.iastate.edu

Re: [PHP] Location header does not work?

2004-08-03 Thread Jason Wong
On Wednesday 04 August 2004 03:41, Bing Du wrote: > == > if ($option == 'content' and $task == 'view' and $id == 159 and $Itemid == > 162) > { > session_write_close(); > header("Location: > https://computing.eng.iastate.edu/mambo/index.php?option=content&task=view&; >id=159&Itemid=162"

Re: [PHP] Location header does not work?

2004-08-03 Thread John Nichel
On Tuesday 03 August 2004 15:41, Bing Du offered up the following tid-bit of information : > I've been struggling with this redirect thing for a while but still > cannot get it work. I'm desperately needing help, please. > > What I want to do is redirect > http://computing.eng.iastate.edu/mambo/i

Re: [PHP] location= Construct Doc

2003-11-11 Thread Eugene Lee
On Tue, Nov 11, 2003 at 01:46:33PM -0800, Mark wrote: : > : > > --- Lee Stewart <[EMAIL PROTECTED]> wrote: : > > : > >>Here's a *working* section of code... Note the : > >> location = "browse.php"; : > >>on line 23 : : In v4.3.2, it throws a "Parse error: parse error, unexpected '=' in : /

Re: [PHP] location= Construct Doc

2003-11-11 Thread Mark
--- Lee Stewart <[EMAIL PROTECTED]> wrote: > It's version 4.0.3 > Lee In v4.3.2, it throws a "Parse error: parse error, unexpected '=' in /path/to/file/test.php on line 23". > > Chris Shiflett wrote: > > --- Lee Stewart <[EMAIL PROTECTED]> wrote: > > > >>Here's a *working* section of code... N

Re: [PHP] location= Construct Doc

2003-11-10 Thread Marek Kilimajer
Lee Stewart wrote: Hi... I'm looking at an existing application that uses a number of statements like: location = "page2.php"; I thought I'd seen it somewhere in the PHP doc, but can't find it now.. Can anyone point me to where it's written up? This would generate parse error in php, but

Re: [PHP] location= Construct Doc

2003-11-10 Thread Lee Stewart
It's version 4.0.3 Lee Chris Shiflett wrote: --- Lee Stewart <[EMAIL PROTECTED]> wrote: Here's a *working* section of code... Note the location = "browse.php"; on line 23 How does that not generate a parse error? I must be missing something. It seems to me that either a dollar sign

Re: [PHP] location= Construct Doc

2003-11-10 Thread Chris Shiflett
--- Lee Stewart <[EMAIL PROTECTED]> wrote: > Here's a *working* section of code... Note the > location = "browse.php"; > on line 23 How does that not generate a parse error? I must be missing something. It seems to me that either a dollar sign is missing, or the line is intended to def

Re: [PHP] location= Construct Doc

2003-11-10 Thread Lee Stewart
Here's a *working* section of code... Note the location = "browse.php"; on line 23 $errmsg = ''; if( isset($username) ) { require_once('Connections/mySql.php'); mysql_select_db($database_mySql, $mySql); $rs = mysql_query("select * from employee where initials = '" . strtoupper($us

RE: [PHP] location= Construct Doc

2003-11-10 Thread Chris W. Parker
Lee Stewart on Monday, November 10, 2003 12:42 PM said: > It's not $location = xxx, just > location = "page.php"; > And it seems to work as a redirect... But not part of the header > fuction, and not just setting a variable... Hmm.. Never seen that before an

Re: [PHP] location= Construct Doc

2003-11-10 Thread Chris Shiflett
--- Lee Stewart <[EMAIL PROTECTED]> wrote: > It's not $location = xxx, just location = "page.php"; So the dollar sign is missing? Can you show us all of the code in question? (Or did I miss it?) > And it seems to work as a redirect... But not part of the header > fuction, and not just setting

Re: [PHP] location= Construct Doc

2003-11-10 Thread Lee Stewart
It's not $location = xxx, just location = "page.php"; And it seems to work as a redirect... But not part of the header fuction, and not just setting a variable... Lee Chris W. Parker wrote: Lee Stewart on Monday, November 10, 2003 12:18 PM said: I see the Locati

RE: [PHP] location= Construct Doc

2003-11-10 Thread Chris W. Parker
Lee Stewart on Monday, November 10, 2003 12:18 PM said: > I see the Location: of the Header function there, but what I see in > the code is just a location = and a page name... No header > function... > > Is it the same thing? $location = "page.php"; is nothing m

Re: [PHP] location= Construct Doc

2003-11-10 Thread Chris Shiflett
--- Lee Stewart <[EMAIL PROTECTED]> wrote: > I'm looking at an existing application that uses a number of > statements like: > > location = "page2.php"; > > I thought I'd seen it somewhere in the PHP doc, but can't find it > now.. Can anyone point me to where it's written up? The HTTP header itse

Re: [PHP] location= Construct Doc

2003-11-10 Thread Lee Stewart
I see the Location: of the Header function there, but what I see in the code is just a location = and a page name... No header function... Is it the same thing? Lee Jay Blanchard wrote: [snip] I'm looking at an existing application that uses a number of statements like: location = "page2.php";

RE: [PHP] location= Construct Doc

2003-11-10 Thread Jay Blanchard
[snip] I'm looking at an existing application that uses a number of statements like: location = "page2.php"; I thought I'd seen it somewhere in the PHP doc, but can't find it now.. Can anyone point me to where it's written up? [/snip] http://www.php.net/header -- PHP General Mailing

Re: [PHP] Location referer header

2003-08-14 Thread Marek Kilimajer
No way. Uros wrote: Hi, Anybody have any sugestion how to pass this data. My only idea is something like this. redir.php?url=www.somehost.com&q=test&pos=1 That way i can count click and also send referer with query data. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

Re: [PHP] Location header - slow redirect

2003-07-30 Thread Phill Ashworth
Excellent, that does the trick. Thank you Phil On Mercoledì, lug 30, 2003, at 13:56 Europe/Rome, Nicholas Robinson wrote: try putting this after the header: echo ""; It forces the redirect to take place immediately (in most cases!). HTH On Wednesday 30 Jul 2003 11:53 am, admin wrote: I'm usin

Re: [PHP] Location header - slow redirect

2003-07-30 Thread Nicholas Robinson
try putting this after the header: echo ""; It forces the redirect to take place immediately (in most cases!). HTH On Wednesday 30 Jul 2003 11:53 am, admin wrote: > I'm using the following short script to redirect users to another page > on my site (php 4.3.2, Apache 2.0.47). > > $goLang='en';

Re: [PHP] location headers are crisco to cookie headers?

2002-08-13 Thread Michael Sims
On Tue, 13 Aug 2002 22:14:28 -0500, you wrote: >I had some headers that were working on one server (4.0.6), but isn't >working on my (nearly) fresh install of 4.2.2. Here's the conundrum: >header("Set-Cookie: mid=$mid"); >header("Location: $location"); >exit; >worked just fine. I mo

RE: [PHP] "location bar"

2001-08-16 Thread Kurth Bemis
At 06:14 PM 8/15/2001, Wolfgang Schneider wrote: oops - i forgot - I use functions similar tp the ones used on php.net. when i call the function i pass $title to it define $title and it should work. :-) ~kurth >On Tue, 14 Aug 2001 11:39:55 -0400, Kurth Bemis wrote: > > >just stick this

RE: [PHP] "location bar"

2001-08-15 Thread Wolfgang Schneider
On Tue, 14 Aug 2001 11:39:55 -0400, Kurth Bemis wrote: >just stick this in a function as I did and you'll be sailing.its easy >to update, and Extremely flexible. > >look at my code.. (rest snipped) Hi Kurth, and others I adjusted your code for the purpose of my site (replacing he values i

RE: [PHP] "location bar"

2001-08-14 Thread Kurth Bemis
At 11:02 AM 8/14/2001, Kevin L wrote: I had a similar problem.jason murray gave me some ideas ;-) just stick this in a function as I did and you'll be sailing.its easy to update, and Extremely flexible. look at my code.. Location : http://www.usaexpress.net";>Home / 'Company',

RE: [PHP] "location bar"

2001-08-14 Thread Kevin L
The navigation system you are refering to is called breadcrumb navigation. You can find implementations of this all over the place. Try hotscripts.com or google.com. Kevin -Original Message- From: Wolfgang Schneider [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 12:35 AM To:

RE: [PHP] "location bar"

2001-08-13 Thread Maxim Maletsky
if you're asking on how to show where you are, then this is what you could do: Create an array of page names: ie: $page_name = Array( '/' => 'Home', '/page1' => 'Page One' ); ... and so on Then just do echo $page_name[strtolower($PHP_SELF)]; This is only appropriate f

RE: [PHP] Location

2001-02-23 Thread PHPBeginner.com
You need to have an array or db with file and description in ca you use array : $location = Array( '/index.php' => 'HOME', '/prod_info.php' => 'Product Information', ..etc ); and then if(isset($location[$PHP_SELF])) echo $location[$PHP_SELF]; and so on ... note: this is j

Re: [PHP] Location

2001-02-23 Thread Steve Werby
"Brandon Feldhahn" <[EMAIL PROTECTED]> wrote: > Im making a website and i want the viewer to know were he of she is, > what do i need to do to make a location bar (home > serverices ect...) > with the $PHP_SELF command, i wasent able to figure it out so i am > asking assistance from another person

Re: [PHP] Location

2001-02-23 Thread Joe Njeru
Try this window.status='http://www.yoururl".$PHP_SELF."';"); ?> Joe Njeru, Nairobi, Kenya -- 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 PROTECT

RE: [PHP] location

2001-02-17 Thread ..s.c.o.t.t..
//to see if this name/pw combination are valid. //return 1 if good, return 0 if bad } > -Original Message- > From: jaskirat [mailto:[EMAIL PROTECTED]] > Sent: Saturday, February 17, 2001 00:30 > To: Brandon Feldhahn; [EMAIL PROTECTED] > Subject: Re: [PHP] location >

Re: [PHP] location

2001-02-17 Thread jaskirat
make a function which validates users. Then where ever you want to restrict access just call that function before other things .. and it will do the trick where ever you need .. no if statements needed. HTH Jaskirat At 11:47 PM 2/16/01 -0800, Brandon Feldhahn wrote: >how would i make somthing