[PHP] Re: Generating forms using OOP

2002-12-09 Thread Scott Hurring
Here's an OOP function from an HTML class i wrote to simplify forms myself -- It might come in handy for ya later :-) // Single Select dropdown box /* @params $name String Name of this form element $items Array Array of items to place in this select box $selected String Single item to s

Re: [PHP] Linux and Graphics

2002-12-09 Thread Scott Hurring
With RedHat, AFAIR you have to compile PHP from source *after* first configuring the GD libraries. It's always been a massive PITA when i've had to compile PHP on Redhat with Graphic ext's -- try debian instead ;-) -- Scott Hurring Systems Programmer EAC Corporation scott (*)

Re: [PHP] writing to mysql using php

2002-12-09 Thread Scott Hurring
You're limited to one action per statement, not one record. Using "UPDATE ... WHERE", you can update any number of rows with a single SQL statement. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Hugh Danaher" <[EMAIL PROTECTED]> wrote i

Re: [PHP] Dynamic vs. Static

2002-12-09 Thread Scott Hurring
ce when i forgot, and ended up having a more recent command line version than apache module and couldn't figure out why cmdline scripts were acting differently than when served up thru apache. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- <[EMAIL PROTECTED]> wrote

Re: [PHP] Re: Not able to connect to FTP server

2002-12-09 Thread Scott Hurring
p.ini) -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Adam Voigt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Umm, try this: $ftp = ftp_connect("ftp.direw.net") or die("Couldn't connect.

[PHP] Re: # of lines in a file

2002-12-09 Thread Scott Hurring
l you find the line you want) TIMTOWTDI :-) -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hey guys, I've been searching the manual for a way to grab the number of &

[PHP] Re: Displaying output from MySQL

2002-12-11 Thread Scott Hurring
Add 0 -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Beauford.2002" <[EMAIL PROTECTED]> wrote in message 001b01c2a1af$b9995e20$6401a8c0@p1">news:001b01c2a1af$b9995e20$6401a8c0@p1... > Hi, > > Not sure if this is a PHP of a MySQL que

[PHP] Question about "if" statement evaluating (0=="string") as TRUE

2002-12-13 Thread Scott Hurring
Erm... this seems a bit odd to me. I'm using PHPv4.2.2 on Win32 Is that becuase PHP is not properly comparing the numerical value with the string value? -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- -- PHP General Mailing List (http://www.php.net

[PHP] Re: newbie - decimal places in arthimetic functions

2002-12-13 Thread Scott Hurring
round it http://www.php.net/manual/en/function.round.php -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Max Clark" <[EMAIL PROTECTED]> wrote in message atdba1$2id$[EMAIL PROTECTED]">news:atdba1$2id$[EMAIL PROTECTED]... > Hi- > > How

Re: [PHP] Question about "if" statement evaluating (0=="string")as TRUE

2003-02-03 Thread Scott Hurring
I figured it was along those lines... i know that perl also caught me a few times becuase perl differentiates between "==" and "eq" for numerical or string comparisions. I'll probaly end up using the "===", becuase i've got a severe aversion to using fu

[PHP] Re: Auto Increment Problems....

2002-07-30 Thread Scott Hurring
ite... please check there in the future for MySQL questions -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Georgie Casey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > rite, > > my primary key col

RE: [PHP] setup php apache

2002-06-05 Thread Scott Hurring
using CGI version of PHP, using PHP as a module is a bit more involved, but still very simple) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Mac Ne [mailto:[EMAIL PROTECTED]] > Sent: Wednesd

RE: [PHP] Passing variable to new page and pulling the rest of info from database

2002-06-05 Thread Scott Hurring
Ahhh! quote that ID number before using it in a query! :) // for mysql mysql_quote($_GET['ID']); --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: 1LT John W. Holmes [mailto:

RE: [PHP] Retrieving data from a URL in PHP

2002-06-05 Thread Scott Hurring
lt;\/b>)/",$contents, $quote)) { echo "$symbol was sold at: "; echo $quote[1]; } else { echo "No quote available."; } echo ""."This information retrieved from"."$theurl"."on ".(date("l jS F Y g:i a T")); --- Sc

RE: [PHP] Passing variable to new page and pulling the rest of info from database

2002-06-05 Thread Scott Hurring
ing vars to all hell and back to verify contents, i still quote. i'm paranoid. :) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]] > Se

RE: [PHP] OOP Question in PHP

2002-06-05 Thread Scott Hurring
; But that's just my view... there are as many different views on OO as there are programmers :) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Henry Blackman [mailto:[EMAIL PROTECTED]] > Sen

RE: [PHP] Is this possible

2002-06-05 Thread Scott Hurring
Since you didnt include the code for InsideClass, i can only assume that you're probably getting errors becuase "$bob" is not initialized anywhere. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original M

RE: [PHP] htaccess

2002-06-05 Thread Scott Hurring
Try creating an .htaccess protected script, and do a var_dump($GLOBALS) to see what vars are set, and if any of them contain the name you logged in with. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Mess

RE: [PHP] php and javascript question

2002-06-05 Thread Scott Hurring
As someone else suggested a few days ago: try using an IFRAME, and refreshing it from javascript with the values you need. The whole browser will not refresh, just the IFRAME, which will give the illusion of jscript and php talking to each other in realtime. --- Scott Hurring Systems Programmer

RE: [PHP] Need some suggestions about "community" :)

2002-06-05 Thread Scott Hurring
n Database Normalization for some good design pointers: http://home.earthlink.net/~billkent/Doc/simple5.htm --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Hawk [mailto:[EMAIL PROTECTED]] > Sent: Wednesd

RE: [PHP] Finding out how a variable was registered

2002-06-05 Thread Scott Hurring
Yes, but you really must realize how utterly easy it is to POST bogus variables to a form (Save the page as HTML, edit, load in browser, submit -- bingo).If you're using the assumption "these vars were POSTed, so they're safe", you're begging for trouble.

RE: [PHP] Re: Finding out how a variable was registered

2002-06-05 Thread Scott Hurring
your work. (But then again, if you get anyone that's smart and committed, it's just a matter of time before he will figure out *some* loophole to subvert your forms) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 >

RE: [PHP] Re: PHP Apache Module AND command Line

2002-06-05 Thread Scott Hurring
Grab the PHP ZIP, unzip it, add it to your PATH. done. :-) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 05, 200

RE: [PHP] Arrays: Please help before I go insane?

2002-06-06 Thread Scott Hurring
Try: $ary["this"] = array("that" => 1); --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Chris Boget [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 06, 2002 1:4

RE: [PHP] Re: Anyone?

2002-06-06 Thread Scott Hurring
ert it. Buffer overflows in "C", and flawed Double-byte char support in "IIS", to name a few recent and better-known exploits. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Ada

RE: [PHP] [PLEASE HELP] Passing variable to new page.

2002-06-06 Thread Scott Hurring
Javascript, being silly, has silly string rules: function pop1($id) { window.open("info.php?prod_id="+ $id); } --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Chris Knip

RE: [PHP] FW: NEED HELP (passing variable to new page)

2002-06-06 Thread Scott Hurring
to answer every question, especially when the questions aren't related to PHP, or are really vauge or common or just plain silly :-) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: 1LT J

RE: [PHP] Can I get back a deleted row from mysql?

2002-06-06 Thread Scott Hurring
Nope. For future reference, perhaps create two identical tables, one for actual live data and one for trash, and instead of deleting anything, just move it all into the trash table. then, you can purge the trash table every few days/months. --- Scott Hurring Systems Programmer EAC Corporation

RE: [PHP] Arrays: Please help before I go insane?

2002-06-06 Thread Scott Hurring
this"]["that"] = 1; --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Chris Boget [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 06, 2002 3:43 PM > To: Scott Hurring > Cc:

[PHP] Some generic pointers for secure writing (was Re: Anyone?)

2002-06-06 Thread Scott Hurring
into bug hell. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Jas [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 06, 2002 3:48 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Re: A

RE: [PHP] Trying to list a directory content HELP PLEASE

2002-06-06 Thread Scott Hurring
d* work, but you'll never know why it's not working if you don't check return statuses --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Jason Wong [mailto:[EMAIL PROTECTED]] > S

RE: [PHP] OOP style question

2002-06-06 Thread Scott Hurring
iables $this->cleanup($form); } function cleanup($form) { // Only run once per instance if ($this->cleanup_called) return 1; $this->cleanup_called = 1; // ... do cleanup } --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax

[PHP] RE: Possible bug? (was Re: [PHP] Arrays: Please help before I go insane?)

2002-06-06 Thread Scott Hurring
NOT an Array -- very very important difference) Here's my output of the code below: SET == SET Passing to getParentNodes: currentBranch[one][two] = Array --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message

RE: [PHP] Weird intermittent "No Database Selected" problem

2002-06-06 Thread Scott Hurring
I assume you're not checking the status returned by the database function calls, becuase they'd probably give you valueable information on *why* it's doing that. :) try checking the return val, and (if using mysql) print out mysql_error() if you get a bad return val. --- Scott

RE: [PHP] very simple eregi / loop question

2002-06-07 Thread Scott Hurring
eregs) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Robert [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 07, 2002 4:46 PM > To: [EMAIL PROTECTED] > Subject: [PHP] very simple e

[PHP] Re: url string

2002-06-10 Thread Scott Hurring
Did you verify that the variables actually contain data? They're probably empty, which is why they dont seem to be passing correctly. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Kris Vose" <[EMAIL PROTECTED]> wrote in message [EMAIL PR

Re: [PHP] cut text?

2002-06-11 Thread Scott Hurring
Try (this is untested) if (length($string) > 30) { print substr($string, 0, 30) ."..."; } else { print $string; } --OR-- (if you want to over-write $string) $string = ((length($string) >= 30) ? substring($string, 0, 30) ."..." : $string ); -- Scott Hurr

[PHP] Re: Emulating a class destructor

2002-06-11 Thread Scott Hurring
This is completely off the top of my head (i've never done this before) -- but try single-quoting it to prevent interpolation register_shutdown_function('$this->cleanup()'); -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "William_dw -- Sqlco

Re: [PHP] Re: GOTO command. Doest it exist?

2002-06-11 Thread Scott Hurring
Well, IMO, the only languages that really need goto's are low-level ones like assembly and C. goto's are more trouble than they're worth when you get into structured or OO programming. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Carlos U. Ci

Re: [PHP] Re: Emulating a class destructor

2002-06-11 Thread Scott Hurring
e call close()"; $this->close(); } function close(){ //close open sockets, etc. } } // End of class function cRoute_Destructor($x) { $x->cleanup(); } // end of cRoute.inc $test = new cRoute(); exit; -- Scott Hurring Systems Programmer EAC Corpor

[PHP] Re: is preg_replace the fastest way?

2002-06-11 Thread Scott Hurring
I think this is similar to what you're asking for, but it's probably slower (you have to split(), traverse, then join()) foreach ($noiselist as $noise) foreach ($inputlist as $input) if ($noise == $input) // do something -- Scott Hurring Systems Programmer EAC Corpora

[PHP] Re: form post

2002-06-12 Thread Scott Hurring
There's no way to for PHP to say "Yo, let's ride... submit that form" Client-side manipulations must be done client-side, with javascript or something similar. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Kris Vose" <[EMAIL PR

Re: [PHP] Re: PHP does not work??

2002-06-26 Thread Scott Hurring
to "hide" submitted data, rather, build a stronger backend. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi Erik! > > This is my 2nd

Re: [PHP] Final Year Computer Science Project involving PHP

2002-07-12 Thread Scott Hurring
:-) There's a million things you could do, that's the beauty and curse of knowing how to program... too many projects and ideas, not enough time. -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Jay Blanchard" <[EMAIL PROTECTED]> wrote

Re: [PHP] ' giving problem while inserting in table.

2002-07-12 Thread Scott Hurring
or, more appropriately, use the database-specific escape function... for mysql: http://www.php.net/manual/en/function.mysql-escape-string.php http://www.php.net/manual/en/function.mysql-real-escape-string.php -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "M

[PHP] Re: IIS Bugs???

2002-07-12 Thread Scott Hurring
There's a problem with IIS and the rest of the world :-) -- Scott Hurring Systems Programmer EAC Corporation scott (*) eac.com -- "Brian McGarvie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... OK This is a followon from my Browser

[PHP] Error compiling PHP-4.2.1 on linux

2002-05-17 Thread Scott Hurring
1 in /usr/local/bin/php on line 3391 Warning: Unexpected character in input: '' (ASCII=4) state=1 in /usr/local/bin/php on line 3392 Warning: Unexpected character in input: '' (ASCII=27) state=1 in /usr/local/bin/php on line 3393 Parse error: parse error, unexpected T_STRING in /usr

RE: [PHP] $answers[answer$n]

2002-05-17 Thread Scott Hurring
Try $answers["answer".$n] --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Jule [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 17, 2002 4:41 PM > To: [EMAIL PROTECTED] >

RE: [PHP] Newbie - create image error URGENT

2002-05-17 Thread Scott Hurring
Probably don't have the GD extension enaabled. On a win machine, it's easy, look in your php.ini and set the extensions_dir to where your extensions are then un-comment php_gd.dll --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 20

RE: [PHP] Variable won't work in function, even when I global it?

2002-05-20 Thread Scott Hurring
Or why not just use include_once() or require_once() ?? That's their purpose. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Paul Roberts [mailto:[EMAIL PROTECTED]] > Subject: Re:

RE: [PHP] PHP & Excel

2002-05-20 Thread Scott Hurring
Are you on a Win32 platform? If so, use COM... $cell = $sheet->Cells($row,$col); $cell->activate; $cell->formula = "your formula"; --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 >

RE: [PHP] PHP & Excel

2002-05-20 Thread Scott Hurring
> -Original Message- > From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]] > Subject: Re: [PHP] PHP & Excel > > I would think that you wouldn't need formulas. Isn't that the > idea of using > PHP to create the Excel document? Have PHP compute the values of the > "formulas" and print out

RE: [PHP] Expiring certain session data while keeping the session itself

2002-05-20 Thread Scott Hurring
te("U") > ($cookie_load+75)) { print "fetch from DB"; SetCookie("cookie_load", date("U")); } else { print "Loaded ($cookie_load), now ". date("U") ." -- NOT fetching\n"; } if (!$cookie_load)

RE: [PHP] Any Ideas "@" becomes "_Xy"

2002-05-20 Thread Scott Hurring
thing they're doing, you can use > str_replace(): http://www.php.net/manual/en/function.str-replace.php > > Enjoy, > > --Dan Perhaps they did it to thwart "smart" spambots that can translate "%40" to "@". --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Text file

2002-05-20 Thread Scott Hurring
... so open up the text file and read it. What problem are you having? Are permissions set correctly? Are you making sure to escape "\" on Win? --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Messag

RE: [PHP] Secure eval();

2002-05-21 Thread Scott Hurring
s are valid and present in the database. But like others have suggested, you should *really* look for a better way to do this. Putting text into a database and then blindly eval()'ing it later on is just begging for trouble. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] substr....what does this mean? (newbie)

2002-05-21 Thread Scott Hurring
e... it wants to be your friend. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: r [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 22, 2002 2:51 AM > To: [EMAIL PROTECTED] > Subject:

RE: [PHP] OOP with PHP

2002-05-21 Thread Scott Hurring
Try it out for yourself. :- class Test{ var $x = ''; function Test(){} } $x = new Test(); $y = new Test(); $x->x = "Way"; $y->x = "No"; print $y->x . $x->x; --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149

RE: [PHP] voting using text files

2002-05-22 Thread Scott Hurring
ssions and maintaining the filesystem that Miguel mentioned. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Jason Soza [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 22, 2002 3:26 PM >

RE: [PHP] voting using text files

2002-05-22 Thread Scott Hurring
file_append($file, $text); ?? --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Vail, Warren [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 22, 2002 3:46 PM > To: 'Rasmus Ler

RE: [PHP] Efficient PHP

2002-05-28 Thread Scott Hurring
en :), so i code for human efficiency and ease of maintenence, even if the code is a little bit slower than heavily optimized code. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How can I remove the last character from a one line file?

2002-05-28 Thread Scott Hurring
TIMTOWTDI $string = "Jacko"; print preg_replace('/.$/', '', $string); --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Ed Gorski [mailto:[EMAIL PROTECTED]] &

RE: [PHP] Re: Thread safe

2002-05-28 Thread Scott Hurring
I'm not sure if it's atomic, but (AFAIK) you can do something like this with Mysql: UPDATE table SET field=field+1 where ..... --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From:

RE: [PHP] Regex Assistance

2002-05-28 Thread Scott Hurring
mp;list=XXX&two=three"); print strip_key("list", "yadda?bo=ra&list=&two=three"); print strip_key("list", "yadda?list=XXX"); print strip_key("list", "yadda?list=XXX&two=three"); print strip_key("list",

RE: [PHP] auto_increment

2002-05-28 Thread Scott Hurring
Look at Sequences for Postgres. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: webmaster [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 28, 2002 7:12 AM > To: [EMAIL PROTECTED] >

Re: [PHP] Session Not Being Passed?

2006-05-19 Thread Scott Hurring
e a server name for this reason. If you simply use an absolute path, it'll point to whatever machine (local dev, live server, etc...) it happens to be running on without you having to care. i.e. -- Scott Hurring [scott dot hurring dot lists at gmail dot com] http://hurring.com/

Re: [PHP] Encryption Advice

2006-05-19 Thread Scott Hurring
your first-level of defense is simply "nobody else is on the box", then you can worry a little bit less about your private key being stolen. -- Scott Hurring [scott dot hurring dot lists at gmail dot com] http://hurring.com/

Re: [PHP] Running two versions of PHP locally

2006-05-19 Thread Scott Hurring
roj/en /php/php4-php5-configuration.xml Gr, Koen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Scott Hurring [scott dot hurring dot lists at gmail dot com] http://hurring.com/

Re: [PHP] PHP & JavaScript

2006-05-19 Thread Scott Hurring
gt; To unsubscribe, visit: http://www.php.net/unsub.php > > -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Scott Hurring [scott dot hurring dot lists at gmail dot com] http://hurring.com/

Re: [PHP] Running two versions of PHP locally

2006-05-19 Thread Scott Hurring
php 4 and others >> in >> php 5? >> >> Is this possible? >> How would I go about doing it? >> >> Thanks >> >> Phillip >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Scott Hurring [scott dot hurring dot lists at gmail dot com] http://hurring.com/

Re: [PHP] PHP & JavaScript

2006-05-19 Thread Scott Hurring
avaScript loops through all the like ID'ed checkboxes to check or uncheck groups. It could be done the other way, but then JavaScript code has to have more to it to increment from the value of the first ID. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

Re: [PHP] Running two versions of PHP locally

2006-05-19 Thread Scott Hurring
x27;d be interested to know if anyone does get both php4 & php5 modules installed together without file extention hints or port proxying. -- Scott Hurring [scott dot hurring dot lists at gmail dot com] http://hurring.com/

Re: [PHP] Date() finding yesterday

2006-05-21 Thread Scott Hurring
d', strtotime('-1 day')); Rabin -- http://rab.in -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Scott Hurring [scott dot hurring dot lists at gmail dot com] http://hurring.com/

Re: [PHP] HELP - Clean and simple

2006-05-22 Thread Scott Hurring
$row[1]; } } IMO, unless you have a *really* good reason for doing things this way, putting values into an array is almost always better than using the "$$" direct declaration. i.e. why not use? $vars[ $row[0] ][ $row[2] ] = $row[1]; -- Scott Hurring [scott dot hurring dot lists at gma