Hi,
Okay I created a user/pass login area. I created the following code. Now I
want the secure area to send a cookie to the users PC we can track so I can
make multiple pages without the need for the user to login to each page
individually. I want to know what is the best method/code
$_SESSION is better than $_COOKIE ( more secure)
Bastien
From: JeRRy [EMAIL PROTECTED]
To: php-db@lists.php.net
Subject: [PHP-DB] PHP login with MYSQL Question?
Date: Fri, 18 Nov 2005 22:34:08 +1100 (EST)
Hi,
Okay I created a user/pass login area. I created the following code.
Now I
the script I am using can upload images like, jpg, gif or png to the server,
but it can't upload music file to the server like ram and rm.
any help?
show code, maybe checks are being done to only allow images or certain
extensions...
Bastien
From: Mohamed Yusuf [EMAIL PROTECTED]
To: php-db@lists.php.net
Subject: [PHP-DB] Can't Upload ram file
Date: Fri, 18 Nov 2005 06:19:24 -0800
the script I am using can upload images like, jpg, gif
?
$uploadDir = 'media/';
if(isset($_POST['upload']))
{
$fileName = $_FILES['userfile']['name'];
$tmpName = $_FILES['userfile']['tmp_name'];
$fileSize = $_FILES['userfile']['size'];
$fileType = $_FILES['userfile']['type'];
// the files will be saved in filePath
$filePath = $uploadDir . $fileName;
here is the code
?
$uploadDir = 'media/';
if(isset($_POST['upload']))
{
$fileName = $_FILES['userfile']['name'];
$tmpName = $_FILES['userfile']['tmp_name'];
$fileSize = $_FILES['userfile']['size'];
$fileType = $_FILES['userfile']['type'];
// the files will be saved in filePath
$filePath =
Perhaps it's not file type that is the problem, but file size?
-Micah
On Friday 18 November 2005 6:19 am, Mohamed Yusuf wrote:
the script I am using can upload images like, jpg, gif or png to the
server, but it can't upload music file to the server like ram and rm.
any help?
--
PHP
Hi Guys,
I'm using PHP with MySQL data to send a very important email to clients when
they enter the recipients email address into the system. On the whole it
works for ME, to either my yahoo email address or any of my own domains
email addresses that I have,
However, when my WIFE gets it
you're not setting the mime types correctly, and your boss probably has some
spam filter that tosses incorrect email.
I suggest using the PEAR Mail extension, it will automatically set this all up
for you. It's very easy and nice to use.
-Micah
On Friday 18 November 2005 10:32 am, Chris
try phpmailer
Note, check with your host to ensure they have a proper domain to send the
emails from that matches your site...many MTAs now kill mails from localhost
or a host that doens't match the orgiinal domain
bastien
From: Chris Payne [EMAIL PROTECTED]
To: php-db@lists.php.net
HI there everyone,
I have a file upload system where you select via requester the file to
upload, it then uploads it with PHP and stores the info in a MySQL database.
Is there an interface / programming method I can use which I can DRAG a file
from the desktop into an area in a form just as if
11 matches
Mail list logo