RE: [PHP] test

2002-12-17 Thread Roger Lewis
Martin, I'm sending too [EMAIL PROTECTED] also. Never seen anything like this before Roger Martin Towell wrote: < actually, I get the same error. I've been putting it down to someone < subscribing and now their email is invalid. << < BTW: I'm emailing to [EMAIL PROTECTED] - if that helps --

RE: [PHP] test

2002-12-17 Thread Roger Lewis
So what the h... is going on? Roger < Lookee there, I'm getting it now and I'm sending to the newsgroup. < Subject: < To: <[EMAIL PROTECTED

RE: [PHP] test

2002-12-17 Thread Roger Lewis
John, I'm emailing. And it looks like each time I send something, I get the same message in return. Roger John Taylor wrote: Roger, Are you emailing or posting to the news group? John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --

RE: [PHP] test

2002-12-17 Thread Roger Lewis
From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 10:02 PM To: Php-General Subject: RE: [PHP] test na! didn't work :) -Original Message----- From: Roger Lewis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 4:59 PM To: Php-General Subject:

[PHP] test

2002-12-17 Thread Roger Lewis
This is a test. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mysql_num_rows

2002-12-17 Thread Roger Lewis
ws, the query returns only 12 rows. $sql = "SELECT * FROM users"; $result = mysql_query($sql) or die ("Cannot verify the member"); $rows = mysql_num_rows($result); echo "rows = $rows"; Conclusion: mysql_num_rows seems to be returning one less row than exists. Is this c

[PHP] RE: mysql_num_rows

2002-12-17 Thread Roger Lewis
I found the problem! It was a space before $ in ' $name' in line two of the query. Sorry for the trouble. Roger -Original Message----- From: Roger Lewis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 4:00 PM To: Php-General Subject: mysql_num_rows Would someone be k

RE: [PHP] Need Redirection Trick...

2002-12-05 Thread Roger Lewis
Nilaab, This sounds similar to what I was trying to do recently, i.e creating dependent dropdown boxes. Here's a link to a demo of the code that might be of interest to you. http://www.onlinetools.org/tools/easyselectdata/index.html Cheers. Roger -Original Message- From: @ Nilaab [mail

[PHP] PHP Configuration - Can't Change Post_Max_Size

2002-12-05 Thread Roger Lewis
This is further to my post yesterday on Max File Size. I was able to set upload_max_filesize to 790 and I can therefore upload files up to that size. I would now like to increase that limit, but I am limited by post_max_size which defaults to 8M. I can't seem to change the value of post_max_

RE: [PHP] Max File Size

2002-12-05 Thread Roger Lewis
Hi, Thursday, December 5, 2002, 5:11:16 PM, you wrote: RL> Jason Wong responded Wednesday, December 04, 2002 10:24 PM RL> < On Thursday 05 December 2002 10:14, Roger Lewis wrote: RL> < > Thanks for the suggestion. I'll try ini_set although I'm not yet RL> certai

RE: Re[2]: [PHP] Max File Size

2002-12-04 Thread Roger Lewis
Hi, Thursday, December 5, 2002, 5:11:16 PM, you wrote: RL> Jason Wong responded Wednesday, December 04, 2002 10:24 PM RL> < On Thursday 05 December 2002 10:14, Roger Lewis wrote: RL> < > Thanks for the suggestion. I'll try ini_set although I'm not yet RL> certai

RE: [PHP] Max File Size

2002-12-04 Thread Roger Lewis
Jason Wong responded Wednesday, December 04, 2002 10:24 PM < On Thursday 05 December 2002 10:14, Roger Lewis wrote: < > Thanks for the suggestion. I'll try ini_set although I'm not yet certain < > of how to use it. < As has already been pointed out, the uploads tak

RE: [PHP] Max File Size

2002-12-04 Thread Roger Lewis
Tom Rogers responded on Wednesday, December 04, 2002 6:11 PM Hi, Thursday, December 5, 2002, 11:54:08 AM, you wrote: RL> Tom, RL> Thanks for your response. If this is so, can you tell me how I check it out RL> and fix things. RL> Roger TR> Unless you have set it yourself that is probably

RE: [PHP] Max File Size

2002-12-04 Thread Roger Lewis
eciated. Roger -Original Message- From: David Banks [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 5:57 PM To: 'Roger Lewis' Subject: RE: [PHP] Max File Size post_max_size *should* be in php.ini, I think I ususally leave these things up to our sysop ;) Che

RE: Re[2]: [PHP] Max File Size

2002-12-04 Thread Roger Lewis
Hi, Thursday, December 5, 2002, 11:00:14 AM, you wrote: RL> On Wednesday, December 04, 2002 3:03 PM, I wrote RL> Hi, RL> Further to my original post, to check if my php.ini was being recognized I RL> temporarily changed some other configuration options, i.e. register_globals RL> and include_pa

RE: [PHP] Max File Size

2002-12-04 Thread Roger Lewis
ave access to this setting. Roger -Original Message- From: David Banks [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 5:22 PM To: 'Roger Lewis' Subject: RE: [PHP] Max File Size Don't forget to increase post_max_size as well See also http://www.php.net/manual

RE: [PHP] Max File Size

2002-12-04 Thread Roger Lewis
ssing here. Thanks, Roger Lewis Further to my original post, to check if my php.ini was being recognized I temporarily changed some other configuration options, i.e. register_globals and include_path, and reloaded phpinfo.php. All options, except for upload_max_filesize, were changed per my

RE: [PHP] Max File Size

2002-12-04 Thread Roger Lewis
Yep, Mine is in /etc/httpd/php.ini and that's what phpinfo gives me Roger -Original Message- From: Marco Tabini [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 3:19 PM To: Roger Lewis Cc: PHP-General Subject: Re: [PHP] Max File Size Are you sure you're look

[PHP] Max File Size

2002-12-04 Thread Roger Lewis
this was enough to be able to upload files greater than the default 2mb. Even though php.ini has been changed, when I check phpinfo.php, I see that upload_max_filesize is still 2mb and my file is not being uploaded. Can anyone tell me what I am missing here. Thanks, Roger Lewis -- PHP Ge

RE: [PHP] publishing php > mysql website on cd-rom

2002-11-07 Thread Roger Lewis
@;venticon.com] Sent: Thursday, November 07, 2002 5:15 AM To: Roger Lewis Cc: [EMAIL PROTECTED] Subject: RE: [PHP] publishing php > mysql website on cd-rom This is where xml and xsl come in handy...you could have all the pages outputed to xml format and then use xslt to transform to html. Then you could

RE: [PHP] publishing php > mysql website on cd-rom

2002-11-07 Thread Roger Lewis
anyone done this? Can it be done other than by separately displaying and saving each page as an html page, and then manually creating the links? Roger Lewis On Wednesday, November 06, 2002 1:51 AM, BigDog replied To: ROBERT MCPEAK BD> That is going to be very hard to do...you might want to l

RE: [PHP] Problem with is_dir function

2002-11-05 Thread Roger Lewis
> $test = is_dir($user_dir); > if($test){echo "You have a user directory. It is $user_dir";} > else{echo "Your user directory doesn't exist"; > return;} > Thanks a lot. > Roger Lewis This is a follow-up to my original posting. * I did not get an ans

RE: [PHP] Problem with is_dir function

2002-11-02 Thread Roger Lewis
ic? Roger -Original Message- From: Andrew Brampton [mailto:andrew@;bramp.freeserve.co.uk] Sent: Saturday, November 02, 2002 11:24 AM To: Roger Lewis; [EMAIL PROTECTED] Subject: Re: [PHP] Problem with is_dir function what values of $user_dir are you passing to is_dir? echo them out before the

[PHP] Problem with is_dir function

2002-11-02 Thread Roger Lewis
I'm having a problem with the is_dir function, or maybe I don't understand how it supposed to work. I'm using the following code to check whether or not a directory called $user_dir exists. If it exists, I am returned the proper message. But if it doesn't exist, I get the following error message

RE: [PHP] Confirm a Deletion

2002-10-01 Thread Roger Lewis
confusing. < ---John Holmes... Thanks guys. The intermediate page scheme worked. I added the hidden field like so because I couldn't get "htmlentities" to work: I appreciate the help. Roger > -Original Message- > From: Roger Lewis [mailto:[EMAIL PROTECTED]] >

[PHP] Confirm a Deletion

2002-10-01 Thread Roger Lewis
I know this should be very simple, but I just don't get it. I want to delete a record from a mysql table, but prior to deleting the record I want to receive an option to confirm the deletion. On page one (kb_areas_add.php) I have a form for inputting the field (area_todelete) for the record I wa

RE: [PHP] Re: Dependent Dropdown Boxes

2002-09-11 Thread Roger Lewis
ROTECTED]] Sent: Wednesday, September 11, 2002 2:02 AM To: [EMAIL PROTECTED] Subject: [PHP] Re: Dependent Dropdown Boxes Hi, Try to learn many things from the test code i created below: http://lgwm.org/ozone/dynatable.htm Good luck, Elias "Roger Lewis" <[EMAIL PROTECTED]> wr

[PHP] Dependent Dropdown Boxes

2002-09-10 Thread Roger Lewis
Category1_2 datasets[2]="Category1,subCategory1_3 datasets[3]="Category1,subCategory1_4 datasets[4]="Category2,subCategory2_1 datasets[5]="Category2,subCategory2_2 etcÂ… Can someone explain how to write the php code to output the category and subcategory names from the mysql table to

RE: [PHP] Any netscape users out there?

2002-09-03 Thread Roger Lewis
Ctrl r worked for me -Original Message- From: Peter Janett [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 10:00 AM To: Robert Cummings; [EMAIL PROTECTED] Cc: Dan Ostrowski; [PHP GENERAL] Subject: Re: [PHP] Any netscape users out there? Simply hold down the control key and t

RE: [PHP] Re: Trouble Downloading Files

2002-08-26 Thread Roger Lewis
Richard Lynch responded Monday, August 26, 2002 3:28 PM to Roger Lewis >I'm not certain this is the right place to ask, but here goes. For security > >reasons I have placed certain document files in a directory outside my web > >root. There are many types of files included

RE: [PHP] Re: set filename of file open/download

2002-08-26 Thread Roger Lewis
Richard Lynch wrote On Saturday, August 24, 2002 4:52 PM To: David Buerer > >I'm using a php script to stream a microsoft word file to a browser. > > > >I'm sending header("Content-type: {$mimetype[DOC]} \n"); to set the mime > >type to application/msword so that the browser knows how to open the

RE: [PHP] How Do You Protect Individual Files

2002-08-21 Thread Roger Lewis
Justin, Thanks again. I've been doing some more research on .htaccess. The problem I see is that it is high maintenance, i.e. I've already got a MySQL table of users with username and password. To use .htaccess, you have to have a htpasswd file containing duplicate usernames and passwords, and

RE: [PHP] Web Site

2002-08-21 Thread Roger Lewis
On Wednesday, August 21, 2002 6:41 PM Peter Goggin wrote < 2. I need to set up credit card payments. Has anyone any experience with < PayPal? Are there any other providers I should consider. Nothing but good to say about PayPal Roger -- PHP General Mailing List (http://www.p

[PHP] Multiple File Uploads With a Single Input

2002-08-21 Thread Roger Lewis
, and upload them to a directory all at one time. Can it be done? Roger Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How Do You Protect Individual Files

2002-08-21 Thread Roger Lewis
On Wednesday 21 August 2002 10:54, Roger Lewis wrote: > I did, but like I said, I couldn't find much. Maybe I wasn't using the > correct key words. There is a lot about protecting php and html files but > not much on other, non-php files in external directories. There i

RE: [PHP] How Do You Protect Individual Files

2002-08-20 Thread Roger Lewis
On Wednesday 21 August 2002 08:59, Roger Lewis wrote: > I haven't been able to find much on this subject in the archives. > > Using sessions I have been able to have the server validate the user's > access level before serving him a page. I put include files on e

[PHP] How Do You Protect Individual Files

2002-08-20 Thread Roger Lewis
o view the page that the link is on. However, if he somehow knows the full path to the file, he can get to it directly, bypassing the link and overriding the authentication system. Thanks for any help on this question. Roger Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscr

RE: [PHP] How Can I Generate an Email List from a MySQL Table

2002-08-18 Thread Roger Lewis
On Sat, 17 Aug 2002 20:10:02 -0700 "Roger Lewis" <[EMAIL PROTECTED]> wrote: > My problem is how do you create the variable, $to, from the MySQL table so > that it contains all of the addresses separated by commas. Daren Cotter [mailto:[EMAIL PROTECTED]] responded Saturday

RE: [PHP] How Can I Generate an Email List from a MySQL Table

2002-08-17 Thread Roger Lewis
al Message- From: Chris Knipe [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 17, 2002 8:37 PM To: Roger Lewis; Php-General Subject: Re: [PHP] How Can I Generate an Email List from a MySQL Table $to = ''; while ($blah = mysql_fetch_row($ref)) { $to =+ $blah['address']; };

[PHP] How Can I Generate an Email List from a MySQL Table

2002-08-17 Thread Roger Lewis
dresses separated by commas. Thanks for your help, Roger Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How do you make a directory

2002-07-23 Thread Roger Lewis
On Wednesday 24 July 2002 11:12, Roger Lewis wrote: > I'm trying to learn to create a directory in php, and from everything I've > read I created this simple test that I put into the file add_user_dir.php. > Unfortunately I can't get it to work. I am getting the er

[PHP] How do you make a directory

2002-07-23 Thread Roger Lewis
ith Apache 1.3.20 Here is the script: User Name Can anyone see what I am doing wrong? Thanks. Roger Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php