try this on the page you are trying to have the latest update from the db
and not front eh cache;
On Mon, 7 Oct 2002, Aitor wrote:
> Hi, I'm working on a PHP and mySQL website based but I have a problem refreshing the
>information of the webs. When I load/change information on the mySQL thr
what database are you using? that problem is a database connection from
your php to your db. i have been using the same as your for a couple of
months but i have no problem since my db is placed on my cygwin.its a
postgresql db.
On Thu, 3 Oct 2002, Pascal S. wrote:
> I have version 4.2.3 of P
its better you use php on your iis 5.
it is much stable and much faster.
__
boggss
On Thu, 3 Oct 2002, Uttam wrote:
> this is due to 'register_globals' is off by default in php 4. this is for
> security reasons. pls. use $game as $_GET['game']. alternatively you can
> turn on 'register_g
php-windows Digest 8 Oct 2002 00:02:34 - Issue 1376
Topics (messages 16214 through 16239):
Re: Auto-submit form
16214 by: Henrik Hornemann
Re: phpBB won't install
16215 by: Asendorf, John
Re: IIS 5 - ASP & PHP dev enviorment
16216 by: Asendorf, John
16223 b
I think someone already mentioned this, but you can also do this:
if(isset($dele) && count($dele) > 0)
{
$ids = "'" . implode("','",$dele) . "'";
$sql = "delete from gastenboek where entryID IN ($ids)";
$result = mysql_query($sql);
}
might want to add in a is_array() somewhere in there...
You can use the following code to delete multiple items:
if(isset($dele) && (count($dele) > 0)) {
$sql = "delete from gastenboek where (entryID='$dele[0]')";
for($i=1; $i
To: "Php Mailinglist" <[EMAIL PROTECTED]>; "Php-Windows Mailing"
<[EMAIL PROTECTED]>
Sent: Monday, October 07, 200
Hi Dash,..
Your right i forgot the * in my mysql_query, it should be DELETE * FROM
gastenboek WHERE entryID=$whatever
Best regards,
Davy Obdam,
mailto:[EMAIL PROTECTED]
-Original Message-
From: Dash McElroy [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 07, 2002 11:15 PM
To: 'Davy
Wouldn't you want to do a foreach() loop?
i.e.
foreach($dele as $whatever) {
mysql_query(DELETE FROM gastenboek WHERE entryID=$whatever);
}
I'm sure the syntax on the mysql_query line isn't right...
The multiple database calls can be expensive if you're deleting lots of
information.
>my querylooks like this :
>DELETE FROM gastenboek WHERE entryID=$dele .
I think that the mySQL query should look like:
DELETE * FROM gastenboek WHERE entryID=$dele
so, you should do something like this:
DELETE $thinks_to_delete FROM gastenboek WHERE entryID=$dele
After the "DELETE" you must
I am putting together a BBS for my family. I would like to be able to
upload/download images. Can this be done with phpbb?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dewey,
I believe that the % wildcard is ANSI SQL requirement. I know at least
Oracle, MS SQL Server, & Sybase use it.
-Masroor
-Original Message-
From: Williams, Dewey [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 07, 2002 4:08 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Need SQ
Try WHERE EntryID IN (" . implode ($dele, ',') . ")"
However:
1) Anybody could fake a form post or query url to delete any data in
your database
2) It would also be possible to create a more dangerous post that could
give the attacker control over your entire database
Thus, I assume that you wi
It seems the use of LIKE in an sql statement requires the 'wild-card' %
instead of * when sending to an Access (and other?) databases. If anyone
knows WHY, I would like an explanation.
Dewey Williams
[EMAIL PROTECTED]
-Original Message-
From: Williams, Dewey [mailto:[EMAIL PROTECTED]]
Hi people,.
I have a guestbook admin page were i would like to delete one item or
more items from the database if necessary. I have modified my normal
guestbookpage so that it has checkboxes in front of every entry. This is
my code:
Now i can select multiple items. But i have tried to delete e
Hi,
can anyone help me (a newbie) to understand why uploading a file I always
loose the original name of the file and I get a temp name like p9150.TMP in
+ACQAXw-FILES+AFs-'userfile'+AF0AWw-'name'+AF0-?
Thanks,
Nino
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
does anyone out there use php in lotus notes--i'm looking for a function
that can access the NAB for user authentication.
thanks,
tim
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You can append a variable that is sure to change, such as time():
function redirect() {
location.href = "http://mydomain.fr?nocache=" ;
}
HTH
Ignatius
- Original Messag
Hi, I'm working on a PHP and mySQL website based but I have a problem refreshing the
information of the webs. When I load/change information on the mySQL throught the PHP
site the new information is not displayed on the site because the browser use the web
from the cache memory. How can I force
This behavior happens because in the php.ini there is an option
"register_globals" which is turned off (as it should, as security
advises)... Keep in mind that in most host providers, the stated option
is turned on...
As a safe and universal way to access vars, don't assume anything
regarding
use $_GET['user'] and $_GET['address']...
output.php
$_GET['user']\n\n";
echo "your address is:\n\n$_GET['address']";
?>
regds,
-Original Message-
From: R Strang [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 07, 2002 04:12
To: [EMAIL PR
as far as i understand, in this situation IIS would be configured to process
.php files using php module and .asp files will be processes as usual, so
there should not be any problem.
regds,
-Original Message-
From: JGreening [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 07, 2002 03:50
I'll write an webcrawler in php,but I don't know the
main algorithm to retrieve links from a webpage.
__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
--
PHP Windows Mailing List (http://www.php.net/)
To
Try:
$patterns = array(
"//" ,
etc
) ;
$replace = array(
"replacement_string" ,
etc
) ;
$text = preg_replace( $patterns, $replace, $text ) ;
Deserves to be tested extensively, though, depending on what you may have in
your data
HTH
Ignatius
_
Hi all
I would like to know if anyone on this list has a possible solution for
replacing FONT tags in HTML being submitted to a site.
My idea was to use eregi_replace ... but how do I tell eregi_replace to take
a string that starts with '' and replace it. This is a
variable string of course beca
heres my query
$sql = "insert into ctnt_inf (title,
body,summary,date_time, day, month, year ) " .
"values ('" . $_POST['title']. "','" .
$_POST['body'] . "','" . $_POST['summary'] . "'," .
time() . ", " . date("d"). ", " . date("m"). ", " .
date("Y"). " ) ";\
n i
davy
heres my query
$sql = "insert into ctnt_inf (title,
body,summary,date_time, day, month, year ) " .
"values ('" . $_POST['title']. "','" .
$_POST['body'] . "','" . $_POST['summary'] . "'," .
time() . ", " . date("d"). ", " . date("m"). ", " .
date("Y"). " ) "
francisco
are u tryin the function on the webserver u will host
ur site on
coz if u r running it from ur local host u will get
the error since ur localhost cant send a mail
toby .
--- Francisco Murillo Montoya
<[EMAIL PROTECTED]> wrote: > Hello;
>
> I have PHP 4.2.3 on Windows 2000 adva
I also use both extensively on the same server. I have had absolutely no
problems running both.
-
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Nullum magnum ingenium sine
This may sound like a silly question, but did you make sure MySQL was the
selected database type during the PHPBB install? I **just** installed
PHPBB2 this weekend with no hitches... so, maybe I can help while it's
still fresh in my mind.
-
John Asendorf - [EMAIL PROTECTED]
Hi,
Since php is a server side language, you can not use it to monitor what is
happening client side. You should be able to do it in javascript, using the
onChange event and check the stringlength and then call submit. Similarly
you can advance the tab key key using the focus function.
hth Henri
php-windows Digest 7 Oct 2002 11:48:05 - Issue 1375
Topics (messages 16209 through 16213):
Re: PHP 4.2.3 and Apache 2.0.36
16209 by: Miguel A. Charneco
IIS 5 - ASP & PHP dev enviorment
16210 by: JGreening
16212 by: Luis Ferro
Sending data to a script from a form
Is there a way (preferrably using php... but if javascript is necessary and some kind
soul knows how I will use it) to have a form auto-submit when a field is 'full'? I
want to be able to scan barcodes of a set length and have a form be automatically
submitted to store the information in the d
32 matches
Mail list logo