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

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

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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] Audio CAPTCHA review request

2007-03-29 Thread TG
e compare of the new sound clip against every possible combination of the files you saved stacked together. Or again, create an MD5 hash for each combation and just do a lookup against the MD5 of the new audio clip. Probably wouldn't take long to get the fine-tuning down. But even a tiny bit

Re: [PHP] Audio CAPTCHA review request

2007-03-29 Thread TG
e uses the same stock images. But a good bot might be able to draw correlations between similar images and use it to narrow the possible responses down to a dozen instead of millions. But yeah, brute force to some degree. But that's what they're doing with those massive MD5 hash

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

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

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] 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] 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] 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] 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
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
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
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] 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] 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] 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] 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
- Original Message - From: Andrés Robinet <[EMAIL PROTECTED]> To: "'Wolf'" <[EMAIL PROTECTED]>, "'Jason Pruim'" <[EMAIL PROTECTED]> Cc: "'TG'" <[EMAIL PROTECTED]>, "'Daniel Brown'

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

[PHP] returning value to variable

2004-02-14 Thread tg
hi i need returning value of function as a variable example : function 1 () { return "some error"; } function 2 () { $v = 1(); if ( $v != '' ) echo "error"; } it doesn't work this way this works : echo 1(); but i need the string value as a variable thanks -- PHP General Mailing Lis

Re: [PHP] returning value to variable

2004-02-14 Thread tg
Bao Ruixian wrote: tg wrote: hi i need returning value of function as a variable example : function 1 () { return "some error"; } function 2 () { $v = 1(); if ( $v != '' ) echo "error"; } it doesn't work this way Are you using 1 and 2

Re: [PHP] Simple PDF manipulation

2006-12-27 Thread tg-php
me point and I may be looking for alternatives. This is the main function we need. Ignorant question, but I havn't even thought of researching it yet and figured I'd ask while the topic was at hand. -TG = = = Original message = = = Interesting, that's a good idea. I was not a

Re: [PHP] newbie question regarding URL parameters

2007-01-05 Thread tg-php
ally considered to be bad security, so it now defaults to OFF. To get these variables, just use the $_GET system variable. $name = $_GET['name']; $age = $_GET['age']; Easy! Best of luck! -TG = = = Original message = = = Hello, I have a newbie question regarding URL para

Re: [PHP] mssql_* overhead

2007-01-10 Thread tg-php
t a few different jobs) is to open the connection once and close it once. Which sounds like what you're doing now. So was your question answered? Sounds like there's still some lingering questions or curiosities... -TG = = = Original message = = = On Jan 10, 2007, at 10:09 AM, Joche

Re: [PHP] running exec() on client

2007-01-16 Thread tg-php
dows environments, so no cross platforum client side GUI. But fantastic for Windows. Good luck, whatever you decide. And watch out for those female colleagues.. they tend to talk and one of them is bound to hear about your comments here :) -TG = = = Original message = = = Hi, I am look

Re: [PHP] sms through teleflip and php?

2007-01-16 Thread tg-php
d copy and look at the headers. You can start by taking all those headers and putting them into your PHP script then slowly commenting some out until you get just what you need and not a lot of extra garbage (to keep it simple and semi-elegant). That's where I'd start at least. -T

Re: [PHP] sms through teleflip and php?

2007-01-16 Thread tg-php
and ask them if they can provide any information as to why it may not be going through. Never know, might find someone with half a brain who can help. -TG = = = Original message = = = I tried using phpMailer and all and it nothing seems to work right. I can send it fine through thunder

Re: [PHP] md5

2007-01-17 Thread tg-php
A, Blowfish, etc are well known algorithms and are considered at least fairly secure too.. and are reversible. -TG = = = Original message = = = Hi, Does md5 really offer much in terms of protection? The algorithm is really well known. I would like to hear your thoughts and poosible alternative

Re: [PHP] md5

2007-01-17 Thread tg-php
the one you mentioned, but most of us aren't storing national security documents. As with security since the dawn of time, it's all a matter of how valuable is what you're protecting versus the cost of implementing a protection scheme. 7-11 doesn't hire secret service to pr

Re: [PHP] most powerful php editor

2007-01-21 Thread tg-php
me to switch, but a former coworker swore by it. http://www.activestate.com/Products/Komodo/ Should be enough to get you started investigating. -TG = = = Original message = = = At 08:21 AM 1/21/2007, Robert Cummings wrote: >On Sat, 2007-01-20 at 22:54 -0200, Vinicius C Silva wrote: > &g

Re: [PHP] OT - Leaving

2007-01-23 Thread tg-php
Best wishes John! We'll hold the fort and keep fighting the good fight in your absence. :) Good luck to ya! -TG = = = Original message = = = Howdy ladies and gents: For the past 9 or so years, with one email account or another, I have been subscribed to the PHP General Mailing

Re: [PHP] bit wise math? Is there a function to easily return the bits?

2007-01-25 Thread tg-php
If there isn't a function to do exactly what you want, you could use dec2bin() to at least get the binary and work from there: http://us3.php.net/manual/en/function.decbin.php -TG = = = Original message = = = Is there a php function I can call to pass in a number and get the values ret

[PHP] SQL Readability.. (was Re: most powerful php editor)

2007-01-26 Thread tg-php
tice is "one command, one line" or "total chaos" hah. Any comments on improving this or other unique stylistic ways people like to design their code? -TG = = = Original message = = = On Wed, January 24, 2007 8:07 pm, Robert Cummings wrote: > On Wed, 2007-01-24 at 18:23 -

Re: [PHP] SQL Readability.. (was Re: most powerful php editor)

2007-01-26 Thread tg-php
. But hey.. I'm always willing to learn new stuff. One reason I posted this was to see more of what other people did with their code, SQL queries in particular. Cheers! -TG = = = Original message = = = [EMAIL PROTECTED] wrote: > My contribution to the insanity.. INSERT statement

  1   2   3   4   >