php-general Digest 9 Sep 2005 09:46:54 -0000 Issue 3672

2005-09-09 Thread php-general-digest-help
php-general Digest 9 Sep 2005 09:46:54 - Issue 3672 Topics (messages 222048 through 222073): Re: Limit - nr of sessions on a domain? 222048 by: Gustav Wiberg Re: Checking a date for validity 222049 by: Todd Cary 222050 by: Todd Cary 222051 by: Todd Cary

Re: [PHP] How large string in cookie?

2005-09-09 Thread Gustav Wiberg
- Original Message - From: Philip Hallstrom [EMAIL PROTECTED] To: Gustav Wiberg [EMAIL PROTECTED] Cc: PHP General php-general@lists.php.net Sent: Friday, September 09, 2005 3:38 AM Subject: Re: [PHP] How large string in cookie? How large can a string be in a cookie? (the

[PHP] Re: access resources via a proxy

2005-09-09 Thread Raj Shekhar
in infinite wisdom Vedanta Barooah spoke thus On 09/09/2005 10:46 AM: what about existing apps... do i need to rewrite them :( if you want to ask if you will need to rewrite the scripts that fetch the data, then yes - I think you will need to rewrite them. I am not sure how these scripts are

[PHP] Re: php.ini and php.config Tutorial?

2005-09-09 Thread Raj Shekhar
in infinite wisdom Vizion spoke thus On 09/09/2005 03:56 AM: If you check the php.ini file that comes with the php source code, you will find it to be heavily commented. If you get stuck on some ini setting, you can always double check it with the php manual As I said in another postiing

[PHP] installing php5 on apache2 as a module (on win xp)

2005-09-09 Thread Cristian Ionitoiu
Hi, I have a strange behaviour. After following all the suggested installation procedures for php5 and apache2, when I restart apache I get a warning window saying PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mcrypt.dll' - The specified module could not be found. I get this for

Re: [PHP] installing php5 on apache2 as a module (on win xp)

2005-09-09 Thread Torgny Bjers
Cristian Ionitoiu wrote: Hi, I have a strange behaviour. After following all the suggested installation procedures for php5 and apache2, when I restart apache I get a warning window saying PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mcrypt.dll' - The specified module could

Re: [PHP] Help with Class

2005-09-09 Thread Ryan Creaser
Ian Barnes wrote: Hi Ryan, I am including a different class.inc.php file each time the foreach loops. Each one sits in a different dir. Yes, I do get that error. My understanding of OOP is that I could null the $sdk variable and re-init it when the loop starts again.. You'd be right if

Re: [PHP] Inserting records question

2005-09-09 Thread Mark Rees
Still learning, so sorry if this sounds really simply noobish. But as I understand things currently this should work. But doesn't. I've been looking over tutorials but just don't see whatever the problem is. I created a simple table with the following fields (in order) tc_id (auto

RE: [PHP] installing php5 on apache2 as a module (on win xp)

2005-09-09 Thread Cristian Ionitoiu
Hi Torgny, I'm sure that the settings are correct because some of the extra modules (like mysql) do load correctly. I still have a problem with curl, ldap and openssl that return an error the operating system could not run %1 and with java, pdf, w32api and yaz which are still could not be found

Re: [PHP] SPL array filter

2005-09-09 Thread Robin Vickery
On 9/9/05, Kevin Waterson [EMAIL PROTECTED] wrote: Want to filter out cats from this array using SPL FilterIterator $arr = array('koala', 'dingo', 'cat', 'Steve Irwin', 'fish'); Why, what's wrong with cats? -robin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Installing APD

2005-09-09 Thread Amir Mohammad Saied
Hi there! I'm trying to upgrade my APD from 0.4p2 to 0.9.2, but when pear want to install it, i get the error that phpize command not found, i have installed the php4-dev package in my Ubuntu 5.0.4, I'm on PHP 4.3.10, Apache 2.0 and my PEAR version is 1.3.2. Even any link will be a lot

RE: [PHP] Installing APD

2005-09-09 Thread R, Rajesh (STSD)
Hello Every1, I just joined this list. Wanted to know abt the configure.in file.. Can any1 tell me where to look for in configure.in to find out how to change the code generated for domxml library includes. Thanks. -- Rajesh R -Original Message- From: Amir Mohammad Saied

[PHP] Is php 5.0.4 using isapi unreliable?

2005-09-09 Thread Ben Duffy
Hi, We have a Windows 2003 server that seemed reliable using php as a cgi, then due to placing authentication on directories, we needed to switch to the isapi method about three months ago. The server reboots randomly maybe five times per week, but never outside office hours. I have read

[PHP] IS the list broken, or have I botched up somehow?

2005-09-09 Thread Jay Blanchard
I haven't seen a message for a week, since I changed jobs and e-mail addresses. I got a subscription confirmation. Can someone reply off-list to let me know if they have seen this? THanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IS the list broken, or have I botched up somehow?

2005-09-09 Thread Kevin Waterson
This one time, at band camp, Jay Blanchard [EMAIL PROTECTED] wrote: I haven't seen a message for a week, since I changed jobs and e-mail addresses. I got a subscription confirmation. Can someone reply off-list to let me know if they have seen this? THanks! -- PHP General Mailing List

[PHP] ASP (VBScript) to PHP Converters?

2005-09-09 Thread Jay Blanchard
Howdy! I have started searching around for VBScript to PHP converters and was hoping that the group might have some recommendations. My new position places me squarely into the middle of a Windows shop and one of the reasons that they wanted me here was to help them take the steps to the next

[PHP] session.gc_maxlifetime

2005-09-09 Thread Gustav Wiberg
Hi there! This setting... session.gc_maxlifetime can only be set in php.ini Default = 1440 = 24 minutes is the time before a cookie expires? Is this right? I don't have access to php.ini because it's not my server (it's my webhost) What's the solution to that? I want the cookie to last as long

RE: [PHP] ASP (VBScript) to PHP Converters?

2005-09-09 Thread George Pitcher
Jay, I have started searching around for VBScript to PHP converters and was hoping that the group might have some recommendations. My new position places me squarely into the middle of a Windows shop and one of the reasons that they wanted me here was to help them take the steps to the next

Re: [PHP] ASP (VBScript) to PHP Converters?

2005-09-09 Thread Gustav Wiberg
- Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: PHP General (E-mail) php-general@lists.php.net Sent: Friday, September 09, 2005 3:33 PM Subject: [PHP] ASP (VBScript) to PHP Converters? Howdy! I have started searching around for VBScript to PHP converters and was hoping

RE: [PHP] ASP (VBScript) to PHP Converters?

2005-09-09 Thread Nathan Tobik
We have a few apps which were written in ASP (VBScript) that we needed to port to PHP. For a few pages I went through and converted everything ex: %if a = 10 then% to ? If (a == 10)? line by line.. After finishing a page or two like that I realized that was not the best way. The problem with

[PHP] STDERR not opened with php 5.0.5

2005-09-09 Thread Florent Monnier
Hi, on http://www.php.net/manual/en/features.commandline.php is writen: STDERR - An already opened stream to stderr. This saves opening it with: ?php $stderr = fopen('php://stderr', 'w'); ? But this does not work: #! /usr/local/bin/php505 -q ?php fwrite(STDERR, error!\n); ? This does work: #!

RE: [PHP] Is php 5.0.4 using isapi unreliable?

2005-09-09 Thread Nathan Tobik
We never had any luck with PHP 5 and IIS, we downgraded to 4. PHP 5 would crash on us randomly like you said. I have not tried 5 in a few months so I'm not sure if it's been fixed. Nate Tobik (412)661-5700 x206 VigilantMinds -Original Message- From: Ben Duffy [mailto:[EMAIL PROTECTED]

[PHP] Error Handling

2005-09-09 Thread Chuck Brockman
What is a good way to capture errors that occur. I've tried the following code in development, but it still spits out an error (Parse error: syntax error, unexpected '}', expecting ',' or ';' in X:\\\.php on line 7) ? // error handling test try{ $test = 1; echo $test1 } catch

[PHP] Re: How large string in cookie?

2005-09-09 Thread Dan Baker
Gustav Wiberg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How large can a string be in a cookie? (the value-parameter) If you need (or want) a lot of data stored in cookies, I recommend doing the following: store a single cookie with a unique id (something like

[PHP] Encrypt Files

2005-09-09 Thread Shaun
Hi, Is it possible to encrypt files that are being uploaded via the move_uploaded_file() method? Thanks for your advice -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: How large string in cookie?

2005-09-09 Thread Brent Baisley
I'm pretty sure the maximum size of a cookie is just under 4K. That would include variable names and their values. But if you are getting close to the 4k limit, you probably should rethink your setup. As DanB said, store the info on the server, either in a database or in a session. On

[PHP] Re: Error Handling

2005-09-09 Thread Matthew Weier O'Phinney
* Chuck Brockman [EMAIL PROTECTED]: What is a good way to capture errors that occur. I've tried the following code in development, but it still spits out an error (Parse error: syntax error, unexpected '}', expecting ',' or ';' in X:\\\.php on line 7) ? // error handling test

RE: [PHP] RE: PHP wiki recommendations

2005-09-09 Thread Murray @ PlanetThoughtful
I'm not a Wiki expert, but have been using TikiWiki for a while and very much like it. It does everything you say with the possible exception of CSS. It may very well support CSS, I just don't need it so haven't investigated. It also allows for the use of templates that can be applied

[PHP] Re: installing php5 on apache2 as a module (on win xp)

2005-09-09 Thread Mardy
I've encountered this error before. What I did was go to http://ftp.emini.dk/pub/php/win32/mcrypt/ and downloaded version 2.5.6 or greater of libmcrypt. I add it in the ext directory. I restarted apache 2. Hi, I have a strange behaviour. After following all the suggested installation

RE: [PHP] session.gc_maxlifetime

2005-09-09 Thread Shaw, Chris - Accenture
-Original Message- From: Gustav Wiberg [mailto:[EMAIL PROTECTED] Sent: 09 September 2005 14:40 To: PHP General Subject: [PHP] session.gc_maxlifetime * This e-mail has been received by the Revenue Internet e-mail service.

RE: [PHP] session.gc_maxlifetime

2005-09-09 Thread Kirk . Johnson
Also, I thought you could use ini_set to change your php.ini configuration for your current script. But I could be wrong... Did I miss read the manual? ini_set() can be used to change *some* settings. Some items that are configured in php.ini come into play before the script is parsed, and

[PHP] [SHAMELESS PLUG] Hurricane Relief Initiative

2005-09-09 Thread Marco Tabini
In case anyone wants to get a neat Pocket PHP Reference and help contribute to the Red Cross fund for Hurricane Katrina relief: http://www.phparch.com/rcrs Thanks! Marco -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Fwd: [PHP] Error Handling

2005-09-09 Thread Pablo M. Rivas
Hello Chuck On 9/9/05, Chuck Brockman [EMAIL PROTECTED] wrote: What is a good way to capture errors that occur. I've tried the following code in development, but it still spits out an error (Parse error: syntax error, unexpected '}', expecting ',' or ';' in X:\\\.php on line 7)

Re: [PHP] Re: Parsing MS-WORD docs

2005-09-09 Thread Rory Browne
If it simply for searching keywords and/or CV's, then wvWare will probably do the job fine. I would suggest you retain the documents in their original format however, so that the formatting and certain elements that wvWare can't handle will remain when the CV is manually viewed. On 9/9/05,

[PHP] Change the order in which Objects are unloaded

2005-09-09 Thread Niels Ganser
Hi everybody. I use a Debugger-Class to collect debugging information (now that was a hard guess, wasn't it..) during script runtime. In order to collect everything there is to collect, I instantiate a debugger object right at the start of my scripts and unload this object at the very end of

[PHP] Re: OCI8 1.1 announce

2005-09-09 Thread Manuel Lemos
Hello, Yesterday OCI8 extension have been updated in the PHP CVS (HEAD only). This updated driver resolves a large amount of bug reports and adds some improvements both functionality and performance, and much better documentation (see here: http://php.net/oci8). A lot of time has been

Re: [PHP] Change the order in which Objects are unloaded

2005-09-09 Thread Jasper Bryant-Greene
Niels Ganser wrote: I use a Debugger-Class to collect debugging information (now that was a hard guess, wasn't it..) during script runtime. In order to collect everything there is to collect, I instantiate a debugger object right at the start of my scripts and unload this object at the very

[PHP] Books / tutorials on Object Oriented Programming with PHP

2005-09-09 Thread Vinayakam Murugan
Hi I am learning about Object Oriented Programming with PHP. Can you suggest any good books / tutorials? -- Warm Regards ~~~ Vinayak http://theregoesanotherday.blogspot.com/

Re: [PHP] Books / tutorials on Object Oriented Programming with PHP

2005-09-09 Thread Vizion
On Friday 09 September 2005 16:25, the author Vinayakam Murugan contributed to the dialogue on- [PHP] Books / tutorials on Object Oriented Programming with PHP: Hi I am learning about Object Oriented Programming with PHP. Can you suggest any good books / tutorials? PHP MySQL web development

Re: [PHP] Books / tutorials on Object Oriented Programming with PHP

2005-09-09 Thread Jason Coffin
On 9/9/05, Vinayakam Murugan [EMAIL PROTECTED] wrote: I am learning about Object Oriented Programming with PHP. Can you suggest any good books / tutorials? Greetings, I HIGHLY recommend PHP 5 Objects, Patterns, and Practice by Matt Zandstra

[PHP] mixing $_POST and $_GET vars

2005-09-09 Thread bruce
hi.. quick question.. a basic link a ref =foo.php?a=1blah/a allows you to process the vars in foo.php using $_GET, easy/basic enough. however, if i have a form from cat.php that does a 'post' of the form information/input to the foo.php, i'm then going to have to either change the form to do a

Re: [PHP] mixing $_POST and $_GET vars

2005-09-09 Thread Stephen Johnson
Is there any particular reason that you do not want to mix both type in foo.php. I have a few that mix $_SERVER , $_COOKIE, $_POST, and $_FILES. I do not see a particular performance hit with mixing these since they are available regardless of whether they are populated or not. On 9/9/05

Re: [PHP] mixing $_POST and $_GET vars

2005-09-09 Thread [EMAIL PROTECTED]
Request variables: $_REQUEST *Note: * Introduced in 4.1.0. There is no equivalent array in earlier versions. *Note: * Prior to PHP 4.3.0, $_FILES information was also included in $_REQUEST. An associative array consisting of the contents of $_GET, $_POST, and $_COOKIE. This

Re: [PHP] Re: access resources via a proxy

2005-09-09 Thread Vedanta Barooah
yeah! i gotta rewrite them... does anyone know of a rss-reader with similar features.. thanks, On 9/9/05, Raj Shekhar [EMAIL PROTECTED] wrote: in infinite wisdom Vedanta Barooah spoke thus On 09/09/2005 10:46 AM: what about existing apps... do i need to rewrite them :( if you want to

Re: [PHP] Encrypt Files

2005-09-09 Thread Vedanta Barooah
define encrypt here...? or in a SSL connection your file is anyway encrypted, thanks, vedanta On 9/9/05, Shaun [EMAIL PROTECTED] wrote: Hi, Is it possible to encrypt files that are being uploaded via the move_uploaded_file() method? Thanks for your advice -- PHP General Mailing List

Re: [PHP] ASP (VBScript) to PHP Converters?

2005-09-09 Thread Rick Emery
Quoting Jay Blanchard [EMAIL PROTECTED]: Howdy! I have started searching around for VBScript to PHP converters and was hoping that the group might have some recommendations. My new position places me squarely into the middle of a Windows shop and one of the reasons that they wanted me here was