I think by default phpmyadmin wants to use the iso-8859-1 character set.
This matches the typical mysql Latin-1 character set which is also 8859-1.
So I think where the issue may be is that Word is not using 8859-1.
Figuring this out is not easy, but the basic idea is that you are probably
having
There's a sessions tutorial on phpfreaks.com that outlines the basics of
using sessions. I'm not 100% sure what you mean when you say you don't want
to do "url" rewriting. Without either cookies or passing a url param, there
is no way to determine if the request comes from someone who has an activ
I looked at your page. First off, you should add a primary key column that
has no information in it. Just make this a number(4) called state_id.
Then you will be able to specify that it's auto_increment. The problem you
had is that you tried to make a varchar column auto_increment which makes n
CSV just stands for comma separate values. CSV support is pretty common as
a way of moving data between applications, and most all spreadsheets support
it. It's just a text file like this:
Value1,value2,value3
Sometimes you might have a string delimiter like so:
Value1,value2,"string 1 here",v
At the risk of being glib, DBM files.
http://www.php.net/manual/en/ref.dba.php
-Original Message-
From: gohaku [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 5:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP Equivalent of DBM Files
Hi everyone,
I was just curious if there is
"Design Patterns" is a big category that can cover any area of design. In
general the idea is that there are "Best practices" ways of solving
particular design problems. Java is the area (particularly J2EE) where I've
seen the biggest promotion of the idea coming out of a company (in this case
Su
If you're going to the trouble of making an authentication class, you should
consider also using a database connection class, and modifying your
authentication class to make use of it. You might want to roll your own,
although there are numerous classes that already exist.
As for "portability"
While you can use an array type in postgresql, in most cases I'd recommend
against it. This is basically a repeating group, and in a relational
database the proper way to handle this type of need would be to have a
related table with a Many to 1 relationship back to the parent table.
If you are i
Try changing references to $_SESSION[products] to $_SESSION['products']
-Original Message-
From: Anthony Ritter [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 10:49 AM
To: [EMAIL PROTECTED]
Subject: [PHP] =sessions / J. Meloni Textbook=
Using mysql, apache and win98
The foll
! (not) reverses the value of the Boolean expression which follows it. All
Boolean comparisons must evaluate to TRUE or FALSE.
Without the ! the strcmp will proceed to the next block if strcmp returns
TRUE. With the !, it will proceed to the next block if strcmp returns FALSE
(ie NOT TRUE).
Y
Access is a pc database. It doesn't run on unix. Why people insist on
beating their heads against the wall in this manner I will never know.
Ignorance I suppose. The alternative is to have your friend use a
relational database and have a few simple forms that will allow him to
insert/update/dele
I think you're a big confused here. Your query will only return one row,
because you're using sum(). $invoicepartpaid will be your total for the
invoiceid specified.
-Original Message-
From: Ben C. [mailto:[EMAIL PROTECTED]
Sent: Monday, August 04, 2003 11:42 PM
To: [EMAIL PROTECTED]
Su
You have made a mistake in your database design. Every table should have a
primary key that allows you to uniquely identify any single row in the
table. You do not have a primary key, hence when you want to delete a
single row from a series of duplicates, you can't do it. Unlike oracle,
mysql ha
Is imgList an array, and did you specify it as such in the form? Are you
foreach() through the array to get the contents?
-Original Message-
From: Micah Montoy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 12:03 AM
To: [EMAIL PROTECTED]
Subject: [PHP] multiple select box not s
PHP is designed for rapid development of web applications. Manipulating
relational database data is not its strong point. If I had a complicated
database manipulation that could be done within and oracle stored procedure,
and the database was large, or expected to get that way, I would strongly
c
I read your regex as
-match start of line
-followed by p, followed by o
=followed by single space
-followed by b,o,x
-followed by end of line
If someone puts in PO BOX 343, then your regex will not match.
If someone puts in PO BOX 12, then your regex will not match.
If you're saying that you
: Dan Anderson [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 05, 2003 6:26 PM
To: Giz
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Timing out fopen using https stream wrapper?
>From the user comments:
I think it might be useful to point out that set_time_limit() doesn't
have any effect on stream
nderson [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 05, 2003 5:28 PM
To: Giz
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Timing out fopen using https stream wrapper?
> This has no effect on stream operations. I have a timeout set in php.ini,
> but the script never times out, so that should f
Yeah, this is the behavior of select lists. What comes through in the form
post is the item that was last selected.
What I've found you have to do with javascript is populate a hidden field
with the values, using some delimiter (I've used commas) and you can easily
explode those values into an
Bleh nevermind, it's because you were executing the query twice (calling
mysql_query in the if () and then again below.
-Original Message-
From: Giz [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 05, 2003 4:37 PM
To: 'Paul Ferrie'; [EMAIL PROTECTED]
Subject: RE: [PHP] si
My guess is that you actually have 2 rows in the table for every forumID.
-Original Message-
From: Paul Ferrie [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 05, 2003 8:07 AM
To: [EMAIL PROTECTED]
Subject: [PHP] simple query help
anyways i am tyring to delete the threadCount by -1 from t
You need to seek help from a phpnuke support forum.
-Original Message-
From: Mr|P [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 05, 2003 7:53 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Permission Problem
I moved from myphpnuke to phpnuke.
When trying to register a new user account on the
This add a bit more functionality, in that it will adjust to the nearest end
of a word, and includes a 'more' link to the full text. This also assumes
that the article may already only be 50 chars or less.
$maxsize = 50; // might be better as a DEFINE
$post = $row->text;
$post = (strlen($post) >
That only works to set a timeout on reading data once the fopen has
successfully returned. The problem is that the fopen function is hanging.
-Original Message-
From: Arjen Brouwer [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 05, 2003 6:08 AM
To: Giz
Subject: Re: [PHP] Timing out fopen
This has no effect on stream operations. I have a timeout set in php.ini,
but the script never times out, so that should further illustrate the issue.
-Original Message-
From: Dan Anderson [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 05, 2003 5:11 AM
To: Giz
Cc: [EMAIL PROTECTED
I have a class that uses fopen to read some xml data from a site with
ongoing stability issues. Fopen is using the stream wrapper for http.
Something I've struggled with is finding a way to set a timeout value when
fopen is attempting to get a page from a site that is inaccessible for some
reas
26 matches
Mail list logo