[PHP] unsubscribing

2005-11-15 Thread wayne
I tried to unsubscribe on several occasion without success. I followed the instruction at the bottom of the email. Can someone take me off the list. Thank You. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] explain to what's going with this piece of code.

2005-08-25 Thread wayne
On Thu, 2005-08-25 at 10:55 +0300, Burhan Khalid wrote: > wayne wrote: > > When I run a script from a package I download, it always > > bombs out on this section. I think that its getting > > the wrong parameters when it tries to make the Connection. > > I use Postgr

[PHP] explain to what's going with this piece of code.

2005-08-24 Thread wayne
When I run a script from a package I download, it always bombs out on this section. I think that its getting the wrong parameters when it tries to make the Connection. I use PostgreSQL as my DB.Moodle is the name of the database and the user is moodleuser. I do not have a password on this DB. //==

Re: [PHP] Anyone on the list using Moodle?

2005-08-17 Thread wayne
On Wed, 2005-08-17 at 04:47 -0400, wayne wrote: > On Tue, 2005-08-16 at 17:41 -0400, wayne wrote: > > Hi, > > Before I post some of the install script for > > Moodle I thought that I would ask how > > $CFG gets instantiated in the install.php script. > > Thanks.

Re: [PHP] Anyone on the list using Moodle?

2005-08-17 Thread wayne
On Tue, 2005-08-16 at 17:41 -0400, wayne wrote: > Hi, > Before I post some of the install script for > Moodle I thought that I would ask how > $CFG gets instantiated in the install.php script. > Thanks. > Okay, I got a reply from a moodle user pointing me to an archive, apparent

Re: [PHP] Anyone on the list using Moodle?

2005-08-17 Thread wayne
On Tue, 2005-08-16 at 17:41 -0400, wayne wrote: > Hi, > Before I post some of the install script for > Moodle I thought that I would ask how > $CFG gets instantiated in the install.php script. > Thanks. > Attach is the first 85 line of the moodle install script.What I would lik

[PHP] Anyone on the list using Moodle?

2005-08-16 Thread wayne
Hi, Before I post some of the install script for Moodle I thought that I would ask how $CFG gets instantiated in the install.php script. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A question on the term CFG.

2005-08-07 Thread wayne
; > > Maybe there is an auto_prepend_file set? > > > > http://www.php.net/manual/en/ini.core.php#ini.auto-prepend-file > > > > Chris > > > > wayne wrote: > > > >> First, I'm new to PHP. I have a script that > >> has a piece of code that

Re: [PHP] A question on the term CFG.

2005-08-07 Thread wayne
gt; $cls->getEndLine(); > > > Marco > > > > > Jasper > > > > > > Chris wrote: > >> That isn't created by PHP, it must be declared in the code somewhere. > >> > >> Maybe there is an auto_prepend_file set? > >>

[PHP] A question on the term CFG.

2005-08-07 Thread wayne
First, I'm new to PHP. I have a script that has a piece of code that looks like this - require_once($CFG->wwwroot . '/lib/mylib.php'); My question is this, I'm trying to find out how the class $CGF was initiated.There are no include or require statement before the statement. Is $CFG a global variab

Re: [PHP] ftp_put and ftp_fput both failing me

2005-01-27 Thread Wayne Zeller
Marek Kilimajer wrote: 30 seconds? This must be your firewall blocking connections from outside world. Use ftp_pasv() to turn on passive mode. That did the trick. Thanks s much! Wayne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ftp_put and ftp_fput both failing me

2005-01-27 Thread Wayne Zeller
o run, and then reports its failure. I've verified that the temp file is being created with the correct contents. Getting this to work is pretty key for a project I'm working on, so if there's another way to do it, even if it's a "harder" way, I'm totally op

[PHP] ftp_put and ftp_fput both failing me

2005-01-27 Thread Wayne Zeller
rver, the file has not been touched. I've tried using a file handle and using ftp_fput, but I get the same results. I'm probably missing something obvious. If anybody sees it, please let me know! Wayne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] File Upload Problem

2004-12-18 Thread Wayne Donaho
x27;./configure' '--enable-force-cgi-redirect' '--with-openssl' '--with-curl' '--with-mysql' '--with-cgi' '--with-pfpro=/home/wayne/verisign/payflowpro/linuxrh9' '--with-gd' '--with-jpeg-dir' '--with-zlib-dir' &

Re: [PHP] Re: What happend to _SERVER?

2004-08-14 Thread Allen Wayne Best
john: ah-ha! I found the problem! I change ServerSignature Off to ServerSignature On and now all is well.. Thanks everyone for chiming in :<)) On Saturday 14 August 2004 21:32, John Holmes pronounced: > Allen Wayne Best wrote: > > ooops! yes, i do. fixed. ran thru the

Re: [PHP] Re: What happend to _SERVER?

2004-08-14 Thread Allen Wayne Best
php-manual-4.2.2-17.2.i386.rpm php-mysql-4.2.2-17.2.i386.rpm php-pgsql-4.2.2-17.2.i386.rpm php-snmp-4.2.2-17.2.i386.rpm bye the way, when i view page source in mozilla, I find: On Saturday 14 August 2004 20:28, John Holmes pronounced: > Allen Wayne Best wrote: > > Silly me, I forg

Re: [PHP] Re: What happend to _SERVER?

2004-08-14 Thread Allen Wayne Best
"|/usr/bin/lesspipe.sh %s" ["DISPLAY"]=> string(4) ":0.0" ["QMAILMFTFILE"]=> string(12) "/root/.lists" ["G_BROKEN_FILENAMES"]=> string(1) "1" ["XAUTHORITY"]=> string(18) "/root/.xauth0dEbW

Re: [PHP] What happend to _SERVER?

2004-08-14 Thread Allen Wayne Best
2.2 Content-type: text/html end of output --- from within the browsers, the "window" remains blank. On Saturday 14 August 2004 15:31, Thomas Goyne pronounced: > On Sat, 14 Aug 2004 15:26:46 -0700, Allen Wayne Best > > <[EMAIL PRO

[PHP] What happend to _SERVER?

2004-08-14 Thread Allen Wayne Best
or!). Any suggestions are greatly appreciated. -- regards, allen wayne best, esq "your friendly neighborhood rambler owner" "my rambler will go from 0 to 105" Current date: 1:21:15::226:2004 "I went to a job interview the other day, the guy asked me if I had any questions ,

Re: [PHP] Sessions simply do not work?

2004-05-25 Thread Michael R. Wayne
Sessions do not work properly for me. Thanks to other people on this list, we've proven that the test script I am using works fine for other people. So, something is wrong with PHP on all of my systems since the same script fails (see previous posts) on multiple servers for me. So, I am now see

Re: [PHP] Sessions simply do not work?

2004-05-25 Thread Michael R. Wayne
On Tue, May 25, 2004 at 07:37:47AM +0100, Peter Risdon wrote: > Michael R. Wayne wrote: > > >In my continuing efforts to actually get sessions to work, I upgraded > >to PHP 4.3.6 and apache 1.3.31. This did not make the slighest > >difference. > > > >So, do

Re: [PHP] Re: sessions

2004-05-24 Thread Michael R. Wayne
On Sun, May 23, 2004 at 09:00:41PM +0200, Maarten Weyn wrote: > It worked for 5 minutes after a reboot, but now i get the same problem > > what happens is that on every session_start(); > a new sessid is created how comes it doesn't use the old one I am starting to believe that session support is

[PHP] Sessions simply do not work?

2004-05-24 Thread Michael R. Wayne
In my continuing efforts to actually get sessions to work, I upgraded to PHP 4.3.6 and apache 1.3.31. This did not make the slighest difference. So, does ANYone have ideas of how to debug this? Or is PHP simply broken and no longer able to maintain sessions? /\/\ \/\/ -- PHP General Mailing

Re: [PHP] Sessions still do not persist

2004-05-21 Thread Michael R. Wayne
On Fri, May 21, 2004 at 08:41:00PM +, Curt Zirzow wrote: > * Thus wrote Michael R. Wayne ([EMAIL PROTECTED]): > > > > I've posted several times mentioning that I am completely unable > > to cause sessions to persist. Over the intervening time, I have > &

Re: [PHP] session_start in php 4.3.6

2004-05-21 Thread Michael R. Wayne
On Fri, May 21, 2004 at 10:01:56PM +0200, Paul Godard wrote: > Hi > > All my web sites suddenly stopped working after my ISP installed the newer php 4.3.6 > released. The problem is when calling the session_start() function. It seems that > the warning message saying that the session has alrea

Re: [PHP] Sessions still do not persist

2004-05-21 Thread Michael R. Wayne
On Fri, May 21, 2004 at 11:02:49AM -0700, Daniel Clark wrote: > Try a session_start() at the top of pages, see if that works. > Maybe the auto_start does not work. Done: session.auto_start = 0 added session_start to script. No change in behaviour. /\/\ \/\/ -- PHP General Mailing List (http

Re: [PHP] Re: Sessions still do not persist

2004-05-21 Thread Michael R. Wayne
On Fri, May 21, 2004 at 09:12:02PM +0200, Torsten Roehr wrote: > > > > So, what am I missing here? > > You could try it without session.auto_start. Turn it off and put > session_start() at the top of the script (in all pages). Tried that - makes no difference. Still works properly on the second

Re: [PHP] Re: Sessions still do not persist

2004-05-21 Thread Michael R. Wayne
On Fri, May 21, 2004 at 08:35:37PM +0200, Torsten Roehr wrote: > Sorry, I'm an idiot! The ? was missing: > > > Well, I spoke too soon. It does work, but only the SECOND time the script is run! Stage:0 SessionID: 6c9a1819fe95fa6f08f385ee2afa71ca __ [Submit] Stage:1 SessionID: 6c

Re: [PHP] Re: Sessions still do not persist

2004-05-21 Thread Michael R. Wayne
On Fri, May 21, 2004 at 08:35:37PM +0200, Torsten Roehr wrote: > > Sorry, I'm an idiot! The ? was missing: > > Thank you, thank you. This does indeed seem to work in my test script. Now to go work on the real version. > This should work. As far as I have seen trans_sid is not used very often

Re: [PHP] Re: Sessions still do not persist

2004-05-21 Thread Michael R. Wayne
On Fri, May 21, 2004 at 08:04:00PM +0200, Torsten Roehr wrote: > > As far as I remember session.use_trans_sid does NOT work with forms (action > attribute). Have you tried appending it manually to the action?: Well, this certainly seems to be progress in the correct direction. So session.use_tran

[PHP] Sessions still do not persist

2004-05-21 Thread Michael R. Wayne
I've posted several times mentioning that I am completely unable to cause sessions to persist. Over the intervening time, I have replicated this problem to a different machine, with the same results. Here's a recap of the problem. I am not using cookies. Sessions are automatically created (and

Re: [PHP] sessions failing to persist

2004-05-02 Thread Michael R. Wayne
On Mon, May 03, 2004 at 01:13:11AM -0400, John W. Holmes wrote: > Michael R. Wayne wrote: > > > > > > > > > > Try adding in a hidden element > > > > You're relying on PHP rewriting your forms, links, etc, to include the >

Re: [PHP] sessions failing to persist

2004-05-02 Thread Michael R. Wayne
On Mon, May 03, 2004 at 06:55:25AM +0200, Richard Harb wrote: > If the sample of code is the whole page... where do you actually start > your session? I am using session.auto_start, which starts it for me. I added a session_start while testing and it made no difference. > session_is_registered()

Re: [PHP] sessions failing to persist

2004-05-02 Thread Michael R. Wayne
On Mon, May 03, 2004 at 12:54:54AM -0400, John Nichel wrote: > Michael R. Wayne wrote: > > >As I posted last week, I seem unable to have sessions persist. I > >have ruled out https as a problem, the following simple script, > >installed as xxx.php will generate a new s

[PHP] sessions failing to persist

2004-05-02 Thread Michael R. Wayne
As I posted last week, I seem unable to have sessions persist. I have ruled out https as a problem, the following simple script, installed as xxx.php will generate a new session number every time the field is filled in and "Submit" is hit. Note that I am not using cookies, the relevant session v

Re: [PHP] Re: https & sessions failing to persist

2004-05-01 Thread Michael R. Wayne
On Fri, Apr 30, 2004 at 10:01:40PM -0500, Luis Bernardo wrote: > > Apache or IIS? CGI or ISAPI module? FreeBSD4.8 apache+mod_ssl-1.3.29+2.8.16_1 CGI > "Michael R. Wayne" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > Upgraded

Re: [PHP] https & sessions failing to persist

2004-04-30 Thread Michael R. Wayne
On Fri, Apr 30, 2004 at 08:52:37PM +, Curt Zirzow wrote: > > session.cookie_path > session.cookie_domain > session.cookie_secure session.cookie_path / session.cookie_secure Off session.cookie_domain no value But we never use cookies: session.use_cookies Off /\/\ \/\/ -- PHP Ge

[PHP] https & sessions failing to persist

2004-04-30 Thread Michael R. Wayne
Upgraded our PHP installation from 4.1.2 to 4.3.4, scripts that worked fine before are no longer doing so. The failure can be traced to the fact that sessions are never being reused (i.e. a new session gets started with each connection). The session files get written with proper information but

Re: [PHP] PHP include dir

2002-11-13 Thread Wayne McCloud
thanks very much >>> [EMAIL PROTECTED] 11/13/02 18:12 PM >>> yeah, include_path ="path" this allows you to put scripts in other places out side the web document tree. For example: lets say you have configuration files that contain all your database passwords...you can put the document in a direc

[PHP] Re: SSL/sessions & password question

2002-08-14 Thread Wayne
Hi, All you need is: https://domain/filename method=post> https is for SSL. Wayne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] user password

2002-05-27 Thread Wayne
Hi Guys, Does anybody know how I can set a users password with php? I tried using a system call with sudo but I get the error cannot lock password file. I need to use php to change a users account password. Any ideas? Thanks, Wayne -- PHP General Mailing List (http://www.php.net/) To

[PHP] [PHP-DB] Displaying Floats

2002-03-29 Thread Ian Wayne
Hi all. I can't believe I'm stuck on this - seems to me there ought to be an easy way to do this, but I've been hunting through the literature and I just can't find it. If anyone can point me in the right direction it'd be much appreciated... I have a table of accounts and I want to display all

[PHP] PDFlib error - pdf_color or pdf_setrgbcolor

2002-03-26 Thread Wayne Bastow
Does anyone have any ideas, thanks. Wayne Bastow -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP - Forced header downloads

2002-03-19 Thread Ian Wayne
I'm trying to use some header functions to force the browser to download quicktime movies. I have a small piece of code that takes the relevant file name from the url and then uses that in the header function. This code sits in get.php. Unfortunately, all I download when I click the link is get.ph

[PHP] combining headers with includes

2002-03-19 Thread Ian Wayne
I'm trying to force the browser to download a movie rather than open it up and play it. Yesterday, Miguel kindly put me onto headers as being the way to do this. Problem is I have an include at the top of the page and that won't let me add in the necessary headers. The PHP manual says to use buffe

[PHP] Problems with ftp_get

2002-03-18 Thread Ian Wayne
I'm getting an unhelpful error message from my ftp script. It says "Warning, error opening file..." The code in question runs like this. $conn = ftp_connect("ftp.mysite.com"); ftp_login($conn,"user","pass"); ftp_get($conn, $newName, $oldName , FTP_BINARY); I can't see what's causing the error. A

Re: [PHP] setcookie()

2001-05-07 Thread Patrick Wayne Tan
BTW here's my php.ini file. many thanks! - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 07, 2001 10:48 AM Subject: [PHP] setcookie() > Hi all, > > I have just migrated my scripts from redhat linux 6.2 and apache to win nt4 > and IIS 4. > > I've

[PHP] Reference to arrays

2001-04-22 Thread Wayne Parrott
l] = $this->breaklevel; $this->level[$this->breaklevel][breaktype] = 'break'; $this->column[$col] = &$level[$this->breaklevel]; Thanks Wayne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] HELP...Installation of PHP on Debian Linux!

2001-04-09 Thread Wayne Topa
Subject: [PHP] HELP...Installation of PHP on Debian Linux! Date: Mon, Apr 09, 2001 at 11:48:17AM -0500 In reply to:Frank K Quoting Frank K([EMAIL PROTECTED]): > > I am having trouble installing PHP4 on my linux machine. I downloaded to source > and i did a ./configure then a ma

[PHP] Tab Index Functionality

2001-03-30 Thread Wayne Joyner
key.  Any help you can provide would be greatly appreciated. Wayne JoynerCSG Systems, Inc. 2525 N. 117th Avenue Mail Stop 1-TSC Omaha, NE (402) 431-7138   -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] phpinfo ?

2001-01-26 Thread Wayne Topa
Subject: [PHP] phpinfo ? Date: Fri, Jan 26, 2001 at 03:23:16PM - In reply to:kaab kaoutar Quoting kaab kaoutar([EMAIL PROTECTED]): > Hi there! > > I'm sure it's a stupid problem but the phpinfo does work while trying the > following html code: > > PHP Test > > > > >