end of the url I see this-
url...stuff...&submit=Update+Data
Is this correct?
What else can I do to see what was passed to the database (if anything)?
--
Chip
> >
> > ... more code ...
> >
> > > endif;
> > ?>
> >
> >
> > ---
;$result'";
$results = mysql_query($query);
$row = mysql_fetch_array($results);
?>
... lots of code ...
... more code ...
-
I don't see any reason for the submit button to not work at all. What
should I look for now?
#x27;,SN='$PartsSN',VesselType='$vesseltype',VesselLength='$length',InstalledOn='$construction',VesselTypeOther='$vesseltypeother')
;
$result1 = mysql_query($query1);
mysql_query($query1);
else:
$query = "select * from warr
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
gent
Thanks for the link. I added the following to my php.ini -
user_agent = Mozilla/5.0 (Windows; U; Windows
NT 5.0; en-US; rv:1.3a) Gecko/20021212
And it prevents any pages from being displayed. I copied that line
from the http_user_agent line in php_info. The php doc mentioned
above doe
ut not on mine. I have a call in to the isp's tech support, I'll try to
get a copy of their php.ini
and find out what is differant between theirs and mine.
--
Chip
Jason Wong <[EMAIL PROTECTED]> wrote on 02/14/2003 10:08:45 PM:
> On Saturday 15 February 2003 05:01, [EMAIL PROTECT
s?
Take a look at this web site -
http://www.phpbeginner.com/columns/mark/frames
--
Chip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I did a search on the
php.net site and didn't find any info on this. What would be the proper
way
to set this in php.ini, and in which section of php.ini?
Thanks,
--
Chip
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
&g
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
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
ed my /usr/local/etc/php.ini-dist below. If it would help I can
also add my index.php that is having problems...
Regards,
--
Chip W
www.simradusa.com
[PHP]
;;;
; WARNING ;
;;;
; This is the default settings file for new PHP installations.
; By default, PHP installs itself with
ed the change log for all instances of 'include' but found nothing
relevant. The log is 23 pages long and doesn't to all the way back to
4.0.3. Could you perhaps give me a hint as to something else to look for
in
the log?
--
Chip
> --
> Jason Wong -> Gremlins Associat
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
and Rapid Database Prototyping" article of December's TPJ:
http://www.chipcastle.com/tpj/TPJDecember2002.pdf
The first few paragraphs should give you the basic idea, so let me know
if you have any suggestions.
Thanks!
Chip Castle / Open Source Web Developer
http://www.chipcastle.com
Ch
an expert. I cannot find anything on various PHP-related
websites and was hoping someone with more in depth knowledge would be
able to make a few suggestions.
Thanks!
Chip Castle
chip (at) chipcastle (dot) com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
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
[EMA
Yep, I've been going over this with John off-list, I learned something
new tonite. One thing about his script - it doesn't print the text
entered in the box, it only prints the work Hallo. To fix that would
require adding
. "$name";
to the end of the echo statement.
Regar
cha
No it shouldn't have worked the way you had it originally. The isset
statement HAS to have the same value as the submit buttom name or it
won't work at all. As for the beautify part, that's just the way I write
my code, that doesn't matter at all to whether or not the script w
s also name="submit" -
of course value is optional. So you end up with this -
";
}
?>
--
Chip
> Am Sonntag, 13. Oktober 2002 23:40 schrieb Lars H. Korte:
> > Hi,
> > I've updated to PHP 4.2.3 and wrote this simple Script:
> >
> > > if (isset(
o set up and has all
the features you could want.
--
Chip
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nloads/editing
of files on the remote server, built in Tidy, etc etc.
--
Chip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have an application where I need to write PHP code to a file that will be
used later...but it's not working the way I'd expect.
When I issue the following:
fwrite($fp, "http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
0;}
elseif (isset($var3)) {
$query .= "AND WHERE thus = '" . $var3 . "' ";
$init = 0;}
if ($init AND isset($var4)) {
$query .= "WHERE thus = '" . $var4 . "' ";
$init = 0;}
elseif (isset($var4)) {
$query .= "AND WHERE thus = '&quo
you need to use "==" instead of "="
"==" is used when comparing values (i.e. is this "==" to that)
"=" is used to set something's value (i.e. this "=" that)
-chip
-Original Message-
From: Chris Barnes [mailto:[EMAIL PROT
aimsgroup.com/?l=php-general&m=101899239727991&w=2
You can search for this by searching the archives for the term "asphttp".
ASPHTTP is a tool for ASP that does the same thing... only it costs money,
and this little function is free! How cool is that?
Here's the script (got it wo
.
---
Is there some issue here between the latest versions of apache and php?
--
Chip
[EMAIL PROTECTED]
www.wiegand.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
newsletter, just a
simple single-column 1 to 2 page affair. I just got in the habbit of having them email
me the .doc and then I convert it to html myself. Takes all of 5 minutes or so and it
clean code.
--
Chip
> At 01:51 PM 2/4/2002 +0800, Jack wrote:
> >Dear all
> >I had ma
e, you'll find lots more.
--
Chip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
nges
to many pages, so I've just left them to be printed the way the individuals
printer wants to print them, after all, you also can't control how the
margins will appear, etc.
--
chip
> -Original Message-
> From: Manuel Lemos [mailto:[EMAIL PROTECTED]]
> Sent: Wednesd
On Tuesday 04 December 2001 12:30 am, Manuel Lemos wrote:
> Hello,
>
> Chip wrote:
> > On Monday 03 December 2001 11:02 pm, Robert Samuel White wrote:
> > > I wish to take some information out of a database and create a text
> > > file with the information, nicely
I did some checking into this also, some time back. All the responses I got
then were it's not possible to cover all types of printers and OS's available
with just a certain escape sequence or other code.
If you get a better answer, would you please copy me on it?
--
Chip
[EMAIL PROTE
Got it! Turns out to be one of those obvious left-it-out errors that happens
when staring at the monitor too long. One other guy helped point this out
off-list. I'm at home now and don't recall his name, the emails being at work.
Thanks to all,
Chip
On Friday 30 November 2001 12:0
rence to a location for a tutorial or info on this particular
subject.
Thanks,
Chip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
This is interesting. I did my testing in Opera 5.05 and it fails to display
the page correctly. I then opened Netscape 6.2 and it works fine. Must be a
problem with Opera. I also set Opera to identify itself as Netscape and it
still failed to load the page.
Thanks for the assistance.
Chip
On
get the http_user_agent and it displays the user agent just
fine. What have I done wrong in such a simple bit of code?
-
Howdy
TIA,
Chip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
On Monday 19 November 2001 15:54, David Robley wrote:
> On Tue, 20 Nov 2001 01:11, Chip wrote:
> > I am setting up a new system for a friend and am getting the following
> > error when running ./configure -
> >
> > /usr/libexec/elf/ld: cannot find -lgd.
> > error
other machines and
have never come across this error.
What am I missing that is causing this problem?
--
Chip W.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail
now the body.inc file name loaded into page.php I guess.
That'd sure be easier than adding the script to several hundred seperate
pages.
--
Chip W.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
e.
Earlier I had uncommented the lines just above that one which is almost
identical except it is for .php3, but that didn't do the trick.
Thanks for the help,
--
Chip W.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
l as php, but
that did no good. I added AddModule lines for php3, still no good. I don't
know what to try next.
I'm sure it's easier than I make it out to be, but I don't know how to make a
php3 program work on a php4 system, and the docs don't cover this.
--
Chip
> On Sat
I just installed the FreeBSD port for PHPMyAdmin and was reading the docs on
the php wizard site but cannot figure out how to actually access the
interface. Is it through a particular port like webmin? Can some clue me in
please?
--
Chip W.
--
PHP General Mailing List (http://www.php.net
all
the months, in seperate calendar pages.
--
Chip W.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Thanks for all the reponses. I know that php is server-side only, and that
certain things
like mouse-overs, are client-side, wasn't sure about the printer function
though. I could
have assumed it was, but I try not to assume anything, but always ask to
make sure.
Regards,
Chip
Mike E
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
lol NP--actually I am using sessions-Will I have to declare each form
variable as a session variable to do this?
"Jack Dempsey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> sorry chip, i'm so used to using sessions,
er call.
>
> jack
>
> -Original Message-
> From: Chip Landwehr [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, October 21, 2001 8:29 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Submit
>
>
> I got a form (form.php) that recalls itself when you hit submit to
I got a form (form.php) that recalls itself when you hit submit to verify
all the fields. If all the fields are good, I need it to automatically post
to a new page. Anyway to do this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
uot;Location:
> new_narrative.php?FilledName=No&variable1=hello&variable2=goodbye");}
>
> etc etc
>
> - seb
>
> -Original Message-
> From: Chip Landwehr [mailto:[EMAIL PROTECTED]]
> Sent: 21 October 2001 21:03
> To: [EMAIL PROTECTED]
> Subject: Re:
ED]">news:[EMAIL PROTECTED]...
> well all of the entries are passed via post or get to your form handler
> (obviously). So just pass them back when you re-call the form.
>
> then put in
>
> in the form
>
> or something like that anyway.
>
> - seb
>
> -
I got a form that a user fills out. When they hit submit they are
transfered to a PHP page that verifies their data. If a problem is found
(They forgot to enter an e-mail address) the PHP sends them back to the
original form with the field they forgot to fill out highlighted in red.
Unfortunatel
Is there a PHP IRC channel?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
lol!
True, so true...
"Richard S. Crawford" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Can you imagine the trouble you'd get into if you could?
At 09:47 PM 10/19/2001, Chip Landwehr wrote:
>Is there any way to do th
Is there any way to do this in PHP4?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
it being sent to a person in a well formatted message.
This is all done with test pages, which I can now move over to my production
site, then after all that is working (there are 5 online forms), I will work
on getting the data from the forms into a mysql database.
Regards,
--
Chip
On Wednesday
When you write a php script to access a database,edit records, etc., is the
entire thing 1 giant PHP page or a bunch of different ones? If it can be
written both ways, which is the better way to do it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
So once a user logs into a MySQL Server via PHP, if they don't logout, they
stay logged in forever???
Rasmus Lerdorf <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > A. Browser Closed Before Finishing Edit:
> > From what I have read Get_Lock
Hmmm...that is true
It would still prevent Jill from editing. I'll probably add a locked_by
field to convey the user info.
For Dead Locks:
A. Browser Closed Before Finishing Edit:
From what I have read Get_Lock locks are automatically released
when connections terminate. I'm
> Well, if you only update the fields that changed then who cares? The
> fields that Jill changes are going to overwrites Jack's changes anyway.
> Locking the record and having Jack finish before Jill can start isn't
> going to change the end result which would be that Jill's changes are
> going
Well here is the situation.
1. Jack opens record A to change an entry.
2. Jill opens record A to change an entry.
3. Jack finishes his changes and saves the data.
4. Jill finishes her changes and saves the data.
Jill just over wrote whatever Jack did. The only method I could think of to
prevent
I'm preparing to write a DB app using PHP as the programming interface. I
need to be able to lock records at certain points. I was wondering if the
following is possible using PHP.
1. I want to use the GET_LOCK(str, timeout) function to lock records based
on the record ID. Can GET_LOCK be cal
with it.
Just out of curiosity,
--
Chip W.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
or not.
I hope and pray the people responsible are found and brought to justice.
God bless you, and if you don't happen to believe in God, or any god -
Regards
--
Chip Wiegand
On Tuesday 11 September 2001 09:26, Alexander Skwar wrote:
> So sprach »[EMAIL PROTECTED]« am 2001-09-11 um 08:5
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 h
of current page
document.write('some text ' + document.lastmodified + ' some other text.');
Surely it can be done in PHP, which doesn't, of course, depend on whether
or not the visitor has some options disabled or enabled in their browser.
--
Chip
-Original Message-
From: Jack Demp
#x27;t care if it gets 'index.php' or (some
processing) "index.php", know what i mean?
jack
I'm not sure what you mean, but here is what I have tried -
I also quoted the string $PHP_SELF with the same results, which look
like this -
12/31/69 4
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
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
I'm building a PHP app for use on our intranet - all MS (Clients will be 95,
NT, or 2000).
Is there a way to retrieve the clients username when they access app (i.e.
the username they used to access the network)?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Martin Marconcini wrote:
> LOL :) I didn't ... perhaps I used an old version...
Must've been an old version, I've been using it for close to a year and
haven't
had it crash nearly as much as expected for a winblows app (at work on
winnt4).
Wish there was a *
st use a text editor with
syntax
highlighting, can't get a fancy gui editor to work nearly as fast as that.
--
Chip
>
>
> -Original Message-
> From: chip [mailto:chip]On Behalf Of Chip
> Sent: Wednesday, 25 July 2001 12:57 PM
> Cc: [EMAIL PROTECTED]
> Subject:
Joseph Blythe wrote:
> Try PHP Coder Pro! http://www.phpide.de
Too bad it's a winblows-only app. :-(
Chip
>
> Regards,
>
> Joseph.
>
> -Original Message-
> From: Bob Clingan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 25 July 2001 9:18 AM
> To
ork in any of my 3 php books or online.
--
Regards,
Chip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
y by another user, or you need permission to view its data., SQL
state S1000 in SQLConnect in C:\Inetpub\wwwroot/seating/sharondb.php on line
36
Any ideas? I am supplying the correct username and password...
Thanks
Chip Hankley
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
t has some variation of:
as it's content, right?
While I can see the utility of that for some situations
(teaching...examples, etc.), it seems like a huge potential for security
breaches.
Is it possible to have such a function on your site w/o giving access to ALL
of your documents...
Chi
eelpilots
WP5000
Chip Wiegand
Computer Services
[EMAIL PROTECTED]
Simrad, Inc
Lynnwood, WA
425-712-1138
"There is no reason anyone would want a computer in th
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
the results? I tried adding
and between the if statements, but that doesn't work, as
I expected, I don't see anything in my php books that will
help with this bit. I want to be able to pick items from
all pages, and at the end print them to the screen and
email them to a person.
I welcom
need, whence the need for the
size being 3 characters.
In the example in the book they use a drop-
down list, so only one item on the list can be
chosen, this won't work for me.
How do I store all the choices from each subsequent
page and bring them all together on the final page?
Thankyou,
78 matches
Mail list logo