Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9600 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68911 invoked by uid 1010); 28 Apr 2004 12:52:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 68853 invoked from network); 28 Apr 2004 12:52:22 -0000 Received: from unknown (HELO longsword.omniti.com) (66.80.117.3) by pb1.pair.com with SMTP; 28 Apr 2004 12:52:22 -0000 Received: from [66.80.117.2] (helo=[10.80.116.129]) by longsword.omniti.com with asmtp (TLSv1:RC4-SHA:128) (Exim 4.14) id 1BIoY3-0006Ph-9U; Wed, 28 Apr 2004 08:52:23 -0400 In-Reply-To: <1083155828.3179.71.camel@atlas-root.cc> References: <1083155828.3179.71.camel@atlas-root.cc> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: <2AE2B660-9913-11D8-81F9-000393B2B3C0@omniti.com> Content-Transfer-Encoding: 7bit Cc: Php - support Date: Wed, 28 Apr 2004 08:54:21 -0400 To: atlas@serv.co.za X-Mailer: Apple Mail (2.613) Subject: Re: [PHP-DEV] Javascript / Php From: george@omniti.com (George Schlossnagle) This is not the list you're looking for. You want to ask this question on php-general@lists.php.net. George On Apr 28, 2004, at 8:37 AM, Kyle Vorster wrote: > function setscreen() { > $height = ""; > $width = ""; > if (($height == "640") && ($width == "480")) { > echo "height == 640 & width = 480"; > } elseif (($height == "800") && ($width == "480")) { > echo "2"; > } elseif (($height == "800") && ($width == "600")) { > echo "3"; > } elseif (($height == "1024") && ($width == "576")) { > echo "4"; > } elseif (($height == "1024") && ($width == "768")) { > echo "Height = 1024 & width = 768"; > } > echo "Height == $height & width == $width"; > } > ?> > > > gives me this > > Height == 1024 & width == 768 > > but the html for that is Height == > & width == > > > and i wanne work with the 1024 in php and not with the html ,, what can > i do to > run the javascript at server side and not on the client side > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > // George Schlossnagle // Postal Engine -- http://www.postalengine.com/ // Ecelerity: fastest MTA on earth