Re: [PHP] BIG site names using PHP?

2001-01-11 Thread Chris Adams
"Monte Ohrt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Can anyone give me a list of big named sites (or point me to a list) > that use PHP? > Basically, site names that marketers can recognize as "big names", or > very well known. I haven't had time to u

Re: [PHP] Performance question

2001-01-11 Thread Chris Adams
""Chris Lee"" <[EMAIL PROTECTED]> wrote in message 93l3qd$p98$[EMAIL PROTECTED]">news:93l3qd$p98$[EMAIL PROTECTED]... > has anyone ran any test to see what kind of performance hit? I know people > are allways ranting and raving about single or double quotes regarding > performance and people rant

Re: [PHP] Refresh particular browser while updating another browser

2001-01-14 Thread Chris Adams
On 13 Jan 2001 23:45:58 -0800, Hendry Sumilo <[EMAIL PROTECTED]> wrote: >I would like how to refresh particular browser with a new updated data when >the user has updated it at another browser. >Purpose of doing this is particular user won't user overwrite new value if >he uses another browser t

Re: [PHP] Quotes

2001-01-14 Thread Chris Adams
On 14 Jan 2001 10:38:12 -0800, rodrigo <[EMAIL PROTECTED]> wrote: >However, yesterday I was typing in an English name that had a single >quote (say, like O'reilly) and the SQL querie was all wrong. You need to escape the special characters (' becomes '' or \' depending on database flavor). PHP's

Re: [PHP] WML/WAP and PHP

2001-01-16 Thread Chris Adams
On 16 Jan 2001 05:05:18 -0800, Rick Hodger <[EMAIL PROTECTED]> wrote: >Here's a fun little thing I discovered, possibly a bug in PHP itself? > >To output a WAP page you must output a content-type header else the phone's >browser won't recognise the page. Dead simple. Use: > >header("Content-type:

Re: [PHP] Internals of Session files

2001-01-18 Thread Chris Adams
On 18 Jan 2001 08:28:50 -0800, Eivind Trondsen <[EMAIL PROTECTED]> wrote: >Can someone shed any light on the internals of the session file >format? Is it documented somewhere? > >We are building a system to log user paths, and are thinking of >harvesting PHP session objects to accomplish this. Has

Re: [PHP] CSS and PHP

2001-01-18 Thread Chris Adams
On 18 Jan 2001 08:58:45 -0800, Brandon Orther <[EMAIL PROTECTED]> wrote: >I am making a script that creates a dynamic htm page. One of the many >things that this script does is change the css. The problem I am having is >that it doesn't seem to display the css when it is loaded through the web >

Re: [PHP] XML Parser is a bit strict

2001-01-18 Thread Chris Adams
On 18 Jan 2001 14:28:16 -0800, Chris Lee <[EMAIL PROTECTED]> wrote: >I dont know if you can use XHTML syntax in XML, I dont think it works like >this, I think XML is more strict. XHTML *is* XML - it's just HTML reformulated so that a valid XHTML document can be parsed by a normal XML parser witho

Re: [PHP] IMAP - attachment-information

2001-01-23 Thread Chris Adams
On 23 Jan 2001 06:36:02 -0800, Jochen Kächelin <[EMAIL PROTECTED]> wrote: >How can I extract the information >about email attachments using the IMAP-functions? Use imap_fetchstructure(). It returns a pretty large array, so you'll probably want to spend some quality time with the documentation and

Re: [PHP] Maximum execution time

2001-01-23 Thread Chris Adams
On 23 Jan 2001 07:47:03 -0800, Liam Gibbs <[EMAIL PROTECTED]> wrote: >Can anyone tell me how to up the max. execution time in PHP? I know it's = >been said before, but I can't remember how it's done. You can change the value max_execution_time in php.ini, or your apache configuration files. If yo

Re: [PHP] Join causing Error?

2001-02-25 Thread Chris Adams
On 25 Feb 2001 00:20:37 -0800, Keith Spiller <[EMAIL PROTECTED]> wrote: > Line 284$result =3D mysql_query("SELECT q.questid, q.question, = Try changing this to something like $result = mysql_query("SELECT ...") or die(mysql_error()); and seeing what error is being returned by MySQL.

Re: [PHP] Temporarily turning off magic quotes?

2001-02-25 Thread Chris Adams
On 25 Feb 2001 09:15:08 -0800, Philip Olson <[EMAIL PROTECTED]> wrote: >> ini_set ('magic_quotes_gpc', 'off'); > >This will not work, ini_set cannot mess with magic_quotes setting, More precisely, it can change the setting but your PHP code will be executed after the magic quotes work has

Re: [PHP] Unwanted Characters

2001-02-25 Thread Chris Adams
On 24 Feb 2001 21:31:33 -0800, Clayton Dukes <[EMAIL PROTECTED]> wrote: >How do I remove unwanted/unprintable characters from a variable? > >$sometext =3D "Th=C0e c=D8ar r=F6=F8an over m=D6y dog" >needs to be filtered and reprinted as: >"The car ran over my dog" Strip everything which isn't in th

Re: [PHP] isset()

2001-02-25 Thread Chris Adams
On 25 Feb 2001 00:01:30 -0800, Mark Maggelet <[EMAIL PROTECTED]> wrote: >On Sat, 24 Feb 2001 17:51:07 +0100, Christian Reiniger >([EMAIL PROTECTED]) wrote: >>On Saturday 24 February 2001 17:18, PHPBeginner.com wrote: >>> in my preceding email I've written: >>> >>> if($var!='') >>> >>> will fix yo

Re: [PHP] Plugin Detection with PHP?

2001-02-25 Thread Chris Adams
On 25 Feb 2001 04:37:21 -0800, Andy Clarke <[EMAIL PROTECTED]> wrote: >Is there a way to use PHP to tell whether a user's browser has a particular >plugin? ... >I know that this can be done using Javascript, but as this can be turned >off by the user etc, it seemed as though it would be more relia

Re: [PHP] Simple String Replace Question

2001-02-25 Thread Chris Adams
On 25 Feb 2001 10:34:27 -0800, Jeff Oien <[EMAIL PROTECTED]> wrote: >I would like to get rid of \n characters unless there >are two or more in a row. So for example if there The Perl-compatible regular expressions support lookahead and look behind: $str = 'abcdefabcaadd'; echo "$str\n"; $str = p

Re: [PHP] Simple String Replace Question

2001-02-25 Thread Chris Adams
On 25 Feb 2001 14:37:02 -0800, Jeff Oien <[EMAIL PROTECTED]> wrote: >> On 25 Feb 2001 10:34:27 -0800, Jeff Oien <[EMAIL PROTECTED]> wrote: >> >I would like to get rid of \n characters unless there >> >are two or more in a row. So for example if there >> >> The Perl-compatible regular expressions

[PHP] Developer certifications

2001-02-28 Thread Chris Adams
Does anyone know of a company which is offering or planning to offer PHP developer certifications? Arguments against certification programs aside[1], there are a lot of companies which prefer certified developers, even to the point of assuming a project done in ASP will be better than the same thi

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

Re: [PHP] stumped on mailing a complete page

2001-03-05 Thread Chris Adams
On 3 Mar 2001 17:17:15 -0800, Brett <[EMAIL PROTECTED]> wrote: >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. ob_start(); // do something mail('confirm@somewhere', 'confirmation', ob_get_contents()); ob_e

Re: [PHP] NETSCAPE Screws QUERY STRING!!!!!!

2001-03-05 Thread Chris Adams
On 4 Mar 2001 04:17:18 -0800, Thomas Edison Jr. <[EMAIL PROTECTED]> wrote: >The Internet Explorer converts the spaces in a query >string into it's hexadecimal value of "%20" >automatically, but netscape is not doing so. It's not >reading the space and thus not displaying the page at >all and givin

Re: [PHP] How to tell if client has cookies turned off?

2001-03-06 Thread Chris Adams
On 6 Mar 2001 07:53:46 -0800, kevin1 <[EMAIL PROTECTED]> wrote: >How can I tell reliably if someone has cookies turned off? Set a cookie on your site (perhaps the homepage?) and use code like this: if (!empty($UserHasCookies)) { echo 'Whew - you do have cookies';

Re: [PHP] Auto Prepend/Append

2001-03-06 Thread Chris Adams
On 6 Mar 2001 08:13:00 -0800, Boget, Chris <[EMAIL PROTECTED]> wrote: >Is it possible to use the auto prepend/append directives to >prepend/append particular files only to files with a particular >extension? I don't believe you can do this directly with PHP but you probably can with Apache:

Re: [PHP] date

2001-03-11 Thread Chris Adams
On 11 Mar 2001 10:25:25 -0800, FredrikAT <[EMAIL PROTECTED]> wrote: >I have 2 dates... >$start = "20010101"; >$end = "20010312"; Use mktime() (http://www.php.net/manual/en/function.mktime.php) on those strings to convert them into Unix timestamps: $start_time = mktime(0,0,0, substr($sta

Re: [PHP] Sending "pretty" email

2001-03-11 Thread Chris Adams
On 11 Mar 2001 10:57:32 -0800, Michael Geier <[EMAIL PROTECTED]> wrote: >So don't refrain from doing it because some people say it shouldn't be done >for one reason or another. Simply fix those reasons so they don't know any >different. I'll second this - while I personally consider HTML email a

Re: [PHP] MAIL And PHP Question

2001-03-12 Thread Chris Adams
On 12 Mar 2001 21:47:44 -0800, James Lamb <[EMAIL PROTECTED]> wrote: >Can PHP talk directly to the SMTP server, i know that there is a mail() >function but this cannnot specify the reply-to and from addresses easily. Yes, but it's less work to specify reply-to and from using mail(). If you do wan

Re: [PHP] Two Way Encryption

2001-03-13 Thread Chris Adams
On 13 Mar 2001 03:40:30 -0800, Joe Njeru <[EMAIL PROTECTED]> wrote: >I'm looking for a two way encryption function that I can use to encrypt a >cookie value. I have had experience with MD5 but its one way. Is there one I >can use with a key in php? Check out the mcrypt extension for conventional

Re: [PHP] SVG Scripting

2001-03-14 Thread Chris Adams
In php.general, you wrote: >I know (at least the claim) that PHP can do marvelous thing to Flash >files (with libswf), presumably including "streaming" realtime >feedback of a script's action. It can't. PHP can generate Flash files directly (and using Ming - it beats libswf handily - http://www

Re: [PHP] Statistics function

2001-03-14 Thread Chris Adams
On 14 Mar 2001 22:11:10 -0800, Rick St Jean <[EMAIL PROTECTED]> wrote: >All through this process there is a live thread between your browser and >the server. >unless you send a cancel. One minor addition - the connection will close when you hit cancel but the PHP code can continue running if you

Re: [PHP] Statistics function

2001-03-14 Thread Chris Adams
On 14 Mar 2001 21:39:05 -0800, Lauri Vain <[EMAIL PROTECTED]> wrote: >How does the behind the scenes work by PHP exactly go? Does the PHP thread >remain active so long as the information is sent to the visitor? Or will PHP >parse the code and send it to Apache which will send the data to the user

Re: [PHP] how fast is php

2001-03-15 Thread Chris Adams
On 15 Mar 2001 17:56:18 -0800, Randy Johnson <[EMAIL PROTECTED]> wrote: >I have a question. can a 1 php script access a mysql database more than 10 >times a second it's a simple updated statement? if it can how many >times do you think it can access the database in a second? Sure, dependi

Re: [PHP] Benchmarks

2001-03-16 Thread Chris Adams
On 16 Mar 2001 04:39:06 -0800, Phil Driscoll <[EMAIL PROTECTED]> wrote: >http://www.perlmonth.com/features/benchmarks/benchmarks.html?issue=4&id=9351 >4159 > >A performance comparison of various web scripting languages. PHP does rather >well! It's also important to note that their comment that PH

Re: [PHP] converting DATETIME to a readable date.

2001-04-14 Thread Chris Adams
On 14 Apr 2001 17:31:02 -0700, DRN <[EMAIL PROTECTED]> wrote: >$date = $row["date"]; > >$new_date = date("l, j M Y, G:i:s", strtotime($date)); >~~ > >but I cannot get this to work :(, I get an "unexpected error in >date()" At a guess strtotime() is choking on the format MySQL used to return the d

Re: [PHP] Which is better coding style...

2001-04-19 Thread Chris Adams
On 19 Apr 2001 14:08:13 -0700, ..s.c.o.t.t.. [gts] <[EMAIL PROTECTED]> wrote: >OOooo... > >it drives me nuts when i see beginning brackets >on seperate lines ;) > >i like to start brackets on the same line as the >statement and finish them on a line of their own. Very strong agreement here. I thi

Re: [PHP] help!! newbie

2001-04-22 Thread Chris Adams
On 21 Apr 2001 19:26:03 -0700, McShen <[EMAIL PROTECTED]> wrote: >then, should i do this? >--- >$query = "SELECT * FROM refer ORDER BY hits desc LIMIT $i,$end"; Is $end set at this point? Also, if you always want to display 15 records, this could just be LIMIT $i, 15. -- PHP General Mailing Li

Re: [PHP] count() problem :D

2001-04-27 Thread Chris Adams
On 27 Apr 2001 19:50:04 -0700, Chris Schneck <[EMAIL PROTECTED]> wrote: >anywho, im having problems getting data out of the count() function i've >implemented, could anyone lend a hand? > >$query = "select count(fld_gender) from tbl_survey"; > >how exactly is it that you output dat

Re: [PHP] Browser Caching

2001-04-29 Thread Chris Adams
On 29 Apr 2001 07:19:15 -0700, Steve Haemelinck <[EMAIL PROTECTED]> wrote: > I thought this was because the page might be cached, but when I set the > header("cache-control: no-cache") & the meta tag http-equiv="Expires" > content="-1" it still produces the same effect. How can I solve this > pro

Re: [PHP] why isn't get_browser() not working?

2001-04-30 Thread Chris Adams
On 30 Apr 2001 00:51:13 -0700, elias <[EMAIL PROTECTED]> wrote: > hello. > i'm trying to detect what browser version is there...i'm using get_browser() > as it was documented: > Check to see if your browscap file is being picked up - try something like this: echo count(file(ini_get("bro

Re: [PHP] Need to know this

2001-05-03 Thread Chris Adams
On 3 May 2001 20:19:51 -0700, YoBro <[EMAIL PROTECTED]> wrote: > ASP or PHP and who has the biggest market share. Which is better is a subject of some debate. Suffice it to say that most of the people on this list will say PHP. I personally consider ASP a good idea only if you have a heavy Micros

Re: [PHP] Netscape and post

2001-05-04 Thread Chris Adams
On 4 May 2001 21:48:46 -0700, Richard Kurth <[EMAIL PROTECTED]> wrote: > I am having problems with Netscape and post in a form > In I.E. post works fine but in netscape it just gives me a > Method Not Allowed > The requested method POST is not allowed for the URL /scripts/index.html. > > > > Why

Re: [PHP] Flash/PHP/MySQL

2001-05-06 Thread Chris Adams
On 6 May 2001 10:25:19 -0700, FredrikAT <[EMAIL PROTECTED]> wrote: > Can Flash import some text from a database (e.g MySQL) and print it on the > fly? Yes. It's actually pretty easy - you can tell flash to load a bunch of variables from a URL. Your URL can return the encoded data (basically a URL

Re: [PHP] php4apachi.dll

2001-05-06 Thread Chris Adams
On 6 May 2001 05:53:54 -0700, Darren <[EMAIL PROTECTED]> wrote: > Hi. I just installed a fresh copy a windows 95. I installed winsock 2, > apache 1.3.19 and php4. I followed the instructions with the php > installation and I booted apache, I got a missing dll error message from > apache. I got the

Re: [PHP] OT question..

2001-05-08 Thread Chris Adams
On 8 May 2001 16:43:03 -0700, Stephan Ahonen <[EMAIL PROTECTED]> wrote: >> I ment the signature signed by Adolf Hitler. As a German I doesnt like >> such nonsense. BTW I'm also a webmaster @ php.net. > > I side with Christian here - The only way we can prevent mistakes like the > whole Hitler thi

Re: [PHP] Redirection in PHP ? (newbie)

2001-05-14 Thread Chris Adams
On 14 May 2001 16:54:49 -0700, Nicolas Mermet <[EMAIL PROTECTED]> wrote: > To avoid spamming my db I would like to implement a simple redirection > function, that would redirect the user to the main admin page once the > feeding script has successfully executed and would reduce chances of > double

Re: [PHP] need some ideas here...

2001-05-14 Thread Chris Adams
On 14 May 2001 16:59:48 -0700, Christian Dechery <[EMAIL PROTECTED]> wrote: > My free-web-hosting (www.f2s.com) does not allow PHP to send emails... I've > tried everything... the mail() function, my alternate function which calls > popen("/usr/lib/sendmail -t") and even a script.cgi with '#!/us

Re: [PHP] need some ideas here...

2001-05-14 Thread Chris Adams
On 14 May 2001 19:04:43 -0700, Ben Gollmer <[EMAIL PROTECTED]> wrote: > If you have an account on a remote host, you can always do something > like this: > > include("http://www.remotehost.com/~myaccount/mailfunction.inc";); > > mymail($to, $mailbody); > ?> > > where mailfunction.i

Re: [PHP] Browscap.ini

2001-05-19 Thread Chris Adams
On 19 May 2001 22:13:05 -0700, Weston Houghton <[EMAIL PROTECTED]> wrote: > I cannot for the life of me get browscap.ini to work. > > Also the browserhawk version of the browscap.ini is sadly out of date. > Anyone have any leads for me on getting this to work? I consistently get an > empty array

[PHP] Re: MySQL - UPDATE & INSERT

2002-04-05 Thread Chris Adams
In article <[EMAIL PROTECTED]>, Phil Schwarzmann wrote: > $query = "UPDATE table SET (var1, var2, var3) VALUES ($var1, $var2, > $var3) WHERE username='$username'"; > > > Im wondering cause I have an INSERT query > > $query = "INSERT INTO table (var1, var2, var3) VALUES ($var1, $var2, > $

[PHP] Re: help condensing regular expressions

2002-04-05 Thread Chris Adams
In article <[EMAIL PROTECTED]>, Tom Rogers wrote: > I am trying to calculate how far into a directory structure I am so that I > can include images and include files without having to hard code them. > I need to turn $PHP_SELF which could be /admin/emails/index.php into ../../ > which I can then

Re: [PHP] Re: help condensing regular expressions

2002-04-05 Thread Chris Adams
In article <[EMAIL PROTECTED]>, Tom Rogers wrote: > Thats what I was after :) Glad I could help. > At the top of each page I now do > > $reltoroot = preg_replace("|/[^/]+|", "../", dirname($_SERVER['PHP_SELF'])); > ini_set ("include_path",ini_get("include_path").":".$reltoroot."../include"); >

[PHP] Re: regular expressions: HUGE speed differences

2002-04-06 Thread Chris Adams
On Sat, 06 Apr 2002 15:01:24 +0300, Ando <[EMAIL PROTECTED]> wrote: > (eregi("(]*src[[:blank:]]*=|href[[:blank:]]*=|http-equiv=['\"]refresh['\"] You might want to try using preg_match instead. The PCRE engine should be significantly faster. You might also find the ability to pass an array of expr

[PHP] Re: how to sort by value in associative array

2002-04-06 Thread Chris Adams
On Sat, 6 Apr 2002 10:36:18 -0600, Peter J. Schoenster <[EMAIL PROTECTED]> wrote: > $ArrayOfNewsLinks = array( > "http://dailynews.yahoo.com/fc/World/Brazil/"; => array( > title => 'Yahoo Brazil News', > category => 'news', > language => 'English', > > ), ... > function cmp ($a,

Re: [PHP] Re: how to sort by value in associative array

2002-04-07 Thread Chris Adams
On Sat, 6 Apr 2002 18:21:10 -0600, Peter J. Schoenster <[EMAIL PROTECTED]> wrote: > I tried the above. > > uksort ($ArrayOfNewsLinks, "SortByValue"); > > function SortByValue ($a, $b) { > if ($a["language"] == $b["language"]) return 0; > return ($a["language"] > $b["language"]) ? 1 : -1;

[PHP] Re: PHP from HTML

2002-04-07 Thread Chris Adams
On Sun, 7 Apr 2002 20:03:42 +0200, Matja¾ Prtenjak <[EMAIL PROTECTED]> wrote: > SERVER1 with PHP some file with name xTest.php > xTest.php: > > > SERVER2 without PHP some file with name file1.html > file1.html: > > > Server1 is saying : ? > > > > How can I make HTML file (on SERV

[PHP] Re: PHP from HTML

2002-04-08 Thread Chris Adams
On Mon, 8 Apr 2002 10:18:50 +0200, Matjaz Prtenjak <[EMAIL PROTECTED]> wrote: > > Except on PHP side I have to produce javascript code without

Re: [PHP] form

2001-03-31 Thread Chris Adams
On 31 Mar 2001 20:33:56 -0800, LDL Enterprise <[EMAIL PROTECTED]> wrote: > Could someone please give me a clue. I have a form > that pulls the quantity from a mysql database. I want the user to be > able to update the quatity by just entering the new quantity and when > th

Re: [PHP] ereg

2001-03-31 Thread Chris Adams
On 31 Mar 2001 21:07:59 -0800, Michael Hall <[EMAIL PROTECTED]> wrote: > >I'm using the following expression to check input strings: > >if (!ereg("^[[:alnum:]_-]+$", $string)) { get outta here! } > >This works fine except for when a string has spaces, as in text. What do I >need to add to the expr

Re: [PHP] form

2001-03-31 Thread Chris Adams
On 31 Mar 2001 22:03:54 -0800, Sean Weissensee <[EMAIL PROTECTED]> wrote: >I have a shopping cart system I wrote which display several detail lines >of items purchased, at the moment if the user changes a quantity they have >to manualy >click a link to recalulate the total, I would like this to ha

Re: [PHP] Ming and flash detection

2001-04-02 Thread Chris Adams
On 2 Apr 2001 07:58:42 -0700, Jason Stechschulte <[EMAIL PROTECTED]> wrote: >// This movie simply redirects to the appropriate page. >$m->add(new SWFAction("getURL('$thisURL', ''); stop();")); >I added code to write $thisURL to a file so I could see if it is getting >passed correctly, and it is.

Re: [PHP] Programming Jobs - what I look for.

2001-04-02 Thread Chris Adams
On 2 Apr 2001 06:49:02 -0700, Michael Kimsal <[EMAIL PROTECTED]> wrote: >* Willingness to work weekends/evenings, if need be, to meet deadlines. With the requirement that this should only be a temporary thing and rewarded appropriately (preferably with time off after the deadline). If it's become

Re: [PHP] redirecting without headers or meta tags or javascript

2001-04-03 Thread Chris Adams
On 3 Apr 2001 06:26:47 -0700, Justin French <[EMAIL PROTECTED]> wrote: >> (3) Use output buffering > >huh? appreciate mroe on this... put ob_start() at the top of your page and ob_end_flush() at the bottom. PHP will store all of the output instead of sending it to the browser. If you put a heade

Re: [PHP] measuring cpu time

2001-04-03 Thread Chris Adams
On 3 Apr 2001 19:29:14 -0700, Brian Hardwick <[EMAIL PROTECTED]> wrote: >Im trying to optimize some php/mysql code. Does anyone know a way to >measure the amount cpu time a php script consumes? Check out the POSIX functions - in particular the posix_times() function, which not only shows CPU tim

Re: [PHP] Not important - Simple question about microsec()

2001-04-03 Thread Chris Adams
On 3 Apr 2001 20:31:28 -0700, SED <[EMAIL PROTECTED]> wrote: >I think the latter part of the value is Unix-time in sec (right?), but what >does the former part say like: 0.25576700 ?!? For some reason, microtime() returns results backwards - the first part is the decimal portion of the second par

Re: [PHP] Sneaky solution

2001-04-03 Thread Chris Adams
On 3 Apr 2001 21:02:34 -0700, Les Neste <[EMAIL PROTECTED]> wrote: >Correct me if I'm wrong, but isn't it possible to fake the referrer? Quite easily, even when doing it by hand using telnet or netcat. >This may not matter for your application -- are you writing a financial app >or a personal

Re: [PHP] PHP and MD5 passwords?

2001-04-04 Thread Chris Adams
On 4 Apr 2001 08:06:06 -0700, Chris Hutton [RaptorNet] <[EMAIL PROTECTED]> wrote: >How would I go about using PHP to take an entered password, and check it >against an encyrpted MD5 password in a database or flat-file? retrieve the record you'd like to check and compare it to md5($UserEnteredPas

Re: [PHP] PHP with Win2k or Linux

2001-04-04 Thread Chris Adams
On 4 Apr 2001 19:12:52 -0700, Frank K <[EMAIL PROTECTED]> wrote: >Does anyone know is there are advantages to running linux while = >developing php? I just would like to know if there is anything special = >to installing and developing on linux before I move from Win2k?? Three advantages:

Re: [PHP] Commercial sites that use PHP

2001-04-10 Thread Chris Adams
On 10 Apr 2001 06:52:07 -0700, Phil Labonte <[EMAIL PROTECTED]> wrote: >Can anyone send me a list of large commercial web sites that use PHP? Cribbed mercilessly from a number of sources: http://gateway.digitaria.com/~chris/php/sites.html -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] removing slashes from template file

2001-04-12 Thread Chris Adams
On 12 Apr 2001 19:20:44 -0700, Franklin Hays <[EMAIL PROTECTED]> wrote: >Any ideas? I have tried using stripslashes() in the 'script' above but get >errors. Is there something unique to the php cgi I am missing? Something >else? Check your magic quotes settings on both systems using phpinfo(). I

Re: [PHP] removing slashes from template file

2001-04-12 Thread Chris Adams
On Thu, Apr 12, 2001 at 09:01:22PM -0700, Franklin Hays wrote: > > Chris, > > This is correct. The provider has the following: > > magic_quotes_gpc ON ON > magic_quotes_runtime ON ON > magic_quotes_sybase OFF OFF > > and I have: > > magic_quotes_gpcON ON >

Re: [PHP] Server VS Client script validation

2001-01-30 Thread Chris Adams
On 29 Jan 2001 13:38:20 -0800, kaab kaoutar <[EMAIL PROTECTED]> wrote: >What's best ? using client script while validating form inputs(javasript or >vbscript) or using php for validating! The only acceptable approaches must be server side - otherwise you've just decided that security and reliabi

Re: [PHP] MySQL --- OR in a select statement ???

2001-02-05 Thread Chris Adams
On 5 Feb 2001 21:27:13 -0800, Dallas Kropka <[EMAIL PROTECTED]> wrote: >SELECT first_name FROM admin_table, user_table WHERE userNum = 1000 > > The info will only be in one or the other but what (if any) is the >correct syntax? You mean something like SELECT first_name FROM users

Re: [PHP] solution

2001-02-05 Thread Chris Adams
On 5 Feb 2001 23:31:17 -0800, andreas \(@work\) <[EMAIL PROTECTED]> wrote: >a 404 php-file which extracts the path and generates a page for that out of >mysql > >or is there a better solution out there ? This approach can work and, properly done, work fairly well. However, a more elegant approac

Re: [PHP] Parse WML to PHP?

2001-02-08 Thread Chris Adams
On 8 Feb 2001 06:24:20 -0800, Kato Strandjord <[EMAIL PROTECTED]> wrote: >How is it possible to parse a WML strin variable with a value="SO480", and >parse over to a PHP strin variabl , so you can use it to in a PFP function. >I get a error messages in M3gate WAP emulator, an UP SDK emulator telli

Re: [PHP] Pop-up warning dialog box

2001-02-18 Thread Chris Adams
On 18 Feb 2001 20:54:16 -0800, Edith Lai <[EMAIL PROTECTED]> wrote: >If i want to validate a form and check for empty input which then will >produce a pop up warning dialog box, what should i do? Read up on your JavaScript. And consider whether this is really a good idea - many people find it ann