Re: [PHP] Updating HTML on page

2010-04-05 Thread TG
in the script - client caching and processing, but why mess with iffy when you can use a proven technology like AJAX. Get familiar with jQuery (or one of the other big JS libraries, but jQuery is my choice hands-down) and you'll probably find it's pretty easy. -TG - Original Message - From

Re: [PHP] Inserting Associative array values into a MySQL INSERT statement?

2010-02-14 Thread TG
to these values break; default: break; } return $query; } -TG - Original Message - From: Ben Stones b3n...@googlemail.com To: php-general@lists.php.net Date: Sun, 14 Feb 2010 13:18:06 + Subject: [PHP] Inserting Associative array values into a MySQL INSERT

Re: [PHP] php selecting multiple stylesheets

2010-02-07 Thread TG
list but I think a client side script may work better in this case. -TG - Original Message - From: David Mehler dave.meh...@gmail.com To: php-general@lists.php.net Date: Sun, 7 Feb 2010 23:20:18 -0500 Subject: [PHP] php selecting multiple stylesheets Hello, I'm trying to set up a web site

Re: [PHP] In need of PHP to JS collapsable array printing routine?

2010-01-29 Thread TG
Take a look at the Firebug addon for Firefox and another addon called FirePHP or FireConsole (the new name coming soon). It lets you output PHP debugging data to HTTP headers that show up in your Firebug console. I believe it supports collapsable tree type output. -TG - Original Message

Re: [PHP] Good source for sample data?

2010-01-28 Thread TG
of these, but once again.. Google is your friend. -TG - Original Message - From: Brian Dunning br...@briandunning.com To: php-general@lists.php.net, my...@lists.mysql.com Date: Thu, 28 Jan 2010 15:52:41 -0800 Subject: [PHP] Good source for sample data? Hey all - I need a few million

Re: [PHP] PHP and SEO Workarounds

2009-12-20 Thread TG
that and deliver it to your audience higher in search rankings. There are other things, but these are some of the big ones. -TG - Original Message - From: Gautam Bhatia mail2gautambha...@gmail.com To: php-general@lists.php.net Date: Sun, 20 Dec 2009 12:15:45 -0500 Subject: [PHP] PHP

Re: [PHP] Wiki recommendation?

2009-11-25 Thread TG
Well, if you want to get really extreme, you could use TiddlyWiki: http://www.tiddlywiki.com/ It's a wiki contained in a single HTML file. No database. No server side scripting. No server! hah -TG - Original Message - From: Skip Evans s...@bigskypenguin.com To: TG tg

RE: [PHP] How to output a NULL field?

2009-08-26 Thread TG
it even gets to your DB class. -TG - Original Message - From: David Stoltz dsto...@shh.org To: Paul M Foster pa...@quillandmouse.com, php-general@lists.php.net Date: Wed, 26 Aug 2009 07:29:53 -0400 Subject: RE: [PHP] How to output a NULL field? Paul, This all started because when I

Re: [PHP] Newbie: can't access a return value.

2009-08-01 Thread TG
Try: $records = $associacao_dao-listar($limit, $offset); -TG - Original Message - From: MEM tal...@gmail.com To: php-general@lists.php.net Date: Sat, 1 Aug 2009 17:13:09 +0100 Subject: [PHP] Newbie: can't access a return value. Hi all, When I do this: $associacao_dao-listar($limit

Re: [PHP] Possible Server Infection?

2009-04-04 Thread TG
. Anyway, just some thoughts. Good luck! -TG - Original Message - From: sono...@fannullone.us To: php-general@lists.php.net Date: Sat, 4 Apr 2009 16:12:06 -0700 Subject: [PHP] Possible Server Infection? Hi all, I was wondering if someone might know about a problem I'm having

Re: [PHP] Problems with implode

2009-03-24 Thread TG
a problem, but I've never seen any issues with it like you're describing. -TG - Original Message - From: Toke Herkild t...@ezl-data.dk To: php-general@lists.php.net Date: Tue, 24 Mar 2009 12:14:01 +0100 Subject: [PHP] Problems with implode Hi All, I've an array() with approx 1200

Re: [PHP] Dynamic Date List Newbie Problem

2009-03-12 Thread TG
will translate to 11/1/2008. This is totally off the top of my head, but you get the idea. Works with days and years too. Sometimes it's useful when going backwards and not sure how many days the previous month had (without doing another call to find out). -TG - Original Message - From

Re: [PHP] Happy 1234567890 day!

2009-02-13 Thread TG
http://timestamp1234567890.com/ - Original Message - From: Lists li...@euca.us To: php-general@lists.php.net Date: Fri, 13 Feb 2009 11:33:28 -0600 Subject: [PHP] Happy 1234567890 day! :-) Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o D. BROOKE

Re: [PHP] Question about version control.. sorta..

2009-02-05 Thread TG
Windows version control system, check it out. (no, I don't work for them, just passing along the recommendation since I'm digging this software) Thanks for all the input! -TG - Original Message - From: TG tg-...@gryffyndevelopment.com To: php-general@lists.php.net Date: Wed, 31 Dec

Re: [PHP] Clarity needed

2009-02-04 Thread TG
Yup, that's how I've done it before: tutors - id tutorname courses - id coursename xref_tutors_courses tutor_id course_id But I've been known to do things goofy before. I'm curious to see how other people handle it. -TG

Re: [PHP] Non-traditional software accessing my website

2009-01-26 Thread TG
asking are severely prohibitive. -TG -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP webhosting - USA

2009-01-24 Thread TG
recommend them if you have a good bit of traffic. I think HostMySite had good support too, if I recall. But again, I like DreamHost's system better. Anyway, just my 2cents. I'm sure there'll be a million other responses. Good luck! -TG - Original Message - From: Martin Zvarík mzva

Re: [PHP] Installation problems on Vista

2009-01-19 Thread TG
You most likely need to configure Apache to process PHP script files. Check out this page: http://www.ampsoft.net/webdesign-l/how-to-install-apache-php-mysql-3.html -TG - Original Message - From: lucson pierre-charles lucsonpie...@hotmail.com To: php-general@lists.php.net Date: Mon

Re: [PHP] Basic Authentication

2009-01-14 Thread TG
/htaccess-authentication/ They should be secure enough since they don't really know what site you're going to use them on, but apply whatever paranoia you're comfortable with to using such tools. -TG - Original Message - From: tedd t...@sperling.com To: PHP-General php-general@lists.php.net

Re: [PHP] Basic Authentication

2009-01-14 Thread TG
Could it be that you tested the correct algorithm but didn't use the correct salt or some other permutation to receive the same encoded result? -TG - Original Message - From: tedd tedd.sperl...@gmail.com To: Shawn McKenzie nos...@mckenzies.net, php-general@lists.php.net Date: Wed, 14

Re: [PHP] Re: A beginner´s question

2009-01-04 Thread TG
PHP) textarea rows=5 cols=28 readonly name=?php echo $tastes; ? (notice the on the end.. one is to close the PHP code, the other is to close the TEXTAREA tag) -TG -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question about version control.. sorta..

2009-01-01 Thread TG
whitelisting by file type (or blacklisting if necessary) or even doing it by file size would be fine. My web host supports rsync, but I don't think I've seen any version control options for rsync. This seems like a fairly basic request, but it's stumping me. -TG - Original Message - From

[PHP] Question about version control.. sorta..

2008-12-31 Thread TG
-unbiased response. :) Thanks in advance! -TG -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A MySQL Question

2008-12-07 Thread TG
, or something similar that at least contained some vowels, but it's kind of nice to reduce a mouthful a little bit. I've never heard squell, though. Not sure I like that very much. -TG - Original Message - From: tedd [EMAIL PROTECTED] To: PHP General Mailing List php-general@lists.php.net Date

Re: [PHP] how can I make an email bounce

2008-11-23 Thread TG
to replicate even if you control the server. Someone more intimately familiar with email servers might be able to give you some ideas, though. I admit ignorance on most of that. -TG - Original Message - From: Richard Kurth [EMAIL PROTECTED] To: PHP General List php-general@lists.php.net

Re: [PHP] PHP performance profiling

2008-11-18 Thread TG
comprehensive solution available. Thanks in advance. -TG If you cannot install stuff on your server, set yourself up a local dev environment. You should really be doing this anyways. One of the easiest ways to do this is to download a pre-made vmware player server application. Or you could

Re: [PHP] Random number generator

2008-11-05 Thread TG
method. Just starting out with PHP or is this a homework assignment? :) -TG - Original Message - From: WEISD [EMAIL PROTECTED] To: php-general@lists.php.net Date: Wed, 5 Nov 2008 12:41:21 -0600 Subject: [PHP] Random number generator On a php web page I want to generate a random

Re: [PHP] New to PHP

2008-10-13 Thread TG
. He wrote many functions that he didn't need to because he assumed PHP was as sparse as a real programming language. At any rate, you'll learn tons as you go along and probably look back at your early efforts and say What was I thinking?. Don't worry about it, comes with the territory. -TG

Re: [PHP] New to PHP

2008-10-13 Thread TG
The problem with pointing out the pros and cons is that it will lead to another holy war. :) - Original Message - From: Micah Gersten [EMAIL PROTECTED] To: PHP General php-general@lists.php.net Date: Mon, 13 Oct 2008 10:48:34 -0500 Subject: Re: [PHP] New to PHP The problem with bottom

Re: [PHP] Top/bottom posting holy war *cringe* (was: New to PHP)

2008-10-13 Thread TG
I concede only that the PHP list has a requested style (bottom posting). I disagree on it's usefulness OVER top posting. I'm perfectly able to read top or bottom posted messages with nearly equal fluidity. I find top posting to be more fluid and useful. I've never quite sure why this

Re: [PHP] Re: HTML5 canvas tag

2008-10-12 Thread TG
This is the coolest thing I've seen using canvas so far: http://www.abrahamjoffe.com.au/ben/canvascape/ - Original Message - From: Ashley Sheridan [EMAIL PROTECTED] To: Yeti [EMAIL PROTECTED] Cc: PHP - General php-general@lists.php.net Date: Sun, 12 Oct 2008 23:08:30 +0100 Subject: Re:

RE: [PHP] [Semi-OT] Tonns of jobs available

2008-10-10 Thread TG
a proposal from someone who's been burnt before, there's a higher likelihood that they're going to put unreasonable demands on you, hoping to control the 'burn' the second time around. Blarg. Screw it. hah -TG - Original Message - From: tedd [EMAIL PROTECTED] To: php-general

Re: [PHP] Google Chrome

2008-09-05 Thread TG
on that you just can't control. Not sure. -TG - Original Message - From: Richard Heyes [EMAIL PROTECTED] To: TG [EMAIL PROTECTED] Cc: Ovidiu Rosoiu [EMAIL PROTECTED],php-general@lists.php.net Date: Fri, 5 Sep 2008 09:12:13 +0100 Subject: Re: [PHP] Google Chrome Hi, There's

Re: [PHP] Google Chrome

2008-09-04 Thread TG
There's an option for pre-buffering things, I believe. It may be doing that. Or it may be just indexing your whole HD and sending it's contents back to Google. :) -TG - Original Message - From: Ovidiu Rosoiu [EMAIL PROTECTED] To: Richard Heyes [EMAIL PROTECTED] Cc: php-general

Re: [PHP] Google Chrome

2008-09-02 Thread TG
Mouse wheel works fine for me. - Original Message - From: Douglas Temple [EMAIL PROTECTED] To: Robert Cummings [EMAIL PROTECTED] Cc: php-general@lists.php.net Date: Tue, 2 Sep 2008 21:04:30 +0100 Subject: Re: [PHP] Google Chrome Beta or not, it's still amazingly fast. Despite the fact

Re: [PHP] Manual Coding vs. CMS Systems

2008-08-28 Thread TG
it. My biggest issue is that with my work, I don't have time/budget to ever really customize Joomla to the point where it feels right, so I appreciate how much good it can do... I feel like I'm leaving jobs half done sometimes. -TG - Original Message - From: Auto-Deppe, C. Haensel

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

2008-08-25 Thread TG
This, is a , test; // blinding dumps each string to output echo This . is a . test; // Creates a string This is a test then dumps it to output But as always, the best way to find out is to create a script to perform the operations a couple thousand times each and record the times. -TG

Re: [PHP] PHP Code I Must find

2008-05-29 Thread TG
You could look at the email cloaking routine that Joomla uses. Here's a starting point: http://dev.joomla.org/component/option,com_jd-wiki/Itemid,/id,references:joomla.framework:html:jhtmlemail-cloak/ -TG - Original Message - From: John Taylor-Johnston [EMAIL PROTECTED] To: PHP-General

Re: [PHP] Unzipping file through PHP

2008-05-22 Thread TG
Last night I was looking around at frameworks and such and I found ez Components which has an 'archive' module that assists in handling Zip files: http://ezcomponents.org/docs/api/latest/introduction_Archive.html - Original Message - From: Gabriel Sosa [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] page suck attack

2008-05-21 Thread TG
that do this will obey robots.txt settings. If it's happening a lot and degrading the performance of your web server, then it may be a DOS (denial of service) attack. By the basic description you gave, it doesn't sound like an attack. -TG - Original Message - From: robert [EMAIL PROTECTED

Re: [PHP] Redirection

2008-05-07 Thread TG
I believe you can use cURL to create POST requests. -TG - Original Message - From: Ben [EMAIL PROTECTED] To: php-general@lists.php.net Date: Wed, 7 May 2008 17:55:34 -0600 Subject: [PHP] Redirection Is there a way to take all the variables, no matter what their names and values

Re: [PHP] loop inside a loop

2008-04-17 Thread TG
Yup.. you can do that. Easiest way to find out is to give it a try :) As long as your loop conditions don't conflict or you do stuff to change variables in a counter-productive way (ie. breaking your logic) then you should be ok. -TG - Original Message - From: Alan Willsher [EMAIL

Re: [PHP] new lines in textareas?

2008-03-30 Thread TG
submitting through the textarea, not re-displaying with proper breaks when loading a page containing a text area that should have data. -TG - Original Message - From: Mary Anderson [EMAIL PROTECTED] To: php-general@lists.php.net Date: Sat, 29 Mar 2008 21:26:24 -0700 Subject: [PHP] new lines

Re: [PHP] spider

2008-03-21 Thread TG
coding practices and use more intensive site security scanning tools. -TG - Original Message - From: tedd [EMAIL PROTECTED] To: php-general@lists.php.net Date: Fri, 21 Mar 2008 13:52:38 -0400 Subject: [PHP] spider Hi gang: How do you spider a remote web site in php? I get the general

Re: [PHP] spider

2008-03-21 Thread TG
window.open or window.location type link sources. -TG - Original Message - From: Ray Hauge [EMAIL PROTECTED] To: tedd [EMAIL PROTECTED] Cc: php-general@lists.php.net Date: Fri, 21 Mar 2008 13:45:35 -0500 Subject: Re: [PHP] spider Have a look at something like this: http

Re: [PHP] Is this the best way?

2008-03-19 Thread TG
. The values can be from functions or anything that returns a value, it doesn't have to be a straight variable type value. -TG -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Fastest way to get table records' number

2008-03-19 Thread TG
a parameter. Isn't it always going to count +1 for the row? I'll have to look that up sometime. -TG - Original Message - From: Nathan Nobbe [EMAIL PROTECTED] To: Andrew Ballard [EMAIL PROTECTED] Cc: PHP General list php-general@lists.php.net Date: Wed, 19 Mar 2008 10:35:16 -0400 Subject: Re

Re: [PHP] Checking how many letters are in a string.

2008-03-19 Thread TG
mb_strlen() I believe. In the second two cases, you might be able to use a preg_match type search. If no other functions work, you could parse the string into an array and compare against an array containing hebrew characters. -TG - Original Message - From: Dotan Cohen [EMAIL PROTECTED

Re: [PHP] Fastest way to get table records' number

2008-03-19 Thread TG
the data, send it all to PHP. SELECT count(*) FROM sometable Sends a single row to PHP. Leaving the heavy lifting to the DB server. This is a good thing if you don't need any of the data, just a count. -TG - Original Message - From: It Maq [EMAIL PROTECTED] To: PHP General list php

Re: [PHP] Is this the best way?

2008-03-18 Thread TG
query, then you won't have to worry about this error. You can also check to make sure $linkauth['table'] has something in it before running the query.. skip it if it's empty or has an invalid table name. -TG -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Is this the best way?

2008-03-14 Thread TG
in. Best case is they get logged in and you won't get an annoyed user calling you. -TG - Original Message - From: Jason Pruim [EMAIL PROTECTED] To: PHP General List php-general@lists.php.net Date: Fri, 14 Mar 2008 12:12:56 -0400 Subject: [PHP] Is this the best way? Hi everyone, I am

Re: [PHP] Is this the best way?

2008-03-14 Thread TG
be implementing your user system not as logically as you could. -TG - Original Message - From: Jason Pruim [EMAIL PROTECTED] To: TG [EMAIL PROTECTED] Cc: PHP General List php-general@lists.php.net Date: Fri, 14 Mar 2008 13:00:11 -0400 On Mar 14, 2008, at 12:51 PM, TG wrote: The username's

Re: [PHP] Is this the best way?

2008-03-14 Thread TG
- Original Message - From: Jason Pruim [EMAIL PROTECTED] To: TG [EMAIL PROTECTED] Cc: PHP General List php-general@lists.php.net Date: Fri, 14 Mar 2008 14:56:32 -0400 Subject: Re: [PHP] Is this the best way? On Mar 14, 2008, at 1:44 PM, TG wrote: What error are you getting

Re: [PHP] Is this the best way?

2008-03-14 Thread TG
in your variables and breaking your SQL. Not to mention the security benefits. -TG - Original Message - From: Jason Pruim [EMAIL PROTECTED] To: TG [EMAIL PROTECTED] Cc: PHP General List php-general@lists.php.net Date: Fri, 14 Mar 2008 17:11:40 -0400 Ok so the next thing to check is your

Re: [PHP] class for generating ics or vcs file

2008-03-13 Thread TG
left in the notes I was keeping in comments with reference links and sample ICS data: -TG ? ### # Notes ### ### Two good links about iCal and PHP ## http://www.phpbuilder.com/columns

Re: [PHP] A Quick Reminder....

2008-03-12 Thread TG
. How does your country compare? http://i32.photobucket.com/albums/d35/wereallouttabubblegum/Drives_On_Right.jpg (thus begins a month-long discussion of top posting and driving habits... php general archive weeps) :) -TG - Original Message - From: Daniel Brown [EMAIL PROTECTED] To: PHP

Re: [PHP] A Quick Reminder....

2008-03-12 Thread TG
a nice threaded email service like Gmail and not using digests..You get a similar effect, but without all this crazy confusion when someone top-posts or someone doesn't trim their messages properly. -TG - Original Message - From: Aschwin Wesselius [EMAIL PROTECTED] To: Daniel Brown

RE: [PHP] A Quick Reminder....

2008-03-12 Thread TG
- Original Message - From: Andrés Robinet [EMAIL PROTECTED] To: 'Wolf' [EMAIL PROTECTED], 'Jason Pruim' [EMAIL PROTECTED] Cc: 'TG' [EMAIL PROTECTED], 'Daniel Brown' [EMAIL PROTECTED], 'PHP General List' php-general@lists.php.net Date: Wed, 12 Mar 2008 11:58:26 -0400 How

Re: [PHP] Question about user management...

2008-03-10 Thread TG
were going to do something like company30 company50 and such. Lots of different ways to do what you're talking about, but sounds like you're in the right path. -TG - Original Message - From: Daniel Brown [EMAIL PROTECTED] To: Jason Pruim [EMAIL PROTECTED] Cc: [php] PHP General List php

Re: [PHP] CSV speed

2008-03-10 Thread TG
cumbersome to search. You could try out a few scenarios and see how they work speed-wise and impact on system memory and such. -TG - Original Message - From: Danny Brow [EMAIL PROTECTED] To: PHP php-general@lists.php.net Date: Mon, 10 Mar 2008 21:09:15 -0400 Subject: [PHP] CSV speed I have

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread TG
And the kerning.. OH THE KERNING! - Original Message - From: Daniel Brown [EMAIL PROTECTED] To: Per Jessen [EMAIL PROTECTED] Cc: php-general@lists.php.net Date: Thu, 28 Feb 2008 14:26:29 -0500 Subject: Re: [PHP] Sometimes I wonder why I even started programming... On Thu, Feb 28,

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread TG
something 'dirty' about tabs even if you can configure the size of the tab. But that's another one of those preference things that can go either way. :) -TG - Original Message - From: Nathan Rixham [EMAIL PROTECTED] To: php-general@lists.php.net Date: Thu, 28 Feb 2008 20:25:02 + Subject: Re

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread TG
uses Consolas in Vista. -TG - Original Message - From: Eric Butera [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: php-general@lists.php.net Date: Thu, 28 Feb 2008 15:39:21 -0500 Subject: Re: [PHP] Sometimes I wonder why I even started programming... I can hit tab and shift/tab too

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread TG
Zend Studio does everything mentioned there. Tabs as spaces, tab/shift-tab, auto-indent. -TG - Original Message - From: Nathan Rixham [EMAIL PROTECTED] To: php-general@lists.php.net Date: Thu, 28 Feb 2008 20:43:07 + Subject: Re: [PHP] Sometimes I wonder why I even started

Re: [PHP] Sometimes I wonder why I even started programming...

2008-02-28 Thread TG
Ah.. yeah, since I almost always use spaces, I wouldn't have run into the different sized tab issue. Very odd. Thanks for the heads up on the possible weirdness. -TG - Original Message - From: Eric Butera [EMAIL PROTECTED] To: TG [EMAIL PROTECTED] Cc: php-general@lists.php.net Date

Re: [PHP] How do you send stylized email?

2008-02-26 Thread TG
For his sake, I hope SHE doesn't look like YOU. For YOUR sake, I hope you don't look like her. ... it's how you said it.:) -TG, professional smart ass - Original Message - From: Jochem Maas [EMAIL PROTECTED] To: tedd [EMAIL PROTECTED] Cc: php-general@lists.php.net Date: Tue, 26

Re: [PHP] How do you send stylized email?

2008-02-26 Thread TG
Then I guess I shouldn't link to Bushmills either. - Original Message - From: Robert Cummings [EMAIL PROTECTED] To: Daniel Brown [EMAIL PROTECTED] Cc: Paul Scott [EMAIL PROTECTED], Debi Berkowitz [EMAIL PROTECTED], tedd [EMAIL PROTECTED], php-general@lists.php.net Date: Tue, 26

Re: [PHP] Plant Extracts and Our Factory

2008-02-23 Thread TG
I don't see a question here... what exactly are you trying to do and how does it relate to PHP? Last time I heard, COBOL was best for working with cinnamon and supercritical carbon dioxide extract. -TG - Original Message - From: [EMAIL PROTECTED] To: php-general@lists.php.net Date

Re: [PHP] More than one values returned?

2008-02-18 Thread TG
You can't return more than one variable, but you can return an array that contains multiple values. $x = array('val1', 'val2'); return $x; -TG - Original Message - From: Teck [EMAIL PROTECTED] To: php-general@lists.php.net Date: Tue, 19 Feb 2008 10:31:02 +0900 Subject: [PHP] More

[PHP] Debugging classes

2008-01-22 Thread TG
by someone else? I figure things out eventually, I just want to speed up the process and do it 'smarter' if possible. Thanks! -TG -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] 7zip extension available

2008-01-04 Thread TG
the algorithm 7-Zip uses. No time to do an exhaustive search right now, but thought I'd send that much along. -TG - Original Message - From: ecc [EMAIL PROTECTED] To: php-general@lists.php.net Date: Fri, 4 Jan 2008 12:46:45 -0800 (PST) Subject: [PHP] 7zip extension available Hi, i´ve

Re: [PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net

2008-01-04 Thread TG
It's not being sent from Dan's email, it appears. I didn't look at the headers yet, but the From: is showing this: PostTrack [Dan Brown] [EMAIL PROTECTED] So don't everyone jump on Dan just yet. Besides, *I* want to win and I'm holding a close second! -TG - Original Message - From

Re: [PHP] Posting Summary for Week Ending 4 January, 2008: php-general@lists.php.net

2008-01-04 Thread TG
Ah.. nevermind.. I didn't see this amidst the debris. Bad Dan! :) -TG (Am I winning yet?) - Original Message - From: Daniel Brown [EMAIL PROTECTED] To: PostTrack [Dan Brown] [EMAIL PROTECTED] Cc: php-general@lists.php.net Date: Fri, 4 Jan 2008 18:31:00 -0500 Subject: Re: [PHP

Re: [PHP] Best way to allow users to post youtube video links ?

2007-12-20 Thread TG
posting in various systems including Joomla and many subcomponents, phpBB, probably most other forum software. If you're using something like that, you might search around. -TG - Original Message - From: Don Don [EMAIL PROTECTED] To: PHP List php-general@lists.php.net Date: Thu, 20 Dec

Re: [PHP] excluding parenthesis, space and dashes from phone number

2007-11-30 Thread TG
I suck at regex.. but found this a while ago. Supposedly it'll strip all non-numeric characters, so I've used it for phone #'s and SSNs: preg_replace ('/[^\d]+/s', '', $var) -TG - Original Message - From: afan pasalic [EMAIL PROTECTED] To: php-general php-general@lists.php.net Date

Re: [PHP] Question about urlencode....

2007-11-22 Thread TG
! -TG - Original Message - From: Colin Guthrie [EMAIL PROTECTED] To: php-general@lists.php.net Date: Thu, 22 Nov 2007 16:19:18 + Subject: [PHP] Question about urlencode Hi, OK this one is a little embarrasing. I've been doing this for years and I just wonder if I'm wrong

Re: [PHP] Recommend a wiki?

2007-11-08 Thread TG
My host, Dreamhost, has MediaWiki on their One Click Installs. I gave it a spin. Seems to work really well. Takes time to get used to the wiki way of doing things, but it's easy enough to learn. -TG - Original Message - From: Skip Evans [EMAIL PROTECTED] To: php-general

Re: [PHP] How do I get PHP to save a backslash in a Mysql table?

2007-10-10 Thread TG
isn't what you expect it to be or want it to be. -TG - Original Message - From: Nathan Nobbe [EMAIL PROTECTED] To: Don Proshetsky [EMAIL PROTECTED] Cc: php-general@lists.php.net Date: Wed, 10 Oct 2007 14:12:34 -0400 Subject: Re: [PHP] How do I get PHP to save a backslash in a Mysql table

Re: [PHP] the opposite of a join?

2007-10-03 Thread TG
WHERE DepartmentID IS NULL. -TG - Original Message - From: [EMAIL PROTECTED] To: php-general@lists.php.net, [EMAIL PROTECTED] Date: Wed, 3 Oct 2007 05:21:06 -0500 Subject: [PHP] the opposite of a join? I have a company table and a contacts table. In the contacts table

Re: [PHP] Alternate Colors in Rows

2007-10-03 Thread TG
times so never really went back to re-think the NOT or the MOD ways to see if there's a better way. Just thought I'd present kind of an odd way to see if it sparks some ideas for anyone. -TG - Original Message - Steve Marquez wrote: Greetings, I am attempting to alternate

Re: [PHP] Case insensitive ksort

2007-09-18 Thread TG
the proper upper/lowercase version too, you could store that separately within the array. Just some thoughts on how you could do this. good luck! -TG - Original Message - From: Christoph Boget [EMAIL PROTECTED] To: php-general@lists.php.net Date: Tue, 18 Sep 2007 11:37:01 -0400 Subject: [PHP

Re: [PHP] Preventing Access to Private Files

2007-09-06 Thread TG
web folders. Just some thoughts. Good luck! -TG - Original Message - From: Stephen [EMAIL PROTECTED] To: php-general@lists.php.net Date: Thu, 6 Sep 2007 16:03:52 -0400 (EDT) Subject: [PHP] Preventing Access to Private Files I understand how to use PHP with MySQL to have a members

Re: [PHP] javascript in head or in body ?

2007-08-07 Thread tg-php
probably be streamlined, but works well enough and doesn't look too ugly so why make more work for ourselves until we do the full re-design (2035?) -TG = = = Original message = = = Are there any rules when to include javascript in head or in body ? For example, script type=text/javascript

Re: [PHP] Which PHP-Editor to use?

2007-08-02 Thread tg-php
on those files/folders so your non-admin login has rights. -TG = = = Original message = = = Hi there, I have worked now for several years happily with homesite 4.5, but now it looks like I have to switch to another system as homesite will not run without admin rights on a XP machine. What editors

Re: [PHP] Loss of precision in intval()

2007-08-01 Thread tg-php
$a . *** . intval($a); ? Not sure that really helps, but seems to be some kind of order of precedence issue. -TG = = = Original message = = = This sort of thing really isn't helpful... ?php $a = 75.82 * 100; echo intval($a); ? ___ Sent by ePrompter

Re: [PHP] Loss of precision in intval()

2007-08-01 Thread tg-php
Probably return 7582 instead of 7581. = = = Original message = = = On 8/1/07, Mark Summers [EMAIL PROTECTED] wrote: This sort of thing really isn't helpful... ?php $a = 75.82 * 100; echo intval($a); ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Reading registry values

2007-07-30 Thread tg-php
you transition to PHP and Apache. More info please? :) -TG = = = Original message = = = I want to convert some ASP pages to PHP to go along with a transition from IIS to Apache. One of the ASP script functions involves reading data from the Windows registry. How does one read from the registry

Re: Re[2]: [PHP] Reading registry values

2007-07-30 Thread tg-php
need to at all. -TG = = = Original message = = = Hi, Monday, July 30, 2007, 7:40:52 PM, you wrote: I'm not sure that there's actually anything you'd need to access in the server registry (and certainly no registry in Linux if you're also transitioning from Windows to Linux). And depending

Re: [PHP] Re: what trick is this? How to do it?

2007-07-13 Thread tg-php
); Don't have time right now, but I'd dig deeper into dojo.widget.Dialog (in this specific case.. don't know about Linux.com). -TG = = = Original message = = = http://xsojix.imeem.com/music/1zyLl7y9/lost_my_music/ How did he/she do it? I meant the modal login window... I just found

Re: [PHP] Small LAMP install/distro

2007-06-22 Thread tg-php
. -TG = = = Original message = = = ps. Please don't top post! Tijnema ___ Sent by ePrompter, the premier email notification software. Free download at http://www.ePrompter.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Small LAMP install/distro

2007-06-22 Thread tg-php
? Or will what you recommend keep that to a minimum too? Thanks again.. finally some useful information to a simple question. hah (not that I don't appreciate the advice that's been given so far.. it's just not what I was looking for) -TG = = = Original message = = = I would install Fedora

RE: [PHP] Small LAMP install/distro

2007-06-22 Thread tg-php
development a lot easier. -TG = = = Original message = = = I can recommend Fedora Core 6, it has more uptodate Apache, PHP and MySQL, than does Red Hat Enterprise 4, which is what the company I consult for installed on their VM-ware environment. We spent a lot of time upgrading everything

Re: [PHP] Small LAMP install/distro

2007-06-22 Thread tg-php
Thanks again for the info, Jim. will look into the 'install to flash drive' information. Technically that's not what I'm doing, just want to store the virtual machine on the flash drive, but the installation instructions should be tight enough to be pertinent still. I think you got close

Re: [PHP] Small LAMP install/distro

2007-06-22 Thread tg-php
but is still somehow 'illogical' or 'breaks logical flow'? Anyway.. I'm sure there'll be more silly debate later. -TG PS. Don't read below. It break's logical flow. You might sprain something. = = = Original message = = = A: Because it breaks the logical sequence of discussion. Q: Why

[PHP] Small LAMP install/distro

2007-06-21 Thread tg-php
geared for quick and dirty LAMP + Samba setup. -TG ___ Sent by ePrompter, the premier email notification software. Free download at http://www.ePrompter.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Small LAMP install/distro

2007-06-21 Thread tg-php
and not really developer/small server type stuff) Thanks for the suggestion though, Daniel. (And yes, I top-post. Get the pitchforks!) -TG = = = Original message = = = On 6/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ok, done all my googling and experimenting, now I'm tossing it to you guys. Can

RE: [PHP] Small LAMP install/distro

2007-06-21 Thread tg-php
time developing PHP apps that nobody but me will ever use, than fiddling with OS streamlining and configuration. -TG = = = Original message = = = Did you know that VM-ware actually runs under RH linux? Warren -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent

RE: [PHP] Date

2007-06-20 Thread tg-php
the string functions to get date info when I have to. If you use strtotime() or have the date in a serial format already, you can get a lot more than just month, day, year out of it using date(). But if all you really need is month, day, year then whichever method is easiest to work with. -TG

Re: [PHP] IF with multiple values for a variable

2007-06-13 Thread tg-php
through from L condition because break was removed) break; default: break; } More reading here: http://us.php.net/switch Hope that helps. -TG = = = Original message = = = Okay, I know this has got to be easy but it's not working any way I try it. When a record is selected it opens up

Re: [PHP] IF with multiple values for a variable

2007-06-13 Thread tg-php
double pipes constitutes an OR operation. You can use the keyword OR as well. Also, and AND are the same as well. http://us.php.net/manual/en/language.operators.logical.php -TG = = = Original message = = = Excellent! Double pipes to seperate possible multiple variable values. lock

  1   2   3   4   >