Hi
I'm trying to use the following simple script to set cookies but get the
following error message
cannot add header information - headers are already sent by(output started
at c:\program files\php home edition 2\www\listing19.1.php:3) in c:\program
files\php home edition
Hi,
everyone know how to upload files from the browser to your web server using
multipart-form method with move_downloaded_file() php function.
But... It's a slow method for multiple files huge files transfert.
I'm currently working on a big photo album tool, and I want to provide user
the
Hi,
I had the same problem with traditional Chinese Big5.
I tried two different php classes, the subject line
still didn't change. I have not tried mimemessage
class.
This is what I did to make it work. I first convert
the subject in Chinese to base64 encoding. Then I
assigned
Hi!
If you search for 4images on hotscripts.com (php section ofcourse),
you will find an image gallerey with the function you ask for, multiple
image uploads,
there you can upload a total of 10 images at the same time :) But I havent
had the
time to look at the code yet, just know it works :)
on 10/15/02 12:29 AM, CK Raju at [EMAIL PROTECTED] appended the following
bits to my mbox:
Reports of US annexing Iraq appears to be highly disturbing. The oil
If (!preg_match('/php/',$message_body)) {
redirect_message('/dev/null');
}
--
PHP Database Mailing List
Hi everybody,
I have set up a connection to an Oracle database using OCILogon. In general that
works, but frequently (without a clear pattern) it does not.
I know that the performance of the network is variying very much (tsnping takes
between 20ms up to hundreds of ms).
Does someone know
Hi I'm trying to print the contents of a cookie (php 4.2.3) the syntax below
is wrong but what should it be?
if ($_cookie[cookiename]== TRUE) {
echopyour cookie is $_COOKIE[cookiename]/p;
}
Regards
Steve Dodkins
IMPORTANT NOTICE The information in this e-mail is confidential and should
only
I belive $_cookie is different then $_COOKIE
Jeff
Steve Dodkins
Here ya go..
if ($_cookie[cookiename]) {
echopyour cookie is.$_COOKIE['cookiename']./p;
}
Cheers
Simon
-Original Message-
From: Steve Dodkins [mailto:[EMAIL PROTECTED]]
Sent: 15 October 2002 15:22
To: Php-Db (E-mail)
Subject: [PHP-DB] echo printing a cookie
Hi I'm trying to
If (isset($_COOKIE[cookiename]) {
echo 'Your cookie is: '.$_COOKIE[cookiename].' br';
}
-Original Message-
From: Steve Dodkins [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 9:22 AM
To: Php-Db (E-mail)
Subject: [PHP-DB] echo printing a cookie
Hi I'm trying to
-Original Message-
From: Steve Dodkins [mailto:[EMAIL PROTECTED]]
Sent: 15 October 2002 14:22
To: Php-Db (E-mail)
Hi I'm trying to print the contents of a cookie (php 4.2.3)
the syntax below
is wrong but what should it be?
if ($_cookie[cookiename]== TRUE) {
echopyour cookie
Hi People.
I need import some data from a Paradox table, i used the script below, it worked just
fine..but all the data was imported without the ç or á or é , understand???
portuguese words all this changes to some wierd caracter is there a way to fix
this, since my table is
On Tue, Oct 15, 2002 at 03:10:20PM +0200, [EMAIL PROTECTED] wrote:
Hi everybody,
I have set up a connection to an Oracle database using OCILogon. In general that
works, but frequently (without a clear pattern) it does not.
I know that the performance of the network is variying very much
We have plenty of PHP pages that select and display data (read: SELECT permissions
only). Looking to have laboratories submit their samples via browser/PHP (read:
INSERT permissions). SQL Server 7.0 back end.
Need some direction here on security where to's and how to's before I take off on
a
How can I allow the user to upload images to a php website and have the
image stored in the mysql db?
Thanks,
Eddie
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This has been asked many times before, but unless you have a really good
reason for storing the image in the database, don't. Instead, upload the
image file to a directory on the server and store the URL to the image in
the database. Fewer db resources are consumed.
-Original
to upload use copy and the $_FILES array. then around mysql, I tend to
store the path in mysql and the images on the server. I personally don't
like to work with blobs and don't think it makes as much sense as they do
on the server. the space they take up in the db seems like a waste.
my
thanks Jeff and Richard, I will give that a shot. Jeff, I see you aren't to
far from here if you work at Keane, I live in NH.
thanks again,
Eddie
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 2:59 PM
To: Edward Peloke
Cc: [EMAIL
I am in the process of upgrading my UNIX hardware and moving web sites from
two different servers on to one server. I am curious as to opinions about
moving/replicating the databases and peoples experiences. For the two that
i have already done, i have taken a rather manual approach which was
Hi,
I've taken a look at theses scripts but, they also works with the standard
multipart-form data method...
I don't want to use this because it's too long for users when you try to
upload multiple huge files..
I'm looking for a tool or script that could work like a direct ftp browser
where you
Hi People,.
I have a problem with HTTP-Authentication, i have 2 users in my
database, and i want both to be able to login. However it works, but
only the first user is able to login. I Use a MySQL 3.23.xx database,
PHP 4.2.3 and Apache 2.0.40. Can anyone help me with this, any help
would be
Hi,
a simple question.. :)
how do you do ?
You can use 2 methods :
with a .htaccess file on your webserver, updated with your table fields
or a direct authentification with http headers and a little bit of php...
Tell me more? may be I could help you.
Regards,
P.E. Baroiller
Davy Obdam [EMAIL
On Wednesday 16 October 2002 03:14, [EMAIL PROTECTED] wrote:
I am in the process of upgrading my UNIX hardware and moving web sites from
two different servers on to one server. I am curious as to opinions about
moving/replicating the databases and peoples experiences. For the two that
i
Hi There,
Hi,
a simple question.. :)
how do you do ?
I am doing fine, thanks ;-). How are u?
You can use 2 methods :
with a .htaccess file on your webserver, updated with your
table fields or a direct authentification with http headers
and a little bit of php... Tell me more? may be
hello,
you can do it this way (using mysql):
?php
/*
create table images(
img_id int(4) NOT NULL auto_increment,
img_name varchar(60),
img_file_type varchar(10),
img_content blob,
PRIMARY KEY (img_id)
) TYPE=MyISAM;
*/
if (empty($imgfile) or $go!==uploadimg)
{
// Generate the form to upload the
At 03:14 PM 10/15/02 -0400, [EMAIL PROTECTED] wrote:
I am in the process of upgrading my UNIX hardware and moving web sites from
two different servers on to one server. I am curious as to opinions about
moving/replicating the databases and peoples experiences. For the two that
i have already
Ok.
It may works with some little correction :
in you function CheckPwd...
You get loginname,password in your query but, you look at loginnaam and
passwod in your $sql array..
one of theses :loginname or loginnaam is not the good field :)
after this, you check if user OR password ...
It would be
on 10/15/02 4:11 PM, BAROILLER at [EMAIL PROTECTED] appended the
following bits to my mbox:
No one have an idea ?
Maybe it's because this isn't really database related and you posted to the
PHP-DB list instead of PHP-GENERAL?
I don't want to use this because it's too long for users when you
thanks guys. that is how i planned to do it, but i wanted to hear this
from others. This is how i accomplished the other two moves. sometimes
you just want to see if anyone has a better way. and the file copy method
just seems to easy, it almost seems wrong ;-), but it doesn't stop me from
Use SmartFtp
connect ot your website
open the directory
open windows explorer
open the directory and the files you want to upload
drag and drop to Smart Ftp.
I you want to drop in to www or htdocs, simply double click on htdocs
or...www
Then select the complete directory of files and folders that
Oops sorry for never testing before sending :P the script works fine
but there is a little change, there is a hiddent should be changed to hidden
in the form ;)
that's all,
enjoy
- Original Message -
From: Hatem Ben [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 15, 2002
Because there is no complete code, I'm not sure, but I think:
you already have code above the cookie. The cookie has to come before any
other:
e.a.
1 ?PHP
2cookie
3 ?
4 HTML
5 HEAD
etc.
Jacco
Steve Dodkins [EMAIL PROTECTED] wrote in message
Hi everyone,
I know the answer: get a payed host.
question, I'm looking for a FREE MySQL provider. I already have PHP support,
just no MySQL, so anything will do now.
Thank you,
Jacco
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you don't want to use HTML, then you'll have to use a Java, C/C++,
etc... type program...
---John Holmes...
-Original Message-
From: BAROILLER [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 4:12 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Re: file upload and php (Not
Have you considered some kind of solution using FTP? I don't know exactly
how you would integrate that with PHP, but it's an option that is more
suited to transferring large files.
You might be able to set up a link from one of your pages and use PHP and/or
a database solution to authenticate
Is it possible to hotlink a MySQL database?
my site location is different then my MySQL location. (or at least a site).
Is it possible to use the database for both sites or should I set up the
database at both locations?
The reason for asking is that one of the locations doesn't provide MySQL
Is it possible to hotlink a MySQL database?
my site location is different then my MySQL location. (or at least a
site).
Is it possible to use the database for both sites or should I set up
the
database at both locations?
The reason for asking is that one of the locations doesn't provide
At 07:55 PM 10/15/2002 +0200, Seabird wrote:
yes - just specify the hostname that your mysql DB resides on. And make
sure that your mysql users is allowed to connect from the host that your
APP or page or whatever is on.
~kurth
Is it possible to hotlink a MySQL database?
my site location
I am in need of connecting to seperate MSSQL databases (two seperate
hosts even). When I attempt this, the second one always seems to
segfualt Apache (and thus returns no data. Has anyone succeeded in
connecting to two datasources in the same PHP script?
I am running...
FreeTDS 0.53
Apache
We have had two or more MySQL datasources in the same PHP script on a few
different sites. Can't really tell you much though as we didn't do anything
out of the norm to do it. Just connected to them.
Thought you might like reassurance that it has been done.
Cheers,
Owen Prime
Thanks...while I was awaiting responses, I thought I would investigate this
further as this problem arose just right before the end of work
Well, I am a big moron :) It was a coding error, and not a problem with
anything else. I am polling the needed information for the database connection
Hi everyone,
as a pilot in difficult times, I'm not in the position to pay for my
webhosting. My solution that I have right now is less then desirable, as I
have either PHP support and no ads, or PHP and MySQL (limit one DB) with
pop-up ads.
I'm looking for a place that is willing to provide me
Passing string variable to HTML TITLE tag fails within
Netscape but workwell within IE.I have a single page consisting of
inventory items to be sold. When an itemis selected, it passes the product
name to a DETAIL page as part of theTITLE tag for the DETAIL page. My
problem is: Netscape
On Tue, 2002-10-15 at 15:31, [EMAIL PROTECTED] wrote:
and the file copy method
just seems to easy, it almost seems wrong ;-),
This is a feature that is pretty nice about MySQL. You cannot do this
with Postgres, which caused my quite a few nice headaches over the
summer. You must dump the
I know and use a very good one, if you can understand French: www.ovh.net
Free PHP, MySQL, XSLT support.
Ignatius
- Original Message -
From: Seabird [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 15, 2002 9:46 PM
Subject:
45 matches
Mail list logo