weakness???
--
Faye Keesic
Computer Programmer Analyst/Web Page Design
From: [EMAIL PROTECTED]
Date: Mon, 14 Jan 2002 09:51:54 -0800 (PST)
To: Faye Keesic [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Problem with mail function
Is it the ole 30-second timeout thang
Computer Programmer Analyst/Web Page Design
From: [EMAIL PROTECTED]
Date: Mon, 14 Jan 2002 09:51:54 -0800 (PST)
To: Faye Keesic [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Problem with mail function
Is it the ole 30-second timeout thang? Changeable in php.ini
like others have the same problem. mail()
is a php weakness???
--
Faye Keesic
Computer Programmer Analyst/Web Page Design
From: [EMAIL PROTECTED]
Date: Mon, 14 Jan 2002 09:51:54 -0800 (PST)
To: Faye Keesic [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Problem
On Tuesday 15 January 2002 10:53, olinux wrote:
Is there a solution to this if you do not have edit
access to the php.ini file? [ie. a shared server]
A number of the settings in php.ini can be set/altered from within your
script. Check out ini_set() and friends.
--
Jason Wong - Gremlins
Is it possible to go upload an earlier version of one of the pages and hit
it repeatedly to see if you get the same behaviour?
When you get the blank page, what do you see in View Source?
What are browser settings for reloading the page?
What happens with other browsers, NS 4.x, NS 6.2, Opera?
- Original Message -
From: markus|lervik [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 27, 2001 9:47 AM
Subject: [PHP-DB] Problem with buttons
Hello everyone!
Does anyone know what the problem might be with the following little
php-snippet?
print(TR TD
you're only printing stuff while i=0, i=1,i=6.
therefore only 7 things come out.
either make the loop for($i=0;$i=7;$i++), or for($i=0;$i8;$i++).
-Original Message-
From: +markus lervik [mailto:[EMAIL PROTECTED]]
Sent: 13 December 2001 09:37
To: php-db
Subject: [PHP-DB] Problem with
On Thu, 2001-12-13 at 11:42, matt stewart wrote:
you're only printing stuff while i=0, i=1,i=6.
therefore only 7 things come out.
either make the loop for($i=0;$i=7;$i++), or for($i=0;$i8;$i++).
Oh! Thanks a million! It works like a charm now.
So I guess the second alternative was right,
Thanks,
but I want wo JOIN data from three tables and then to order
all data by datestamp.
Can I Do It ?
Thanks,
Rosen
Andrey Hristov wrote in message 071401c17759$f5873c80$0b01a8c0@ANDreY...
Mysql says that in the join there are some columns with namer datestamp so
you have to choose by
It sounds to me like what you're trying to do is APPEND data from three
similarly structured tables into one entity ordered by a column common
to all 3 tables called datestamp. If I'm mistaken, then please ignore
all of the following:
Approach #1 (mysql)
Create a temporary table with the
le ven 23-11-2001 à 02:18, Jonathan B. Bayer a écrit :
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello php-db,
We have a RedHat 7.1 server with a stock install. I recompiled PHP from
the source RPM in order to add oracle support.
It mostly works, but we are having a problem where
Thanks,
but I want wo JOIN data from three tables and then to order
all data by datestamp.
There must be more than one column called datestamp, this is why mysql is
telling you it's ambiguous.
So you need to tell it which table's datestamp column you wish to use.
for example your new
Could it be windows doesn't like the '/' in the path. OK on a webpage, but
not directly into the filesystem?
Peter
-Original Message-
From: TorrentUK [mailto:[EMAIL PROTECTED]]
Sent: 13 November 2001 12:47
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Problem with include()
Can anyone
Hi Peter,
I'll be surprised if that's it as I am running this through an Apache server
which insists on the \ being /
Also all references to my images are / and they work fine. In fact, I think
I mentioned, it calls the poll.php
if I drop the argument part (?id=KnChooseBoots). It's all very
[mailto:[EMAIL PROTECTED]]
Sent: 13 November 2001 13:41
To: PHP-DB
Subject: Re: [PHP-DB] Problem with include()
Does include accept parameter?
I have never tried.
I think php will try to find a file called poll.php?id=KnChooseBoots not a
file called poll and give argument for it. Also why do you need
Original Message -
From: TorrentUK [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 13, 2001 11:24 AM
Subject: Re: [PHP-DB] Problem with include()
Hi Peter,
I'll be surprised if that's it as I am running this through an Apache
server
which insists on the \ being /
: Tuesday, November 13, 2001 1:16 PM
Subject: Re: [PHP-DB] Problem with include()
According to the php manual it can pass args and values.
The value I pass in through the $id then determines what poll is
presented
to the visitor (poll.php opens a file called $id.txt, which contains the
poll's title
On Tuesday 13 November 2001 23:16, TorrentUK wrote:
According to the php manual it can pass args and values.
I think this is only true *if* you're including a remote file, ie
through HTTP.
The value I pass in through the $id then determines what poll is
presented to the visitor (poll.php
--
From: TorrentUK [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 13, 2001 1:16 PM
Subject: Re: [PHP-DB] Problem with include()
According to the php manual it can pass args and values.
The value I pass in through the $id then determines what poll is
presented
to the
The manual reads
include (\http://someserver/file.php?varone=1vartwo=2\;);
and...
require($DOCUMENT_ROOT . \/header.html\);
As you can see the upper one among the above line refers
to opening a remote file for inclusion via http.
If it the server is somewhat properly configured
you will not be
There is a solution posted on the original thread.
PHP already has functions to deal with this problem.
str_replace is a waste of time.
Steve
Natalie Leotta [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
I would recommend that you try something like str_replace and replace all
of
You only need to post your question once, and you really shouldn't
cross-post to multiple lists...please, I just got six copies of your
question.
Did you compile php with the --enable-dbase configure flag? You can
check with phpinfo() for what's enabled and also what configuration
flags were
Thanks to everyone who replied either here or via e-mail... I got a lot of
great suggestions. I ended up solving the WHILE problem by changing this:
$list = mysql_query(select id,title from table1);
$list_row = mysql_fetch_array($list);
$title = $list_row[title];
while($list_row) {
$list = mysql_query(select id,title from table1);
while ($row = mysql_fetch_array($list)) {
echo($row[title]br\n);
}
-Original Message-
From: Eric J Schwinder
[mailto:[EMAIL PROTECTED]]
Sent: den 1 oktober 2001 20:18
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] problem with WHILE
the mysql_query function returns a Result Identifier. For every row in the
result (found by mysql_num_rows), you must call one of the the row
retrieval functions (mysql_fetch_array, mysql_fetch_object, etc...) These
functions automatically advance the row position in the Result.
Replace the
-Original Message-
From: Robert Gruber [mailto:[EMAIL PROTECTED]]
Sent: 26 September 2001 22:19
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Problem with session function: URL Parameter
I would use the session functions with URL parameter but PHP can't transmit
the SID to the link-URL.
And
Jason Wong [EMAIL PROTECTED] schrieb im Newsbeitrag
001401c1469c$7c788440$[EMAIL PROTECTED]">news:001401c1469c$7c788440$[EMAIL PROTECTED]...
-Original Message-
From: Robert Gruber [mailto:[EMAIL PROTECTED]]
Sent: 26 September 2001 22:19
To: [EMAIL PROTECTED]
Subject: [PHP-DB]
boy, if i remember my old dbase days, dbase uses a table locking
scheme. and a pessimistic locking style.
if you are just querying the table, how about making a copy of it when a
local user opens it and again, when they close it. your remote users
will then query the copy...
Don Jackson
It sounds like the problem you are having is the same one I had. There is a
variable in the php.ini called upload_max_filesize that the default max size
in here is 2Mb, so when importing or exporting a dump file that is over 2Mb,
it will not work. Try changing this in your php.ini file and see
?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 10:41 AM
To: Doug Schasteen; [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Problem importing large db to mysql in windows
It sounds like the problem you are having is the same one I had
over two
hours? Is this mysql's fault or the fault of my POS 500mhz WinME
machine? Anyone know?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 01, 2001 10:41 AM
To: Doug Schasteen; [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Problem importing
I'm running a local web server for development on my Win ME machine
using apache, mysql 3.23.38, and php4. I've been copying my mysql
database that is online to my local one every once in a while. When the
Since you're using relatively recent version of MySQL might I suggest you
setting up
i havent tested it yet... but...
Fernando Gonzalez wrote:
$num=mysql_num_rows($result);
$cur=1;
while($num=$cur){
$myrow=mysql_fetch_array ($result);
^^
you got a space after the function and the open paren. NO SPACES
(as i found before that
snip
$myrow=mysql_fetch_array ($result);
/snip
Remove the space in the function call and it should work fine for you
ie.
$myrow=mysql_fetch_array($result);
Sincerely,
Craig Vincent
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Message -
From: leo g. divinagracia iii [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, July 24, 2001 7:52 PM
Subject: Re: [PHP-DB] Problem with my first script
i havent tested it yet... but...
Fernando Gonzalez wrote:
$num=mysql_num_rows($result);
$cur=1;
while($num=$cur
1. safe to assume that there is a column named nombre?
2. try using index numbers instead, i.e;, instead of $myrow(nombre),
try $myrow(1)...
Fernando Gonzalez wrote:
Thanks, but it wont work.
I have eliminate the space but still the same message.
I have realized that the problem is below
on 6/24/01 7:23 PM, Fernando Gonzalez at [EMAIL PROTECTED] wrote:
I have eliminate the space but still the same message.
$myrow=mysql_fetch_array ($result);
Fatal error: Call to undefined function: array() in
/home/fergonza/mod_php4/index.php on line 18
I wonder if somehow you have an
Why not simply : [a-zA-Z0-9]+ that would match any sequence of letters or
numbers ?
- Mensaje original -
De: Jennifer Arcino Demeterio [EMAIL PROTECTED]
Para: [EMAIL PROTECTED]
Enviado: lundi 16 juillet 2001 04:35
Asunto: [PHP-DB] problem with regular expression
i have a script to
On Mon, Jul 16, 2001 at 10:41:15AM -0300, Thomas wrote:
- Mensaje original -
De: Jennifer Arcino Demeterio [EMAIL PROTECTED]
Para: [EMAIL PROTECTED]
Enviado: lundi 16 juillet 2001 04:35
Asunto: [PHP-DB] problem with regular expression
i have a script to identify if the input is a
Message-
// From: Tyrone Mills [mailto:[EMAIL PROTECTED]]
// Sent: Sunday, 29 April 2001 11:35 PM
// To: Greg Kelly; [EMAIL PROTECTED]
// Subject: RE: [PHP-DB] problem with functin newbie please help
//
//
// Hi Greg,
//
// In config.php, line 6 needs a semi-colon on the end. Try that
// and see
It not related to database. Anyway,
If you use $HTTP_SESSION_VARS, forget about session_(un)register(). (Do not use
them)
Just use $HTTP_SESSION_VARS. It's known issue.
(If you use global vars, only use global vars and use session_(un)register())
Regards,
--
Yasuo Ohgaki
Nicolas Guilhot
When a user fills out a form field that includes an apostrophe ex. Jen's ,
the verify screen shows it as Jen\'s and it
That's because magic_quotes_gpc is enabled in your php.ini file. You can
turn this off if you wish, or simply do a stripslashes() on the string
you are displaying.
is then
Try stripslashes(fieldname) to "unescape" those slashes when retieving from DB
Phil J.
Jennifer Arcino Demeterio wrote:
Hello all,
I am having a problem in inserting text with apostrophe to mysql database.
When a user fills out a form field that includes an apostrophe ex. Jen's ,
Use sessions
begin script2.php - the form processor like this
session_start();
session_register('variable');
session_register('another_variable');
$variable = $valueyouwanttostore;
$another_variable = $anothervaluetostore;
just register any variable name, notice, there is no "$" when
You shouldn't trust any inputs from users.
This section of PHP manual may be useful.
http://jp.php.net/manual/en/security.php
http://jp.php.net/manual/en/security.variables.php
http://jp.php.net/manual/en/function.addslashes.php
You may need to write your own addslashes and stripslashes depends
You've misplaced a "$date" variable instead of $datum, $date has no value .
HTH
Jayme.
-Mensagem Original-
De: Florian Poppele [EMAIL PROTECTED]
Para: [EMAIL PROTECTED]
Enviada em: domingo, 25 de maro de 2001 10:26
Assunto: [PHP-DB] problem with writing date/time into db
Just
I got version 1.48. (standard in 4.04pl1)
but i got the same problem.
any solutions?
Klaas
"Lutz Brueckner" [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
"Jarek Zgoda" [EMAIL PROTECTED] wrote:
Make sure that you are using a recent version of the interbase
module. phpinfo()
Hello!
I have a problem with a mysql query!
after the query the result variable is "resource id 2"
what is wrong!
Nothing.
Read the manual, even the mysq_fetch_array($result) function.
Mage
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
On Fri, Jan 12, 2001 at 11:23:50PM +0100, Victor Foitzik wrote :
I read in the FAQ that if MySql libs are linked with pthread, pthread
should be removed from mysql libs to apache get started.
I'm having also some problems with oracle too; can you
point me to the FAQ where you read
I have one row, in which long text field takes about 5100 bytes. PHP
can't print page with this text, but don't give me any error messages
(other texts, 4096, are printed correctly). Printing this row work
correctly in ASP.
I change config value uodbc.defaultrl from 4096 to 8192, but it
301 - 350 of 350 matches
Mail list logo