Re: [PHP] want to restart session after time out

2003-10-09 Thread Manisha Sathe
thanks all, If session has to time out then in that case what shall i do in following case ? I have a login page, user logins and starts playing (it is a on line game site), for each action (he tells something to do), i need to check whether he is login (i.e session on), if yes, then take all

[PHP] Multiple PHP modules

2003-10-09 Thread Ryan Thompson
Just a quick question. I don't think it's possible but worth a try Is it possible to load two different PHP modules in apache having them linked to different virtual hosts? I'm hoping I can run one site with PHP 5 and another with 4.3.x -- Ryan Thompson [EMAIL PROTECTED]

[PHP] Fw: tomcat server

2003-10-09 Thread agus
- Original Message - From: agus To: [EMAIL PROTECTED] Sent: Thursday, October 09, 2003 1:34 PM Subject: tomcat server hello everybody, can anybody tell me how to setting tomcat server to run java beans?

[PHP] Unable to connect to MSSQL server if user is non-admin

2003-10-09 Thread Andres Montiel
Setup: Windows 2000 Microsoft SQL Server 2000 PHP 4.3.3 IIS 5 AdoDB On my IIS server, I set it to reject anonymous logins (I need to eventually get the NT login names). I am able to run PHP scripts on the defined site (it can run a phpinfo() script). On another computer, I try to access the page

Re: [PHP] Multiple PHP modules

2003-10-09 Thread Evan Nemerson
With a bit of httpd.conf wizardry, I believe so. Just put the the LoadModule and AddType stuff inside the VirtualHost containers. PHP5 is libphp5.so, PHP4 is libphp4.so I haven't tried it, but it should work. On Wednesday 08 October 2003 11:33 pm, Ryan Thompson wrote: Just a quick question.

Re: [PHP] Fw: tomcat server

2003-10-09 Thread Ryan Thompson
I think you got the wrong mailing list. This is PHP. Not java. On Thursday 09 October 2003 03:08, agus wrote: - Original Message - From: agus To: [EMAIL PROTECTED] Sent: Thursday, October 09, 2003 1:34 PM Subject: tomcat server hello everybody, can anybody tell me how to setting

Re: [PHP] pasted text from word

2003-10-09 Thread David Otton
On Thu, 9 Oct 2003 11:53:51 +1000, you wrote: Hi all, I'm interested in alternative solutions (to those found in the comments on http://au.php.net/htmlspecialchars) for dealing with text pasted into a textarea from Word et al. I want a way of 'dumbing down' certain characters (like quotes)

Re: [PHP] want to restart session after time out

2003-10-09 Thread Manisha Sathe
oh god, I was so confused, I was under impression that it is 30 mins in total, but it is 30 mins inactive time, Keep in mind that this is 30 minutes of inactivity, not 30 minutes total. The user can be logged in for hours, so long as they are using the session. Just this sentence and it

RE: [PHP] shell_exec question - Solved

2003-10-09 Thread Chris Blake
To all who contributed to this thread, many thanks... I tried all the suggestions offered but still had the same problem. Today I copied php.ini-dist over to /etc, restarted Apache and everything works. This process was repeated many times during the last day or so, so I don`t know what happened

[PHP] ImageCreate / ImageCopyResized Path?

2003-10-09 Thread [-^-!-%-
Hello everyone! Is it possible to define a path for ImageCreate and/or ImageCopyResize ? I have an image gallery script that uploads images to the server. I would like to automatically create thumbnails of the image [as soon as it is uploaded and saved in a sub-directory. Is this possible with

Re: [PHP] ImageCreate / ImageCopyResized Path?

2003-10-09 Thread Jason Wong
You have started a new thread by taking an existing posting and replying to it while you changed the subject. That is bad, because it breaks threading. Whenever you reply to a message, your mail client generates a References: header that tells all recipients which posting(s) your posting refers

RE: [PHP] or return problem

2003-10-09 Thread Ford, Mike [LSS]
On 08 October 2003 17:20, Chris Shiflett wrote: The internals developers probably didn't see a need to provide support for return in conditionals since it can't return a value to the conditional. Ugh. This is the same misconception, again. Let's try some different code: ? function

RE: Re[2]: [PHP] Re: PHP CSS

2003-10-09 Thread esctoday.com | Wouter van Vliet
For compatibility among browsers, you might want to call a header('Content-type: text/css'); On top of the css-file-to-be. Wouter -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 2:03 AM To: [EMAIL PROTECTED] Subject: Re:

[PHP] Returning a reference

2003-10-09 Thread Wouter van Vliet
Hi Folks, I've been using the passing arguments by reference thingie for a while now. But what I want to do know is something I'm used to using in perl, returning a reference. Situation is as follows. 3 ?php 4 # EXAMPLE 5 Class Foo { 6 function Foo() {

[PHP] session not working in IE 5

2003-10-09 Thread Binay
Hi all ! My session is not working in IE 5+ but working well with IE 6+. Is there some problem with IE 5+. Please let me know as this being continuous pain for me. Thanks in advance Binay

Re: [PHP] session not working in IE 5

2003-10-09 Thread Marek Kilimajer
Binay wrote: Hi all ! My session is not working in IE 5+ but working well with IE 6+. Is there some problem with IE 5+. Please let me know as this being continuous pain for me. Thanks in advance Binay Are you using cookies for storing the session id? Does IE 5 accept this cookie? -- PHP

[Fwd: Re: [PHP] Returning a reference]

2003-10-09 Thread Fabrizio Balliano
Do as follows: 9 function SomeThing() { 10 $this-Changed = sure; 11 } Regards -- Fabrizio Balliano CREALABS Viale dei Mughetti, 13/A - 10151 Torino - Italy Tel. +39-011-735645 - Fax +39-011-735645 http://www.crealabs.it -

[PHP] Installing PHP on XP

2003-10-09 Thread Rinal Patel
Hello I am trying to install PHP on my personal computer, which runs Microsoft XP, but have had trouble installing it. I have an apache server(it came with the oracle database I installed). Could you please help me? I would appreciate a quick response Thank you -rinal

RE: [PHP] Installing PHP on XP

2003-10-09 Thread Jonathan Wilkes
I wrote a simple guide to doing this under Windows 2000 and it should be roughly the same under XP. You can find it on www.xfcpro.com under the Library section, can't remember the name of the article though.. regards, Jonathan -Original Message- From: Rinal Patel [mailto:[EMAIL

RE: [PHP] Installing PHP on XP

2003-10-09 Thread Fernando Melo
Are you installing the CGI or the ISAPI? -Original Message- From: Rinal Patel [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 05:06 To: [EMAIL PROTECTED] Subject: [PHP] Installing PHP on XP Hello I am trying to install PHP on my personal computer, which runs Microsoft XP, but have

[PHP] enable FTP support

2003-10-09 Thread Jay Blanchard
I am trying to enable FTP support on one of our test servers running PHP 4.2.2 1. rm config.cache 2. ./configure --enable-ftp --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd=/usr/local/ --with-jpeg-dir=/usr/local/ --with-zlib=/usr/local/ --with-png-dir=/usr/local/ 3. make clean 4. make 5.

Re: [PHP] Returning a reference

2003-10-09 Thread Curt Zirzow
* Thus wrote Wouter van Vliet ([EMAIL PROTECTED]): Hi Folks, I've been using the passing arguments by reference thingie for a while now. But what I want to do know is something I'm used to using in perl, returning a reference. Situation is as follows. 19 20

Re: [PHP] enable FTP support

2003-10-09 Thread Ray Hunter
Can you send what lines you have before the make[1] there should be some additional error information? -- BigDog On Thu, 2003-10-09 at 09:03, Jay Blanchard wrote: I am trying to enable FTP support on one of our test servers running PHP 4.2.2 1. rm config.cache 2. ./configure --enable-ftp

RE: [PHP] enable FTP support

2003-10-09 Thread Jay Blanchard
[snip] Can you send what lines you have before the make[1] there should be some additional error information? [/snip] There are no other errors mentioned until this point. The section immediately preceeding this is Making install in regex make[1]: Entering directory `/usr/local/php-4.2.1/regex'

[PHP] Alter the Loop Timeout limit???

2003-10-09 Thread Scott Fletcher
Argh I can't find the PHP function at www.php.net where I can alter the loop timeout in seconds for the loop that exceed 30 seconds... Yes, I know there is a setting in the php.ini for that but that affect every webpages. I only need the php function only for just one webpage, that is a

RE: [PHP] Alter the Loop Timeout limit???

2003-10-09 Thread Jay Blanchard
[snip] Argh [/snip] set_time_limit(n); Where n is an integer in seconds -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Another file retrieval tact ...

2003-10-09 Thread Jay Blanchard
Alrighty then, if I cannot get FTP going on the one server then perhaps there is another way to skin the cat that my flu infested mind cannot remember at the moment. I have a server on the network where some files live in some folders that I can retrieve to another server on the network if I can

[PHP] problem transferring a variable using POST

2003-10-09 Thread Davy Campano
I am having a problem with a form. I am trying to have a form pass a variable so that I can update an item. I think the problem is that the variable (ticketed) is being read as text instead of a number. These are the tests I have run. This statement works: $sql = 'UPDATE wo SET status = 1

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Jay Blanchard
[snip] I am having a problem with a form. I am trying to have a form pass a variable so that I can update an item. I think the problem is that the variable (ticketed) is being read as text instead of a number. These are the tests I have run. This statement works: $sql = 'UPDATE wo SET

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Bertrand Moulard
you might try to do some processing on the value get the HTTP_POST_VARS[...], put it in a variable and see its type (gettype()). Might give you some hints. -Original Message- From: Davy Campano [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 16:57 To: [EMAIL PROTECTED] Subject: [PHP]

Re: [PHP] problem transferring a variable using POST

2003-10-09 Thread Tom Rogers
Hi, Friday, October 10, 2003, 1:56:43 AM, you wrote: DC I am having a problem with a form. I am trying to have a form pass a DC variable so that I can update an item. I think the problem is that the DC variable (ticketed) is being read as text instead of a number. These DC are the tests I have

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Chris W. Parker
Davy Campano mailto:[EMAIL PROTECTED] on Thursday, October 09, 2003 8:57 AM said: This statement works: $sql = 'UPDATE wo SET status = 1 WHERE ticket = 1' This statement does not: $sql = 'UPDATE wo SET status = 1 WHERE ticket = $HTTP_POST_VARS[ticketed]' Any suggestions... If I

[PHP] *SOLVED* [PHP] problem transferring a variable using POST

2003-10-09 Thread Davy Campano
It worked. Thank you very much everyone for the quick responses. I am just learning PHP and mySQL so I appreciate the suggestions. I only wish that I would have written this email an hour ago! -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: Thursday, October

Re: [PHP] Another file retrieval tact ...

2003-10-09 Thread Marek Kilimajer
Jay Blanchard wrote: Alrighty then, if I cannot get FTP going on the one server then perhaps there is another way to skin the cat that my flu infested mind cannot remember at the moment. I have a server on the network where some files live in some folders that I can retrieve to another server on

[PHP] Re: Installing PHP on XP

2003-10-09 Thread Shadow
Go here http://www.digitalamit.com/?DA=89ce4fe3aff0c02a99a796c3ba994482 Shadow -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Bertrand Moulard
Applying all these things your line should look like this: $sql = UPDATE wo SET status = 1 WHERE ticket = {$_POST['ticketed']}; $_POST['ticketed'] : this is not an array but value isn't it ? .b -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: 09 October 2003

Re: [PHP] configuration class - skeleton code for first OOP adventure

2003-10-09 Thread anders thoresson
This will not work. For example if you have: option1 = value; option2 = value2; then ereg_replace('value', 'changed', $contents); will make it: option1 = changed; option2 = changed2; My plan is to have option1 = value; as old value and option1 = changed; as new value. Not only the change

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Chris W. Parker
Bertrand Moulard mailto:[EMAIL PROTECTED] on Thursday, October 09, 2003 9:20 AM said: $_POST['ticketed'] : this is not an array but value isn't it ? Try print_r($_POST); and see what you get. c. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] configuration class - skeleton code for first OOP adventure

2003-10-09 Thread anders thoresson
Save yourself a lot of headache learn how to use PEAR and OOP all in one fell swoop by using PEAR::Config I've already had a look at it, but it's to big for me to get. Though learning by doing would be a better way. -- anders thoresson -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Bertrand Moulard
fair enough, $_POST is an array, but what about $_POST['ticketed'] ? Just want to make sure about this {} thingie .b -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 17:22 To: Bertrand Moulard; Davy Campano; [EMAIL PROTECTED] Subject: RE: [PHP]

Re: [PHP] enable FTP support

2003-10-09 Thread Jason Wong
On Thursday 09 October 2003 23:13, Jay Blanchard wrote: Making install in . make[1]: Entering directory `/usr/local/php-4.2.1' make[1]: *** [install-sapi] Error 1 make[1]: Leaving directory `/usr/local/php-4.2.1' make: *** [install-recursive] Error 1 stab in the dark Do you have permissions

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Ford, Mike [LSS]
On 09 October 2003 16:57, Davy Campano wrote: I am having a problem with a form. I am trying to have a form pass a variable so that I can update an item. I think the problem is that the variable (ticketed) is being read as text instead of a number. These are the tests I have run. This

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Chris W. Parker
Bertrand Moulard mailto:[EMAIL PROTECTED] on Thursday, October 09, 2003 9:24 AM said: fair enough, $_POST is an array, but what about $_POST['ticketed'] ? Just want to make sure about this {} thingie ?php echo This is the password $_POST['password']; echo This is THE

RE: [PHP] enable FTP support

2003-10-09 Thread Jay Blanchard
[snip] Making install in . make[1]: Entering directory `/usr/local/php-4.2.1' make[1]: *** [install-sapi] Error 1 make[1]: Leaving directory `/usr/local/php-4.2.1' make: *** [install-recursive] Error 1 stab in the dark Do you have permissions to install stuff into /usr/local/bin (the default

RE: [PHP] problem transferring a variable using POST

2003-10-09 Thread Bertrand Moulard
it does, thanks -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 17:28 To: Bertrand Moulard; Davy Campano; [EMAIL PROTECTED] Subject: RE: [PHP] problem transferring a variable using POST Bertrand Moulard mailto:[EMAIL PROTECTED] on Thursday,

Re: [PHP] Alter the Loop Timeout limit???

2003-10-09 Thread Scott Fletcher
Thanks!!! Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] Argh [/snip] set_time_limit(n); Where n is an integer in seconds -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Another file retrieval tact ...

2003-10-09 Thread Jay Blanchard
[snip] I have a server on the network where some files live in some folders that I can retrieve to another server on the network if I can connect to the other server and do directory type operations on. I cannot get the FTP thingie enabled because of compile errors. Would someone please so

RE: [PHP] enable FTP support

2003-10-09 Thread Jay Blanchard
[snip] Making install in . make[1]: Entering directory `/usr/local/php-4.2.1' make[1]: *** [install-sapi] Error 1 make[1]: Leaving directory `/usr/local/php-4.2.1' make: *** [install-recursive] Error 1 stab in the dark Do you have permissions to install stuff into /usr/local/bin (the default

[PHP] Get the name of the form

2003-10-09 Thread bertrand moulard
Hello does anyone know if the name of a form is stored somewhere in the predefined variables ($_POST, $_REQUEST, whatever) cheers .b -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Get the name of the form

2003-10-09 Thread Jay Blanchard
[snip] does anyone know if the name of a form is stored somewhere in the predefined variables ($_POST, $_REQUEST, whatever) [/snip] So much testing, so little time. It would be in either the GET or POST array I would imagine, dependent on the form method. -- PHP General Mailing List

RE: [PHP] Get the name of the form

2003-10-09 Thread Bertrand Moulard
it is a POST, didn't find anything in the doc about that. I reckon php doesn't handle that as the name is more a html id than part of the form, but need to make sure before telling my work mates to come up with another proposal ;-) .b -Original Message- From: Jay Blanchard [mailto:[EMAIL

RE: [PHP] Get the name of the form

2003-10-09 Thread Robert Cummings
On Thu, 2003-10-09 at 13:03, Bertrand Moulard wrote: it is a POST, didn't find anything in the doc about that. I reckon php doesn't handle that as the name is more a html id than part of the form, but need to make sure before telling my work mates to come up with another proposal ;-) I don't

Re: Re[2]: [PHP] dynamic - static

2003-10-09 Thread Jim Lucas
Ok, here's a question for you. I went and did this to my current development site. I have the following configuration. Redhat 8.0 Apache/2.0.40 (stock redhat install) PHP 4.2.2 (stock redhat install) What I get when I try and run this is an Object Not Found. Same as the ERROR 404 page not

RE: [PHP] Get the name of the form

2003-10-09 Thread Bertrand Moulard
Damn that's what I was thinking... thanks you .b -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: 09 October 2003 18:06 To: Bertrand Moulard Cc: Jay Blanchard; PHP-General Subject: RE: [PHP] Get the name of the form On Thu, 2003-10-09 at 13:03, Bertrand Moulard

Re: [PHP] Get the name of the form

2003-10-09 Thread Marek Kilimajer
Bertrand Moulard wrote: it is a POST, didn't find anything in the doc about that. I reckon php doesn't handle that as the name is more a html id than part of the form, but need to make sure before telling my work mates to come up with another proposal ;-) You are right, form name is not submited

RE: [PHP] enable FTP support

2003-10-09 Thread Jay Blanchard
[snip] ./configure --enable-ftp --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd=/usr/local/ --with-jpeg-dir=/usr/local/ --with-zlib=/usr/local/ --with-png-dir=/usr/local/ [/snip] Guess what? I changed the order of the congfigure statement (for giggles as I was reminded of the changing of the

Re: [PHP] Get the name of the form

2003-10-09 Thread Robert Cummings
On Thu, 2003-10-09 at 13:15, Marek Kilimajer wrote: Bertrand Moulard wrote: it is a POST, didn't find anything in the doc about that. I reckon php doesn't handle that as the name is more a html id than part of the form, but need to make sure before telling my work mates to come up with

RE: [PHP] enable FTP support

2003-10-09 Thread Jay Blanchard
[snip] Guess what? I changed the order of the congfigure statement (for giggles as I was reminded of the changing of the order of the statements when cinfiguring php to work with gd) from the one above to the one below... ./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gd=/usr/local/

Re: [PHP] enable FTP support

2003-10-09 Thread Jason Wong
On Friday 10 October 2003 01:20, Jay Blanchard wrote: [snip] Guess what? I changed the order of the congfigure statement (for giggles as I was reminded of the changing of the order of the statements when cinfiguring php to work with gd) from the one above to the one below... ./configure

[PHP] session experation

2003-10-09 Thread Sam Folk-Williams
Hi, I want to extend the length of a session based on the existance of a variable beyond the closing of the browser. Basically, I've got a restricted intranet where staff have to log-in and I want to add a remember me option. If they check off the remember me box, then the session will be set to

Re: Re[2]: [PHP] dynamic - static

2003-10-09 Thread Eugene Lee
On Thu, Oct 09, 2003 at 10:09:19AM -0700, Jim Lucas wrote: : : I have the following configuration. : : Redhat 8.0 : Apache/2.0.40 (stock redhat install) : PHP 4.2.2 (stock redhat install) : : What I get when I try and run this is an Object Not Found. : : Same as the ERROR 404 page not

Re: [PHP] enable FTP support

2003-10-09 Thread Curt Zirzow
On Thu, 9 Oct 2003 12:20:46 -0500, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] Guess what? I changed the order of the congfigure statement (for giggles as I was reminded of the changing of the order of the statements when cinfiguring php to work with gd) from the one above to the one below...

[PHP] RE: Congratulations You Win

2003-10-09 Thread Rob A. Brahier
I much preferred that email asking for my help to transfer some dead african warlord's funds. At least then I could believe I was about to be screwed over for a good cause. :) -Rob -Original Message- From: Francis Weeny [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 10:30

RE: [PHP] enable FTP support

2003-10-09 Thread Jay Blanchard
[snip] If you have mulitple versions of apache (or upgraded) php might be putting the libphp4.so in the wrong place. On my system I have 3 apache's (arrghh.) and I have to properly put libphp4.so in the correct apache/libexec dir. [/snip] Its here; /usr/libexec/libphp4.so and addressed

Re: Re[2]: [PHP] dynamic - static

2003-10-09 Thread Jim Lucas
I would think the same thing, but it works on all the servers that I have tried it on. But again, they are all running pre apache 2.0 stuff. Anybody have any idea what config settings in Apache might make it try and find a page with that entire path? Jim Lucas - Original Message -

RE: [PHP] enable FTP support

2003-10-09 Thread Jay Blanchard
[snip] ... [/snip] Some other oddities. The phpinfo page says PHP 4.2.2, but the only installation of php I can find on the server is 4.2.1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Rgular Expression - 1st alternative

2003-10-09 Thread \[cz\]Emo
Hi all. I've got one problem with %subj%. I need to get 1st appearance of any alternative pattern, but my regexp get last. in $out[2] (input) is columns FROM tables WHERE conditions ORDER BY sth DESC LIMIT 1 OFFEST 0 preg_match(/[[:space:]]*(.*)[[:space:]]+from[[:space:]]+(.*)[[:space:]]+whe

[PHP] Need Charting Utility

2003-10-09 Thread rick rice
Can anyone suggest a good charting utility for PHP running on a freeBSD box? We need to put line/bar charts on our web pages. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Need Charting Utility

2003-10-09 Thread Nathan Taylor
Look into JpGraph, it rocks my world. http://www.aditus.nu/jpgraph/ Nathan - Original Message - From: rick rice To: [EMAIL PROTECTED] Sent: Thursday, October 09, 2003 2:30 PM Subject: [PHP] Need Charting Utility Can anyone suggest a good charting utility for PHP running

Re: Re[2]: [PHP] dynamic - static

2003-10-09 Thread Mike Migurski
: I have the following configuration. : : Redhat 8.0 : Apache/2.0.40 (stock redhat install) : PHP 4.2.2 (stock redhat install) : : What I get when I try and run this is an Object Not Found. If I was Apache, I would try to serve the file: /index.php/var1/val1/var2/val2/index.php or

Re: Re[2]: [PHP] dynamic - static

2003-10-09 Thread Jim Lucas
Did a little more googling and found the answer. In Apache 2.0, by default is does not allow this type of URL. But I found a few article on it that explained that if I modified this in httpd.conf modify, or add, this line. AcceptPathInfo On Don't know what it does, but it fixes the problem.

[PHP] Re: Rgular Expression - 1st alternative

2003-10-09 Thread Curt Zirzow
On Thu, 9 Oct 2003 19:54:09 +0200, Emo [EMAIL PROTECTED] wrote: Hi all. I've got one problem with %subj%. I need to get 1st appearance of any alternative pattern, but my regexp get last. Remember .* is greedy by default you need to use .*? also instead of using [[:space:]] I might suggest using

Re: [PHP] Need Charting Utility

2003-10-09 Thread Evan Nemerson
JPGraph does pretty much anything you could ever want. On Thursday 09 October 2003 11:30 am, rick rice wrote: Can anyone suggest a good charting utility for PHP running on a freeBSD box? We need to put line/bar charts on our web pages. -- Evan Nemerson [EMAIL PROTECTED] -- First they came

Re: Re[2]: [PHP] dynamic - static

2003-10-09 Thread Mike Migurski
Did a little more googling and found the answer. In Apache 2.0, by default is does not allow this type of URL. But I found a few article on it that explained that if I modified this in httpd.conf modify, or add, this line. AcceptPathInfo On Don't know what it does, but it fixes the problem.

RE: [PHP] enable FTP support - SOLVED

2003-10-09 Thread Jay Blanchard
[snip] ...several hours of brain dead operations... [/snip] just went with the whole upgrade scenario, latest version of php etc. Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] dynamic - static

2003-10-09 Thread Cristian Lavaque
Veniamin Goldin wrote: Hello Mike, Thank you for your help, As I wrote already this issue is mainly because of search engines incompatibility with dynamic content sites (to be more exact - with urls containing get parameters, in my case ex. index.shtml?lang=enmenu_id=23) Which of your

[PHP] Testing string length within FTP

2003-10-09 Thread Jay Blanchard
for($i = 0; $i $countList; $i++){ $strDirName = substr($arrList[$i], 47, 8); if(strlen(chop($strDirName)) == 8){ echo $theDirectory.$strDirName.br; } } I am trying to check for $strDirName length, but the echo returns all file names within the directory

RE: [PHP] Testing string length within FTP

2003-10-09 Thread Jay Blanchard
[snip] for($i = 0; $i $countList; $i++){ $strDirName = substr($arrList[$i], 47, 8); if(strlen(chop($strDirName)) == 8){ echo $theDirectory.$strDirName.br; } } [/snip] Never mind. I am making them all 8 wide, just saw it. *slaps feverish forhead* -- PHP

Re: [PHP] session experation

2003-10-09 Thread Daniel Guerrier
The session will die on browser close. What you are asking for is how to use cookies. You can set a cookie and use the information in that to determine user functionality http://us2.php.net/manual/en/function.setcookie.php --- Sam Folk-Williams [EMAIL PROTECTED] wrote: Hi, I want to extend

[PHP] variables passed through URL

2003-10-09 Thread Frank Tudor
If I have have set a url to be displayed like this: www.mysite.com/some_page.php?value=this and wanted to tag on another value what would I seperate the dtwo with/ Also since it is now displayed in the url and I need the value in some area on my form. How would I populate the value in a form

RE: [PHP] Returning a reference [pretty much SOLVED]

2003-10-09 Thread esctoday.com | Wouter van Vliet
Thanks Curt. This solution works indeed. BUT, there's one but. Isn't there a way to not have to tell PHP that I want the return of $this-AddFoo() as a reference? In the actual code I want to worry as little as possible about specific things like this. Isn't it a little strange that you have to

Re: Re[2]: [PHP] dynamic - static

2003-10-09 Thread Jim Lucas
Thanks for the info. Jim Lucas - Original Message - From: Mike Migurski [EMAIL PROTECTED] To: Eugene Lee [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, October 09, 2003 11:33 AM Subject: Re: Re[2]: [PHP] dynamic - static : I have the following configuration. : : Redhat 8.0

RE: [PHP] variables passed through URL

2003-10-09 Thread Chris W. Parker
Frank Tudor mailto:[EMAIL PROTECTED] on Thursday, October 09, 2003 1:48 PM said: How would I populate the value in a form tag? input type=text value=?echo (what goes here);? name=something You need to go here http://us4.php.net/manual/en/language.variables.external.php and read up.

Re: [PHP] Credit Card Validation

2003-10-09 Thread Burhan Khalid
Nathan Taylor wrote: My question is pretty obvious, I was wondering what the process for validating a credit cards with both preprocessing by the form to determine the pattern validity and post processing by a bank to confirm the actual card validity. Well since you asked about the /process/

[PHP] Apache not auto running index.php

2003-10-09 Thread David Erickson
Question for those with Apache 2 and PHP.. I installed a forum to my server but when I try to hit http://localhost/phpBB2/admin/ or http://localhost/phpBB2/ instead of running the index.php in those folders it returns a folder listing.. how can I tell apache to execute the index.php in

Re: [PHP] Apache not auto running index.php

2003-10-09 Thread David Erickson
Scratch that I figured it out. DirectoryIndex index.html index.php index.html.var -David - Original Message - From: David Erickson [EMAIL PROTECTED] To: PHP General Mailing List [EMAIL PROTECTED] Sent: Thursday, October 09, 2003 4:00 PM Subject: [PHP] Apache not auto running index.php

Re: [PHP] Returning a reference [pretty much SOLVED]

2003-10-09 Thread Curt Zirzow
On Thu, 9 Oct 2003 22:50:10 +0200, Esctoday.Com | Wouter Van Vliet [EMAIL PROTECTED] wrote: Thanks Curt. This solution works indeed. BUT, there's one but. Isn't there a way to not have to tell PHP that I want the return of $this-AddFoo() as a reference? In the actual code I want to worry as

Re: [PHP] Installing PHP on XP

2003-10-09 Thread Burhan Khalid
Rinal Patel wrote: Hello I am trying to install PHP on my personal computer, which runs Microsoft XP, but have had trouble installing it. I have an apache server(it came with the oracle database I installed). Could you please help me? I would appreciate a quick response Rinal : This is my

[PHP] Recomended Shopping Carts

2003-10-09 Thread Adrian Esteban Madrid
I need to setup a shopping cart (SP) for a client and time/budget calls for a premade SP. I've checked hotscripts.com and google and it seems to me that there are as many SP in PHP as CMS or Frameworks in PHP, in other words, too many to review. I've heard complaints about osCommerce as being

RE: [PHP] session experation

2003-10-09 Thread Vail, Warren
Sam, There is a way to keep a session active beyond the death of the browser, but the odds are that this will not do exactly what you want either, since killing the session on browser close is the customary setting. In my case I expected closing the browser to kill the session (or more

Re: [PHP] Recomended Shopping Carts

2003-10-09 Thread Richard Baskett
on 10/9/03 15:27, Adrian Esteban Madrid at [EMAIL PROTECTED] wrote: I need to setup a shopping cart (SP) for a client and time/budget calls for a premade SP. I've checked hotscripts.com and google and it seems to me that there are as many SP in PHP as CMS or Frameworks in PHP, in other words,

[PHP] Free web space

2003-10-09 Thread phpziobudda
Hi, I'm searching for a free web space that supports php/mysql. Someone knows something about? Thanks too much

Re: [PHP] Free web space

2003-10-09 Thread John Nichel
[EMAIL PROTECTED] wrote: Hi, I'm searching for a free web space that supports php/mysql. Someone knows something about? Thanks too much Oh, look, right there on the php web site http://us3.php.net/links.php Down at the bottom. -- PHP General Mailing List (http://www.php.net/) To

[PHP] Creating a Search field

2003-10-09 Thread richard cook
Sorry all I know this isnt really a 100% PHP matter but someone may be in the know here. Ive been trying for ages without success to create a search field for my mysql database using php. I need to create a feature that allows users to enter certain words that can be searched ie search = 'red

[PHP] Need secure login

2003-10-09 Thread Manisha Sathe
Hi, I have a client. He does not want member login by just giving password and login id. He says anybody can give this info to his friend and his friend can access the site. One way is to make use of cookie on his computer. So only from one computer he can access the site. But the thing is that

[PHP] Video Streaming

2003-10-09 Thread Manisha Sathe
Client's site will be on PHP/Linux. They want to add Videos on site. But they say they want to make use of Video Straming. I am very new to this part. I searched web, I found some third party softwares (one of this is videolan which is open source). But not sure how to integrate this with PHP. Is

Re: [PHP] Creating a Search field

2003-10-09 Thread Larry E . Ullman
I need to create a feature that allows users to enter certain words that can be searched ie search = 'red lion' this would return all data found with the words red and lion. If you're using MySQL 4.0, you can take advantage of its FULL TEXT searching (it's actually available in earlier versions

Re: [PHP] Need secure login

2003-10-09 Thread Justin French
This first rule is never trust the client-side. The second rule is never trust the client-side. This means that relying on... a) the user accepting the cookie b) the user always using the same computer c) the user not deleting the cookie ... is a BAD idea. Frankly, if you force me to use a single

Re: [PHP] Returning a reference [pretty much SOLVED]

2003-10-09 Thread Robert Cummings
If I recall correctly, the reason that the function needs to indicate it returns a reference AND you need to declare it when assigning variables is because the function will return a reference when instructed; however, you then need to inform the binary assignment operator that it should assign a

[PHP] email certain people

2003-10-09 Thread Davy Campano
I am making a webpage, and I want to be able to email certain people that are selected by a checkbox when I click the submit button. I am trying to figure out what the best way is to do this. There are four people on the page and they each start with their name checked (so they should receive

  1   2   >