[PHP] $PHP_SELF - internal error?

2001-03-24 Thread Tommy
Hi, that's my paht: ./Webpages/Kalender/php.php The value of PHP_SELF in php.php is: /Kalender/php.php/Kalender How can I fix this Problem? I have PHP 4.04pl1 CGI, Windows ME. THX Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] script

2005-04-19 Thread tommy
d and alternate include file. If someone could help me with the code or point me in the right direction it would be very appreciated. Thanks. Tommy. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] script

2005-04-20 Thread tommy
e figure out how to make Tuesday the beginning or end of the week in order to accomplish this... maybe I'm going about this the wrong way. Again, any pointers or assistance appreciated. Tommy On Apr 19, 2005, at 10:34 PM, Rob Agar wrote: here's the clue to the other half of the puzzle: yo

[PHP] Re: How can I redirect to another php page

2003-01-09 Thread Tommy Jensehaugen
olor == "Yellow") { header( "Location: yellow.php" ); exit; else if ($Color == "Green") header( "Location: green.php" ); exit; } tommy "Teo Petralia" <[EMAIL PROTECTED]> wrote in message news:v04220802ba423dc4c316@[130.216.229.1

[PHP] Re: need some javascript code

2003-01-10 Thread Tommy Jensehaugen
This works with your first question. Might work for all. html: javascript: function validate() { form = document.name_of_form; if( form.name.value == '' ) { alert( "You forgot to write your name." ); document.forms[0].name.focus(); return false; } else { ret

[PHP] Re: Parsing a directory for specific files

2003-01-10 Thread Tommy Jensehaugen
list, $file); } closedir($handle); return $list; } Then you have an array of the filenames. If you use rsort($array), the 5 first elements will be the 5 most recent ones. tommy "Dirk Van Lyrop" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTE

[PHP] Re: Are 2 mysql_query statements psble?

2003-01-10 Thread Tommy Jensehaugen
r']}'"; if ( mysql_num_rows( mysql_query( $query ) ) == 0 && mysql_num_rows( mysql_query( $query2 ) ) == 0 ) tommy "Wmb" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > The code below returns : "Parse error: parse erro

[PHP] get apache user

2003-01-24 Thread Tommy Jensehaugen
Hi folks! I have a page where I log in as an Apache user. How do I get the apache username in php? thanks tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] get apache user

2003-01-25 Thread Tommy Jensehaugen
If I can't use any of those, it's not possible? correct? thank you for your help. tommy "Jason Wong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Saturday 25 January 2003 06:15, Tommy Jensehaugen wrote: > >

[PHP] apache webprotect logout

2003-01-27 Thread Tommy Jensehaugen
help. Thanks Tommy Jensehaugen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP5: Will register_globals be an option or not - or hasn't it beendecided yet?

2003-07-28 Thread Tommy Ipsen
Hi I would like to know if it has been decided whether or not register_global will continue to be an option in PHP5. Cheers, Tommy Ipsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: nested tree

2003-11-04 Thread Tommy Ipsen
and http://www.alistapart.com/articles/slidingdoors2/) Cheers, Tommy Ipsen PS: I would like to hear how you solve the problem since (as mentioned) I'm working on the same thing! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] delete a file from the server

2002-01-24 Thread Tommy Straetemans
Hi, I'm new in PHP and i have a question: How can i delete a file from the server in PHP Tommy Straetemans -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrato

[PHP] Re: Detecting Languages...

2001-11-01 Thread Tommy Gildseth
"Arcadius A." <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > HEllo ! > I have a website designed in several languages (En , Fr , Cz) > My question is : > How to detect the language setting of the the visitor's PC in order to > redirect him to a specified

[PHP] Re: Detecting Languages...

2001-11-01 Thread Tommy Gildseth
"Tommy Gildseth" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > "Arcadius A." <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > How to detect the language settin

[PHP] database conection (newby)

2001-11-29 Thread Tommy Straetemans
tabase,$conn); but i keep getting this error: Warning: Wrong parameter count for mysql_connect() in /home/users/mijndomein.be/admin/x.php on line 27 What do i wrong or is there a method to make my connection with a include file? Tommy Straetemans -- PHP General Mailing List (http:/

[PHP] redirect

2001-12-13 Thread Tommy Straetemans
t1.php?num=%",$nummer); #header(sprintf("Location: %s",$url)); Tommy Straetemans -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] pictures width and height

2001-12-13 Thread Tommy Straetemans
Hi, I'am new in php and i have a question. Is there a way to check the height and width from a picture that I upload? Tommy Straetemans -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To co

Re: [PHP] Searching on AlphaNumeric Content Only

2009-09-03 Thread Tommy Pham
urn the results with multi-table joins based 1 criteria isn't fun. Keep in mind that you shouldn't keep the users waiting more than 5 seconds. Only exception to that rule is data mining where you'll have millions of rows to work with ;) Then it's no longer your problem. It&#x

[PHP] reply to all

2009-09-03 Thread Tommy Pham
lly and I've taken it for granted. I'll keep my eyes open wider for future e-mails to php lists :) Thanks, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Magento shows blank page.

2009-09-03 Thread Tommy Pham
virtual directory mappings of the physical directory outside doc_root in both IIS and Apache. So I went back to ISAPI and Apache Filter. I don't know if this applies to you but something to think about, Regards, Tommy > > I'm using Apache, MySQL and Mandriva 2009

Re: [PHP] Searching on AlphaNumeric Content Only

2009-09-04 Thread Tommy Pham
- Original Message > From: Robert Cummings > To: Eddie Drapkin > Cc: Lupus Michaelis ; php-general@lists.php.net > Sent: Friday, September 4, 2009 1:36:08 PM > Subject: Re: [PHP] Searching on AlphaNumeric Content Only > > Eddie Drapkin wrote: > > On Fri, Sep 4, 2009 at 12:02 PM, Lupus >

Re: [PHP] Include Files in HTML

2009-09-04 Thread Tommy Pham
nds the web browser info, here go fetch some more (css, js, images) until the the last buffered output is sent (that is if your page is compliant ;) Regards, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Include Files in HTML

2009-09-04 Thread Tommy Pham
- Original Message > From: Tommy Pham > To: php-general@lists.php.net > Sent: Friday, September 4, 2009 4:11:31 PM > Subject: Re: [PHP] Include Files in HTML > > - Original Message > > From: "sono...@fannullone.us" > > To: PHP General L

Re: [PHP] Searching on AlphaNumeric Content Only

2009-09-04 Thread Tommy Pham
- Original Message > From: Paul M Foster > To: php-general@lists.php.net > Sent: Friday, September 4, 2009 9:15:08 PM > Subject: Re: [PHP] Searching on AlphaNumeric Content Only > > On Fri, Sep 04, 2009 at 08:15:41PM -0400, Robert Cummings wrote: > > > Paul M Foster wrote: > >> On Fri,

Re: [PHP] Error message

2009-09-05 Thread Tommy Pham
in the php.ini? PS: you might want to ask this in php-windows list instead. ;) Regards, Tommy > > Thanks > Bruce -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Who kown this memcache_get_stats function ?

2009-09-05 Thread Tommy Pham
- Original Message > From: hack988 hack988 > To: PHP General List > Sent: Saturday, September 5, 2009 9:16:51 PM > Subject: Re: [PHP] Who kown this memcache_get_stats function ? > > Nobody Kown this?This is my second question in this mail-list :(.I > don't kown why it's no reply by anyb

Re: [PHP] Who kown this memcache_get_stats function ?

2009-09-05 Thread Tommy Pham
- Original Message > From: Tommy Pham > To: PHP General List > Sent: Saturday, September 5, 2009 10:41:39 PM > Subject: Re: [PHP] Who kown this memcache_get_stats function ? > > - Original Message > > From: hack988 hack988 > > To: PHP Ge

Re: [PHP] need php_mssql so I retreated to 5.2.10

2009-09-08 Thread Tommy Pham
--- On Mon, 9/7/09, Fred Silsbee wrote: > From: Fred Silsbee > Subject: [PHP] need php_mssql so I retreated to 5.2.10 > To: php-general@lists.php.net > Date: Monday, September 7, 2009, 11:09 PM > > under IE8: > http:// 209.33.25.167:8080/phpinfo.php > with: >              phpinfo(); >      ?> >

Re: [PHP] Hoping for a hand with a login script

2009-09-10 Thread Tommy Pham
--- On Thu, 9/10/09, Watson Blair wrote: > From: Watson Blair > Subject: [PHP] Hoping for a hand with a login script > To: php-general@lists.php.net > Date: Thursday, September 10, 2009, 4:06 AM > Hey guys,This is a simple issue I'm > sure, however I'm having one hell of a > time seeing my way c

Re: [PHP] Hoping for a hand with a login script

2009-09-10 Thread Tommy Pham
--- On Thu, 9/10/09, Tommy Pham wrote: > From: Tommy Pham > Subject: Re: [PHP] Hoping for a hand with a login script > To: php-general@lists.php.net > Date: Thursday, September 10, 2009, 4:13 AM > --- On Thu, 9/10/09, Watson Blair > > wrote: > > > From: Watson Bl

Re: [PHP] Hoping for a hand with a login script

2009-09-10 Thread Tommy Pham
-- On Thu, 9/10/09, Watson Blair wrote: > From: Watson Blair > Subject: Re: [PHP] Hoping for a hand with a login script > To: "Tommy Pham" > Cc: php-general@lists.php.net > Date: Thursday, September 10, 2009, 4:31 AM > Hey Tommy,Thanks for the link, I found > a

Re: [PHP] Reading files in PHP 5.3.0

2009-09-10 Thread Tommy Pham
; function parseResponseHeaders($header_file) { >     $http_found = $error_found = false; >     $http_reponse = $error_message = NULL; > >     $response = array(); >     $response['ResponseCode'] = NULL; >     $response['ErrorMessage'] = NULL; > >     if

Re: [PHP] Reading files in PHP 5.3.0

2009-09-11 Thread Tommy Pham
--- On Fri, 9/11/09, Ashley Sheridan wrote: > From: Ashley Sheridan > Subject: Re: [PHP] Reading files in PHP 5.3.0 > To: "tedd" > Cc: "Tommy Pham" , php-general@lists.php.net > Date: Friday, September 11, 2009, 7:15 AM > On Fri, 2009-09-11 at 08:04 -0400

Re: [PHP] Reading files in PHP 5.3.0

2009-09-11 Thread Tommy Pham
--- On Fri, 9/11/09, Paul M Foster wrote: > From: Paul M Foster > Subject: Re: [PHP] Reading files in PHP 5.3.0 > To: php-general@lists.php.net > Date: Friday, September 11, 2009, 8:57 AM > On Fri, Sep 11, 2009 at 05:48:42AM > -0700, Tommy Pham wrote: > > > > >

Re: [PHP] Reading files in PHP 5.3.0

2009-09-11 Thread Tommy Pham
-- On Fri, 9/11/09, Steve Brown wrote: > From: Steve Brown > Subject: Re: [PHP] Reading files in PHP 5.3.0 > To: php-general@lists.php.net > Date: Friday, September 11, 2009, 9:08 AM Perhaps you should add some error checking to see where it breaks > >> function > parseResponseHeaders($header_

[PHP] Apache's mod_dbd connection pool

2009-09-13 Thread Tommy Pham
Hi, Has anyone used Apache Httpd's mod_dbd connection pool in any of your PHP app/project? Do you notice a performance increase from the overhead of establishing/closing a connection? TIA, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

Re: [PHP] server name that the user agent used

2009-09-13 Thread Tommy Pham
--- On Sun, 9/13/09, Tom Worster wrote: > From: Tom Worster > Subject: [PHP] server name that the user agent used > To: "PHP General List" > Date: Sunday, September 13, 2009, 8:21 PM > when using apache with one vhost that > responds to a few different hostnames, > e.g. domain.org, y.domain.org

Re: [PHP] Question: Sorting through table headers?

2009-09-13 Thread Tommy Pham
--- On Sun, 9/13/09, Parham Doustdar wrote: > From: Parham Doustdar > Subject: [PHP] Question: Sorting through table headers? > To: php-general@lists.php.net > Date: Sunday, September 13, 2009, 6:55 AM > Hello there, > I've been asked to create something like the tables you > usually see, where

Re: [PHP] best function to use ~ file_get_contents or ?

2009-09-15 Thread Tommy Pham
--- On Tue, 9/15/09, CRM wrote: > From: CRM > Subject: [PHP] best function to use ~ file_get_contents or ? > To: php-general@lists.php.net > Cc: i...@globalissa.com > Date: Tuesday, September 15, 2009, 5:36 PM > Hi All, > Not sure of the best approach, need your feedback. I have 4 > images on a

Re: [PHP] How to work with embedded mysql from php.

2009-09-20 Thread Tommy Pham
--- On Sun, 9/20/09, Nishshanka Sirisena wrote: > From: Nishshanka Sirisena > Subject: [PHP] How to work with embedded mysql from php. > To: php-general@lists.php.net > Date: Sunday, September 20, 2009, 3:40 AM > Hi all. > > I am developing a peer to peer application which is written > in C for

Re: [PHP] How to work with embedded mysql from php.

2009-09-20 Thread Tommy Pham
> >From: Nishshanka Sirisena >To: Tommy Pham >Sent: Sunday, September 20, 2009 7:13:02 AM >Subject: Re: [PHP] How to work with embedded mysql from php. > >>I tried with Mysqli using mysqli_server_init() and mysql_server_end() >>functions and I am using Lighttpd

Re: [PHP] How to work with embedded mysql from php.

2009-09-20 Thread Tommy Pham
- Original Message > From: Tommy Pham > To: general php > Sent: Sunday, September 20, 2009 9:22:19 AM > Subject: Re: [PHP] How to work with embedded mysql from php. > > > > >From: Nishshanka Sirisena > >To: Tommy Pham > >Sent: Sunday, Septe

Re: [PHP] Re: Creating file name with $variable

2009-09-20 Thread Tommy Pham
- Original Message > From: Ralph Deffke > To: php-general@lists.php.net > Sent: Sunday, September 20, 2009 3:43:24 PM > Subject: [PHP] Re: Creating file name with $variable > > Hi Haig, > > it would be better if u tell us what purpose u want to solf with this > approuch. Its hard to und

Re: [PHP] Best Practice to Create Dynamic URL's- With Username

2009-09-21 Thread Tommy Pham
ent see this http://www.abcnetwork/user/username which translates into this (or something similar) to PHP http://www.abcnetwork/userProfile.php?user=username Of course, you'll need to handle the 404 just in case ;) Regards, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Best Practice to Create Dynamic URL's- With Username

2009-09-21 Thread Tommy Pham
or Apache), then ask them to specify a 404 error page for you. You can then do an ugly hack of URL rewrite in your (PHP) 404 error page so the URL will be SEF ;) Regards, Tommy > "Gaurav Kumar" wrote in message > news:87292e170909210054k79858b96yf09eeca5111ec...@mail.gmail.com...

Re: [PHP] Best Practice to Create Dynamic URL's- With Username

2009-09-21 Thread Tommy Pham
__ > > check out the rest of the Windows Live™. More than mail– > > Windows Live™ goes way beyond your inbox. More than messages > > > For help with the mod_rewrite, a Google search never goes amiss, first > result I found for 'mod_rewrite exa

Re: [PHP] Touch screen programming help

2009-09-21 Thread Tommy Pham
? >Please specify th specs with code. > > Thanks in advance, > > Regards, > Manish Did you research on 'touch screen'? How it works? The hardware & software involved? Regards, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Touch screen programming help

2009-09-21 Thread Tommy Pham
- Original Message > From: Robert Cummings > To: Tommy Pham > Cc: Manish - dz - PHP ; php-general@lists.php.net > Sent: Monday, September 21, 2009 6:29:01 AM > Subject: Re: [PHP] Touch screen programming help > > > > Tommy Pham wrote: > > Origin

Re: [PHP] wrong time stamp in log filewrong time stamp in log file

2009-09-21 Thread Tommy Pham
- Original Message > From: Andrea Giammarchi > To: bm9ib...@gmail.com; php-general@lists.php.net > Sent: Monday, September 21, 2009 11:41:01 AM > Subject: RE: [PHP] wrong time stamp in log filewrong time stamp in log file > > > > > I have updated a php to version 5.2.11. > you should u

Re: [PHP] Stricter Error Checking?

2009-09-23 Thread Tommy Pham
- Original Message > From: Tim Legg > To: php-general@lists.php.net > Sent: Wednesday, September 23, 2009 11:11:46 AM > Subject: [PHP] Stricter Error Checking? > > Hello, > > I just spent way, way to much time trying to debug code due to a misnamed > element. Here is a simplified ex

Re: [PHP] Stricter Error Checking?

2009-09-23 Thread Tommy Pham
- Original Message > From: Bob McConnell > To: Tommy Pham ; php-general@lists.php.net > Sent: Wednesday, September 23, 2009 11:37:00 AM > Subject: RE: [PHP] Stricter Error Checking? > > From: Tommy Pham > >> From: Tim Legg > >> > >> I jus

Re: [PHP] catch an iconv E_NOTICE

2009-09-24 Thread Tommy Pham
- Original Message > From: Tom Worster > To: PHP General List > Sent: Thursday, September 24, 2009 6:42:29 AM > Subject: [PHP] catch an iconv E_NOTICE > > i have this hack that works up to a point... > > function my_err_handler($errno, $errstr, $errfile, $errline) { > if ( preg_mat

Re: [PHP] stdout as input

2009-09-24 Thread Tommy Pham
- Original Message > From: Christoph Boget > To: PHP General > Sent: Thursday, September 24, 2009 6:51:56 AM > Subject: [PHP] stdout as input > > I've read the section in the docs about i/o streams and other related > sections I was able to find but couldn't figure out how to do what I

Re: [PHP] variable

2009-09-24 Thread Tommy Pham
- Original Message > From: Grega Leskovšek > To: php-general@lists.php.net > Sent: Thursday, September 24, 2009 10:10:33 AM > Subject: [PHP] variable > > Suppose I have a variable $i = 0 or 1 or 2 > and I have variables $item0, $item1 and $item2 > how do I print the variable $item0 using

Re: [PHP] variable

2009-09-24 Thread Tommy Pham
- Original Message > From: Tommy Pham > To: Grega Leskovšek ; php-general@lists.php.net > Sent: Thursday, September 24, 2009 10:16:44 AM > Subject: Re: [PHP] variable > > - Original Message > > From: Grega Leskovšek > > To: php-general@li

Re: [PHP] RIGHT Function?

2009-09-24 Thread Tommy Pham
Original Message > From: "sono...@fannullone.us" > To: PHP General List > Sent: Thursday, September 24, 2009 12:01:41 PM > Subject: [PHP] RIGHT Function? > > Hi all, > > I could use some help. I've scoured both the MySQL and PHP sites that I > know of and can't find an answer to

Re: [PHP] RIGHT Function?

2009-09-24 Thread Tommy Pham
- Original Message > From: Jay Blanchard > To: sono...@fannullone.us; PHP General List > Sent: Thursday, September 24, 2009 12:15:13 PM > Subject: RE: [PHP] RIGHT Function? > > [snip] > I have a price field that sometimes contains entries like this: > > 250,(min) > 5.32 > > How ca

Re: [PHP] RIGHT Function?

2009-09-24 Thread Tommy Pham
- Original Message > From: Tommy Pham > To: PHP General List > Sent: Thursday, September 24, 2009 12:19:51 PM > Subject: Re: [PHP] RIGHT Function? > > - Original Message > > From: Jay Blanchard > > To: sono...@fannullone.us; PHP General List &g

Re: [PHP] Downloader help needed :-(

2009-09-24 Thread Tommy Pham
- Original Message > From: Chris Payne > To: php-general@lists.php.net > Sent: Thursday, September 24, 2009 2:57:57 PM > Subject: [PHP] Downloader help needed :-( > > HI everyone, > > Thanks for those of you in the past that helped me with my downloader > not displaying the filename.

Re: [PHP] Downloader help needed :-(

2009-09-24 Thread Tommy Pham
- Original Message > From: Tommy Pham > To: php-general@lists.php.net > Sent: Thursday, September 24, 2009 4:19:48 PM > Subject: Re: [PHP] Downloader help needed :-( > > - Original Message > > > From: Chris Payne > > To: php-general@lists.php.

Re: [PHP] intl extension on os x

2009-09-27 Thread Tommy Pham
.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php When Apple made the big change of OS a few years back, they switch to *BSD based OS, with the GUI from NeXT, which Apple bought. You should be able to compile most linux/unix codes on Mac though. Have you looked at Apple's

Re: [PHP] POST without POSTing

2009-10-01 Thread Tommy Pham
- Original Message > From: Daniel Brown > To: Paul M Foster > Cc: php-general@lists.php.net > Sent: Wednesday, September 30, 2009 9:58:18 PM > Subject: Re: [PHP] POST without POSTing > > On Thu, Oct 1, 2009 at 00:41, Paul M Foster wrote: > > > > fsockopen() appears to be part of the sta

Re: [PHP] Self-Process php forms or not?

2009-10-01 Thread Tommy Pham
eader() or > include/require another modular page (suggested) * else invalid form > show entryForm.php with errors You can either pass the variables via GET in your redirect or use $_SESSION variables. I prefer $_SESSION since you really make your app modular and have access

Re: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo

2009-10-02 Thread Tommy Pham
- Original Message > From: Ben Dunlap > To: Daevid Vincent > Cc: php-general@lists.php.net > Sent: Fri, October 2, 2009 2:06:47 PM > Subject: Re: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo > > > Can someone PLEASE explain why the developers of PHP chose this seemingly

Re: [PHP] Header problem

2009-10-04 Thread Tommy Pham
Original Message > From: Kim Madsen > To: php-general@lists.php.net > Sent: Sun, October 4, 2009 9:10:36 AM > Subject: Re: [PHP] Header problem > > Hi kranthi > > kranthi wrote on 2009-10-03 16:21: > > Thats a lot of headers to read.. > > At a first glance I can see that you did not sp

Re: [PHP] strtotime strangeness

2009-10-04 Thread Tommy Pham
- Original Message > From: Floyd Resler > To: Andrea Giammarchi > Cc: php-general@lists.php.net > Sent: Sun, October 4, 2009 12:01:30 PM > Subject: Re: [PHP] strtotime strangeness > > I couldn't find anything in the php.ini file to account for this. I am > running > PHP 5.2.10. I've

Re: [PHP] problem with mod_php

2009-10-04 Thread Tommy Pham
Original Message > From: JC > To: php-general@lists.php.net > Sent: Sat, October 3, 2009 12:22:21 PM > Subject: [PHP] problem with mod_php > > > I'm trying to install a webmail in a new server with the following items: > Debian 2.6.26-2-amd64 > horde 3.2.2 > imp 4.2.4 > apache 2.2.9 >

Re: [PHP] Variable name as a variable?

2009-10-05 Thread Tommy Pham
advance for any ideas. > > -- > Dotan Cohen > > http://what-is-what.com > http://gibberish.co.il > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php You mean something like this? $var_name = "text_2"; echo $$var_name; // equivalent to echo $text_2; Regards, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Spry, XML, PHP and XSLT Hell

2009-10-06 Thread Tommy Pham
- Original Message > From: Andrew Mason > To: Nathan Nobbe > Cc: Matthew Croud ; PHP General list > > Sent: Mon, October 5, 2009 8:56:12 PM > Subject: Re: [PHP] Spry, XML, PHP and XSLT Hell > > On Tue, Oct 6, 2009 at 4:37 AM, Nathan Nobbe wrote: > > On Mon, Oct 5, 2009 at 10:10 AM, Ma

Re: [PHP] Active Directory LDAP Help

2009-10-06 Thread Tommy Pham
attributes ... > >> where will i get all this information? > >> > >> Help appreciated. > >> Thank you. > >> > >> > >> > > > > > > > -- > Devendra Jadhav Devendra, Are you trying to create a web UI to manage AD accounts? If so, I hope you know that you're reinventing the wheel. Have a look at phpldapadmin at http://phpldapadmin.sourceforge.net/ Regards, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Spry, XML, PHP and XSLT Hell

2009-10-06 Thread Tommy Pham
is, to what extend can XSLT decorate and display an XML > file, can I add style sheets and rollovers, can I control the cacheing so > that > users wont need to empty their cache to see changed results ? Does it all > work > fine with PHP when I "include" it in a file ?

Re: [PHP] Spry, XML, PHP and XSLT Hell

2009-10-06 Thread Tommy Pham
- Original Message > From: Tommy Pham > To: PHP General list > Sent: Tue, October 6, 2009 10:41:42 AM > Subject: Re: [PHP] Spry, XML, PHP and XSLT Hell > > - Original Message > > From: Matthew Croud > > To: PHP General list > > S

Re: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo

2009-10-06 Thread Tommy Pham
//ancientstones.com http://earthstones.com > > -- PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php I find it interesting for a discussion to go on this long for something as $a = $a++; which should have never happened in the first place ;) Regards, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Whacky increment/assignment logic with $foo++ vs ++$foo

2009-10-07 Thread Tommy Pham
t was left to the programmer to use as he/she needed. However, what I find wacky about all of this is: for($i=1; $i<=10; $i++) { echo($i); } and for($i=1; $i<=10; ++$i) { echo($i); } Do exactly the same thing. I would have expected the first to pr

Re: [PHP] Apache Rewrite Issues

2009-10-07 Thread Tommy Pham
SEF/SEO when generating the URL. Thus, your problem also disappears ;) Regards, Tommy > I have the following rule in my Apache conf > > RewriteRule ^/articles/(.*) index.php?m=articles&t=$1 [P,L] > > Now if I run with this configuration, PHP strips the query string back at

Re: [PHP] Newbie: Array of objects iteration

2009-10-09 Thread Tommy Pham
gt; Thanks a lot, :) > > Márcio > > > Update: > > "PDO::FETCH_OBJ > Returns an anonymous object with property names that correspond to the > column names returned in your result set." > > I will give a shot on array_keys however, is there any method to a

Re: [PHP] Newbie: Array of objects iteration

2009-10-11 Thread Tommy Pham
- Original Message > From: MEM > To: Tommy Pham ; php-general@lists.php.net > Sent: Sat, October 10, 2009 2:49:23 AM > Subject: RE: [PHP] Newbie: Array of objects iteration > > > > > MEM, > > > > http://www.php.net/language.oop5.refl

Re: [PHP] php exception handling

2009-10-11 Thread Tommy Pham
w Exception("Test failed."); } else { // do something } } catch (Exception $e) { // set/print a user friendly message to send to output // set a detailed message using debug_backtrace() or any other information relevant for easier troubleshooting // log and/or email detailed

Re: [PHP] VC9 x86 Non Thread Safe or VC9 x86 Thread Safe ?

2009-10-12 Thread Tommy Pham
ttp://www.arkadia.com/rus/ > > -- PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php Stephane, If my memory serves, use NTS. Regards, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-16 Thread Tommy Pham
> > > > Yes, the other end of the phone is an experienced PHP developer. > IMO, if you have to explain this code over the phone or any medium: ($item->getServiceId() ? $item->getServiceId() : $item->getId()))); The other person you're talking to is definitely not &quo

Re: [PHP] PHP broadcast mailer

2009-10-16 Thread Tommy Pham
e, attachment size, etc). Here's a pseudo code: // fetch email addresses in batch size - within limit of SMTP server // create email with addresses in BCC - loop through batch to create BCC // send mail. // update db for the sent addresses // rinse and repeat until all emails are sent. Regards

Re: [PHP] PHP broadcast mailer

2009-10-16 Thread Tommy Pham
- Original Message > From: George Langley > To: php-general@lists.php.net > Sent: Fri, October 16, 2009 10:56:42 PM > Subject: Re: [PHP] PHP broadcast mailer > > Hi there. At what point would it be beneficial to subscribe to a mass > mail > service such as Constant Contact or iCont

Re: [PHP] Sanitizing potential MySQL strings with no database connection

2009-10-16 Thread Tommy Pham
> http://what-is-what.com > http://gibberish.co.il > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php Dotan, I don't think so since the mysql_real_escape_string() requires a connection handler. Why not use bind pa

Re: [PHP] PHP broadcast mailer

2009-10-16 Thread Tommy Pham
ng the SMTP server limit, It's beyond the scope of this list. You'll need to contact your server/network admin. The method varies on SMTP server (SENDMAIL, MS SMTP/Exchange, etc). Regards, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread Tommy Pham
and start-up errors? * Did you check PHP error log? * Is PHP running as CGI/FCGI or ISAPI? * Have you tried a simple phpinfo(); to see if PHP is running as configured? Regards, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread Tommy Pham
Original Message > From: "cr.vege...@gmail.com" > To: Tommy Pham ; php-general@lists.php.net > Sent: Sat, October 17, 2009 2:00:25 AM > Subject: Re: [PHP] all local sites stopped working ... > > - Original Message - From: "Tommy Pham" >

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread Tommy Pham
- Original Message > From: "cr.vege...@gmail.com" > To: John Black > Cc: Tommy Pham ; php-general@lists.php.net > Sent: Sat, October 17, 2009 2:44:32 AM > Subject: Re: [PHP] all local sites stopped working ... > > - Original Message - From: &q

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread Tommy Pham
- Original Message > From: "cr.vege...@gmail.com" > To: John Black > Cc: php-general@lists.php.net > Sent: Sat, October 17, 2009 3:17:22 AM > Subject: Re: [PHP] all local sites stopped working ... > > - Original Message - From: "John Black" > To: > Cc: > Sent: Saturday, Octob

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread Tommy Pham
- Original Message > From: "cr.vege...@gmail.com" > To: Tommy Pham ; general php > Sent: Sat, October 17, 2009 3:57:48 AM > Subject: Re: [PHP] all local sites stopped working ... > > - Original Message - From: "Tommy Pham" > To: &q

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread Tommy Pham
- Original Message > From: "cr.vege...@gmail.com" > To: Tommy Pham ; general php > Sent: Sat, October 17, 2009 4:00:24 AM > Subject: Re: [PHP] all local sites stopped working ... > > - Original Message - From: "Tommy Pham" > To: &q

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread Tommy Pham
- Original Message > From: "cr.vege...@gmail.com" > To: Tommy Pham ; general php > Sent: Sat, October 17, 2009 4:19:17 AM > Subject: Re: [PHP] all local sites stopped working ... > > - Original Message - From: "Tommy Pham" > To: &q

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread Tommy Pham
- Original Message > From: "cr.vege...@gmail.com" > To: Tommy Pham ; general php > Sent: Sat, October 17, 2009 4:33:02 AM > Subject: Re: [PHP] all local sites stopped working ... > > - Original Message - From: "Tommy Pham" > To: &q

Re: [PHP] all local sites stopped working ...

2009-10-17 Thread Tommy Pham
From: "cr.vege...@gmail.com" To: Tommy Pham ; general php Sent: Sat, October 17, 2009 4:49:53 AM Subject: Re: [PHP] all local sites stopped working ... - Original Message ----- From: "Tommy Pham" To: "general php" Sent: Saturday, October 17, 2009 1:29 P

Re: [PHP] Sanitizing potential MySQL strings with no database connection

2009-10-17 Thread Tommy Pham
- Original Message > From: Dotan Cohen > To: Tommy Pham > Cc: php-general. > Sent: Sat, October 17, 2009 10:59:52 AM > Subject: Re: [PHP] Sanitizing potential MySQL strings with no database > connection > > > I don't think so since the mysql

Re: [PHP] Using setters/getters with array of objects

2009-10-18 Thread Tommy Pham
public function getEmails() { return $this->_emails(); } public function setEmails($arrayList) { $this->_emails = $arrayList; } public function setEmail($name, $value) { $this->_emails[$name] = $value; } public fuction getEmail($name) { if (isset($this->_emails[$name])) return $this->_emails[$name]; else return null; } } $u = new User(); $u->setName('jon doe'); $u->setEmail('email1', 'j...@inter.net'); Regards, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] parse_str() expects parameter 1 to be string, array given

2009-10-19 Thread Tommy Pham
: parse_str() expects parameter 1 to be string, array given** > 1) Some code would be give more info as where the bug is. 2) Did you read this? http://www.php.net/manual/en/function.parse-str.php Regards, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] open source bookshop

2010-03-17 Thread Tommy Pham
On Wed, Mar 17, 2010 at 7:55 AM, Ali Reza Sajedi wrote: > Hello all, > > Does anybody know a good open source bookshop/bookstore system written in > php+mysql? > > Google and sourceforge search didn't yield good results. > > Any hint would be very much appreciated. > > Ali > > -- > PHP General Mai

Re: [PHP] Re: PHP in HTML code

2010-03-17 Thread Tommy Pham
On Wed, Mar 17, 2010 at 11:01 AM, Rene Veerman wrote: > hmm.. seems easier to me to push a filetree of .php's with the str_replace(), than it is to get all the with your wishes, which may not apply to their situation ;-) > > On Wed, Mar 17, 2010 at 5:14 PM, tedd wrote: >> At 8:55 PM -0400 3/16/

Re: [PHP] open source bookshop

2010-03-17 Thread Tommy Pham
d, as mentioned hier such a system has its own specific requirements that > other generic systems do  not meet. > > Ali > > - Original Message - From: "O. Lavell" > To: > Sent: Wednesday, March 17, 2010 8:22 PM > Subject: Re: [PHP] open source bookshop > >

  1   2   3   4   5   >