Try move_uploaded_file()
Jochem
J . Keith Tew wrote:
I know this is not technically a DB question but thought someone may be
able to help with this. I have tried everything I could think of to make
this script work but I keep getting the error message below. I've even
changed the permissions
Check your files size resriction. It seems the file is not even leaving
the client.
input type=hidden name=MAX_FILE_SIZE value= 1000
1000 = 1K
Ric
J . Keith Tew wrote:
I know this is not technically a DB question but thought someone may
be able to help with this. I have tried
Forget hidden form
all you have to do is to insert in javascript code php code like this:
?php
$variable1=1234;
$variable2=87;
?
.
script
...
weight=?php echo $variable1; ?
height=?php echo $variable2; ?
..and so on
/script
it's simple no???
i hope it's good for your needs
hi All,
how can i connect to mysql via SSL connection using mysql_connect() in php 4.3.0? i
have generated all the certificates necessary and i was able to connect to mysql
server via the bin/mysql command line options (below).
bin/mysql -h localhost --ssl-cert=host.crt --ssl-key=host.key -u
-Original Message-
From: Sabina Alejandr Schneider [mailto:[EMAIL PROTECTED]]
Sent: 05 January 2003 20:17
Hello everybody
I was trying to use Sessions, but I had some problems.
I have an old version of the Apache, that comes with the
Red Hat 7.2.
when executing this in
OK, guys, thanks!! I'll try it and then I'll tell you!!!
Fernando Bernain
Senior A
Business Process Outsourcing
KPMG Argentina
Tel: 54 11 4316 5754
Fax: 54 11 4316 5734
[EMAIL PROTECTED]
-Original Message-
From: Peter Lovatt [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 03, 2003
I dont know if its the best solution, but I made a function that cut the
date:
function sqldate($fecha) {
$dia=substr($fecha,0,2);
$mes=substr($fecha,3,2);
$anio=substr($fecha,6,4);
$fechasql=$anio./.$mes./.$dia;
return $fechasql;
Hi there,
Hope someone can help me with this.
I need to connect to a MS SQL database but my attemps fail once and again.
This is the error message I get when try to connect:
Fatal error: Call to undefined function: mssql_connect() in
/var/www/htdocs/DB_conn.php on line 8
The script is very
I need to print an integer varible using this format '', I mean it always have to
show four digits. How can I do that?
Thanks,
Martin.
You can specify a padding character and length with printf
www.php.net/printf
---John Holmes...
- Original Message -
From: Martín Agüero [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 06, 2003 9:52 AM
Subject: [PHP-DB] Help about printing an integer variable
I need to
something like
printf(%+4d, $int_var);
Andrey
- Original Message -
From: Martín Agüero [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 06, 2003 4:52 PM
Subject: [PHP-DB] Help about printing an integer variable
I need to print an integer varible using this format '',
Alternatively you could use str_pad()
Regards,
Lukas Smith
[EMAIL PROTECTED]
___
BackendMedia
www.backendmedia.com
[EMAIL PROTECTED]
Linn Zwoch Smith GbR
Reuchlinstr. 10-11 Raum 4.1.6
D-10553 Berlin (Tiergarten)
Tel +49 30 83 22 50 00
Fax +49 30 83 22 50 07
This is a variation to similar string earlier. Have been checking
books, online manuals, suggestions here - tutorials and such.
Having issues passing arrays in forms. I have been working on this a few
days and am stuck. Am trying to pass cat[] and id[] with whatever
checkbox user checks. cat[]
At www.download.com I located PHP Triad, but I'm a bit nervous, although
the overall ratings for the package are high. Here are my concerns:
1) Some people couldn't install it all.
2) Apparently it MUST be installed on drive C. While I have over 500
MB in C:,
it's merely my boot drive
On Tuesday 07 January 2003 00:23, Mignon Hunter wrote:
This is a variation to similar string earlier. Have been checking
books, online manuals, suggestions here - tutorials and such.
Having issues passing arrays in forms. I have been working on this a few
days and am stuck. Am trying to
I'm working with MSSQL7.0 Apache 1.3.19 and PHP4.2.3
When I select a table with this kind of characters: ó The output is ¢...
I have the same problem with the others vocals (á-é-í-ú)
What can I do??? Forgot the spanish???
Fernando Bernain
Senior A
Business Process Outsourcing
KPMG
Fernando,
try to store you data in unicode (utf8) for example.
You iconv to transform if it is needed.
Andrey
- Original Message -
From: Bernain, Fernando G. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 06, 2003 7:25 PM
Subject: [PHP-DB] Special characters
I'm
I can't modify the character set of my MSSQL...
(Character Set = 1, iso_1 ISO 8859-1 (Latin-1) - Western European 8-bit
character set.)
And I NEDD the á-é-í-ó-ú-ñ
Any idea?
Fernando Bernain
Senior A
Business Process Outsourcing
KPMG Argentina
Tel: 54 11 4316 5754
Fax: 54 11 4316 5734
Fernando,
I don't mean you to change the set of your db.
I use mysql, it has char(), and I store utf-8 encoded strings. Every utf8
encoded string is made of bytes and every byte can be entered. I don't want
to tell that this will work in your case but it won't hurt. iconv extension
is good to
Hi
With PHP 4.3.0 you can use --with-mssql (it looks for freetds in
/usr/local/freetds by default). Then you can use the mssql.* settings in
php.ini. When you compile using --with-sybase you would have to use the
sybase.* settings in php.ini, as that is the extension you would be
using.
You
I have a relational database issue that I'll simplify for the sake of
this post. I have one table, called clients, that has an id and the
company name. For example:
id
|
company
---
46
Jones Inc.
54
Baker Inc.
etc.
I have another table called projects, that looks
At 16:09 06/01/2003 06/01/2003, Doug Parker wrote:
I have a relational database issue that I'll simplify for the sake of this
post. [...] So it would be like this:
id | company_id | status| company
1
Robert,
I've only played with the package, and had no trouble installing it on
Windows XP. I did install it on my C: drive, but I see no reason (unless
there is something I missed in the documentation) why a simple edit of the
configuration files wouldn't change that ...
I would pretty much sum
At 04:09 PM 1/6/03 -0500, Doug Parker wrote:
I have a relational database issue that I'll simplify for the sake of this
post. I have one table, called clients, that has an id and the company
name. For example:
id | company
---
46 Jones Inc.
54 Baker Inc.
etc.
Robert Wagner wrote:
At www.download.com I located PHP Triad, but I'm a bit nervous, although
the overall ratings for the package are high. Here are my concerns:
1) Some people couldn't install it all.
2) Apparently it MUST be installed on drive C. While I have over 500
MB in C:,
it's
This is a bit of a newbie question, but I couldn't find what I wanted
in
the documentation.
Is there any way to set the time format so that any time values in my
SELECT call are in a speicified format (e.g., HH:MM instead of
HH:MM:SS).
Basically I've got a table of a variety of different
Thanks folks - persistence pays off and so does group discussions . I
had chmodded the uploads directory to 777 but it was within the
public_html directory with different file permissions so I guess
public_html permissions were taking presidence. After reading all of
your suggestions... a
27 matches
Mail list logo