I did not try it yet .. but I will
Manuel Lemos [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
Dre wrote:
Thanks Manuel, I will check the class
and here is the code of the mail sending script
//==
?php
Hi,
I'm trying to send a mail with attachment, using mail() fucntion ..
the mail is sent with the attached file, but when I open my mail box to
check the mail I sent using my script, I find the normal text contents and
the attachment displayed as text too !!!
ex. if I attached a document, it will
Hi,
I need to make sessions work in my local machine .. I'm using Apache 2.0.49
on WINDOWS XP PRO.
my php.ini sessions section is
session.save_handler = files
session.save_path = C:\php4\tmp
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 1
session.cookie_lifetime = 0
] wrote in message
news:[EMAIL PROTECTED]
Hello,
Dre wrote:
I'm trying to send a mail with attachment, using mail() fucntion ..
the mail is sent with the attached file, but when I open my mail box to
check the mail I sent using my script, I find the normal text contents
and
the attachment
if u can give me an instance of a writable path it would be great.
and yes the data do not get saved and I can not run any thing that depends
on sessions as they do not get registered
Raditha Dissanayake [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dre wrote:
Hi,
I need to make
Hi
I have a strange problem that I can not figure out how to solve ..
I'm trying to save some data into a regular mySQL database table by using a
normal php
insertion script but I'm trying to save Arabic Text and here comes the
problem ..
When I'm performing the insertion by writing the actual
the variables I'm using are sent correctly from the html form to the page
contains the insertion script .. and both of these pages has the same
encoding
Dre [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi
I have a strange problem that I can not figure out how to solve ..
I'm
no I did this a long time ago
(I did have this problem before :o) )
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dre wrote:
and by the way ..
I'm using MS Windows XP Pro. which I do believe that it has some hand in
the
problem :)
Like you did not change
Hi ..
I'm still working on my members login script.
I'm using a simple username/password login form that calls the following
login script
//=
?php session_start();
$username = trim(addslashes($_POST['user_name']));
$pass =
I really did
and it behaves the same
I tried isset() also but there is no good it still does not work !!!
Afan Pasalic [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Try use
if(empty($_SESSION['uname'])
instead
if($_SESSION['uname'] = = )
Afan
Dre wrote:
Hi ..
I'm
I really did
and it behaves the same
I tried isset() also but there is no good it still does not work !!!
Afan Pasalic [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Try use
if(empty($_SESSION['uname'])
instead
if($_SESSION['uname'] = = )
Afan
Dre wrote:
Hi ..
I'm
bewteen the ==
Hth, Andre
On Sunday 05 September 2004 11:23 am, Dre wrote:
I really did
and it behaves the same
I tried isset() also but there is no good it still does not work !!!
Afan Pasalic [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Try use
the equal signs, and it does not give any
errors, it just acts like if I'm not logged in
is there any settings in the php.ini that may affect this ?!!!
Dre [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi ..
I'm still working on my members login script.
I'm using a simple username
thanks
Torsten Roehr [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dre [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I really did
and it behaves the same
I tried isset() also but there is no good it still does not work !!!
Afan Pasalic [EMAIL PROTECTED
I added print_r($_SESSION); after the session start();
and the printed text was
Array( )
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I don't know why but session variables does not get posted .. is there any
thing in the php.ini that I should configure as
I can't find any thing wrong in the code I'm using !!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I do know this
and what happen is that the $_SESSION array become empty once I redirect
from the login page (after login) to another members' area page .. !!
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dre wrote:
I don't know why but session variables does
//
//
Dre [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I do know this
and what happen is that the $_SESSION array become empty once I redirect
from
and by the way ..
I'm using MS Windows XP Pro. which I do believe that it has some hand in the
problem :)
Dre [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I do know this
and what happen is that the $_SESSION array become empty once I redirect
from the login page (after login
yes I'm sure
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dre wrote:
snip
if((empty($_POST['user_name'])) || (empty($_POST['password'])))
{
header('Location: index.php');
include(login_form);
exit();
}
That include is useless, as you're
development environment .. so any help will be
appreciated.
Thanks in advance
Dre,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to the temp folder ???
Nick Wilson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
* and then Dre declared
Warning: session_start():
open(/tmp\sess_2984f6d378560d0882f37728dbe1defc,
O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache
Group\Apache2\htdocs\ELBA
thanks ..I won't use the session_register() again
Torsten Roehr [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dre [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
session_register('uname');
$_SESSION['uname'] = $username;
Hi Dre,
Nick already answered your
//=
Dre [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi
I'm trying to make a small login system on my website, I'm using
Apache 2.0.49 for testing locally
and PHP 4.3.4
on MS Windows XP Pro.
the login script is in the file logme_in.php shown
of the headers)
PHP notices that headers have already been sent! So it gives an error,
because it can't get them back and send them after the cookie again.
So, remove the spaces and/or newlines before the ?php tag to fix this.
Hope you get what to do now ;|
- Tul
Dre wrote:
thank u all ..
I really
YES .. THAT WAS THE PROBLEM
EVEN IF UR REPLY CAME A LITTLE LATE .. BUT THANKS ..
THE PHP was not reading my php.ini and it was using default settings
Mike Ford [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On 04 September 2004 10:15, Dre wrote:
Warning: session_start():
open
/.htaccess file.prepend setting)
Dre wrote:
YES .. THAT WAS THE PROBLEM
EVEN IF UR REPLY CAME A LITTLE LATE .. BUT THANKS ..
THE PHP was not reading my php.ini and it was using default settings
Mike Ford [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On 04 September 2004 10
I'm trying to upload a file using a form
the upload code I'm using is
//==
?php
// settings
$base_img_dir = http://localhost/app_images/;;
include(db.php);
// generate unique id for use in filename
$uniq =uniqid();
$filename =
thanks Jason .. it worked
thanks again
Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Saturday 04 September 2004 23:36, Dre wrote:
I'm trying to upload a file using a form
$base_img_dir = http://localhost/app_images/;;
The destination directory/file has
Hi,
I'm trying to perform a database insertion for a new record from data I
receive from a HTML form
I send the data to the file containing the insertion script and insert the
values using the $_POST['variable_name']
every thing works fine, and the record get inserted correctly
the problem is
thanks a lot
I will try to do this
Chris Shiflett [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
--- Dre [EMAIL PROTECTED] wrote:
I'm trying to perform a database insertion for a new record from
data I receive from a HTML form
I send the data to the file containing
/
--
Dre [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm using an Apache server .. doesn't it come with a sendmail program ??
I really don't know
Jasper Howard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
do you have a sendmail program on your testing
is down,mail func doesn't work.
My suggesstion:
Please work under UNIX systems.
Yours,Mohsen
--- Dre [EMAIL PROTECTED] wrote:
Hi
I was trying to use the mail() function, but it did
not work, maybe because
of some settings problem or something that I can't
figure out
I went online
Message-
From: Dre [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 01, 2004 6:48 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: mail() function problem
Sorry .. but I'm really so new at this
I'm using Apache Server on a MS Windows XP Pro. OS, and I'm
trying to send a mail
thanks ...
and I'm sorry for all of the dummy question .. I'm really new at this
thanks again
Dre,
Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Wednesday 01 September 2004 05:18, Dre wrote:
may I ask why is it inefficient ??
Yes.
Also you can goggle around a bit
]
//=
thanks in advance
Dre,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
]
//=
thanks in advance
Dre,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
?
--
--
Jasper Howard :: Database Administration
Velocity7
1.530.470.9292
http://www.Velocity7.com/
--
Dre [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi
I was trying to use the mail() function, but it did not work, maybe
Sorry .. but I'm really so new at this
I'm using Apache Server on a MS Windows XP Pro. OS, and I'm trying to send a
mail through a form ..
what do I need to install or configure to be able to do this.
thanks in advance
Dre [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I'm using
I got the idea .. and I will work on it
thanks a lot
Jim Grill [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dre wrote:
line 8 is ?php
just that .. and the code before it is the following
//==
html
head
may I ask why is it inefficient ??
thanks in advance
Raditha Dissanayake [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dre wrote:
Hi ..
I'm trying to save and view image files in a MySQL database, I made the
save
operation successfully, I stored the image file name, type, size
thanks .. I will search for it
Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Tuesday 31 August 2004 02:34, Dre wrote:
Cannot modify header information - headers already sent by
Search the archives or google (former would be better as latter would give
lots
line 18 is header(Content-type: $image);
Michal Migurski [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Everytime I try to execute this code I get this error
Warning: Cannot modify header information - headers already sent by
(output
started at C:\Program Files\Apache
//==
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dre wrote:
Hi ..
I'm trying to save and view image files in a MySQL database, I made the
save
operation successfully, I stored the image file name, type, size and the
image file itself
the problem occurred when I
Hi,
I'm kinda new at PHP and I was trying to install one of the mailing lists
and newsletter systems and during the installation process I got errors
evertime the session_start() function called ..
I had this before when I tried to work with OSCommerce.
Is there something wrong in my
the exact error messages are
==
Warning: session_start(): open(/tmp\sess_000c30790862f64268e755546b6fcbb2,
O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache
Thanks Chris ... problem solved, I'm sorry but these configuration details
is a bit new for me
Originally I'm a C++ programmer and web development is not my major kind of
work
Thanks again
Chris Martin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dre wrote:
the exact error
47 matches
Mail list logo