Re: [PHP] update mysql from php web page

2004-04-07 Thread Chip Wiegand
"Daniel Clark" <[EMAIL PROTECTED]> wrote on 04/07/2004 10:17:36 AM: > For the submit button to work it has to be in a form. > > > > > > Hope this helps. > > Daniel Clark Of course, I didn't notice I left that line out of my code, although I did remember to put in the closing form tag. B

Re: [PHP] update mysql from php web page

2004-04-07 Thread Chip Wiegand
"Daniel Clark" <[EMAIL PROTECTED]> wrote on 04/06/2004 03:27:34 PM: > I think you need a WHERE clause for the UPDATE, otherwise it will update > ALL the records. > > e.g. WHERE OwnerName='$result' > > Then perhaps a redirect to another page. Thanks for the reminder. I set that, and found the p

[PHP] update mysql from php web page

2004-04-06 Thread Chip Wiegand
I have an existing web page that pulls some data and displays it in form input fields. I would like to add the ability to edit those fields and submit the changes to the server, but have been unsuccessful. What bit of code do I need to add to the existing code? This is the existing code to displ

[PHP] script problem with authorization

2004-03-26 Thread Chip Wiegand
r/easier/alternative way to protect individual files, give a logged in user free access to it, but protect it from downloads from people not logged in, I'm certainly open to any and all suggestion. The docs are price lists that we wouldn't want our competitors to get ahold of. Thanks

Re: [PHP] browser identification problem

2003-02-18 Thread chip . wiegand
Ernest E Vogelsinger <[EMAIL PROTECTED]> wrote on 02/17/2003 11:20:41 PM: > At 06:05 18.02.2003, Jason Wong said: > [snip] > >On Tuesday 18 February 2003 01:18, [EMAIL PROTECTED] wrote: > > > >> > then set 'user_agent' in > >> > php.ini to match that of one

Re: [PHP] browser identification problem

2003-02-17 Thread chip . wiegand
Here's a bit more info - just for clarity and understanding of what's going on... There are actually 3 server involved - My current web site is hosted on my isp's server. I have another server here in my office which contains about a gigabyte of down- loadable docs. And we have our ecommerce si

Re: [PHP] browser identification problem

2003-02-17 Thread chip . wiegand
Chris Shiflett <[EMAIL PROTECTED]> wrote on 02/14/2003 02:47:43 PM: > --- [EMAIL PROTECTED] wrote: > > I have an ecommerce app (MAS200 eBusiness Manager) that works. I am > > updating my web site to php frames. > > There is no such thing. Perhaps you mean HTML frames? Take a look at this web si

Re: [PHP] browser identification problem

2003-02-17 Thread chip . wiegand
Jason Wong <[EMAIL PROTECTED]> wrote on 02/14/2003 10:08:45 PM: > On Saturday 15 February 2003 05:01, [EMAIL PROTECTED] wrote: > > I have an ecommerce app (MAS200 eBusiness Manager) that works. I am > > updating my > > web site to php frames. Now when I want to connect to the eBusiness > > Manager

[PHP] browser identification problem

2003-02-14 Thread chip . wiegand
the most current level. This happens regardless of the browser I am using. How can I get this to send the actual browser info, not this php info in its place? -- Chip Wiegand Computer Services Simrad, Inc www.simradusa.com [EMAIL PROTECTED] "There is no reason anyone would want a comput

Re: [PHP] php pages broken after moving to a newer version

2003-02-06 Thread chip . wiegand
Goetz Lohmann <[EMAIL PROTECTED]> wrote on 02/06/2003 08:09:19 AM: > Chip Wiegand schrieb: > > Okay, so I have turned on all the error handling options in > > /usr/local/etc/php.ini-dist. I have purposely put an error in my > > phpinfo.php > > page, it errors

Re: [PHP] php pages broken after moving to a newer version

2003-02-06 Thread chip . wiegand
Jason Wong <[EMAIL PROTECTED]> wrote on 02/05/2003 09:38:48 PM: > On Thursday 06 February 2003 07:13, [EMAIL PROTECTED] wrote: > > > > 1) Read the changelog/history/release notes of all versions of php > > > between the > > > 4.0.3 and up to 4.2.3 > > > > > > 2) Check the php log (turn on full er

Re: [PHP] php pages broken after moving to a newer version

2003-02-05 Thread chip . wiegand
Jason Wong <[EMAIL PROTECTED]> wrote on 02/05/2003 12:49:16 PM: > On Thursday 06 February 2003 04:41, [EMAIL PROTECTED] wrote: > > After copying the web site to the new server some pages no longer include > > the > > 'include' pages. I am using php frames. I load the index page, it's just > > bl

[PHP] php pages broken after moving to a newer version

2003-02-05 Thread chip . wiegand
the earlie versions of php. Any suggestions? Regards, -- Chip Wiegand Computer Services Simrad, Inc www.simradusa.com [EMAIL PROTECTED] "There is no reason anyone would want a computer in their home." --Ken Olson, president, chairman and founder of Digital Equipment Corporatio

Re: [PHP] form box question

2003-01-13 Thread chip . wiegand
Just a suggestion - you might want to disable the ability to input html code in the messages, as a precautionary messure. I tested the script and was able to make a mess of the page after submitting. -- Chip "Anthony Ritter" <[EMAIL PROTECTED]> 01/13/2003 09:07 AM To [EMAIL PROTECTED] cc

Fw: Re: [PHP] Simple HTML-Form Question

2002-10-13 Thread Chip Wiegand
ds, -- Chip @ Edwin wrote this stuff back on Mon, 14 Oct 2002 11:55:28 +0900: > Hello, > > Just for the sake of the argument... > > On Monday, October 14, 2002 10:44 AM > Chip Wiegand wrote: > > > Sascha Cunz wrote this stuff back on Mon, 14 Oct 2002 01:13:53 > > +02

Re: [PHP] Simple HTML-Form Question

2002-10-13 Thread Chip Wiegand
Sascha Cunz wrote this stuff back on Mon, 14 Oct 2002 01:13:53 +0200: > This beautifies it (even makes it a bit more secure), but one doesn't > need it really; should have worked without these changes, too. (Of > course, it's better to include these changes) > > Sascha No it shouldn't have work

Re: [PHP] Simple HTML-Form Question

2002-10-13 Thread Chip Wiegand
Sascha Cunz wrote this stuff back on Mon, 14 Oct 2002 00:09:58 +0200: > register_globals defaults now to off. Use the superglobals instead. > if (isset($_GET['name'])) { > echo "Hallo ".$GET['name']; > } > else { > echo " > > "; > } > ?> > Sascha The value of name for the subm

Re: [PHP] Looking for a forum

2002-09-26 Thread Chip Wiegand
On Wed, 2002-09-25 at 22:26, John Taylor-Johnston wrote: > Hi, > I'm looking for some forum script, a bit like this: > http://www.chevelles.com/cgi-bin/forum/Ultimate.cgi > Can anyone post a link to something useful? > John I set up phpBB on my company web site. It was easy to set up and has all

Re: [PHP] Editor

2002-09-21 Thread Chip Wiegand
On Sat, 2002-09-21 at 06:15, Bryan McLemore wrote: > Hi guys, just wondering if anyone could recomend a good editor that is based on >windows. Thanks, Bryan HTML-Kit by Chami software (www.chami.com) - saves in unix format or windoze format, extremely configurable, direct uploads/downloads/edit

[PHP] installing php-4.2.1 fails in make

2002-07-05 Thread Chip Wiegand
I am installing from source php-4.2.1 and have apache-2.0.39 installed and working. When I ran make on php I ended with this message: - include/mysql -I/usr/local/php-4.2.1/ext/xml/expat -D_REENTRANT -D_THREAD_SAFE -I/usr/local/php-4.2.1/TSRM -g -O2 -pthread -DZTS -prefe

Re: [PHP] Can php Read contents from MS Word in Exactly same format

2002-02-04 Thread Chip Wiegand
On Mon, 04 Feb 2002 01:29:11 -0500 "Jason G." <[EMAIL PROTECTED]> wrote: > MS Word is a proprietary, binary (i think), format... Have fun. > > There may be a solution out there. > > If you could convince her to save it in Rich Text Format (rtf) and > then upload it, your life would be much eas

[PHP] I'm getting frustrated with this.

2001-11-30 Thread chip . wiegand
Hi, I just want a simple page that pulls the data from a database (got that working fine, no problem), and on that page I want to be able to have an option to delete entries. I have tried what seems to be the simplest method - using a form text field, enter the appropriate info, and hit the submit

Re: [PHP] Can PHP do what this javascript does...

2001-10-24 Thread chip . wiegand
, and a database containing a list of browsers that support print shortcuts. Stick with the JS. Mike [EMAIL PROTECTED] wrote: >To print: >Click here or Select File >and then Print from your browser's menu. > >Is there an equivelant bit of code to do this printer shortcut wit

[PHP] Can PHP do what this javascript does...

2001-10-24 Thread chip . wiegand
To print: Click here or Select File and then Print from your browser's menu. Is there an equivelant bit of code to do this printer shortcut with php? -- Chip Wiegand Computer Services www.simradusa.com [EMAIL PROTECTED] Simrad, Inc Lynnwood, WA 425-712-1138 "There is no reason an

RE: [PHP] date/time of current page

2001-09-11 Thread chip . wiegand
Thankyou, that works fine. -- Chip "Jack Dempsey" <[EMAIL PROTECTED]> on 09/12/2001 12:03:20 AM Internet mail from: To: <[EMAIL PROTECTED]> cc: <[EMAIL PROTECTED]> Subject: RE: [PHP] date/time of current page > I'm not sure what you mean, but here is what I have tried - try this:

RE: [PHP] date/time of current page

2001-09-11 Thread chip . wiegand
d date of the current file being viewed. I have the following code that works when I hard code the file name - But of course that won't work as a footer for a site with over two hundred pages. What is the parameter for the current page? I tried php_self but that didn't work properly

RE: [PHP] date/time of current page

2001-09-11 Thread chip . wiegand
modified date of the current file being viewed. I have the following code that works when I hard code the file name - But of course that won't work as a footer for a site with over two hundred pages. What is the parameter for the current page? I tried php_self but that didn't work pro

[PHP] date/time of current page

2001-09-11 Thread chip . wiegand
page? I tried php_self but that didn't work properly (it returned Dec 31 1969). -- Chip Wiegand Simrad, Inc [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contac

[PHP] nav buttons not working correctly

2001-08-14 Thread chip . wiegand
orter.php") { global $php_self; $page_limit = 5; if (empty($this_script)) { $this_script = $php_self; } if (empty($offset)) { $offset = 0; } $result3 = mysql_query("select count(*) from dbulletins"); list($total_rows) = mysql_fetch_array($resu

[PHP] Why doesn't this work? Please trouble-shoot my script.

2001-02-05 Thread chip . wiegand
ould be a text box where the end-user could specify a quantity of brochures, for multiple choices, that would be my preferred form. Thankyou for your help, Chip Wiegand Computer Services [EMAIL PROTECTED] Simrad, Inc Lynnwood, WA 425-712-1138 "There is no reason anyone would want a computer in th