Re: [PHP] Create unique non-autoincrement key for 700,000 records?

2008-12-15 Thread Steve Edberg
this unique value? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php update mytable set hash_field = md5(AutoIdField + unix_timestamp()) -- Bastien >Cat, the other other white meat -- +-

Re: [PHP] Re: Military Service WAS [PHP] Capitalization of variable

2008-06-19 Thread Steve Edberg
ould be strictly about PHP issues. So I have to agree with Per here. Perhaps a PHP-Personal, PHP-Fun or PHP-OT list could be set up for such discussions; heck, I might even subscribe to it. steve -- +--- my people are the people of the dessert, -------

Re: [PHP] avoid calling php script

2008-03-12 Thread Steve Edberg
teve -- +--- my people are the people of the dessert, ---+ | Steve Edberghttp://pgfsun.ucdavis.edu/ | | UC Davis Genome Center[EMAIL PROTECTED] | | Bioinformatics programming/database/sysadmin (530)75

Re: [PHP] More than one values returned?

2008-02-19 Thread Steve Edberg
return array(1,2); } list($a,$b) = test(); works as above. Works fine with complex arrays as well: function test() { return array(1,array('a','b')); } list($a,$b) = test(); steve -- +--- my people are the people of the dess

Re: [PHP] how to display photos of the day?

2008-01-29 Thread Steve Edberg
xt to nothing. The cronjob could be written in any language, but since this is a PHP list you'll have to promise to write it in PHP ;) steve -- +--- my people are the people of the dessert, ---+ | Steve Edberghttp://pgfsun.ucdavis

Re: [PHP] var_dump() results

2008-01-13 Thread Steve Edberg
Are you sure the real code isn't using mysql_fetch_array() instead of mysql_fetch_row()? steve -- +--- my people are the people of the dessert, ---+ | Steve Edberghttp://pgfsun.ucdavis.edu/ | | UC Davis Genome Center

Re: [PHP] XML Data merging

2008-01-12 Thread Steve Edberg
e's a possibly-useful article: http://www.xmlhack.com/read.php?item=1681 Disclaimer: I've never used any of those tools, so YMMV, IANAL, RTFM, LOL, etc... steve -- +--- my people are the people of the dessert, ---+ | Steve Edberg

Re: [PHP] checkbox unchecked

2007-12-02 Thread Steve Edberg
7;R_b'; $sent = $array_keys($_POST); if($allowed == $sent) { ... do some checking ... } else { echo "Expected input fields do not match!"; } break; How can I force a "n" for not checked in the input field? or how can I solve that? bye &

Re: [PHP] Join question

2007-11-30 Thread Steve Edberg
- my people are the people of the dessert, -------+ | Steve Edberghttp://pgfsun.ucdavis.edu/ | | UC Davis Genome Center[EMAIL PROTECTED] | | Bioinformatics programming/database/sysadmin (530)754-9127 | +---

Re: [PHP] Rewind foreach loop

2007-11-29 Thread Steve Edberg
7;=>'slurm', 'b'=>'fry', 'c'=>'leela'); $Keys = array_keys($NotJustNumbers); $Count = count($Keys); for ($i=0; $i<$Count; $i++) { $value = $NotJustNumbers[$Keys[$i]]; if ($value == 5 && some_other_test()) {

Re: [PHP] two small issues with php mail

2007-11-20 Thread Steve Edberg
he thread :) >It's all just as easy for me to follow. Now... Trimming on the other hand >annoys me... if you trim to much then you have to go back and look up the >e-mail that the info was in :) > >*Gets ready to duck* :) -- +---

Re: [PHP] Re: Data request

2007-09-25 Thread Steve Edberg
ost that old (totters off to get some Geritol and scream at the kids on my lawn) steve -- +--- my people are the people of the dessert, ---+ | Steve Edberghttp://pgfsun.ucdavis.edu/ | | UC Davis Genome Center

Re: [PHP] Not quite OT but maybe close... Help with MySQL

2007-08-08 Thread Steve Edberg
- my people are the people of the dessert, ---+ | Steve Edberghttp://pgfsun.ucdavis.edu/ | | UC Davis Genome Center[EMAIL PROTECTED] | | Bioinformatics programming/database/sysadmin (530)754-9127 | +--

Re: [PHP] Rejecting File Upload

2007-08-04 Thread Steve Edberg
/docs.php -steve -- +--- my people are the people of the dessert, ---+ | Steve Edberghttp://pgfsun.ucdavis.edu/ | | UC Davis Genome Center[EMAIL PROTECTED] | | Bioinformatics programming/database/sysadmin

Re: [PHP] Suggestion re: PHP Brain Teasers

2007-07-05 Thread Steve Edberg
At 7:37 PM -0400 7/5/07, Robert Cummings wrote: On Thu, 2007-07-05 at 16:27 -0700, Steve Edberg wrote: Proposal - Perhaps we could separate Brain Teasers, Obfuscated PHP challenges, and what-have-you to a separate mailing list, say php-fun (php-phun? PHPhun?)? Maybe you could also include

[PHP] Suggestion re: PHP Brain Teasers

2007-07-05 Thread Steve Edberg
y leads to obfuscation. And one should eschew obfuscation. - steve, eschewing away... -- +--- my people are the people of the dessert, ---+ | Steve Edberghttp://pgfsun.ucdavis.edu/ | | UC Davis Genome Center[EMAIL

RE: [PHP] Re: Swear filter ideas

2007-06-28 Thread Steve Edberg
Humans are such a strange bunch :) That's why I live with computers and cats - steve -- +--- my people are the people of the dessert, ---+ | Steve Edberghttp://pgfsun.ucdavis.edu/ | | UC Davis Genome Center

Re: [PHP] Swear filter ideas

2007-06-28 Thread Steve Edberg
D] think you [EMAIL PROTECTED] are ??'; } - st&[EMAIL PROTECTED] -- +--- my people are the people of the dessert, ---+ | Steve Edberghttp://pgfsun.ucdavis.edu/ | | UC Davis Genome Center[EMA

Re: [PHP] Single Sign On

2007-06-04 Thread Steve Edberg
/ - useful. steve -- +--- my people are the people of the dessert, ---+ | Steve Edberghttp://pgfsun.ucdavis.edu/ | | UC Davis Genome Center[EMAIL PROTECTED] | | Bioinformatics programming/database/sysadmin

Re: [PHP] Array mysteries

2007-03-11 Thread Steve Edberg
time.php I think you'll find your work has been at least partially done for you. And, see http://php.he.net/manual/en/language.variables.scope.php for more information on variable scope. steve -- +--- my people are the people of the dessert, -

Re: [PHP] Back to security

2007-03-10 Thread Steve Edberg
SSLRequireSSL for the directories that should be SSL-secured. steve -- +--- my people are the people of the dessert, ---+ | Steve Edberghttp://pgfsun.ucdavis.edu/ | | UC Davis Genome Center[EMA

Re: [PHP] Holes in mysql primary key and other db issues...

2007-03-05 Thread Steve Edberg
ttp://dev.mysql.com/doc/refman/4.1/en/user-variables.html http://dev.mysql.com/doc/refman/4.1/en/mathematical-functions.html -steve PS. If you *really* wanted to renumber the database, you should be able to drop and then re-add the auto_increment column, but that's

Re: [PHP] Interchange.

2006-10-15 Thread Steve Edberg
-- my people are the people of the dessert, ---+ | Steve Edberghttp://pgfsun.ucdavis.edu/ | | UC Davis Genome Center[EMAIL PROTECTED] | | Bioinformatics programming/database/sysadmin (530)754-9127 | +-

Re: [PHP] chown(), chgrp()

2006-09-19 Thread Steve Edberg
-6799 Email: [EMAIL PROTECTED] http://www.informed-sources.com -- +--- my people are the people of the dessert, ---+ | Steve Edberghttp://pgfsun.ucdavis.edu/ | | UC Davis Genome Center[EMAIL PROTECTED] | | Bioinf

Re: [PHP] function does not exist

2006-08-25 Thread Steve Edberg
in that case you would get a different error ('nonexistent method call' or something like that). steve -- +--- my people are the people of the dessert, ---+ | Steve Edberghttp://pgfsun.ucdavis.edu/ | | UC Davis Genome Center

Re: [PHP] recommendations for good breacrumbs script

2006-03-11 Thread Steve Edberg
rim($PathBits[$i]); if ($ThisLevel) { $CurrPath .= "/$ThisLevel"; $ThisLevel = preg_replace('/\..*$/U', '', $ThisLevel); $ThisLevel = preg_replace('/ /', ' ', ucwords(preg_repl

Re: [PHP] PHP on domain...

2006-01-29 Thread Steve Edberg
ents about sending HTTP HEAD requests. steve -- +--- my people are the people of the dessert, ---+ | Steve Edberghttp://pgfsun.ucdavis.edu/ | | UC Davis Genome Center[EMAIL PROTECTED] | | Bioinformatics p

Re: [PHP] Support between MySQL and PHP

2006-01-29 Thread Steve Edberg
PHP4. For more info, see: http://dev.mysql.com/doc/refman/4.1/en/php.html http://dev.mysql.com/doc/refman/4.1/en/application-password-use.html http://www.php.net/mysql http://www.php.net/mysqli steve -- +--- my people are the people of the dessert, ---+

Re: [PHP] shortest possible check: field is set, integer or 0

2005-12-01 Thread Steve Edberg
At 5:30 PM +0100 12/1/05, Jochem Maas wrote: Steve Edberg wrote: Only problem with intval() is that it returns 0 (a valid value) on I knew that. :-) I figured so, but I thought I'd make it explicit for the mailing list... failure, so we need to check for 0 first. Adding more secure c

Re: [PHP] shortest possible check: field is set, integer or 0

2005-12-01 Thread Steve Edberg
\.0*)?/', $_POST['x']) with: if(!is_numeric($_POST['x']) || $_POST['x'] < 0) This would ensure that your value only contains numbers, and that it is greater than zero. Then when you put it into the $_CLEAN array, you can type-cast it as an int (as in

Re: [PHP] Help: Get the value of pi up to 200+ digits? -- oops

2005-09-01 Thread Steve Edberg
g to do like this but failed: >> >> > ini_set('precision',16); >> echo pi(); >> ?> >> >> How can I get more digits after . ? >> >> Can anyone help? Thx! >> ++ | Steve Edberg

Re: [PHP] Help: Get the value of pi up to 200+ digits?

2005-09-01 Thread Steve Edberg
Jordan > > > > On Sep 1, 2005, at 8:06 AM, Wong HoWang wrote: > >> Dear all, >> >> I'm trying to do like this but failed: >> >> > ini_set('precision',16); >> echo pi(); >> ?> >> >> How can I get more digits af

Re: [PHP] word lists

2005-06-20 Thread Steve Edberg
l http://www.htdig.org/ Googling for the phrase "stop word list" also may be useful steve -- +--- my people are the people of the dessert, ---+ | Steve Edberghttp://pgfsun.ucdavis.edu/ | | UC Davis Genome Center

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Steve Edberg
-tags is discouraged for this, among other, reasons. -steve -- +--- my people are the people of the dessert, ---+ | Steve Edberg [EMAIL PROTECTED] | | University of California, Davis (530)754-9127 | | Progra

Re: [PHP] Efficient way to filter this string

2004-07-22 Thread Steve Edberg
tp://marc.theaimsgroup.com/?l=php-general&r=1&w=2 See http://php.he.net/preg_match and ternary operators in http://us2.php.net/language.operators for more info. - steve -- +------- my people are the people of the dessert, ---+ | Steve Edberg

RE: [PHP] Newbie Question: Variables on the fly

2004-05-28 Thread Steve Edberg
count($dataPoint). See http://us3.php.net/manual/en/language.variables.external.php for more info on this technique. steve edberg At 01:24 AM 28/05/2004, Dennis Seavers <[EMAIL PROTECTED]> wrote: Maybe others will catch on to your intention, but I think you need to provide a bit mo

Re: [PHP] Playing with globals

2004-05-28 Thread Steve Edberg
upposed to work as an alternative to "global" statement ? Not exactly. It allows to you access variables in the global context, but it doesn't make the variable itself global; only the 'global' declaration does that. steve -- +--- my people are the p

Re: [PHP] Identifying spam text

2004-05-28 Thread Steve Edberg
;t have a pure-PHP solution, though, if that was really important to you - steve -- +--- my people are the people of the dessert, ---+ | Steve Edberg [EMAIL PROTECTED] | | University of California, Davis

Re: [PHP] [Q] PHP code embedded in html files - What happens?

2004-03-14 Thread Steve Edberg
php3 .php to this AddType application/x-httpd-php3 .php .html See http://www.php.net/manual/en/install.apache.php for more info. steve -- +--- my people are the people of the dessert, -------+ | Steve Edberg [EMAIL PROTECTED] | | Univer

Re: [PHP] Can you recommend a good PHP includes tutorial?

2004-01-14 Thread Steve Edberg
d myIncluded.php from the browser. You may have to pay close attention to the paths of the files, but it is pretty simple really. HTH! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- +------

Re: [PHP] Display syslog file?

2004-01-09 Thread Steve Edberg
h that. Any help is appreciated, Carlton. -- +----+ | Steve Edberg [EMAIL PROTECTED] | | University of California, Davis (530)754-9127 | | Programming/Database/SysAdmin

Re: [PHP] Random Character Generator

2003-11-10 Thread Steve Edberg
random characters? Thank You, Jason Williard +----+ | Steve Edberg [EMAIL PROTECTED] | | Database/Programming/SysAdmin(530)754-9127 | | University o

Re: [PHP] String parsing help

2003-08-20 Thread Steve Edberg
s[1]); echo $count . ' addresses found:'; for($x=0;$x<$count;$x++) { $city = trim($matches[1][$x]); $state = trim($matches[2][$x]); $zip = trim($matches[3][$x]); echo "City: $city, State: $state, ZIP: $zip"; } ?> ---John Holmes...

Re: [PHP] chill out

2003-04-04 Thread Steve Edberg
i think it will help Friendship is always a sweet responsibility, never an opportunity. HaSeEb IqBaL. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- +----+

Re: [PHP] Word Count

2003-01-23 Thread Steve Edberg
o count the number of words in a string? Untested, but this should work. $string = "Is there a way to count the number of words in a string?" $numOfWords = count( explode( " ", $string )); Chris -- +--------+

Re: [PHP] Number Sign in String Variables

2003-01-18 Thread Steve Edberg
2&unit=BX > > &short_desc=ENVELOPE,25%COT 24#,IY&wholesaler=US&cost=18.690 > > gets cut off at the # sign, so $wholesaler and $cost come out empty. > > Any suggestions to get around this? You could use urlencode() and urldecode(). http://www.php.net/manual/en/functio

Re: [PHP] get the $email string

2003-01-16 Thread Steve Edberg
of obscure ID instead of the data. I would check out the use of sessions here: http://www.php.net/manual/en/ref.session.php -steve -- ++ | Steve Edberg [EMAIL PROTECTED] | | University

Re: [PHP] mmmmm SELECT

2003-01-06 Thread Steve Edberg
llation is set up to not echo PHP errormessages back to the screen, that's why you didn't see an error message. -steve ++ | Steve Edberg [EMAIL PROTECTED] | | Databa

[PHP] Re: Making verification code harder to OCR?

2002-11-26 Thread Steve Edberg
Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- +-

[PHP] NEVERMIND: mysql/php large integer query oddity

2002-11-13 Thread Steve Edberg
Boy do I REALLY need some coffee...one query was on the production database, the other was on the development copy. I suppose I should set the programmer_first_check_database_parameter_you_idiot setting in php.ini... Sorry for consuming unnecessary list space. -steve I have a query oddit

[PHP] mysql/php large integer query oddity

2002-11-13 Thread Steve Edberg
there was no change in the numbers. I've never seen anything like this...perhaps I need more coffee? Versions: Apache 1.3.26/php 4.1.2, using mysql client API 3.23.47 MySQL 3.23.47-log Platform: SunOS 5.8 sun4u sparc SUNW,Sun-Fire-280R Thanks in advance, steve -- +---

RE: [PHP] PHP and MySQL sorting using COUNT

2002-11-13 Thread Steve Edberg
COUNT portion of the array? I know the company_name would be $row['company_name'] and agent_name is $row['agent_name']; Thanks, Ed Curtis -- +----+ | Steve Edberg [EMAIL

Re: [PHP] Regular Expression

2002-11-07 Thread Steve Edberg
ilename is something like this: drwxrwxrwx 1 ownergroup 0 Nov 5 23:19 6 fantasy Notice in this case the filename is "6 fantasy" however $regs[1] returns only: "fantasy" Can anyone help me to fix this problem. Thanks a bunch -- +---

Re: [PHP] Need more memory... possible to set?

2002-09-10 Thread Steve Edberg
che >log file. > >This is the entire program: >http://www.cekkent.net/upload/mp3anal/mp3anal.phps > -- ++ | Steve Edberg [EMAIL PROTECTED] | | University of California, Davis

Re: [PHP] PHP and Apache

2002-09-06 Thread Steve Edberg
creating,editing and deleting virtual hosts using >PHP via a website?? I have already thought of a way but seems a little long >winded. > >Thanks in advance. -- +--------+ | Steve Edberg

Re: [PHP] whitespace...

2002-09-04 Thread Steve Edberg
eplace.php http://www.php.net/manual/en/pcre.pattern.syntax.php http://www.php.net/manual/en/pcre.pattern.modifiers.php -steve ++ | Steve Edberg [EMAIL PROTECTED] | |

Re: [PHP] request what a user clicked

2002-08-30 Thread Steve Edberg
.external.php -steve >Jeff >UWG Student >[EMAIL PROTECTED] +--------+ | Steve Edberg [EMAIL PROTECTED] | | Database/Programming/SysAdmin(530)754-9127 | | Unive

Re: [PHP] Average Number For Math Functions

2002-08-29 Thread Steve Edberg
though the set, or (if you have version >= 4.0.5) you can use array_reduce() in conjunction with the count() function. If these values are coming from a database, most databases have aggregate functions to do sums, averages, etc. -steve +-

RE: [PHP] Open 10 http connections in parallel

2002-08-08 Thread Steve Edberg
sponse from the host. >I do it by fopen each url one by one and save the response to a separated >file. But it slow! >I wonder if i can open 10 connnect (or more) in parallel? > >Thanks in advance. >NoWhErEMaN > -- +-

Re: [PHP] Vars passed via URL disappearing

2002-08-02 Thread Steve Edberg
e error message. With >register_globals ON, it works fine. > >I thought register_globals only affected session, cookie and get type >variables? Why is PHP ignoring the variables passed via the URL? 'variables passed via the URL' = 'GET variables'

Re: [PHP] Disturbing parsing problems

2002-07-29 Thread Steve Edberg
t; } while (); > if() {} //(4x) >} > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php -- ++ | Steve Edberg

Re: [PHP] Check for Associative Array

2002-07-18 Thread Steve Edberg
do it this way anymore. -steve > >?? Thanks, > > >Henning Sittler >www.inscriber.com > -- ++ | Steve Edberg [EMAIL PROTECTED] | | University of California, D

Re: [PHP] GD Lib

2002-07-09 Thread Steve Edberg
an't find the php-gd.so on my computer. >> > >> > Anybody can help? >> >> Looks like the problem is that you haven't installed GD. >> > > Dave > -- ++ | Steve Edber

Re: [PHP] Odd Request: Image 2 HEX

2002-07-09 Thread Steve Edberg
) and convert it to HEX values? > >Thanx... > -- +--------+ | Steve Edberg [EMAIL PROTECTED] | | University of California, Davis (530)754-9127 | | Programming/Database

Re: [PHP] Two cases going to same case?

2002-06-30 Thread Steve Edberg
thing. -steve -- +----+ | Steve Edberg [EMAIL PROTECTED] | | University of California, Davis (530)754-9127 | | Programming/Database/SysAdmin http://pgfs

Re: [PHP] Usiing FOREACH to loop through Array

2002-06-29 Thread Steve Edberg
feature, and retrieve only the associated indexes (the behavior you normally want), you can use mysql_fetch_array($result, MYSQL_ASSOC); Incidentally, I just learned something here myself; there's a relatively new (>= version 4.0.3) function mysql_fetch_assoc() wh

Re: [PHP] Usiing FOREACH to loop through Array

2002-06-29 Thread Steve Edberg
rses($session[id])) { print "", $Row['C.CourseName']; } -steve -- +----+ | Steve Edberg [EMAIL PROTECTED] | | University of California, Davis

Re: [PHP] Usiing FOREACH to loop through Array

2002-06-29 Thread Steve Edberg
ql-fetch-array.php -steve >I'm hoping someone will spot my dumb mistake. Thanks very much for any help >at all on this. > >Brad > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php -- +---

RE: [PHP] Re: Automatic user login under NT

2002-06-12 Thread Steve Edberg
rough the credits http://www.php.net/credits.php and count how many times his name appears. In short, PHP sprang from his brain. Now, it springs from many brains. -steve +--------+ | Steve Edberg

Re: [PHP] Making varibles (more than one) with a function.

2002-05-23 Thread Steve Edberg
Subject: [PHP] Making varibles (more than one) with a function. >> > I am aware that return can return strings but is their a set global or a >> > function similar to return? >> >> hi there!, >> There sure is, it's called global. >&

[PHP] Re:phpinfo

2002-05-23 Thread Steve Edberg
;>-- >-- > >If You want to buy computer parts, see the reviews at: >http://www.cnet.com/ >**OR EVEN BETTER COMPILATIONS**!! >http://sysopt.earthweb.com/userreviews/products/ > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.n

Re: [PHP] viewing get/post variables

2002-04-16 Thread Steve Edberg
-- >Martín Marqués |[EMAIL PROTECTED] >Programador, Administrador, DBA | Centro de Telematica >Universidad Nacional > del Litoral >- -- +-

RE: [PHP] Set Global Variables

2002-04-11 Thread Steve Edberg
users >> values I'd rather just use one memory space for all users. >> >> Thanks >> >> Roger Ramirez >> Web Developer > > LifeFiles.com Inc. >> -- ++ | Steve Edberg [EMAIL PROTECTED] | | University of California, Davis

Re: [PHP] arguments against php / mysql?

2002-04-10 Thread Steve Edberg
with it. And, I think there's some nominal license fee to use it on Windows. Thus endeth my spiel - - steve edberg -- ++ | Steve Edberg [EMAIL PROTECTED] |

Re: [PHP] running commands as root from a script

2002-03-28 Thread Steve Edberg
> > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php ++ | Steve Edberg [EMAIL PROTECTED] | | Database/Programming/SysAdmin(530)754-9127 | |

Re: [PHP] Using a mysql data base and cookie to log a person in

2002-02-20 Thread Steve Edberg
ager [EMAIL PROTECTED] >800-994-6364 >www.webintellects.com > > -- +--------+ | Steve Edberg [EMAIL PROTECTED] | | University of California, Davis (530)754-9127 |

Re: [PHP] Ports

2002-02-04 Thread Steve Edberg
range. > >Thanks +--------+ | Steve Edberg [EMAIL PROTECTED] | | Database/Programming/SysAdmin(530)754-9127 | | University of California, Davis http://pgfsun.ucdavis.edu/ | +-- Gort, Klaatu barada nikto! --+

Re: [PHP] Book database (slightly OT)

2002-01-29 Thread Steve Edberg
am looking for service that is free, if possible, since this project is not >for commercial at all (academic purposes). > >Any information on this will be greatly appreciated. > >Thanks. >Reuben D. Budiardja > -- +-------

[PHP] Re: Any Ideas

2002-01-26 Thread Steve Edberg
a5$fa7d60e0$0401a8c0@philip">news:003d01c1a6a5$fa7d60e0$0401a8c0@philip... >Any Ideas how I can remove !@#$%^&*()_+=-';:"/.,<>? charactors from a >string? > >Philip J. Newman >Philip's Domain - Internet Project. >http://www.philips

Re: [PHP] string to array??

2002-01-17 Thread Steve Edberg
more >than halfway down). > > >Erik > >> >>>Actually, using the [] syntax is deprecated - using {} is the new way >>>- but I'm a creature of habit... >>> > > -- +

Re: [PHP] string to array??

2002-01-17 Thread Steve Edberg
e syntax read?? >> >> Thnx, >> >> sands >> > >Check out explode() >www.php.net/manual/en/function.explode.php > >- -- > >Nick Wilson > >Tel: +45 3325 0688 >Fax: +45 3325 0677 >Web: www.explodingnet.com > -- +---

Re: [PHP] INI file parsing

2002-01-02 Thread Steve Edberg
an out of >time > > on that line. BTW '}' is the closing of an if statement so it isnt stuck >in > > a loop. And when I go to the page I make sure to use the same querystring > > that the user sent. > > > > > > Another thought, is the php engine

Re: [PHP] Number Format

2001-12-20 Thread Steve Edberg
rote: > > > I would like to format numbers to be a fixed width. > > > > I want all numbers to be 2 characters in width to the left of the > > decimal point. > > > > 1 should be 01 > > 2 should be 02 > > 3 should be 03 > > > > How can I do this

Re: [PHP] PHP3 NOT being parsed for SSI!! HELP!!

2001-12-20 Thread Steve Edberg
hnologies Inc. >Homepage : http://www.abraxastech.com >Email : [EMAIL PROTECTED] >Tel : 91-4546512/4522124 >******* > -- ++ | Steve Edberg [EMAIL PROTECTED] | | University of Californi

Re: [PHP] $PHP_SELF not working -please help

2001-12-19 Thread Steve Edberg
e regsiter.\n"; >echo "Membership"; >exit; >} >else echo "welcome, $username!"; > > >Now for some strange reasons it tries to access my web direcorty >that does not contain any file, and i get the 404 page not found >error. > >any

Re: [PHP] phplib???

2001-12-13 Thread Steve Edberg
;thanks in advance. > -- +--------+ | Steve Edberg [EMAIL PROTECTED] | | University of California, Davis (530)754-9127 | | Programming/Database/SysAdmin http

Re: [PHP] last entry in mysql

2001-12-12 Thread Steve Edberg
the last id but to no avail. > >Thanks >Yoed > -- +----+ | Steve Edberg [EMAIL PROTECTED] | | University of California, Davis (530)754-9127 | | Programm

Re: [PHP] Reg ex help-Removing extra blank spaces before HTMLoutput

2001-12-04 Thread Steve Edberg
by a simple regular expression call, >but I'm no pro with them yet. > >Any help? > >Thanks, >Ken >[EMAIL PROTECTED] > -- ++ | Steve Edberg [EMAIL PROTECTED

Re: [PHP] Image width??

2001-11-29 Thread Steve Edberg
)? > >Thanks. > -- +--------+ | Steve Edberg [EMAIL PROTECTED] | | University of California, Davis (530)754-9127 | | Programming/Database/SysAdmin http

Re: [PHP] Access $HTTP_POST_VARS from class member fucntion

2001-11-04 Thread Steve Edberg
#x27;track_vars' on to enable $HTTP_POST_VARS and other $HTTP_xxx_VARS arrays. If that's the case - and you can't upgrade immediately - you need to turn track_vars on in httpd.conf, php.ini, or .htaccess (whatever's appropriate in your setup). Hope that helps - - steve e

Re: [PHP] PHP is a Bloated Kludge, discuss!

2001-10-04 Thread Steve Edberg
e one of the db wrapper classes available in PHPLIB, PEAR or Metabase. -steve -- + Open source questions? + | Steve Edberg University of California, Davis | | [EMAIL PROTECTED] Computer Consultant | | h

Re: [PHP] Problem with regex

2001-09-25 Thread Steve Edberg
p > > Oliver > > > >= >mailto: [EMAIL PROTECTED] >www.ertl.co.za > >__ >Do You Yahoo!? >Get email alerts & NEW webcam video instant messaging with Yahoo! >Messenger. http://im.yahoo.com > -- + Open

Re: [PHP] ucwords added functionality?

2001-09-24 Thread Steve Edberg
ut would it be possible to add an optional parameter to ucwords which would >be an array of words to skip? i would think this would be useful to >many. > >any thoughts? > -- + Open source questions? ----+ | Steve Edberg

Re: [PHP] fired!

2001-09-21 Thread Steve Edberg
At 1:49 PM +0200 9/21/01, <[EMAIL PROTECTED]> wrote: >lets have a php-beer for all the dot.com unenployed! > My PHP 4.0.5 doesn't have php_beer() function :( Is that available in CVS tree? -- + Open source questions? -------

Re: [PHP] Run or execute a php cript within a php cript.

2001-09-20 Thread Steve Edberg
a >other php script without a mouse click (). > >I have a lot of php scripts and need them to execute from a master php script. > >any help? > >Thanks all, > >Yours Hans. -- + Open source questions? + | Steve Edber

[PHP] Re: excuting several sql statements in one time

2001-09-20 Thread Steve Edberg
ese 2 sql statements in one time with PHP. >> >> I tried to implement like this : >> >> $query = " >> INSERT INTO com VALUES ('pentium'); >> INSERT INTO com VALUES ('amd'); >> "; >> mysql_query

[PHP] Re: Get the beginning array number

2001-09-18 Thread Steve Edberg
;> Brandon Orther >> WebIntellects Design/Development Manager >> [EMAIL PROTECTED] >> 800-994-6364 >> www.webintellects.com >> > > >> -- + Open source questions? + | Steve Edberg

Re: [PHP] header redirection

2001-09-14 Thread Steve Edberg
irection? >Just having the redirection code before the other code does not work. > > >Linux running apache and php4 > >poppy > -- + Open source questions? + | Steve Edberg University of California, Davis |

Re: [PHP] PHP Redirect in the middle of code?

2001-09-10 Thread Steve Edberg
-steve At 1:00 PM -0400 9/10/01, Ken wrote: >At 08:11 AM 9/10/01 -0700, Steve Edberg wrote: >>Right off the top of my head, you have three options that I can see: >>(3) Use a META REFRESH tag. For example: >> >> >> >>where 1 is the time (in s

Re: [PHP] PHP Redirect in the middle of code?

2001-09-10 Thread Steve Edberg
use JavaScript, I want this redirection to >happen at the server and not the client. -- +-------- Open source questions? + | Steve Edberg University of California, Davis | | [EMAIL PROTECTED]

  1   2   >