RE: [PHP] Include Problem

2008-06-24 Thread Boyd, Todd M.
> -Original Message- > From: Wei, Alice J. [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 24, 2008 3:51 PM > To: Boyd, Todd M.; php-general@lists.php.net > Subject: RE: [PHP] Include Problem > > Alice, > > If you simply need to execute a remote PHP script and

RE: [PHP] Include Problem

2008-06-24 Thread Boyd, Todd M.
> -Original Message- > From: Wei, Alice J. [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 24, 2008 4:07 PM > To: Boyd, Todd M.; php-general@lists.php.net > Subject: RE: [PHP] Include Problem ---8<--- snip > > I think that the variables passed to will b

RE: [PHP] Monitor a WP website

2008-06-24 Thread Boyd, Todd M.
'm going to use this (with your permission, of course). Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] ImageTTFText leaves Black in letters

2008-06-24 Thread Boyd, Todd M.
ce in question--most specifically, the section where ImageTTFText is invoked. Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: exec() Error

2008-06-25 Thread Boyd, Todd M.
cURL or AJAX to push the info to your remote script, and then use exec() from the remote machine to execute the client's program which is, as I understand it, housed on the remote script's machine. Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: exec() Error

2008-06-25 Thread Boyd, Todd M.
> -Original Message- > From: Boyd, Todd M. [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 25, 2008 9:10 AM > To: Wei, Alice J. > Cc: php-general@lists.php.net > Subject: RE: [PHP] Re: exec() Error > > > -Original Message- > > From: Wei,

RE: [PHP] array_diff()?

2008-06-25 Thread Boyd, Todd M.
> var_dump($labelsFaltantes); // returns nothing > var_dump($array1); // returns a lot of stuff > var_dump($array2); // returns a lot of stuff > ?> Umm... Is $missingLabels supposed to be what you're var_dump()ing later in the code? Cuz you call it $labelsFaltantes almost immediately after, which has not been defined (by what I can see). Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: Re: [PHP] exec() Error

2008-06-25 Thread Boyd, Todd M.
and pass it parameters. Hell, even wget to standard output if you want, and use that as your "result code." It's basically doing what cURL does, but outside of the PHP script itself. Anyway, I digress. My point is that exec("php http://mysite.com/script.php";) will fail, since it will be reading the remote script's OUTPUT, and not the remote script's SOURCE CODE. HTH, Todd Boyd Web Programmer

RE: Re: [PHP] exec() Error

2008-06-25 Thread Boyd, Todd M.
> -Original Message- > From: Wei, Alice J. [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 25, 2008 3:31 PM > To: Boyd, Todd M.; Per Jessen; php-general@lists.php.net > Subject: RE: Re: [PHP] exec() Error ---8<--- snip > > Well, "http://www.mysite.

RE: RE: Re: [PHP] exec() Error

2008-06-26 Thread Boyd, Todd M.
> -Original Message- > From: Per Jessen [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 26, 2008 1:11 AM > To: php-general@lists.php.net > Subject: RE: Re: [PHP] exec() Error > > Boyd, Todd M. wrote: > > >> > >> Well, "http://www.mysite.com

RE: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Boyd, Todd M.
; What would you like on your Tombstone? (<-- that's actually a > trademarked saying) Tombstone Pizza, Pierre! So... is this like the opposite of a "Hello world" program? Perhaps a "Goodbye world" program? :) I want something like "Download complete" or "Buffering" on mine. Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Inspiration for a Tombstone.

2008-06-26 Thread Boyd, Todd M.
> -Original Message- > From: tedd [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 26, 2008 10:45 AM > To: php php > Subject: Re: [PHP] Inspiration for a Tombstone. > > Or > > unlink('tedd'); I think that would've already been done, eh? ;)

RE: Re: [PHP] exec() Error

2008-06-27 Thread Boyd, Todd M.
> -Original Message- > From: Wei, Alice J. [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 26, 2008 7:50 AM > To: Boyd, Todd M.; php-general@lists.php.net > Subject: RE: Re: [PHP] exec() Error > > Hi, Todd: > >It looks like I have some other errors in

RE: [PHP] Re: Inspiration for a Tombstone.

2008-06-27 Thread Boyd, Todd M.
lid code To quote Colin: "As I very humorously hinted at in a earlier mail on this thread, it is a very, very good idea to get into the habit of putting constants *first* in if/while/etc statements." So, I'm sure he is well familiar with this "method we're speaking of."

RE: [PHP] FW: [SPAM] RE: [PHP] fwrite() Append Files

2008-06-27 Thread Boyd, Todd M.
lice's code: $ourFileName = "hello.txt"; $ourFileHandle = fopen($ourFileName, 'wb') or die("can't open file"); So... she is not, in fact, trying to write a file over HTTP. She is reading a file via HTTP and writing something pertaining to it on the local file system. Also, please refrain from top-posting. It makes the posts get very confusing. :( Todd Boyd Web Programmer

RE: [PHP] String to date

2008-06-30 Thread Boyd, Todd M.
ho $newdate = date("Y-m-d",strtotime($olddate)); > echo ""; > echo $newdate2 = date("Y-m-d",strtotime($olddate2)); > echo ""; > echo $newdate3 = date("Y-m-d",strtotime($olddate3)); Step 1.) Replace all "-" with "/". Step 2.) Replace all "." with "/". Step 3.) Err.. wait.. you're done. Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Splitting up long URLs

2008-07-01 Thread Boyd, Todd M.
solution that's better than a PHP solution I'll take > that too. :-) STFW: http://www.w3.org/TR/css3-text/#white-space ...doesn't say much in the article about whether or not it will break up "words" rather than lines, but it's worth a shot. Todd Boyd Web

RE: [PHP] CURL de-bugging: So why am I not getting the results page on the target site?

2008-07-02 Thread Boyd, Todd M.
ong. ;) I do most of my programming at work in ASP.NET/VB.NET, and I've come to understand that the VIEWSTATE in an ASP.NET page is more or less for retaining form values and client-side settings. IIS/ASP.NET still uses sessions--and in much the same way as PHP. Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHPExcel

2008-07-03 Thread Boyd, Todd M.
for you guys, Richard, to be sure. > > Do you all just ignore the day, or do you hold some kind of > anti-celebration? Heh... almost got in trouble at work for laughing so loud at that one. Vive le revolucion! Todd Boyd Web Programmer

RE: [PHP] Looking for a reasonable explanation as to why $_REQUEST exists

2008-07-07 Thread Boyd, Todd M.
t; data he's getting it from. *cough* ... Request.Value? That seems like lazy VB.NET/ASP.NET code to me. :) It can be split into either Request.QueryString (for GET) or Request.Form (for POST). Anyway, a bit OT... Todd Boyd Web Programmer

RE: [PHP] Need help with regular expression

2008-07-10 Thread Boyd, Todd M.
y inside {%%% %%%} points to empty array item - all > section between {%%% %%%} must be deleted. ---8<--- snip Maxim, You could try using a "capture group," and re-assemble the match with the match group inbetween your {%%% %%%} omitted. Just an idea. Todd Boyd Web

[PHP] OT - RE: [PHP] scalable web gallery

2008-07-10 Thread Boyd, Todd M.
dn't figure there would be any kind of limit--excepting memory, of course--to how many files or subdirectories can be linked to a single node. Been a while since I've played with those underlying data structures we all take for granted, though, so maybe I'm way off base. Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-10 Thread Boyd, Todd M.
> -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 10, 2008 11:24 AM > To: Boyd, Todd M. > Cc: Daniel Brown; php-general@lists.php.net > Subject: Re: [PHP] OT - RE: [PHP] scalable web gallery > > On Thu, 2008-07-10 at 1

RE: [PHP] OT - RE: [PHP] scalable web gallery

2008-07-11 Thread Boyd, Todd M.
> -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 10, 2008 11:31 PM > To: Boyd, Todd M. > Cc: php-general@lists.php.net > Subject: RE: [PHP] OT - RE: [PHP] scalable web gallery > > On Thu, 2008-07-10 at 12:06 -0

RE: [PHP] Question regarding OO

2008-07-11 Thread Boyd, Todd M.
Tree. > > Oak, Evergreen or Willow extend Tree. > > I thank you all for helping me to understand. > [/snip] > > By jove, I think he's got it! > > Parking space could be a member variable of parking lot, that would > make > sense. One thing at a time, Jay

RE: [PHP] Copy Function Errors

2008-07-16 Thread Boyd, Todd M.
lationship. Web forms that include file uploads generally have a handler function on the other end, and post files via a form element. FTP's main function is the transfer of files (hence [F]ile [T]ransfer [P]rotocol), and is more in line with what you're trying to do here. HTH, Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] is there a problem with php script pulling HTML out of database as it writes the page??

2008-07-17 Thread Boyd, Todd M.
#x27;t care about > security > > issues much less know anything about them. > > > > -Stut > > > > A DBA can go pretty far to prevent SQL injection by setting > appropriate rights on the accounts that applications will use to > interact with the database: denying direct access to tables, allowing > access to only the necessary stored procedures, thereby forcing > developers to design products using only those procedures for all data > access. Of course, a lot of developers would complain under this level > of security, and I suspect a lot of frameworks that are out there > would be much less "useful" to lazy programmers. ...and giving procedures that only need read access--wait for it--only read access! I have seen so many pages from work I've done on crowd-sourcing websites that use one (practically) super-user DBMS account to read one or two columns from one or two rows and display them. It boggles the mind. Todd Boyd Web Programmer

RE: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd!

2008-07-31 Thread Boyd, Todd M.
with no available options. Summary: Page has two DIVs: one for state list, one for county list (which is empty). User clicks first DIV's selection box, onChange JS method fires AJAX call to getCounties.php?state=XX (where XX is the chosen state). PHP on the other end builds a selection list for the given state and returns it to the AJAX call. The AJAX result is then assigned to the second div, which now contains the list of counties for the given state. HTH, Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd!

2008-07-31 Thread Boyd, Todd M.
> -Original Message- > From: Rahul S. Johari [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 31, 2008 12:27 PM > To: Boyd, Todd M. > Cc: php-general@lists.php.net > Subject: Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd! > > > On Jul 31, 2008

RE: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd!

2008-07-31 Thread Boyd, Todd M.
, select the country from a > > list and it populates the state list with > > states/provinces/territories/adminstrative disticts/etc. that belong > > to that country?) I know the order is "backward" from how one > > typically writes an address on paper, but otherwise your state list > > will be HUGE and often your country list would only have one value > > after the user selects a state. *cough* ...pretty sure he wrote "county", guys. ;) Todd Boyd Web Programmer

RE: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd! -- SOLVED!!

2008-07-31 Thread Boyd, Todd M.
> -Original Message- > From: Rahul S. Johari [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 31, 2008 2:06 PM > To: Boyd, Todd M. > Cc: php-general@lists.php.net > Subject: Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd! -- > SOLVED!! > > > D

RE: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd!

2008-07-31 Thread Boyd, Todd M.
> -Original Message- > From: Micah Gersten [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 31, 2008 2:08 PM > To: Boyd, Todd M. > Cc: PHP General list > Subject: Re: [PHP] Dynamic Select Lists - 1st Selection Effects 2nd! > > You're right. Same principles

RE: [PHP] Internationalisation and MB strings

2008-08-01 Thread Boyd, Todd M.
even by a factor of 2 on > my > > development machine. 1 * 0.02 = 200 milliseconds. I don't think you've got anything to worry about... unless counting to "2" is an unacceptable wait for your process. :) Todd Boyd Web Programmer

RE: [PHP] Internationalisation and MB strings

2008-08-01 Thread Boyd, Todd M.
continuum and sometimes manages to go back in time a few > microseconds. (Actually, there is a much more rational explanation for > it if anyone cares, but this one sounds cooler.) I'm guessing that would be right around the time the PHP interpreter reaches 88 miles per hour and the flux capacitor is activated. :D Todd Boyd Web Programmer

RE: [PHP] Not found regex

2008-08-04 Thread Boyd, Todd M.
looking for "not a backslash or a period" in that character set. And btw... if you don't need to have the entire pathname returned (but only whether or not it matches your condition), then you can trim the fat off your regex and just use: !\.ogg$ Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PDO prepared statements and LIKE escaping

2008-08-04 Thread Boyd, Todd M.
tement if I will be running it several times with > different parameter values each time, or choose not to incur the > overhead if I'm only going to run a statement once. I believe that (and don't quote me on this) newer versions of SQL Server are setup to where EVERYTHING is "

RE: [PHP] Re: Version Control Software

2008-08-07 Thread Boyd, Todd M.
past, I installed TortoiseSVN and the associated SVN Server (local-only) found on www.tigris.org . I've gotta say... it's been a breeze to setup (I used the SVN "1-Click Setup" installer), and I've already migrated several of the projects I'm working on to the repository and tested extractions and versioning. Pretty slick! I can't speak for GIT... but if it's mostly command line, with 130+ switches, I think I'll pass. Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: PUT vs. POST (was: php File upload)

2008-08-08 Thread Boyd, Todd M.
ys a push in (hopefully) the right direction. I had to use Java for the simple fact that PHP by itself cannot access the local file system in a way that allows for the partial loading of files. If I/we get the source to work, 2GB, 4GB, the contents of the library of congress... all will be feasible. More news at 11, Todd Boyd Web Programmer

RE: RE: [PHP] Re: PUT vs. POST (was: php File upload)

2008-08-11 Thread Boyd, Todd M.
> -Original Message- > From: Per Jessen [mailto:[EMAIL PROTECTED] > Sent: Saturday, August 09, 2008 9:09 AM > To: php-general@lists.php.net > Subject: RE: [PHP] Re: PUT vs. POST (was: php File upload) > > Boyd, Todd M. wrote: > > > I had to use Java for the

[PHP] Re: PUT vs. POST (was: php File upload)

2008-08-11 Thread Boyd, Todd M.
on the client. > Apparently it went nowhere. Willing to bet it had been completely squashed due to ActiveX vulnerabilities and that Firefox actively refuses ADO. Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: RE: RE: [PHP] Re: PUT vs. POST (was: php File upload)

2008-08-11 Thread Boyd, Todd M.
> -Original Message- > From: Per Jessen [mailto:[EMAIL PROTECTED] > Sent: Monday, August 11, 2008 1:17 PM > To: php-general@lists.php.net > Subject: RE: RE: [PHP] Re: PUT vs. POST (was: php File upload) > > tedd wrote: > > >>Todd, I just wanted to stres

RE: [PHP] Re: regex

2008-08-13 Thread Boyd, Todd M.
;> Thanks in advance, > >> ~Phil > > > > Cheers, > > ~Philip > > That regex might not always work for you, (&) comes to mind. You > might want to look at parse_str() which you can use after parse_url() > if > needed. I think /(.*)\.php\?action=

RE: [PHP] On one of my computers, php can't see an external javascriptI included

2008-08-14 Thread Boyd, Todd M.
> -Original Message- > From: Carlos Medina [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 14, 2008 2:06 AM > To: php-general@lists.php.net > Subject: Re: [PHP] On one of my computers, php can't see an external > javascriptI included > > googling1000 schrieb: > > I have apache and php o

RE: [PHP] PHP editor for linux

2008-08-14 Thread Boyd, Todd M.
e to install from source > to get PHPEclipse to work right. ---8<--- snip > It flance wrote: > > Hi, > > > > What do you think is the best php editor for linux. > > > > I'm using the Debian distribution. Yep, PHPEclipse will be all sorts of fudged if you a

RE: [PHP] PHP editor for linux

2008-08-14 Thread Boyd, Todd M.
From: Nathan Nobbe [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2008 4:00 PM To: Boyd, Todd M. Cc: php-general@lists.php.net Subject: Re: [PHP] PHP editor for linux On Thu, Aug 14, 2008 at 2:54 PM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote: > -Original Message- >

RE: [PHP] Displaying files

2008-08-14 Thread Boyd, Todd M.
HP/else be compromised. > > If you're using Apache on Windows then you'll need to check the > service configuration to see what user it's running as. It can be done somewhat securely by mapping a network drive and then granting permissions to it specifically, rather than the network itself. (I believe...) Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Displaying files

2008-08-14 Thread Boyd, Todd M.
> -Original Message- > From: Stut [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 14, 2008 4:34 PM > To: Boyd, Todd M. > Cc: php-general@lists.php.net > Subject: Re: [PHP] Displaying files > > On 14 Aug 2008, at 22:24, Boyd, Todd M. wrote: > > >>

RE: [PHP] Removing an element from the middle of an mdlti-dimentsional array

2008-08-15 Thread Boyd, Todd M.
ith: > > $myArray = array(array('1','2','3')); > > when I really want: > > $myArray = array(array('1','2','3'), array('7','8','9'), > array('10','11','12')); Yep. He had been using the return value of array_splice(), which is just the spliced elements--not the resulting array post-splice. http://www.php.net/array_splice Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] import XLS sheet into DB

2008-08-15 Thread Boyd, Todd M.
ant the elements separated into table columns, or do you just want to store the XLS for later retrieval as a whole? Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Passing variable to a page in a frameset

2008-08-15 Thread Boyd, Todd M.
frames?!?! > > > > > There's nothing wrong with a Frame every once in a while! Granted they > aren't used much anymore, but sometimes they can be useful! I believe frames and framesets are being phased out of XHTML altogether. It's all about DIVs nowadays.

RE: [PHP] Re: PHP editor for linux

2008-08-15 Thread Boyd, Todd M.
> > pico :-) > > > > > > ed baby; its all about ed! > > > > hexedit /dev/sda1 > > > > ;) > > > > Butterflies. :-) > > http://xkcd.com/378/ Haha! Yes! That is one of my favorite XKCD strips. Kudos, my friend. For those of you who are unfamiliar--give it a click. You won't be sorry. Todd Boyd Web Programmer

RE: [PHP] SESSION problem

2008-08-15 Thread Boyd, Todd M.
> > Now, where did I go wrong? > > Cheers, > > tedd > > PS: I've tried this on two different servers and get the same results. Have you tried: echo SID; ...? I'm wondering if you're going to get different values on the two pages. What that

RE: [PHP] How to submit form via PHP

2008-08-15 Thread Boyd, Todd M.
...will send the output from cURL to the variable rather than the web browser/screen. Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Semi-ADVERT, not really spam, sorry for it

2008-08-19 Thread Boyd, Todd M.
en alive. > > > >Cheers, > > > >tedd > > > > Oops. > > Apparently my length of freelancing hasn't been enough to teach me > the difference between OFF_LIST and NOT. > > But, to drive my point further home, I got underwear older than most

RE: [PHP] Developing a game using Ming

2008-08-20 Thread Boyd, Todd M.
o those just use an interpreted language in the background to generate the content you "make" with them? (Honestly curious... not trying to be snarky.) Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: concatenating with "." or ","

2008-08-29 Thread Boyd, Todd M.
ime and > too many people. At least Michigan is green and if you stay away from > Detroit, there's not much crime either. I hail from Missouri, myself. Glad to see another native in the list (even if you deserted us for greener pastures). ;) Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: Re: [PHP] CMS-Blog system

2008-09-04 Thread Boyd, Todd M.
it boggles the mind. Also--might consider joining a MySQL list if you're going to have problems in that area. In a nod to the movie "300"... Madness? THIS... IS... PHP-GENERAL! Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Google Chrome [0T]

2008-09-04 Thread Boyd, Todd M.
e, Chrome--and apparently WebKit as a whole (Safari, etc.)--does not support the creation of XML DOM elements using Javascript. I realize it has little or nothing to do with PHP, but I thought it was worth bringing up. I'm working on a Google Maps mash-up right now, and I figured I'd test it out in Chrome after I downloaded the browser here at work. It breaks on document.implementation and (of course) the ActiveX method. Todd Boyd Web Programmer

RE: [PHP] Google Auth Scripts

2008-09-04 Thread Boyd, Todd M.
ur contacts - which is great - but not really > what I need. None of those scripts can be leveraged, then? I'm unsure about having an avatar set, but if there's a script that can pull someone's contacts, I think the authentication half of your problem is already taken care of.

RE: [PHP] Google Chrome

2008-09-04 Thread Boyd, Todd M.
hen programs install resident agents that eat my memory and perform background network activity. Rrgh! Points taken away from Google for this app's EULA and its methods. Slick otherwise, though (aside from the lack of XMLDOM instantiation support for Javascript)... Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Google Chrome

2008-09-04 Thread Boyd, Todd M.
> -Original Message- > From: Wolf [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 04, 2008 1:34 PM > To: Boyd, Todd M. > Cc: php-general@lists.php.net > Subject: RE: [PHP] Google Chrome > > > > You can at least track memory + cpu usage through the Task

RE: [PHP] unset($_GET['i'])

2008-09-04 Thread Boyd, Todd M.
t particular URL. Unsetting $_GET['i'] will only erase the variable for that instance of that PHP script. As soon as you refresh, you are calling a new instance of that PHP script and assigning $_GET['i'] the value "asdf" (or whatever). If clearing that value on refre

RE: [PHP] Google Chrome

2008-09-05 Thread Boyd, Todd M.
and somebody already showed how to crash the whole damn app. > type 'evil:%', for example, into the addressbar IIRC Yep, that'll do it. As soon as you type the %, it crashes. Anything followed by ":%" seems to do it. Also FWIW, I've crashed it with 5 tabs open when I tried to close one of the tabs. Clicking the option to restart Chrome brought it back up with all 5 tabs. Again, when I tried to close one, it crashed and reinstated all 5 upon restart... ad nauseum. Maybe I'm picky... but if a newly-released beta program crashes in the first minute or two that I'm playing with, it proobably wasn't ready for beta in the first place. My 2c. Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Header() - POST

2008-09-05 Thread Boyd, Todd M.
u want to do with it instead of putting an extra step in-between? I see your model like this: 1.) Get POST data 2.) Scrub POST data 3.) Re-submit POST data 4.) Deal with POST data Whereas I'm getting at this: 1.) Get POST data 2.) Scrub POST data 3.) Deal with POST data Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Header() - POST

2008-09-05 Thread Boyd, Todd M.
> -Original Message- > From: Dan Joseph [mailto:[EMAIL PROTECTED] > Sent: Friday, September 05, 2008 11:16 AM > To: php-general@lists.php.net > Subject: Re: [PHP] Header() - POST > > On Fri, Sep 5, 2008 at 12:11 PM, Boyd, Todd M. <[EMAIL PROTECTED]> > wrote:

RE: [PHP] Sending username/password

2008-09-06 Thread Boyd, Todd M.
's a library that mimics browser behavior. It will follow "Location:" headers, push POST variables, etc. Why not just give the page a glance? http://us3.php.net/manual/en/intro.curl.php -Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Problem of Connection Character Sets and Collations

2008-09-08 Thread Boyd, Todd M.
some searching. After a Google session that lasted all of about a minute and a half, I found this page: http://dev.mysql.com/doc/refman/5.0/en/charset-syntax.html which shows "utf8" being used in a MySQL command. My guess is that answer #1 and answer #3 are "utf8" instead of &q

RE: [PHP] Large/unreliable file uploading over HTTP

2008-09-08 Thread Boyd, Todd M.
nd (though I'm currently working with PHP). Some bytes are missing from the resulting file when I try to upload an MP3, but it's a work in progress. I don't see the problem with using a Java Applet or something that is easily installed on-demand. Java doesn't quite have the widespread adoption I would hope for, but it definitely makes its' way around. Todd Boyd Web Programmer

RE: [PHP] Large/unreliable file uploading over HTTP

2008-09-08 Thread Boyd, Todd M.
> -Original Message- > From: Jason Pruim [mailto:[EMAIL PROTECTED] > Sent: Monday, September 08, 2008 10:48 AM > To: Boyd, Todd M. > Cc: php-general@lists.php.net; Craige Leeder > Subject: Re: [PHP] Large/unreliable file uploading over HTTP > > > On Sep 8, 2008

RE: [PHP] Large/unreliable file uploading over HTTP

2008-09-08 Thread Boyd, Todd M.
> -Original Message- > From: mike [mailto:[EMAIL PROTECTED] > Sent: Monday, September 08, 2008 1:19 PM > To: Boyd, Todd M. > Cc: Jason Pruim; php-general@lists.php.net > Subject: Re: [PHP] Large/unreliable file uploading over HTTP > > Yes, share it please! > &g

RE: [PHP] pulling data from array

2008-09-08 Thread Boyd, Todd M.
anslate to js function calls foreach($objArray as $record) { echo "data.setCell(0, 0, '{$row['firstname']}', '{$row['lastname']}');"; } ?> } ... I hope that helps. Somehow, I don't think you're using the Google Apps Javascript function ".setCell" properly. I'm guessing the first to parameters are the cell coordinates, and it's always [0,0] in your loop. Anyway... Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] pulling data from array

2008-09-08 Thread Boyd, Todd M.
> -Original Message- > From: Boyd, Todd M. > Sent: Monday, September 08, 2008 2:28 PM > To: 'Richard Kurth'; 'php-general@lists.php.net' > Subject: RE: [PHP] pulling data from array ---8<--- snip > > # now loop through your object array and

RE: [PHP] pulling data from array

2008-09-08 Thread Boyd, Todd M.
I've been working with ASP.NET too much recently. I didn't even see that he wasn't fetching the row as an associative array. I seem to remember using mysql_fetch_row() for it when I was doing more PHP/DB-oriented coding. Object instantiation to contain a row of information that could already be acc

RE: [PHP] CSV output.

2008-09-08 Thread Boyd, Todd M.
fterwards. (Quick and dirty, I know... but it sounds like that's what you're trying to accomplish.) Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Large/unreliable file uploading over HTTP

2008-09-08 Thread Boyd, Todd M.
> -Original Message- > From: mike [mailto:[EMAIL PROTECTED] > Sent: Monday, September 08, 2008 1:38 PM > To: Boyd, Todd M. > Cc: php-general@lists.php.net > Subject: Re: [PHP] Large/unreliable file uploading over HTTP > > On Mon, Sep 8, 2008 at 11:35 AM, Boyd, T

RE: [PHP] Regex help

2008-09-09 Thread Boyd, Todd M.
e group) followed by an optional forward slash, followed by the end of the line." The rewrite is fairly straightforward. I went 100% generic with the match due to your following e-mail that stated "jasonpruim112" could be any username. If "112" is necessary for the

RE: [PHP] Re: Google Maps Distance Between UK Postcodes

2008-09-11 Thread Boyd, Todd M.
idering that my other profession is Geophysicist, I'm kind of up > on those sort of things. The Earth is an oblate spheroid and the > computation to include the curvature of the earth would be a bit more > involved. ---8<--- snip But it's also NOT an oblate spheroid! :) http://blogs

RE: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2

2008-09-12 Thread Boyd, Todd M.
about Facebook's API and their draconic limitations on markup language and Javascript... but this "Vista sucks and I won't comment as to why" broken record has run its course. Have a lovely day! Todd Boyd Web Programmer

RE: [PHP] Re: Google Maps Distance Between UK Postcodes

2008-09-12 Thread Boyd, Todd M.
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Colin Guthrie > Sent: Friday, September 12, 2008 3:15 AM > To: php-general@lists.php.net > Subject: [PHP] Re: Google Maps Distance Between UK Postcodes > > Boyd, Todd M. wrote: >

RE: [PHP] Readdir() question

2008-09-12 Thread Boyd, Todd M.
s too much work when there is already a methodology in place that works--the underlying filesystem. I guess it would be faster if you cached file attributes (last mod time, owner, etc.) every now and again on some sort of schedule, and read the attributes from the table instead of the file itself..

RE: [PHP] Re: uploading file outside WEB Root

2008-09-12 Thread Boyd, Todd M.
uts as if they were the actual folder/file... but as soon as you get out of the GUI, Windows doesn't know what to do with them. As for uploading outside of your web root--it's possible. You just need to give apache/IIS/whatever-your-web-server-is the proper permissions for the folder in qu

RE: [PHP] Google Maps Distance Between UK Postcodes [0T]

2008-09-12 Thread Boyd, Todd M.
> -Original Message- > From: tedd [mailto:[EMAIL PROTECTED] > Sent: Friday, September 12, 2008 9:41 AM > To: Boyd, Todd M.; php-general@lists.php.net > Subject: RE: [PHP] Re: Google Maps Distance Between UK Postcodes > > At 3:54 PM -0500 9/11/08, Boyd, Todd M. wrot

RE: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2

2008-09-12 Thread Boyd, Todd M.
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Colin Guthrie > Sent: Friday, September 12, 2008 9:44 AM > To: php-general@lists.php.net > Subject: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet > Explorer 8 beater 2 &

RE: [PHP] Re: uploading file outside WEB Root

2008-09-12 Thread Boyd, Todd M.
2008, at 516AM, Luke wrote: > > > Could you use a symbolic link? If on Linux 'ln -s /fpath/foldername'? > > > > Not sure how to do this on Windows > > Windows 2k and up do support symbolic links, take a look at > http://technet.microsoft.com/en-us/sysinternal

RE: [PHP] Re: Why MS Won't Retire Browsers -- was: InterntetExplorer 8 beater 2

2008-09-12 Thread Boyd, Todd M.
> -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED] > Sent: Friday, September 12, 2008 1:11 PM > To: Boyd, Todd M. > Cc: php-general@lists.php.net > Subject: RE: [PHP] Re: Why MS Won't Retire Browsers -- was: > InterntetExplorer 8 beater 2

RE: [PHP] Re: uploading file outside WEB Root [0T]

2008-09-12 Thread Boyd, Todd M.
> -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED] > Sent: Friday, September 12, 2008 1:12 PM > To: Boyd, Todd M. > Cc: Luke; php-general@lists.php.net > Subject: RE: [PHP] Re: uploading file outside WEB Root > > On Fri, 2008-09-12 at 09:38 -0

RE: [PHP] Re: Why MS Won't Retire Browsers -- was: Interntet Explorer 8 beater 2

2008-09-16 Thread Boyd, Todd M.
) about Bill Gates' end user experience with Windows XP. Needless to say: he was pissed off. Nothing worked like he wanted it to, and he had to download 8 extra software packages and STILL didn't wind up getting what he wanted (Windows Movie Maker). I found it on Fark, maybe I can trac

RE: [PHP] Adding encryption to passwords

2008-09-19 Thread Boyd, Todd M.
mp;592SaLT!!/"; $hashedText = hash(hash($salt) . hash($salt . $textToHash) ...either example makes it much more difficult for a cracker than just hashing a dictionary and trying each result. HTH, Todd Boyd Web Programmer

RE: [PHP] Re: Version Control Software

2008-09-19 Thread Boyd, Todd M.
sual Studio 2008. As for a web front, I've been using Tomcat (Apache's answer to JSP) and a package called "svnwebclient" from Polarion: http://www.polarion.org/index.php?page=overview&project=svnwebclient . Smooth interface, and it's got all of the major features you would expect from an SVN client--web app or not. HTH, Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Encrypt database table

2008-09-22 Thread Boyd, Todd M.
> > encrypting DBs. Search the archives and/or ask a MySQL list. > > > > But to not be a complete jerk... I use AES. Windows Key + L = Lock. Yes, it exists in Windows. It's even fairly well-documented. *gasp!* But, yeah... you should totally tell your DBA to change operating systems on the sheer premise of a minute increase in functionality. ;P Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Encrypt database table

2008-09-22 Thread Boyd, Todd M.
> -Original Message- > From: Nathan Rixham [mailto:[EMAIL PROTECTED] > Sent: Monday, September 22, 2008 12:23 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Re: Encrypt database table > > Boyd, Todd M. wrote: > >> -Original Message- > >

RE: [PHP] Reading a Word document from PHP

2008-09-22 Thread Boyd, Todd M.
> > > > > > Ash > > www.ashleysheridan.co.uk > > > > > Sadly, no...the closest you could come to, would be to try and see if > you > can manipulate OpenOffice via exec or something like that to read the > document and do what you need to There's a Python script described in this article: http://www.gsdesign.ro/blog/php-convert-microsoft-word-doc-to-pdf/ ...that sounds like it will do what you want. Sucks that it's using Python, but at least it's a technology that isn't hard to put on a Linux machine. Other than that, I would recommend Mono, perhaps, and use a .NET DLL (or similar construct). HTH, Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Filters and sanitizing a regexp

2008-09-25 Thread Boyd, Todd M.
me oaf not > leave > the date field as just digits. Using preg_match and numbered groups, you could re-build the variable like this: "; } else { $filtered = $matches[1] . $matches[2] . $matches[3]; echo $filtered; } ?> HTH, Todd Boyd Web Programmer -- PHP General Mail

RE: [PHP] Filters and sanitizing a regexp

2008-09-25 Thread Boyd, Todd M.
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Richard Heyes > Sent: Thursday, September 25, 2008 2:28 PM > To: Boyd, Todd M. > Cc: Frank Stanovcak; php-general@lists.php.net > Subject: Re: [PHP] Filters and sanitizing a rege

RE: [PHP] Passing Variables to an iframe

2008-09-26 Thread Boyd, Todd M.
so I won't comment as to a "better way," but I'll say this: any properties of any DOM element you dish out to the user can be read and/or modified after they have been sent. If you have any filenames, URLs, or sensitive data that is used in processing--but *doesn't* need to be

RE: [PHP] extract column from multidimentional array

2008-09-29 Thread Boyd, Todd M.
27;10', '11', '12', '13'), > array('20', '21', '22', '23'), > ); > > $row = $arr[0]; > $col = $arr[][0]; > print_r($row); > print "\n"; > print_r($col); > ?> Being t

RE: [PHP] Digital signature

2008-09-30 Thread Boyd, Todd M.
> -Original Message- > From: Balasubramanyam A [mailto:[EMAIL PROTECTED] > Is it possible to digitally signature on PHP document using PHP? S. T. F. W. http://www.pgpi.org/ That should at least get you started. Todd Boyd Web Programmer -- PHP General Mailing L

RE: [PHP] Digital signature

2008-09-30 Thread Boyd, Todd M.
From: Balasubramanyam A [mailto:[EMAIL PROTECTED] Hello Todd, Sorry about the typo error in my previous email. My question is, how to digitally sign on PDF document using PHP? I searched web, but could not get more information on this topic. Could you please give me an example on how to

RE: [PHP] Sterilizing regexp

2008-09-30 Thread Boyd, Todd M.
tched in the first array slot and subsequent capture groups--(.*?) for instance--in the remaining array slots. preg_match_all() can be used to find multiple MATCHEs (perhaps each with multiple CAPTURE GROUPs) if there are more than one in the string being traversed. HTH, Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Mailing List fun

2008-10-01 Thread Boyd, Todd M.
ging your own message as OT so that people can skip it rather than complain is rewarded with a bounce... Se la vi. Todd Boyd Web Programmer

<    2   3   4   5   6   7   8   >