RE: [PHP] mysql load_file retreival

2003-12-20 Thread Larry Brown
2003 1:24 PM To: PHP List Subject: RE: [PHP] mysql load_file retreival LOAD_FILE() shouldn't be escaping the data. Are you actually calling : echo header()? the header function should not be echoed. header('Content-type: application/pdf'); echo result[0]; -Original Message---

RE: [PHP] mysql load_file retreival

2003-12-20 Thread Larry Brown
ieved the file on upload, base64 encoded it and stored it directly to the db. Then on retrieval, unencoded and handed it off with content type, size, name, and application information in the header. It works very nicely. Thanks again... Larry -Original Message- From: Chris [mailto:[

RE: [PHP] mysql load_file retreival

2003-12-20 Thread Larry Brown
: PHP List Subject: RE: [PHP] mysql load_file retreival Gald to hear it works now. Are you base64 encoding it for any particular reason? Seems to me that it would waste a lot of db space as base64 encoding adds quite a bit to the filesize. Chris -Original Message----- From: Larry Brown [mai

[PHP] using PDI to pull from data already read into a variable?

2003-12-22 Thread Larry Brown
the db in a query and then "handing" it to the PDI functions would be less intensive than writing it out, parsing it, and then ultimately deleting it from disk again. Any help would be greatly appreciated... TIA Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

RE: [PHP] PROBLEMS WHEN EXTRACING DATA FROM MSSQL DATABASE WITH PHP

2003-12-22 Thread Larry Brown
Is your field too small? MySQL doesn't complain when you give it a string longer than it can accept based on the field's size. It just cuts off what doesn't fit :-) -Original Message- From: Dale Hersh [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 6:50 PM To: [EMAIL PROTECTED]

RE: [PHP] PROBLEMS WHEN EXTRACING DATA FROM MSSQL DATABASE WITH PHP

2003-12-22 Thread Larry Brown
My bad, didn't read far enough... -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 7:04 PM To: Larry Brown; Dale Hersh; PHP List Subject: RE: [PHP] PROBLEMS WHEN EXTRACING DATA FROM MSSQL DATABASE WITH PHP Larry Brown <mailt

RE: [PHP] Re: HTTP headers, IE and downloading

2003-12-22 Thread Larry Brown
eded to get that one functionality working for me. I hope examining it can help... Larry -Original Message- From: Andreas Magnusson [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 1:44 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: HTTP headers, IE and downloading Thanks for your rep

RE: [PHP] Can't upload file greater than 11kb

2003-12-23 Thread Larry Brown
The mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 8:55 PM To: [EMAIL PROTECTED] Subject: [PHP] Can't upload file greater than 11kb I've got a situation where I want to upload a file to a server then enter the data in that file into mysql. I have used this well documented upload form

RE: [PHP] Re: progress in PHP

2003-12-23 Thread Larry Brown
How does perl show progress of the upload if it is a server side scripting language and php can't do it because it is server side? -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 12:46 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: progress

RE: [PHP] programming the onclick() event in an anchor

2003-12-25 Thread Larry Brown
t;\n"; echo "\n"; I'm not sure off the top of my head if the anchor tag must have any other description. You might be able to use onChange instead of onClick to include selection by using the keyboard, but I'm not sure if the anchor tag responds to onChange. You'd ha

RE: [PHP] HTML via echo or not

2003-12-29 Thread Larry Brown
I agree. I think embedding the tags is messy and harder to follow. I do however, treat echo like print. ie echo "The thought would \"have\" to be clear."; I've not use CR,. I'll have to look at that. Thanks -Original Message- From: Robin Kopetzky [mailto:[EMAIL PROTECTED] Sent: Monday

RE: [PHP] How do I protect downloadable files?

2003-12-30 Thread Larry Brown
the headers necessary to start the download. This way the end user never has to have direct access to the download directory and you don't have to copy the file into a temporary directory. Larry -Original Message- From: news.php.net [mailto:[EMAIL PROTECTED] Sent: Tuesday, Decemb

RE: [PHP] How do I protect downloadable files?

2003-12-30 Thread Larry Brown
Time for them to upgrade to OSX... I've not tried to crack that nut. Is there anyone here who has successfully managed headers for Mac users? It's hard to believe it hasn't been done. -Original Message- From: Kim Steinhaug [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 8:04

[PHP] PHP New Year

2003-12-31 Thread Larry Brown
Happy New year all! Looking forward to bigger better things this year. Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] urlencoding.

2004-01-01 Thread Larry Brown
How about this one? Add it to an include for the site and use it whenever you have an error check. function goBack($newSite,$errMsg) { $send = ""; foreach($_GET as $key=>$value) { $send = $send."&".$key."=".$value; } $goTo = urlencode($newSite."?errMsg=".$errMsg.$send);

RE: [PHP] Setting a 'life-time' clock to a displayed information

2004-01-01 Thread Larry Brown
ave to use locking on the db to avoid this. Larry -Original Message- From: ike strong [mailto:[EMAIL PROTECTED] Sent: Thursday, January 01, 2004 9:44 AM To: [EMAIL PROTECTED] Subject: [PHP] Setting a 'life-time' clock to a displayed information Hi all, I'm interested in f

RE: [PHP] No cookie is being set?

2004-01-02 Thread Larry Brown
shouldn't $row[member_id] be $row['member_id']. In case anyone can profit from this, when I find a function doesn't work right and I am using variables in its execution I run an echo/die combination immediately before the function to verify the data being fed to it is as it should be. In this exa

RE: [PHP] Array into $_SESSION

2004-01-02 Thread Larry Brown
session_register("user"); session_register("authLevel"); session_register("sessionExpire"); $user=$userDataFromForm; $authLevel = $authLevelFromDB; $sessionExpire = time() + 3600; etc... -Original Message- From: Cesar Aracena [mailto:[EMAIL PROTECTED] Sent: Friday, January 02, 2004 2:11

RE: [PHP] Array into $_SESSION

2004-01-02 Thread Larry Brown
Sorry, my bad. This is the Register Globals on version... with RegisterGlobals off you would simply use.. $_SESSION['user'] = $userDataFromForm; $_SESSION['authLevel'] -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED] Sent: Friday, January

RE: [PHP] PHP $_SESSION Expiring in IE

2004-01-03 Thread Larry Brown
I use sessions with IE all the time without such a problem. Are there any points in the program that redirect the user off site and back or something with that affect that IE might be handling in a wierd way? Do you have pages that detect the browser and feed alternate content based on the browse

RE: [PHP] PHP, Server-Side?

2004-01-04 Thread Larry Brown
platform independant. .net, java etc. can be used as the client. Of course that is only a added benefit since you are making both ends. I use nusoap which is all php and isn't too hard to figure out. Larry. -Original Message- From: Tarrant Costelloe [mailto:[EMAIL PROTECTED]

RE: [PHP] PHP Accelerator Support?

2004-01-04 Thread Larry Brown
igh volume performance. Larry -Original Message- From: mastershay [mailto:[EMAIL PROTECTED] Sent: Sunday, January 04, 2004 7:05 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP Accelerator Support? Hello, I have spent hours searching the web for any kind of support regarding Ioncube's PHP Acce

RE: [PHP] Submit Button Refresh Problem?

2004-01-05 Thread Larry Brown
econd form around your other submit along with a variable for it to send etc. Hope that helps.... Larry -Original Message- From: wknit [mailto:[EMAIL PROTECTED] Sent: Monday, January 05, 2004 8:22 AM To: [EMAIL PROTECTED] Subject: [PHP] Submit Button Refresh Problem? I have a php file

RE: [PHP] Re: Session expiry issues in IE, still.

2004-01-06 Thread Larry Brown
ea when it happens.(or more in particular where you just came from when it dropped). Larry PS if you have a dev site to work on, and the session checks are in a header, try changing the header to display the session ID and watch it for a change while you surf it. -Original Message- From: M

RE: [PHP] Image Header Issues

2004-01-17 Thread Larry Brown
try adding showpicture.php?pid=111384&img=x.jpg to the end even though you aren't using that variable, IE may see that the type is jpg here. I have this same problem/workaround in place right now for a script that wouldn't work with IE without it for downloading pdf. (pdf was generated on the fly)

RE: [PHP] Image Header Issues

2004-01-17 Thread Larry Brown
me I have header problems. Thanks Larry -Original Message- From: Toby Irmer [mailto:[EMAIL PROTECTED] Sent: Saturday, January 17, 2004 5:12 PM To: Larry Brown; Bob Eldred; PHP List Subject: Re: [PHP] Image Header Issues I have the same problem. Strange: I have a session_start(); before the hea

RE: [PHP] Image Header Issues

2004-01-17 Thread Larry Brown
en other performance benefits. Larry. -Original Message- From: Bob Eldred [mailto:[EMAIL PROTECTED] Sent: Saturday, January 17, 2004 11:30 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Image Header Issues OK, that's it. The session_start() is the issue. Unfortunately, the "&

RE: [PHP] Is this possible ?

2004-01-18 Thread Larry Brown
Toby's solution still holds in this scenario. Actually exactly has you have rem'ed out. You get back two components to the array, first array[0] holds the concatenated string you made with the while loop and the second array[1] holds the total number of result rows from your que

RE: [PHP] Variables not working!

2004-01-20 Thread Larry Brown
It is most likely globals. Access the variables by... echo $_GET['fname']; or $_POST['fname']; if you are using post which it doesn't appear you do. Larry PS it is adviseable to leave globals alone in php.ini since it is set that way for security concerns. -O

[PHP] mysql index (semi ot)

2001-01-11 Thread Larry Hotchkiss
p the indexes tight and clean? How do others handle this type of scenario? Could I run a reindex or something from a cron job? Thanks for any input. - Larry Hotchkiss -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] variable tracking overview

2001-01-14 Thread Larry Jaques
Arrrgh! What am I missing here? Should I be creating a database for this one-time-use info? (Of course, the client dragged his feet for 5 months and now needs to get it rolling yesterday. I would appreciate any help ASAP.) Thanks. Larry -- PHP General Mailing List (http://w

Re: [PHP] Netscape caching problem

2001-01-22 Thread Larry Jaques
At 02:17 PM 1/17/01 -0600, you wrote: >Oh! > >Yeah, Netscape is real goofy and tries to reload the page, but badly... > >I *think* you can dink around with the caching headers to convince Netscape >that it's okay to use the existing copy to print instead of trying to get a >fresh one. I used this

Re: [PHP] Netscape caching problem

2001-01-22 Thread Larry Jaques
At 07:19 PM 1/22/01 +0100, you wrote: >At 19:14 22.01.2001, Larry Jaques said: >[snip] >>I used this, the sample from "Core PHP Programming" and it gives me a parse >>error >>starting on the first line of the change whethe

Re: [PHP] Netscape caching problem

2001-01-22 Thread Larry Jaques
("Expires: " . gmdate("D, d M Y H:i:s", $expires) . " GMT"); header("Cache-Control: max-age=1800"); This seems to work, but is there a cleaner way? Also, I can't find info on conversion to my time, PST in the USA, but that shouldn't matter since I

[PHP] PHP_SELF - silly question

2001-01-23 Thread Larry Hotchkiss
ome light on the best way to handle this? -- Larry H. -- 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 PROTECTED]

Re: [PHP] PHP_SELF - silly question

2001-01-23 Thread Larry Hotchkiss
manual/en/language.variables.scope.php > > Mike > > -Original Message- > From: Larry Hotchkiss [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 23, 2001 12:21 PM > To: [EMAIL PROTECTED] > Subject: [PHP] PHP_SELF - silly question > > Im a little brain fri

RE: [PHP] getting info.. help!

2001-03-05 Thread Larry Jeannette
ltrim removes spaces on the left rtrim removes spaces on the right trim removes spaces on both the left and right Larry Jeannette MIS Director, e.Republic -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Monday, March 05, 2001 11:08 AM To: PHP User Group Subject

RE: [PHP] Is it odd or even???

2001-03-05 Thread Larry Jeannette
use the modulus operator: ($number % 2) returns 0 if the value is even Larry Jeannette MIS Director, e.Republic -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Monday, March 05, 2001 12:18 PM To: PHP User Group Subject: [PHP] Is it odd or even??? Hello, Is

[PHP] php sessions and proxies.

2001-04-16 Thread Larry Hotchkiss
the data is reaching the script fine since other forms can be posted through the proxie. I am thinking the proxie is screwing up the returned header with the session id attached. Has anyone else encountered this phenomenon before? -- Larry H -- PHP General Mailing List (http://www.php.net/) To

[PHP] regex and mysql - looking for opinions.

2001-04-18 Thread Larry Hotchkiss
data. None of my searches or database data has or needs any sort of punctuation, so I was thinking of striping it all out from form input. What method is everyone else using? -- Larry H. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] PHP and Double?

2001-04-18 Thread Larry Hotchkiss
e, like so > > numb1 = 3 > numb2 = 2 > > thanks. > jason > > -- > 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: [EM

Re: [PHP] PHP Sessions Problem

2001-04-20 Thread Larry Hotchkiss
Thats very interesting. I normally use Netscape 4.7 myself, I find 6 to be a resource hog and just plain slow. I tried your site and as you pointed out, with 4.7 the registered var does not show. Yet, when I fire up IE all works fine. I guess what I find strange is that I am using sessions

[PHP] update form design question.

2001-04-25 Thread Larry Hotchkiss
handle the processing of the previous page of records when you head to the next. Should I update the DB as I move to the next page or perhaps after all pages are viewed? Anyways, any thoughts, ideas and or suggestions are all welcome. -- Larry H -- PHP General Mailing List (http://www.ph

Re: [PHP] --enable-trans-sid and forms

2001-04-27 Thread Larry Hotchkiss
h --enable-trans-sid, > are the URLs that are part of the form's action supposed > to be modified to include the SID? So far that's not > been happening and I just want to verify that this is > expected behavior. > > thnx, > Chris -- Larry Hotchkiss Universal Capit

Re: [PHP] Reading mime attachments into a rdbms

2001-05-03 Thread Larry Hotchkiss
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 PROTECTED] -- Larry Hotchkiss Universal Capital 612-551-9309 http://www.unicap.com/ -- PHP Gene

[PHP] Code logic problem pulling data from a file / for loop / by array_push

2002-01-20 Thread Larry Brown
ach. I've been swimming around in this code for a while and I'm new to this stuff so my apologies if I my description is hard to follow. Larry S. Brown President/CEO Dimension Networks, Inc. Member ICCA (727) 723-8388 -- PHP General Mailing List (http://www.php.net/) To unsubscrib

RE: [PHP] looking for newbie help in solving logic problem

2002-01-23 Thread Larry Brown
Awsome, That helps tremendously. Larry S. Brown President/CEO Dimension Networks, Inc. Member ICCA (727) 723-8388 -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] I think get rid of this 'problem' by using arrays. As in: echo '

Re: [PHP] changing unix password in php?

2002-01-23 Thread Larry Brown
I've tried several versions of this: $command = "su root"; $id = "whoami"; passthru($command, $result); passthru($id, $result2); echo $result; echo $result2; "Jon Farmer" <[EMAIL PROTECTED]> wrote in message news:00de01c1a42c$9401d970$[EMAIL PROTECTED]... > > Along this line, I have attempted to

[PHP] preg_match won't match elements

2002-01-29 Thread Larry Brown
Note the value of $pltoload will be connection, connection, connection or connection,connection,connection. If anyone can tell why some matches don't work when I can view the element in each array and they are identical in the exception of the key value within their respective array.

[PHP] PHP session / JavaScript conflict

2002-04-23 Thread Larry Linthicum
I am finding that the simple is causing pages with JavaScript menus to load with 'error on page" and the JavaScript to not work the session without the JavaScript seems fine, as does the JavaScript without the session ( I can do other things in PHP without conflict) Lastly... "refreshing" the

[PHP] embedding php into html

2002-04-24 Thread Larry Brown
t out. Is there a trick I'm missing? Larry S. Brown MCSE Dimension Networks, Inc. Member ICCA (727) 723-8388 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] embedding php into html

2002-04-24 Thread Larry Brown
on server with 1000's of users hitting html all day? Like 10% hit in performance, 20...30...? No noticeable? :) Larry S. Brown MCSE Dimension Networks, Inc. Member ICCA (727) 723-8388 -Original Message- From: Chris Wesley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2

RE: [PHP] embedding php into html

2002-04-24 Thread Larry Brown
It looks like Miquel got to the performance issue already. Thanks guys for helping me on this. Larry S. Brown MCSE Dimension Networks, Inc. Member ICCA (727) 723-8388 -Original Message- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 8:00 PM To: Larry Brown

[PHP] compiling on freebsd

2002-04-24 Thread Larry Brown
irectories for the file with no positive results. Larry S. Brown MCSE Dimension Networks, Inc. Member ICCA (727) 723-8388 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] compiling on freebsd

2002-04-24 Thread Larry Brown
I don't mean to be rude but as I mentioned in my post "After running ./configure make and make install...". Please review my post for the actual problem. Larry S. Brown MCSE Dimension Networks, Inc. Member ICCA (727) 723-8388 -Original Message- From: Evan Nemerson

RE: [PHP] compiling on freebsd

2002-04-24 Thread Larry Brown
xs in the INSTALL description but stated that if I got an error to physically locate apxs and tell configure where it is. I did a search for apxs* with no results. Anyway, I did get it going. Thank you for the input. Larry S. Brown MCSE Dimension Networks, Inc. Member ICCA (727) 723

[PHP] forever cookie

2002-05-12 Thread Larry Linthicum
is it possible to set a cookie that never expires? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php 4.04pl 1-3 for red hat 7

2001-03-22 Thread Larry Hotchkiss
correct in assuming I need to recompile? If that is the case, can someone recommend a good "how-to" to walk me through it. I have no experience with compiling at all. -- Larry H -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: [PHP] php 4.04pl 1-3 for red hat 7

2001-03-23 Thread Larry Hotchkiss
phpinfo() ? Larry H. "..s.c.o.t.t.. [gts]" wrote: snip.. > (replace php. with whatever the PHP > tarball is named) > > at the prompt (you dont need to be root) type: > tar xvfz php.tar.gz > cd php. > ./configure --enable-trans-sid > make >

Re: [PHP] php 4.04pl 1-3 for red hat 7

2001-03-26 Thread Larry Hotchkiss
; and then failed. It reported "cannot find necessary header files". I am sure I just need some devel software installed or have an incorrect path, but what is the best way to figure out which header is missing or not pathed? Larry Hotchkiss wrote: > > Thanks. I just

[PHP] sessions and javascript.

2001-03-26 Thread Larry Hotchkiss
for submitting the form everything works fine, yet when I implement javascript to submit the form it ceases to function. Anyone have any ideas? -- Larry Hotchkiss -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

[PHP] php to process mail attachments.

2001-03-30 Thread Larry Hotchkiss
as well as have metamail uudecode the attachment for processing by php as well. Has anyone done this? Any pointers or recipes would be greatly appreciated. As well as any other possible solutions. -- Larry Hotchkiss -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

Re: [PHP] Referrer

2001-08-30 Thread Larry Rosenman
ED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED] US Mail: 1905 Steamboat Springs Drive

Re: [PHP] chmod failed: Operation not permitted

2001-08-31 Thread Larry Rosenman
Therein lies the problem. The webserver, therefore your PHP script, is probably *NOT* running with your credentials. Larry * Police Trainee <[EMAIL PROTECTED]> [010831 13:50]: > the files are all owned by me, that is, my unix login. > --- Jason Bell <[EMAIL PROTECTED]> wr

[PHP] multidimensional array from html forms

2001-10-05 Thread Larry Linthicum
Hi I just a PHP "hobbiest" trying to build a points calculating system for another hobby, please bear with me. I need to build a multidimensional array from a html form the array would look like: $needed_data = array ( array (id = $member_id, points = $position ),

[PHP] Re: multidimensional array from html forms

2001-10-05 Thread Larry Linthicum
a "matched" pair? ( from "one line" of the form } or is the indexing of the array subject to variation and may NOT be in the same order as the [data] fields in the html ? What if nothing is entered into the txt field? "Larry Linthicum" <[EMAIL PROTECTED]> w

Re: [PHP] Replacing special characters with their HTML equivalents

2008-12-21 Thread Larry Garfield
so that it will understand what I'm trying to do? > > Thanks! > > James You may find this useful: http://www.garfieldtech.com/blog/unicode-8-vs-16 -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MERRY XMAS

2008-12-24 Thread Larry Garfield
Happy '. $holiday->name() .', '. $subscriber->name() .'!'. PHP_EOL; } } -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Decorator with public methods

2008-12-26 Thread Larry Garfield
mance. #1 can largely be solved by both directly implementing F *and* implementing __call(), but we're still left with the performance problems of #2. While for some uses cases that is OK, it can add up to unpleasant microseconds lost. Can anyone suggest an alternate solution that h

Re: [PHP] Do defined variables exist at application scope, or session scope?

2008-12-26 Thread Larry Garfield
er, if someone goes to help.php then the line in index.php is never executed (why would it be, since the file was never included?), so the constant is not defined. Does that make sense? -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Decorator with public methods

2008-12-26 Thread Larry Garfield
at defeats the purpose of decorators if I can't come up with a new one a month from now and not have to modify any of the existing code. -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Decorator with public methods

2008-12-27 Thread Larry Garfield
the performance cost of __call() and the extra call stack layers that are my concern at the moment. -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Architecture patterns in PHP

2008-12-27 Thread Larry Garfield
ad approach to take. Find an existing system that "feels right" to you and run with that. You'll almost certainly get a better system out of it than trying to write everything yourself. (I've done that before, too, and it was generally a disaster.) [1] http://www.gar

Re: [PHP] Re: Problem with fetching values...

2008-12-29 Thread Larry Garfield
of the standard install for PHP5, and there is simply no excuse for a web host to not support it. You can try contacting them first to ask them to enable it, and if they say no, you say "go away". Really, that's simply irresponsible on their part. -- Larry Garfield la...

Re: [PHP] Thank you everyone, What a wonderful world

2009-01-03 Thread Larry Garfield
On Saturday 03 January 2009 1:17:07 pm Dotan Cohen wrote: > 2009/1/3 Behzad : > > since you have modern weapons, equipped > > with lasers! > > Did somebody say sharks with frigin' lasers? No, but we have some ill-tempered sea-bass. -- Larry Garfield la...@garfiel

Re: [PHP] old HTTP variables

2009-01-18 Thread Larry Garfield
n/ini.core.php#ini.register-long-arrays Although you should probably take the time to upgrade the app anyway, as those variables are deprecated and won't be around forever. -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Doc standard for methods?

2009-01-26 Thread Larry Garfield
such documentation? Is there a standard in PHPDoc that I don't know about? Any other projects doing something like that? -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Content Management

2009-01-29 Thread Larry Garfield
ercial development and support as well if you are so inclined. For e-commerce, check out the "Ubercart" suite of modules: http://drupal.org/project/ubercart Disclaimer: I am a Drupal core developer and build sites with it professionally, so I am hardly an unbiased source. :-) -- La

Re: [PHP] PHP Enclosing Tags? Do You Close Your PHP Declarations?

2009-02-02 Thread Larry Garfield
for the same reason: It avoids a host of problems with whitespace handling and is just one less thing to have to deal with. http://drupal.org/coding-standards --Larry Garfield -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] DB Comparisons

2009-02-05 Thread Larry Garfield
ll-tuned MySQL database will blow the crap out of a default config PostgreSQL server, but a well-tuned PostgreSQL server will wipe the floor with a badly configured mySQL database. Your knowledge of the underlying tool and how to get the most out of it will matter more than which vendor you go

Re: [PHP] PHP OOP

2009-02-09 Thread Larry Garfield
irst in C++. Force them to do the hard stuff so they appreciate what the runtime is doing for them in higher level languages. It also means you can teach procedural and OOP in the same syntax. Then once they've gotten a few bruises in C++, expose them to Java, Javascript, PHP, etc. to l

[PHP] Re: ***SPAM*** Re[2]: help J0B.

2009-02-16 Thread Larry Wickkiser
I'm out of the office until February 18th, 2009. I'll respond to you when I return. If you need assistance before then, contact adrie...@airporter.com, or l...@airporter.com. Thanks, Larry On Feb 16, 2009, at 6:40 AM, wrote: -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] Re: PHP includes

2009-03-09 Thread Larry Garfield
ad software. Your config file with passwords and such, sure, keep that locked down tight. But don't rely on security through obscurity. -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Too many open files

2009-04-05 Thread Larry Garfield
how to respond? Cheers. -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP6 return by reference deprecation

2009-05-02 Thread Larry Garfield
t, as that would be incredibly short sighted and stupid. There are plenty of use cases for returning by reference besides making PHP 4 objects behave correctly. -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP6 return by reference deprecation

2009-05-02 Thread Larry Garfield
On Saturday 02 May 2009 3:20:24 pm Colin Guthrie wrote: > 'Twas brillig, and Larry Garfield at 02/05/09 20:00 did gyre and gimble: > > On Saturday 02 May 2009 9:30:09 am Colin Guthrie wrote: > >> 'Twas brillig, and Paul M Foster at 02/05/09 06:07 did gyre and gimble:

Re: [PHP] Web application design considerations - a good reference ?

2009-06-01 Thread Larry Garfield
..it's the flow and organization of the > code. > > Can anybody point me to a good book or tutorial that lays down the > principles and gives some suggestions for integrating the many subroutines > of a large application? I want to make the code readable and logical

Re: [PHP] php applications

2009-06-08 Thread Larry Garfield
; Cheers, > Rob. Mind if I use that quote elsewhere (credited if you prefer)? -- Larry Garfield la...@garfieldtech.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP programming strategy

2009-08-01 Thread Larry Garfield
a noticeable performance difference. It was only barely noticeable, but it just barely registered as more than random sampling jitter. I actually concluded that if cutting the file *in half* was only just barely noticeable, then it really wasn't worth the effort. Just install an opcode c

Re: [PHP] PHP programming strategy

2009-08-02 Thread Larry Garfield
pressors like that are commonplace because you have to transfer the entire file over the network repeatedly, which is a few orders of magnitude slower than system memory. Compressors and aggregators there make sense. PHP code never leaves the server, so those benefits don't exist.

[PHP] Re: "PHP 6 and MySQL 5 for Dynamic Web Sites" Book

2009-08-06 Thread Larry Ullman
s.) We--the publisher and I--also did consciously change the title of the book from "PHP and MySQL for Dynamic..." to "PHP 6 and MySQL 5 for Dynamic..." to indicate the distinctions being made. Sorry for the length, but I hope that helps. And thanks again. Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ODBC and long text fields

2007-01-07 Thread Larry Garfield
eld rather than a varchar or int? I am confused, and would appreciate assistance in becoming less confused. :-) Thanks. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has made any one thing less susceptible than all others of excl

Re: [PHP] ODBC and long text fields

2007-01-07 Thread Larry Garfield
on to the MSSQL server as well as making the issue go > away. I don't believe the client allows direct MSSQL connections. Besides, the MSSQL functions still require an ODBC driver underneath, so if the problem is with the ODBC driver then that won't change anything. -- Larry

RE: [PHP] whois Domain??

2007-01-09 Thread Wickham, Larry
If you are running under linux you can use one of the many exec functions in php to execute the whois command. $output"; ?> Larry -Original Message- From: Marcelo Ferrufino Murillo [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 09, 2007 4:20 PM To: php-general@lists

Re: [PHP] multidimensional array problems

2007-01-13 Thread Larry Garfield
gt; (`user_id`, `user_level`, `list_order`, `user_name`, `password`, `email`, > `country`, `game`, `rank`, `qoute`, `config`, `map`, `gun`, `brand`, `cpu`, > `ram`, `video`, `sound`, `monitor`, `mouse`) VALUES (2, 1, 1, 'raze', > 'itsme', '[EMAIL PROTECTED]', &#x

Re: [PHP] multidimensional array problems

2007-01-13 Thread Larry Garfield
r the reply Larry, i appreciate your time spent to reply to me. If > i print the way your showing it prints for every instance. Im trying to > create a team roster like the following url shows: > http://www.chalkthree.com/exampleroster.html > > I have 3 tables in my db, league table, loo

Re: [PHP] Stripslashes

2007-01-13 Thread Larry Garfield
g a web host that doesn't let you do so, get a real web host. -- Larry Garfield AIM: LOLG42 [EMAIL PROTECTED] ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking

Re: [PHP] Stripslashes

2007-01-14 Thread Larry Garfield
> > > > > > if(!empty($_POST)){ > > > > foreach($_POST as $x => $y){ > > > > $_POST[$x] = stripslashes($y); > > > > } > > > > } > > > > > > > > This came about after someone tried to enter O'Toole in a >

Re: [PHP] Stripslashes

2007-01-14 Thread Larry Garfield
"htaccess", it's a ".htaccess" file. Mind the period. On Sunday 14 January 2007 9:56 pm, Beauford wrote: > Hi Larry, > > I'm sending this off list. I put this in the .htaccess file on the hosting > server, but still have the same problems. Is the

Re: [PHP] Mailing list combined with PHP based forum

2007-01-15 Thread Larry Garfield
e off with some tips as to how, and if, this might be > possible? > > Thanks for any advice or informaiton. > > -- > Dave M G > Ubuntu 6.06 LTS > Kernel 2.6.17.7 > Pentium D Dual Core Processor > PHP 5, MySQL 5, Apache 2 -- Larry Garfield AIM: LOLG4

<    1   2   3   4   5   6   7   8   9   >