if you require the file before calling mysql_connect(),
the $user is set to $email.
this means you are connecting to mysql using the username set in $email. you
get access denied error because you use the wrong username or password to
connect to mysql.
before calling mysql_connect try echo the
How can i insert a file on a mail, with the command mail()? It is
possible?
Cumprimentos
Bruno Pereira
[EMAIL PROTECTED]
-Original Message-
From: Bruno Pereira [mailto:[EMAIL PROTECTED]]
Sent: quarta-feira, 15 de Janeiro de 2003 14:48
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject:
I get the following when loading a php file created by Dreamweaver MX using MySQL
database and php.
Fatal error: Failed opening required 'Connections/addrbk.php'
(include_path='.:/php/includes:/usr/share/pear') in /var/www/html/addrbk/frmAddr.php
on line 1
For the include_path I've used
hi
XP+IIS5.1+PHP4.3+ORACLE9.2(client)
?php
if (empty($offset) || $offset 0)
$offset=0;
}
$limit = 3;
$conn = OCILogon(userid, userpasswd, SID);
if (!$conn)
echo h1ERROR - Could not connect to Oracle/h1;
exit;
}
$sql = Select count(*) from t1;
$stmt = OCIParse($conn, $sql);
if(!$stmt)
echo
Hi,
My HTML pages created with php scripts contain images and Flash animation.
I would like never find in the cache browser these components .
I have put at the the begining of my pages this script!
?php
header(Expires: Mon, 26 Jul 1997 05:00:00 GMT); // Date du passé
Jon
Based on your include path does the script exist in any of these locations
on your server?
= /var/www/html/addrbk/Connections/addrbk.php or
= /php/includes/Connections/addrbk.php
= /usr/share/pear/Connections/addrbk.php
If not then that's your problem, else you need to start looking at
On mine its just
$valor1$valor2
Mark Snijders [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
om...
with a dot
$valor=$valor1 . . $valor2
:-)
-Original Message-
From: Bruno Pereira [mailto:[EMAIL PROTECTED]]
Sent: woensdag 15 januari 2003 15:48
Cc: [EMAIL
Mine is as follows
$valor = $valor1.$valor2;
or
$valor = $valor1$valor2;
-Original Message-
From: Fred Wright [mailto:[EMAIL PROTECTED]]
Sent: 16 January 2003 11:54
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Concatenate two strings
On mine its just
$valor1$valor2
Mark Snijders
Under Unix I don't know that this is possible, but hopefully someone
else will know of a way. I would love to be able to e-mail some Excel files
that I generate with a Perl cron job, but there does not appear to be any
practical way to do this in Unix.
-Original Message-
From:
Unix has nothing to do with it, the mail command in PHP on unix is the same mail command
in PHP on windows. If you want to use attachments you need to use a class like phpMimeEmail
or whatever it's called go to phpclasses.org, it's on there somewhere.
On Thu, 2003-01-16 at 09:33, NIPP,
Thanks once again. I finally figured this out late yesterday. I
have no idea as to why whoever wrote this calendar to begin with did it this
way. On suggestion I have for anyone looking at a calendar system to use or
modify is to absolutely NOT use phpCommunityCalendar. This is a very
I was referred to this class and it works great. I had a page that
generated a leave form (based on the users info) and e-mailed the form as an
attachement to the users supervisor.
http://phpmailer.sourceforge.net/
Eddie
-Original Message-
From: NIPP, SCOTT V (SBCSI) [mailto:[EMAIL
Thank you very much for the idea!! I've controlled
that before but it seemed to be all right... I'll try
again!! Could it be that th body and one of the tables is
in a function and the rest is in the main stript?
Thank you very much for your time!!!
On Thu, 16 Jan 2003 15:10:31 +0800
Apologies if you saw this on php-general already...
Give about 1 MILLION sets of 1 to ~20 integers such as:
(15, 42, 57, 314, 1024)
I need to be able to compare any two sets and determine if any of their
elements are within, say, 20 of each other.
Example:
(10, 100, 1000) CLOSETO (50, 150,
I know (NOW!) that I shouldn't have installed PHP or Apache in a
directory where there is a space in the path string (Like H:\program
files\,mydir\.) But I really don't want to have to reinstall everthing
to fix the problem.
I'm running PHP with Apache as a local host on my Win XP system, but I
Hi folks...
I've a small problem working out the best method of reading data from a
mySQL database with PHP...
The table is a simple self-referential table constructed (loosely) as
follows:
cat_id integer unique
cat_namestring
cat_parent integer (points to a cat_id or 0 if no
Hello PHP
world!!! i've just finisched installing Apache 1.3.27 with PHP4 and 1.4 in
Windows 2000. I've installed all off the scripts that function all right in
Linux Red Hat in Windows 2000, but when it comes to do a simple select to a
table that does exist and the select is all right
- Original Message -
From: Sabina A. Schneider
To: Wee Keat (VisualDensity]
Sent: 17 January, 2003 4:38 PM
Subject: Re: [PHP-DB] SELECT problem
Yes!!! Sorry!!! Here it is:
$con=conectar(0,$s_conectado_ctr);
/*Validacion de usuario*/
$sql=SELECT password FROM usuario_sistema
try put the following line right after you call mysql_query():
echo mysql_error();
see what's the error.
Foong
Sabina A. Schneider [EMAIL PROTECTED] wrote in message
001001c2bde8$de3c95d0$489346c8@mansa">news:001001c2bde8$de3c95d0$489346c8@mansa...
Hello PHP world!!! i've just finisched
did you compile php with mysql support?
foong
Daniel Elenius [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi!
I'm trying to connect to my mysql database using something like
mysql_connect( 'localhost', 'root', 'thepassword' )
or die ( 'Unable
Hi,
In my application I am passing a date field to the postgres stored
procedure. The problem is when the date field is blank.
My code is like this :
-
THBill Date:/TH
TD
INPUT TYPE=text NAME=txtBillDate
VALUE=? echo
21 matches
Mail list logo