I have a problem with a form on my website.
it's part of a shopping cart application, whereby the form consists of a list of
products and the user enters the quantity they require of each product in the field
provided. Everything works okay except for the fact that if someone hits the submit
go to http://www.php.net/manual/en/ref.filesystem.php and read up on things
like fopen, fclose, etc. This will explain how to write to any kind of file
including htpasswd files if necessary.
Good Luck
Derek
- Original Message -
From: "Gary" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Se
to be a slow PHP script
that's the problem.
Hope this helps,
Derek
- Original Message -
From: "Daniel Alsén" <[EMAIL PROTECTED]>
To: "Derek Mailer" <[EMAIL PROTECTED]>
Sent: Thursday, October 25, 2001 11:45 AM
Subject: RE: [PHP] Re: Loading message
I suspect that PHP does all of it's work and, only when complete, will it
send the generated html to the client.
No matter what you try and do there's no way you can output the progress of
your script to the browser while it is still being parsed.
I could be wrong, but this is my understanding o
If this suggestion isn't what you're after then it's probably because I
don't fully understand your problem, but here goes...
if you are simply replacing an old password with a new one in a directory
entry you don't need to delete and then add; instead you would use...
ldap_mod_replace to replac
particular
application.
Cheers the noo,
Derek
- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Karina" <[EMAIL PROTECTED]>
Cc: "Derek Mailer" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, October 03, 2001
I'm not sure I fully understand the problem, but I think I can have a guess
at it based on my past experiences...
if you have a php page that starts a session with session_start() and, say
for example, you then try and echo the session id with session_id() it will
not be displayed on screen until
what's the error you're getting now?
if you aren't getting any error, but it just isn't working try something
like...(note that I haven't tested this code).
$drop_down_list = "";
$link = mysql_connect ('localhost', '', '')
or die ("Could not select db");
mysql_select_db ('Heronsql')
or
oops...I was going to add...
2) -
$result = mysql_query($query, $mysql_link);
doesn't require the $mysql_link argument, try
$result = mysql_query($query);
Another general comment is that you have copied a bit of your code that
seems to include the root password to mysql. Not a good idea - yo
A couple of things about the code...
1) -
mysql_connect ('localhost', 'root', 'monty');
should be
$mysql_link = mysql_connect ('localhost', 'root', 'monty');
2) -
You only pass
you can read more about it all and copy and adapt the code snippter from
http://www.php.net/manual/en/ref.mysql.
10 matches
Mail list logo