RE: [PHP] how old is this version of PHP?

2013-08-19 Thread Thomas Punt
Godaddy enables you to upgrade to PHP 5.3 in the cPanel settings. Date: Mon, 19 Aug 2013 01:07:17 -0500 From: la...@garfieldtech.com To: php-general@lists.php.net Subject: Re: [PHP] how old is this version of PHP? 5.2.9 was released in February of 2009. 5.2 is completely retired and out

RE: [PHP] mongo usage

2013-07-06 Thread Thomas Punt
Could the comma after the last element in your array be causing the problem? Date: Sat, 6 Jul 2013 14:42:07 -0400 From: bluethu...@gmail.com To: php-general@lists.php.net Subject: [PHP] mongo usage Hey all, I'm trying to pick up some basic use of MongoDB using PHP. I seem to have

Re: RES: [PHP] Re: problem with my login script

2012-10-02 Thread Thomas Conrad
My problem was solved no need to argue. I don't see why use a while loop with a count variable when it produces the same result as a foreach loop. As for using a break in the loop, I could add it but the loop is gonna stop anyway as soon as it hits the end of the array. I also didn't see the point

[PHP] pcntl_fork, catching STDOUT of child?

2012-01-19 Thread Thomas Johnson
, this seems to be a dead-end, I get a connection reset by peer when I try to socket_read() from the parent. I assume this is because the socket is closed by the exit of the child. Any insight or criticism is appreciated. -- Thomas Johnson ClaimLynx, Inc. 952-593-5969%20x2302

[PHP] PHP Download Of Application Question?

2011-10-08 Thread Thomas Dineen
. So any ideas out there? Thanks for the help Thomas Dineen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP/Cairo-0.2.0 Build Bug

2011-07-21 Thread Thomas Dineen
/pear/temp/Cairo which is empty when examined after the script errors off. Thus preventing further study! Note also that I downloaded the cairo-0.2.0 tar distribution and it did NOT include configure or make files thus preventing manual builds. Please help Thomas Dineen - The entire transcript

[PHP] A Question On Web Graphics

2011-07-12 Thread Thomas Dineen
thinking about calling a C/C++ based application called from Apache/PHP, where the C/C++ Application would call the graphics application as necessary! Is this the best architecture? Thanks for the help. Thomas Dineen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Handling exit in eval

2011-03-14 Thread Thomas Björk
something to make the eval stop // without halting the script } $s = str_replace('exit;', 'MakeItStop();', $s); eval($s); echo Never comes here; ? A simple return would fix it IF the return isn't located within a function. Any good suggestions? Thanks in advanced Thomas Björk -- PHP General

[PHP] Solr Extension - Changing the wt-Parameter from xml to json

2011-02-21 Thread Thomas Junghans
Hi I'm using the Solr extension (http://php.net/manual/en/book.solr.php) to create a search site for a company. I am trying figure out a way of changing the wt-parameter from xml to json. I have searched already but with no success so far. Further information to help with my question: -

Re: [PHP] goto - My comments

2010-12-18 Thread Thomas Anderson
On Sat, Dec 18, 2010 at 11:44 PM, Robert Cummings rob...@interjinn.com wrote: On 10-12-19 12:17 AM, Ethan Rosenberg wrote: Dear List - Thanks to all for your EXCELLENT comments.  I definitly agree that goto is a command to be avoided at all costs. Closed-minded drivel (or you're buttering

[PHP] add function to solr extension

2010-08-20 Thread Thomas Gambier
/fr/book.solr.php I didn't know how to do. Create or extend a class ? Which one ? How ? Can i have some help to get started please. Thanks by advance. Regards Thomas

Re: [PHP] How to upload via SFTP with allow_url_open disabled?

2010-07-31 Thread Thomas Anderson
You might have better luck with phpseclib's Net_SFTP, which uses fsockopen: http://phpseclib.sourceforge.net/documentation/net.html#net_sftp_example Good luck! On Thu, Jul 29, 2010 at 12:13 PM, Scott Teresi scot...@teresi.us wrote: I'm attempting to send a file over SFTP in PHP, but all the

[PHP] How to achieve mixed authentication/anonymous access

2010-04-14 Thread Dirk Thomas / 4wd media
Hi, i have a problem with Authentification. I currently doubt that it is possible at all. Perhaps someone can enlighten me how to achive the goal or confirm that it is not reachable. The scenario is to achieve a mixed authentication/anonymous access similar as described for Subversion (see

[PHP] Re: Howto send command over ssh using sockets

2010-04-07 Thread Thomas Anderson
phpseclib does SSH without PECL extension and only with fsockopen: http://phpseclib.sourceforge.net/ On Sun Apr 4 21:09:54 2010, Hans_Åhlin wrote: Instead of ssh, you could use telnet to connect to the Cisco router (which incidentally runs on port 23, but is likely to be disabled on the

[PHP] mysqli_connect problem

2010-03-01 Thread Thomas H. George
I am a newbie. The following script works but the second one (below) loads the variables from an html form and then fails. The connection commands in the second sript are identical as the first script was copied from the first. Only the variable values have been changed. #!/usr/bin/php # ?php

[PHP] mysqli_connect problem

2010-02-28 Thread Thomas H. George
I am a newbie. The following script works but the second one (below) loads the variables from an html form and then fails. The connection command in the second sript are identical as the first script was copied from the first. Only the variable values have been changed. #!/usr/bin/php # ?php

[PHP] Compiling PHP-GTK with PHP-5.3.1 with VC9

2010-01-16 Thread Thomas Worm
? Thanks and best regards, Thomas -- Mit freundlichen Grüßen, Thomas Worm ** Thomas Worm Handel Dienstleistung Postfach 2207 D-90009 Nürnberg Hausanschrift: Hintere Cramergasse 3 D-90478 Nürnberg ** Telefon: +49 1803 030505000 Telefax

[PHP] Re: Compiling PHP-GTK with PHP-5.3.1

2010-01-16 Thread Thomas Worm
Hello, problem is solved. After some fixing of configure.js for MS VS.NET 2008 and fixing confutils.js it works. Thankts to Elizabeth M Smith for the help! My fixes have been postet to the php-gtk-dev mailinglist for beeing published in svn. Best Regards, Thomas -- Mit freundlichen Grüßen

[PHP] php move_uploaded_file() filesize problem

2009-08-24 Thread Thomas Gabrielsen
with no errors every time I try to upload a file greater than 32 MB. Have any of you had the same problem? Thanks! Thomas Gabrielsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php move_uploaded_file() filesize problem

2009-08-24 Thread Thomas Gabrielsen
Ryan Cavicchioni ryan...@confabulator.net wrote in message news:20090824205810.gc32...@mail.confabulator.net... On Mon, Aug 24, 2009 at 09:54:03PM +0200, Thomas Gabrielsen wrote: Hi I have a problem with uploading files that are bigger than the Master Value allow me to, which is 32 MB. I've

Re: [PHP] what's the difference in the following code?

2008-10-23 Thread Thomas Wicht
there is a long if , its much easier to extend. sorry for my bad english greetz Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Associative array issues with loading values after initialization

2008-09-19 Thread Thomas Bolioli
The below function is not working. function crm_get_country_list(){ global $dbh; $result = mysql_query(SELECT * FROM countries ORDER BY pk_country_id ASC, $dbh) or die(mysql_error()); $country_list = array(' ' =' '); while ($row = mysql_fetch_assoc($result)){

Re: [PHP] Associative array issues with loading values after initialization

2008-09-19 Thread Thomas Bolioli
'; } else { $select = ''; } print(option value='.$k.'.$select..$nex[$k]./option); } } Thomas Bolioli wrote: The below function is not working. function crm_get_country_list(){ global $dbh; $result = mysql_query(SELECT * FROM countries ORDER BY pk_country_id ASC, $dbh

Re: [PHP] Associative array issues with loading values after initialization

2008-09-19 Thread Thomas Bolioli
, 'seventeen' = 17 ); foreach ($a as $k = $v) { echo \$a[$k] = $v.\n; } Thomas Bolioli wrote: I should add, it is not working with this funciton, which could be the source of the issue. function dropbox_from_list($list, $selected_index){ while ($nex = next($list)) { $k = key($nex

Re: [PHP] Associative array issues with loading values after initialization

2008-09-19 Thread Thomas Bolioli
($selected_index, $k) == 0) { $select = ' SELECTED'; } else { $select = ''; } print option value='$k'$select$v/option; } } b wrote: Thomas Bolioli wrote: I should add, it is not working with this funciton, which could be the source of the issue

Re: [PHP] Associative array issues with loading values after initialization

2008-09-19 Thread Thomas Bolioli
I found the issue. The whitespace in between $list as $k = $V was all not truly whitespace. Gotta love BBEdit... Thomas Bolioli wrote: I hav ebeen able to track down that this is the part not working. It throws a parse error: PHP Parse error: syntax error, unexpected T_VARIABLE on the line

[PHP] quick php for perl coder question

2008-09-11 Thread Thomas Bolioli
I want to return an array from a function. I have this: return array($found, $username, $email, $nickname); as my code. I have a bug in the code and I am not sure where yet. Should the above statement with this: array($vars); $vars = function($type, $abc, $xyz); $found = $vars[0];

[PHP] Why my mails are not received by Hotmail users?

2008-04-04 Thread thomas Armstrong
Hi. I created this script to send emails: --- $mailFromEmail = [EMAIL PROTECTED]; $mailFromName = MYDOMAIN; $mailTo = [EMAIL PROTECTED]; $mailHeaders = From: $mailFromName $mailFromEmail\n . Content-Type: text/plain; . charset=UTF-8; format=flowed\n . MIME-Version: 1.0\n .

[PHP] How to log APC Cache errors?

2008-03-28 Thread thomas Armstrong
Hi. I'm using APC 3.0.17 with PHP 5.2.5 on Linux. I'm suffering some white page of death APC errors, and I'm trying to investigate the reasons. But: 1) I don't find any APC support forum. 2) I don't find any APC error log. I'm browsing Apache error log (with PHP 'E_ALL' activate) and don't see

[PHP] imap_mail()

2007-12-22 Thread Thomas Le
host instead of the domain name of my site. Minor thing because most people probably dont look at headers, but I want it to be professional looking in case someone does. Thank you, Thomas Le Choose a job you love, and you'll never have to work a day in your life. - Confucius

[PHP] question regarding type hinting parameters of php functions

2007-11-26 Thread Dirk Thomas / 4wd media
Hi, i have tried a current snapshot of PHP 5.3 and have a question regarding type hinting. For example when using the function array_slice(array $array, int $offset, int $length) with a non-integer length parameter, what is the desired behavior? When calling array_slice($array, 0,

Re: [PHP] Configure mail to use Gmail smtp

2007-09-16 Thread Thomas Bachmann
ZF rocks ;) debussy007 schrieb: I succeeded using the Zend Framework. debussy007 wrote: Hello, I have read here : http://www.geekzone.co.nz/tonyhughes/599 that I can use Gmail as a free SMTP server. Is it possible to change the php.ini in order to have this running ? I need to specify in

[PHP] Re: split in to multiple pages (I think)

2007-09-16 Thread Thomas Bachmann
Why don't post an example of your news file too? Joker7 schrieb: Hi, I'm using the code below to display news articles-which works great apart from. I can control the number of articles,but I would like to add a link to the bottom of the page to the un-displayed articles ( nexted 5 articles

Re: [PHP] Graphs

2007-02-02 Thread Thomas Pedoussaut
like a charm. -- Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mime with php4.4.4 does not work anymore

2006-12-29 Thread Roger Thomas
I have been serving my community with Invision Power Board (IPB) v1.3.1 Final. Things are working well with PHP 4.3.8 and Apache 1.3.29. Yesterday I just upgraded to PHP4.4.4 and I have problems with Excel and Word attachments with IPB. Whenever I click on those attachments, I will get all

Re: [PHP] passing an object using session var

2006-11-29 Thread Thomas Munz
Try that: --script1--- ?php include(TestClass.php); session_start(); $obj = new TestClass(); $obj-setName('MyName'); $obj-display();// outputs 'MyName' $str_object = serialize($obj); //-- You need to serialize an object ( see php.net manual ) in order to make an object working via

Re: [PHP] How do you do the ? mark after a filename

2006-11-12 Thread Thomas Bonham
Thank you for that, it was a big help. Can I also call function that way? Again thank you for your help. Thomas Tom Chubb wrote: On 12/11/06, Thomas Bonham [EMAIL PROTECTED] wrote: Hi All, I keep seeing the ? mark after many file names index.php?id=234. So what I would like to know is how

[PHP] How do you do the ? mark after a filename

2006-11-11 Thread Thomas Bonham
Hi All, I keep seeing the ? mark after many file names index.php?id=234. So what I would like to know is how do you make them. I have heard that they can make a programs life sampler when doing somethings with a database. Thank you, Thomas -- PHP General Mailing List (http://www.php.net

Re: [PHP] Read Through PHP Files

2006-11-10 Thread Thomas Munz
You cannnot just open those files. That things that you see are not 'rubish' or whatever. Those files are in a binary format. You need to understand the .doc format and the .pdf format. You can get this infromation by using google and search for 'Binary word format' and so on. Then you have

Re: [PHP] Frameworks

2006-11-02 Thread Thomas Munz
I personal prefer Frameworks. I tried some of them. But in my opinion, those are not made to create application fater, no. With Frameworks, you can maintaine your application better. You have a global place where everything can be changed on one file. Ofc, its also possible that this improves

Re: [PHP] Comment management

2006-10-23 Thread Thomas Munz
Maybe you mean a bug tracker? checkout http://flyspray.rocks.cc/ on Monday 23 October 2006 17:12, tedd wrote: Hi: I posted this on the web-design list, but didn't receive any leads. I want to continue what I've been doing, which is to offer various code solutions for people via my web

Re: [PHP] add functions to a class

2006-09-21 Thread Thomas Munz
This will not work. $this-bla(); This is a PHP Syntax and tries to get the Class method, PHP dont look for a variable name at all! It seams me strange also, that you try this, you should create the method for the class itself, or extend it. But this shoul work: class Test { function Test

Re: [PHP] Extension in free pascal - OT

2006-09-21 Thread Thomas Munz
Pascal?? this is a PHP list, you are on the wrong place! on Thursday 21 September 2006 11:12, Bronislav Klucka wrote: Hi, does anybody know how to write extension in FreePascal? Brona -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Extension in free pascal - OT

2006-09-21 Thread Thomas Munz
to write extension for PHP :) but I want to write it in FPC... Brona Thomas Munz wrote: Pascal?? this is a PHP list, you are on the wrong place! on Thursday 21 September 2006 11:12, Bronislav Klucka wrote: Hi, does anybody know how to write extension in FreePascal? Brona -- PHP

Re: [PHP] Extension in free pascal - OT

2006-09-21 Thread Thomas Munz
written in C and use it in program written in FPS and vice versa (it's all about rewriting function's headers). So my question is, if this is possible generally, can it be done for PHP? Thomas Munz wrote: PHP is written in C. If you want to write a extension, you have to writte it in C. I dont

Re: [PHP] Class question

2006-09-15 Thread Thomas Munz
Use 'extends' syntax for sub classes class A { var $some_var; var $class_B; function A(){ $this-class_B = new B(); $this-some_var=2; } } class B extends A { var $class_C; function B(){

Re: [PHP] php-general mailing list active?

2006-08-22 Thread Thomas Munz
maybe you should resubscribe :) on Tuesday 22 August 2006 16:31, [EMAIL PROTECTED] wrote: Would someone kindly let me know if there is activity on [EMAIL PROTECTED] I have not gotten posts for a few days now, and I'm having no luck connecting to the help, owner or admin addresses. Thanks,

Re: [PHP] AES client side

2006-07-31 Thread Thomas Munz
What do you need exaclty? Do you wanna encrypt the datas, that will be transfered to the client Or do you wanna encrypt the source code, that will be displayed on the client? For reason 1 you can use SSL connection to encrypt the transfered datas. For reason 2: forget it. The Browser needs to

[PHP] LDAP function to add objectClass

2006-07-31 Thread Roger Thomas
I have an already working LDAP server. One of my user's ldif looks like: ... ... sn: Roger Thomas givenName: Roger Thomas objectClass: top objectClass: person objectClass: inetOrgPerson objectClass: organizationalPerson objectClass: qmailUser objectClass: hordePerson o: example.com ou: people

[PHP] What is you IP ?

2006-07-12 Thread Roger Thomas
I want to filter IP addresses. I noticed that my script catches IP addresses that looks like they came from the internal LAN, ie 192.x.x.x and 10.x.x.x My script catched those IPs by $_SERVER['REMOTE_ADDR']. Am I not being able to catch IPs from transparent proxies that a user's ISP might use?

Re: [PHP] Stop process when user close window browser

2006-06-30 Thread Thomas Munz
By default, PHP will also stop execution when the browser is closed. See: http://de.php.net/manual/en/features.connection-handling.php on Friday 30 June 2006 09:06, weetat wrote: Hi all, I am using PHP 4.3.2 and MYSQL database. I think this question has been asked many times, however not

Re: [PHP] bug in php 5.1.4

2006-06-30 Thread Thomas Munz
There must be a special code in your script that causes it like this bug: http://bugs.php.net/bug.php?id=37926 on Friday 30 June 2006 11:39, Alain Roger wrote: Hi, I' ve discovered a bug in PHP 5.1.4. This version of PHP create a new session everytime you refresh the same php page or that

Re: [PHP] Stop process when user close window browser

2006-06-30 Thread Thomas Munz
What kind of connection you use ( persistent ?) and which PHP and MySQL version? Normaly, PHP exit after the browser gets closed, but sended SQL to MySQL get finished executed. on Friday 30 June 2006 11:54, weetat wrote: Hi Thomas, Yes. I read the manual regarding the connection handling

[PHP] Control GET data ( not php related )

2006-06-07 Thread Thomas Munz
Thats not PHP related. Its normal HTML/JS 2 Ways: 1) Make form to use 1 field:; form method=GET action=file.php input name=name type=text / /form 2) Use JS to manipulate the target url dynamicaly on Wednesday 07 June 2006 21:20, Steffen Mazanek wrote: Hello, I want to provide two input

[PHP] php, eclipse, dbg, oh my

2006-06-04 Thread Tod Thomas
Eclipse - 3.1.2 Linux - 2.6.16-1.2111_FC4 PHP - 5.1.2, I built it. DBG - 2.13.1, I tried the binary, then built it on my own Apache - 2.0.55, I built it. PHP is running as a module but I've configured Eclipse to use the standard PHP5 executable instead. I wonder if anyone has

[PHP] Metric Conversion Library

2006-05-29 Thread Tod Thomas
Before I write my own, is there a php math library that will perform US to metric conversions and the like? Thanks - Tod -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ajax (xmlHttpRequest) and session_start() problem.

2006-05-17 Thread Thomas Munz
session_write_close(); Ex: session_start(); $asdf = $_SESSION; //-- get all datas session_write_close(); //-- close session on Wednesday 17 May 2006 16:36, Mathijs wrote: Robert Cummings wrote: On Wed, 2006-05-17 at 10:11, Mathijs wrote: I Have an very strange problem. When i execute

Re: [PHP] Sessions - session_start()

2006-05-15 Thread Thomas Munz
put ob_start(); on the first line of your page on Monday 15 May 2006 15:53, Jonas Rosling wrote: Hi, I've been building a site with PHP 5 on my develop machine. I've been woring alot with session handling. For example I've been using session_start() now and then depending on where the

[PHP] LDAP Authentication

2006-05-12 Thread Thomas Bonham
Hello, I'm trying to do a ldap authentication page. I can get there username and I don't know how to get the password from ldap. It didn't show up in the the search for the command line. So how do I get the password of the users? Thomas -- PHP General Mailing List (http://www.php.net

[PHP] Book/Site for internernal PHP5 Core Developing

2006-04-26 Thread Thomas Munz
hi list! Does someone know a good Book/website for Develop own C-Extensions for PHP5? http://us2.php.net/manual/en/zend.php This site are just basic things, but i wanna do more things. Someone may help me? thx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP with Oracle

2006-04-19 Thread Thomas Munz
Only the main US Server. Try: http://us2.php.net/ on Wednesday 19 April 2006 15:13, Brad Bonkoski wrote: Assuming the PHP web page is available, anyone else having problems connecting to php.net? -B Jay Blanchard wrote: [snip] is there a ready script that handle entering user name and

Re: [PHP] OT - PHP Webhost Dedicated Server

2006-04-11 Thread Thomas Munz
www.ixwebhosting.com www.hostexcellence.com on Tuesday 11 April 2006 15:18, Suhas wrote: Hello, Any suggestions for Dedicated PHP Webhost. The current service provider is ok but Customer service is unsatisfactory. Very bad experience. Thanks for your help in advance, SP -- PHP General

Re: [PHP] open / check SSL activation

2006-04-05 Thread Thomas Munz
if request come from port 443, SSL = Active you can get the port from $_SERVER[SERVER_PORT] on Wednesday 05 April 2006 15:12, Alain Roger wrote: Hi, I would like to ebsure that my user has SSL activated. for that i would like to do something like that : 1. after lo-in button click,

Re: [PHP] redirect using php

2006-04-05 Thread Thomas Munz
Function that will work also, when JS is not activate and headers are allready send :) : ?php function chrome_redirect($url) { // redirect the page if (headers_sent()) { // perform JS redirect echo 'script type=text/javascript language=javascript

Re: [PHP] require_once hell

2006-03-29 Thread Thomas Munz
Forgot the ?php tag in the second class? on Wednesday 29 March 2006 12:48, Adrian Bruce wrote: Hi this may be a stupid moment but i cant find an help on google so.i am including two classes in my code using the require_once(path to file) method. this works fine for the first class but

Re: [PHP] Date addition problem

2006-03-29 Thread Thomas Munz
Cause 9th month have 30 days but 10th month have 31 days. You don't check the amount of day there... :) on Wednesday 29 March 2006 14:51, Adrian Bruce wrote: Hi I am having an unusual problem when trying to calculate dates in advance from a start date. the code below shows a loop where by

Re: [PHP] object oriented syntax in php

2006-03-28 Thread Thomas Munz
echo $ping_result[_raw_data][5]; Hi there, I do have problems with object oriented syntax as this is not familar to me. There is following output: object(net_ping_result)(11) { [_icmp_sequence]= array(1) { [61.117):]= string(1) 7 } [_target_ip]= string(9) y2.php.ne

Re: [PHP] call a php script in a php script

2006-03-28 Thread Thomas Munz
I personaly use proc_open() to run PHP Scripts. on Tuesday 28 March 2006 12:14, nicolas figaro wrote: Hi, I'd like to run a php script in another php script. (the first is lauched from the command line). Is there a way to do it better than system (/path/to/php script_included.php options).

[PHP] PHP Links

2006-03-25 Thread Thomas Bonham
I'm trying to find out how make following happen Example: http://www.example.com/test.php?id=20 What makes this happen and how do I make it. Thanks Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Fwd: Re: WG: Bitte weiterleiten

2006-03-24 Thread Thomas Munz
-- Weitergeleitete Nachricht -- Subject: Fwd: Re: WG: Bitte weiterleiten Date: Freitag, 24. März 2006 15:29 From: Thomas Munz [EMAIL PROTECTED] To: [EMAIL PROTECTED] -- Weitergeleitete Nachricht -- Subject: Re: WG: Bitte weiterleiten Date: Freitag, 24. März

Re: [PHP] Fwd: Re: WG: Bitte weiterleiten

2006-03-24 Thread Thomas Munz
Sorry! Was mistakly commited, should go to the list in my address book but not here! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Looking for PHP SSO-engine

2006-03-13 Thread Roger Thomas
Are there are PHP projects that focuses on Single Signon/Signoff like Pubcookie, CAS, Cosign etc? Please advise. TIA. --roger --- Sign Up for free Email at http://ureg.home.net.my/ --- -- PHP

[PHP] DB calls vs Session solution

2006-03-10 Thread Thomas
Hi there, Quick question on performance: I have got some expensive sql queries (doing lots of LEFT JOINS) that result in anything between 10 to 1 results. I need to do paging on those. So far I have used a LIMIT solution which will not do anymore because you don't get the whole total. Now,

[PHP] HN CAPTCHA at http://www.phpclasses.org

2006-02-15 Thread Roger Thomas
I am currently testing HN CAPTCHA and noticed that the range of alphabets that were produced ranges from A..F only. My PHP skill is quite limited to change that to A..Z so if ppl here have any experience with that class, appreciate your thoughts. TIA. HN CAPTCHA:

Re: [PHP] HN CAPTCHA at http://www.phpclasses.org

2006-02-15 Thread Roger Thomas
Quoting J_K9 [EMAIL PROTECTED]: How about sending us the code so that we can have a look? If not we have to register there... Cheers, J_K9 OK. Attached. --roger --- Sign Up for free Email at http://ureg.home.net.my/

Re: [PHP] HN CAPTCHA at http://www.phpclasses.org

2006-02-15 Thread Roger Thomas
Quoting Curt Zirzow [EMAIL PROTECTED]: On Thu, Feb 16, 2006 at 09:44:33AM +0800, Roger Thomas wrote: I am currently testing HN CAPTCHA and noticed that the range of alphabets that were produced ranges from A..F only. My PHP skill is quite limited to change that to A..Z so if ppl here have

Re: [PHP] HN CAPTCHA at http://www.phpclasses.org

2006-02-15 Thread Roger Thomas
Quoting Kim Christensen [EMAIL PROTECTED]: To solve your problem, replace the generate_private() function in hn_captcha.class.php - starting at row 756 - with this code: function generate_private($public=) { $letters = 1234567890abcdefghijklmnopqrstuvwxyz; $maxsize =

[PHP] Where is Zend

2006-02-12 Thread Roger Thomas
I have had difficulty going to zend.com to download Zend Optimizer for php-4.4.2 since last week. Anybody that have a copy of Zend Optimizer, I would appreciate if you could provide me with a link to your server that I can download a copy. TIA. --roger

Re: [PHP] Where is Zend

2006-02-12 Thread Roger Thomas
Quoting Chris [EMAIL PROTECTED]: Roger Thomas wrote: I have had difficulty going to zend.com to download Zend Optimizer for php-4.4.2 since last week. Have you contacted zend and told them you were having a problem ? I'm sure they have an easy to fill in contact form on their site. I

Re: [PHP] xml to array

2006-02-05 Thread Tod Thomas
Brian V Bonini wrote: On Fri, 2006-02-03 at 16:23, Richard Lynch wrote: I've got my money on the XML spec REQUIRING an alphabetic start to tagnames, and subsequent characters can be alphanumeric... In other words, it doesn't work because 0 is not a valid XML tag. Yeah, that was my

Re: [PHP] PHP5 Build - test.php not working

2006-02-02 Thread Tod Thomas
Richard Lynch wrote: On Mon, January 30, 2006 8:08 pm, Tod Thomas wrote: I just built phpV5.1.2 with the same options I used to build php4: ./configure --prefix=/opt/php5 --with-apxs2=/opt/apache/bin/apxs --with-mysql=/opt/mysql --disable-cgi --with-zlib After make install I had libphp5.so

Re: [PHP] PHP5 Build - test.php not working - Solved

2006-02-02 Thread Tod Thomas
Tod Thomas wrote: I just built phpV5.1.2 with the same options I used to build php4: ./configure --prefix=/opt/php5 --with-apxs2=/opt/apache/bin/apxs --with-mysql=/opt/mysql --disable-cgi --with-zlib After make install I had libphp5.so in the ./apache/modules directory as expected. I

Re: [PHP] PHP5 Build - test.php not working

2006-02-01 Thread Tod Thomas
Richard Correia wrote: can you try httpd -v, which all dynamic modules are listed? Sorry I took so long. -v just displays the version. This provides what you asked for I think: /httpd -e debug [Tue Jan 31 18:11:38 2006] [debug] mod_so.c(248): loaded module access_module [Tue Jan 31

[PHP] PHP 5 Backwards Compatability

2006-01-30 Thread Tod Thomas
Is their a list of portability problems to be aware of when switching from v4 to v5? Maybe a table that compares the two? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP5 Build - test.php not working

2006-01-30 Thread Tod Thomas
I just built phpV5.1.2 with the same options I used to build php4: ./configure --prefix=/opt/php5 --with-apxs2=/opt/apache/bin/apxs --with-mysql=/opt/mysql --disable-cgi --with-zlib After make install I had libphp5.so in the ./apache/modules directory as expected. I commented out my

Re: [PHP] PHP5 Build - test.php not working

2006-01-30 Thread Tod Thomas
Richard Correia wrote: I think your webserver is not treating .php as script file. AddType application/x-httpd-php .php http://www.weberdev.com/Manuals/PHP/install.windows.apache2.html The above instructions are for windows, but you will get the idea. Thanks, Rich I thought about

[PHP] PHP / Apache + Error 500

2006-01-25 Thread Thomas
indicates that it can't really be my php scripts, otherwise it would happen all the time. Does anybody have any suggestion as to how I can solve this issue? I know this is pretty vague information, but it's all I have (hence the confusion). Thanks, Thomas SPIRAL EYE STUDIOS P.O. Box 37907, Faerie Glen

RE: [PHP] PHP / Apache + Error 500

2006-01-25 Thread Thomas
Hi Jochem, PHP5.0.4, on both systems. I suspect that either of the PEAE modules cause some server id10t error (if indeed the issue is on my side). Thomas -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: 25 January 2006 03:00 PM To: Thomas Cc: php-general

[PHP] Announcement: PHP-Qt

2006-01-24 Thread Thomas Moenicke
have ported these tutorials to PHP-Qt, and they are available in the tarball. For more information, visit http://php-qt.berlios.de/ . -- Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] help me plz

2006-01-20 Thread Thomas
this with javascript (if you do not need 'fresh' data) Thomas -Original Message- From: Robert Graham [mailto:[EMAIL PROTECTED] Sent: 19 January 2006 09:34 AM To: suresh kumar Cc: php-general@lists.php.net Subject: Re: [PHP] help me plz suresh kumar wrote: hi, i am using 2 combo box one

[PHP] Email Form

2006-01-19 Thread Thomas Bonham
Hello All, I don't remember how to do email with php. I have all of it done, except for I can't get it to show the senders email address. All I get it from [EMAIL PROTECTED] If some one has a example that they can post that would be great. Thank You Thomas -- PHP General Mailing List

RE: [PHP] Migration from MySQL to MS-SQL Server

2005-12-09 Thread Thomas
(but then again, we might have been stupid :-)_ If you are rewriting the project, why don't you implement a DB abstract layer, like PEAR:DB or adodb_lite? Will take you a while but will make your code look so much better. Cheers Thomas -Original Message- From: AmirBehzad Eslami [mailto:[EMAIL

RE: [PHP] template systems

2005-12-05 Thread Thomas
Hi, Templating systems are really a matter of taste. You have a few options, depending also on the paradigm you want to use (Model2, MVC ... maybe read up on that as that is good general knowledge). Also, please check the archives as this question has already been discussed at length ;-)

[PHP] Send postcard link

2005-10-09 Thread Roger Thomas
On server-1 I have my photogallery working. On another box, server-2, I have my postcard script also working great. Users can send postcards using ready inhouse designs or upload their own (max 100K). Both have been serving our community for the past 2 years or so. Current requirement: When

[PHP] serializing result sets or what?

2005-09-28 Thread Thomas
Hi, Having spent a little time on Google (and reading unrelated articles ...) I would like post my question here again (as advice on the list is always very valuable indeed!): Q: What would be the best way to save db calls for large result sets? I thought about serializing the data and then

[PHP] serializing result sets, or what?

2005-09-28 Thread Thomas
Hi, Having spent a little time on Google (and reading unrelated articles ...) I would like post my question here again (as advice on the list is always very valuable indeed!): Q: What would be the best way to save db calls for large result sets? I thought about serializing the data and then

RE: [PHP] serializing result sets or what?

2005-09-28 Thread Thomas
the scripts)? Thanks T -Original Message- From: Jasper Bryant-Greene [mailto:[EMAIL PROTECTED] Sent: 28 September 2005 11:41 AM To: php-general@lists.php.net Subject: Re: [PHP] serializing result sets or what? Thomas wrote: Q: What would be the best way to save db calls for large result

RE: [PHP] Web Service Php - Currency Conversion

2005-09-28 Thread Thomas
I have used nusoap and a xmethods service. You can get the ziped files here: http://www.thomash.co.za/uploads/forex/forex.nusoap.zip Hope that helps BTW: also had issues with the PEAR package. T -Original Message- From: Sylvain Gourvil [mailto:[EMAIL PROTECTED] Sent: 28 September 2005

[PHP] __FILE__ and __LINE__ of calling scripts?

2005-09-27 Thread Thomas
manually? Thanks Thomas SPIRAL EYE STUDIOS P.O. Box 37907, Faerie Glen, 0043 Tel: +27 12 362 3486 Fax: +27 12 362 3493 Mobile: +27 82 442 9228 Email: [EMAIL PROTECTED] Web: www.spiraleye.co.za -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

RE: [PHP] __FILE__ and __LINE__ of calling scripts?

2005-09-27 Thread Thomas
: 27 September 2005 03:20 PM To: php-general@lists.php.net Subject: Re: [PHP] __FILE__ and __LINE__ of calling scripts? Thomas wrote: Hi, I want to find out if it is possible to get the file name and the line number of a calling script (__FILE__, __LINE_) from a calling class automatically. Let me

  1   2   3   4   5   6   7   8   9   >