Re: [PHP] Updating HTML on page

2010-04-05 Thread TG
are involved 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.

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

2010-02-14 Thread TG
each ($arr as $key => $val) { $queryvalues[] = " `" . dbclean($key) . "` = '" . dbclean($val) . "'"; } $query .= implode(',', $queryvalues) . ' WHERE {whereclause};'; // Added {whereclause} so if we

Re: [PHP] php selecting multiple stylesheets

2010-02-07 Thread TG
s is a PHP list but I think a client side script may work better in this case. -TG - Original Message - From: David Mehler 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 we

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.

Re: [PHP] Good source for sample data?

2010-01-28 Thread TG
d any of these, but once again.. Google is your friend. -TG - Original Message - From: Brian Dunning 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
stuffing as many keywords in as possible. The search engines are pretty smart. Write good content and write it for humans... make it relevant to the topic and your audience and the search engines will see that and deliver it to your audience higher in search rankings. There are other things,

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 To: TG Cc: Jonathan Tapicer , a

Re: [PHP] Wiki recommendation?

2009-11-25 Thread TG
A while back I set up a TikiWiki for a client. I think I liked it better than any of the other wikis I've messed with. But honestly, I didn't get to use it much and I've only ever used Mediawiki to any real length. Definitely give it a look, though. -TG - Original Mes

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

2009-08-26 Thread TG
ere's an ifnull() function in SQL Server to adjust the data before it even gets to your DB class. -TG - Original Message - From: "David Stoltz" To: "Paul M Foster" , Date: Wed, 26 Aug 2009 07:29:53 -0400 Subject: RE: [PHP] How to output a NULL field? > Paul,

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" To: 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($lim

Re: [PHP] Possible Server Infection?

2009-04-04 Thread TG
r an example of what information you can get from someone's browser. 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,

Re: [PHP] Problems with implode

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

Re: [PHP] Dynamic Date List Newbie Problem

2009-03-12 Thread TG
2009, which mktime 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 -

Re: [PHP] Happy 1234567890 day!

2009-02-13 Thread TG
http://timestamp1234567890.com/ - Original Message - From: Lists 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
files. Anyway.. if anyone's looking for an easy 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" To: p

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 pe

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

2009-01-26 Thread TG
such can determine about your browser, check out BrowserHawk's site: http://www.cyscape.com/showbrow.aspx Anyway, just some stuff to think about. I wouldn't say absolutely "you can't", but the techncial aspects of what you're 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
port has been great, in general, but I can't 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

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 To: Date: Mon, 19 Jan 2009 22:37:25 + Subject: [PHP

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 To: Shawn McKenzie , php-general@lists.php.net Date: Wed, 14 Jan 2009 18:17:35 -0500 Subject: Re:

Re: [PHP] Basic Authentication

2009-01-14 Thread TG
accesstools.com/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 To: PHP-General Date: Wed, 14 J

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

2009-01-04 Thread TG
d to escape the quotes if you use the same (single or double) type of quote for your HTML as you do for your PHP code. Or... (double quotes for PHP, single quotes for HTML) > echo "\n"; Or... (single quotes for PHP, double quotes for HTML) > echo ' echo "\n"

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

2009-01-01 Thread TG
iles and not the PDFs and other large files. So either 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 reque

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

2008-12-31 Thread TG
ve me the more comprehensive/broad experience base I'm looking for. I'd like a semi-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
7;t actually spell a word, 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]

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

2008-11-23 Thread TG
sy 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 Date: Sun,

Re: [PHP] PHP performance profiling

2008-11-18 Thread TG
code are running slow, but at > > the very minimum, I want to see if it's the PHP code or the MySQL calls > > that are slow. I know I can just add my own statements in the code, but I > > was hoping there was a more comprehensive solution available. > > > > Th

Re: [PHP] Random number generator

2008-11-05 Thread TG
s one 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 we

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 becomes

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 Date: Mon, 13 Oct 2008 10:48:34 -0500 Subject: Re: [PHP] New to PHP > The problem with bottom posting is that if you

Re: [PHP] New to PHP

2008-10-13 Thread TG
thinking?". Don't worry about it, comes with the territory. -TG - Original Message - From: Wolf <[EMAIL PROTECTED]> To: Gary <[EMAIL PROTECTED]> Cc: php-general@lists.php.net Date: Mon, 13 Oct 2008 11:18:08 -0400 Subject: Re: [PHP] New to PHP > > Gary &

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 Date: Sun, 12 Oct 2008 23:08:30 +0100 Subject: Re: [PHP] Re: HTML5 canvas

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

2008-10-10 Thread TG
Not to mention, if you DO get 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

Re: [PHP] Google Chrome

2008-09-05 Thread TG
ill could be some pre-caching going 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.n

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 PROTECTE

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

Re: [PHP] Manual Coding vs. CMS Systems

2008-08-28 Thread TG
covered in Joomla and the many addons, then you might start there and just customize 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&#x

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

2008-08-25 Thread TG
ipt to perform the operations a couple thousand times each and record the times. -TG - Original Message - From: "Thiago Melo de Paula" <[EMAIL PROTECTED]> To: Yeti <[EMAIL PROTECTED]> Cc: php-general@lists.php.net Date: Mon, 25 Aug 2008 11:07:41 -0300 Subject: Re: [PHP

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]&

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: [EMAI

Re: [PHP] page suck attack

2008-05-21 Thread TG
grams 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: robe

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 w

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: "Ala

Re: [PHP] new lines in textareas?

2008-03-29 Thread TG
o do with the text after 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

Re: [PHP] spider

2008-03-21 Thread TG
ation 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://simplehtmld

Re: [PHP] spider

2008-03-21 Thread TG
quiring authorization). That's a really basic site security check. I know you know you should use good 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 M

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

2008-03-19 Thread TG
ll grab all 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]>

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

2008-03-19 Thread TG
which wouldn't be solved by using 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 M

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

2008-03-19 Thread TG
why count() takes 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

Re: [PHP] Is this the best way?

2008-03-19 Thread TG
lse { $val = "condition is false"; } It just takes whatever the value before the ":" and assigns it to the variable if true, takes the value after the ":" and assigns it if false. 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] Is this the best way?

2008-03-18 Thread TG
SQL statement is: SELECT * from order by <$sortOrder if it's populated> If you fix your "user is/isn't logged in" conditional statement so it doesn't get to this SQL query, then you won't have to worry about this error. You can also check to make s

Re: [PHP] Is this the best way?

2008-03-14 Thread TG
s showing up 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" Date: Fri, 14 Mar 2008 17:11:40 -0400 > >

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" 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: > > > > >

Re: [PHP] Is this the best way?

2008-03-14 Thread TG
eck, you may have bad input/uniqueness checking or you may 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" Date: Fri, 14 Mar 20

Re: [PHP] Is this the best way?

2008-03-14 Thread TG
won't get logged 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 Date: Fri, 14 Mar 2008 12:12:56 -0400 Subject: [PHP] Is this the best way? > Hi

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

2008-03-13 Thread TG
least for the basic events). I left in the notes I was keeping in comments with reference links and sample ICS data: -TG http://www.phpbuilder.com/columns/chow20021007.php3?print_mode=1 ## http://en.wikipedia.org/wiki/ICalendar ### Simple iCal example /* BEGIN:VCALENDAR VERSION:2.

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'

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

2008-03-12 Thread TG
and let's move on.If it seriously causes a problem with archives and digests, then someone needs to update the way messages are presented in the archives and digests because it's antiquated. I recommend using a nice threaded email service like Gmail and not using digests..You

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

2008-03-12 Thread TG
side. 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" <[EM

Re: [PHP] CSV speed

2008-03-10 Thread TG
and be slower and/or more 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 Date: Mon, 10 Mar 2008 21:09:15 -0400 Subject: [PHP] CSV speed

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

2008-03-10 Thread TG
or if you 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:

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

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 s

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

2008-02-28 Thread TG
ida Console". I have a friend who 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

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 2

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

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 Dat

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

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

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:

[PHP] Debugging classes

2008-01-22 Thread TG
ging/reverse engineering/noodling-out classes on big projects created 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] 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,

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 h

Re: [PHP] 7zip extension available

2008-01-04 Thread TG
#x27;s 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 ava

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

2007-12-20 Thread TG
Tube link 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 Date: Thu, 20 Dec 20

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:

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

2007-11-22 Thread TG
t gives a better clue as to where it's coming from. Slainte! -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

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

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

2007-10-10 Thread TG
ho statement itself. Some of these things are rare issues, but all things to check for if your output 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 PROTECTE

Re: [PHP] Alternate Colors in Rows

2007-10-03 Thread TG
e's some "NOT" way that I never bothered to investigate. I haven't had to do the alternating color thing too many 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 t

Re: [PHP] the opposite of a join?

2007-10-03 Thread TG
risons with NULL), you have to use "WHERE DepartmentID IS NULL". -TG - Original Message - From: <[EMAIL PROTECTED]> To: , <[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 t

Re: [PHP] Case insensitive ksort

2007-09-18 Thread TG
If you need 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 20

Re: [PHP] Preventing Access to Private Files

2007-09-06 Thread TG
ories, but PHP itself can have access to things outside the main 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

Re: [PHP] javascript in or in ?

2007-08-07 Thread tg-php
; tag that includes some JS and HTML where you want the popup calendar to appear. Could 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

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

2007-08-02 Thread tg-php
get your admin to change the permissions 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 withou

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... > > > $a = 75.82 * 100; > > echo intval($a); > > ?> > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, vis

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

2007-08-01 Thread tg-php
t;\n"; echo $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... ___ Sen

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

2007-07-30 Thread tg-php
I'm guessing that he doesn't 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: [PHP] Reading registry values

2007-07-30 Thread tg-php
worry about these things after 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 d

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

2007-07-13 Thread tg-php
uot;); 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 windo

Re: [PHP] Small LAMP install/distro

2007-06-22 Thread tg-php
y 'top posting' is so bad. If it's all for the sake of 'logic' then how come it seems perfectly logical to me but is still somehow 'illogical' or 'breaks logical flow'? Anyway.. I'm sure there'll be more silly debate later. -TG PS. Do

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 eno

RE: [PHP] Small LAMP install/distro

2007-06-22 Thread tg-php
priority, but something that'd make my hobby 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. W

Re: [PHP] Small LAMP install/distro

2007-06-22 Thread tg-php
partition? 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 = =

Re: [PHP] Small LAMP install/distro

2007-06-22 Thread tg-php
ication on what they're replying to exactly, then I can scroll down. -TG = = = Original message = = = ps. Please don't top post! Tijnema ___ Sent by ePrompter, the premier email notification software. Free download at ht

RE: [PHP] Small LAMP install/distro

2007-06-21 Thread tg-php
I want. Especially if one already exists. I'd rather waste my 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 Mes

Re: [PHP] Small LAMP install/distro

2007-06-21 Thread tg-php
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

[PHP] Small LAMP install/distro

2007-06-21 Thread tg-php
. Thought maybe someone out there had seen a distro pack specifically 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

RE: [PHP] Date

2007-06-20 Thread tg-php
e mentioned and only use 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 e

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 multip

  1   2   3   4   >