On Sunday 18 August 2002 04:22 pm, you wrote:
I have a field in a form which allows user to upload thier biographys.Once
they upload a bunch of texts,the script I wrote automatically show it on a
webpage, however, the contents are all scrambled toghther without line
break and formatting..
MUDAR DE OPERADOR E MANTER O SEU NUMERO DE TELEMOVEL
-Mensagem original-
De: Ivan Santos [mailto:[EMAIL PROTECTED]]
Enviada: segunda-feira, 19 de Agosto de 2002 12:15
Para: '[EMAIL PROTECTED]'
Assunto: MUDAR DE OPERADOR E MANTER O SEU NUMERO DE TELEMOVEL
Está descontente com o seu
Please forgive me, but Im more versed in FreeBSD than winXP.
WinXP is on my laptop for dev purposes.
When I installed mysql, I created a database and user with the name
'crash' via the command line client like so
--
grant insert, delete, update, select, create, alter, drop on
It sounds like you want to use the nl2br() function. That will convert
the new lines to HTML line breaks and give you the paragraphs that the
user put in.
On Sunday, August 18, 2002, at 04:22 PM, bo wrote:
I have a field in a form which allows user to upload thier
biographys.Once
they
in my form i'm accepting news text from user. (user has to copy news from
other sites and paste it in that field in the form) then i insert it in
database. when i retrieve it and display again, i want it should be printed
along with formatting which was in the original news that user had
i'm using php with mysql. some tables in database have date fields for which
i have not set any default value. while displaying the values from tables,
if any record has null value for date field then it displays 0-00-00.
what i need to do to display null value or spaces instead of zeros.
set a default value that isn't possible (like -99-99 99:99:99) and
then have an if statement saying if ( $row[date] == '-99-99 99:99:99'
) { $row[date] = '';}
Adam
On Mon, 19 Aug 2002, Smita Manohar wrote:
i'm using php with mysql. some tables in database have
Hi.
Try re-GRANTing the rights for user 'crash' and after you've done that,
run 'flush PRIVILIGES'. Atleast on my winxp box it does the trick.
-Joni-
--
// Joni Järvinen
// [EMAIL PROTECTED]
// http://www.reactorbox.org/~wandu
Gerard Samuel [EMAIL PROTECTED] wrote in message
[EMAIL
Gerard,
No need for an apology, but what permissions do you have set on the FreeBSD
box? Quite frankly I'd have to haul out all the stuff on MySQL security and
re-read it. Maybe that would be a good place to start, particularly if
there are different methods/base requirements for XP and BSD.
Is it possible to use Cache 4.1 objects in PHP? I can access to Cache
database with ODBC drivers, but I want use object inteface like
Cache-Java...
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i was curious as to which methods you are authenticating your users?
for example, i'm using apache, mysql and php in a win2k box. i want to maintain my
own table of users and authenticate from that.
do you have a single user with just enough rights do a SELECT? and then have another
account
I have php on win2k with sql server and IIS, I use Active Directory for all my
authentications, and integrated authentication for database access. I think it works
great! My users don't even have to enter a username and password, it is all based on
what they logged into their system as. I did
I'm using:
- apache-1.3.22
- mysql-3.23.49a
- php-4.0.6
- Linux Red Hat 7.2
I have a piece of code that does this:
for ($i=0; $i $brute_queries_max; $i++) {
$q = $brute_queries[$i];
$q = SELECT COUNT(*) . $q;
$res = mysql_query($q)
or die(in $host database,
13 matches
Mail list logo