[PHP-WIN] spam-attempts at certain domain - what to do.

2007-05-14 Thread Gustav Wiberg
Hi there! We get a lot of spam through forms at a certain domain. (We get a mail that there is a spam attempt (this is done by us through code) - there's not actual a spam sent). Is there any thing to do more than creating spam-filters in PHP and the mail-server? (if you know there is a certain

Re: [PHP-WIN] Re: [PHP-DB] $_POST["mypassword"]; ***Undefined index: mypassword

2007-05-14 Thread Mikael Grön
Simple. A resource, like the stuff you get when running mysql_query for instance ($resource = mysql_query($sql);) cannot be stored in a session variable. When you go to a new page, the resource variable is no longer linked to the results of the mysql query and thus wasn't stored. You following?

[PHP-WIN] Re: [PHP-DB] $_POST["mypassword"]; ***Undefined index: mypassword

2007-05-14 Thread bedul
the problem is right here (said on error msg): session_register("myusername"); session_register("mypassword"); u should use session_register("myusername") after declare the name. i taken from my php chm It is currently impossible to register resource variables in a session. For example, you cann

RE: [PHP-WIN] MySQL Dump

2007-05-14 Thread Gustav Wiberg
Hi! Ok... Thanx! Best regards /Gustav Wiberg -Original Message- From: Mikael Grön [mailto:[EMAIL PROTECTED] Sent: Monday, May 14, 2007 1:41 PM To: ''php windows' (php-windows@lists.php.net)' Subject: Re: [PHP-WIN] MySQL Dump Oh yeah, of course. :) Mike Gustav Wiberg skrev: > Hi th

Re: [PHP-WIN] MySQL Dump

2007-05-14 Thread Mikael Grön
Oh yeah, of course. :) Mike Gustav Wiberg skrev: Hi there! Username and password for root (for all databases then) you mean? /Gustav -Original Message- From: Mikael Grön [mailto:[EMAIL PROTECTED] Sent: Monday, May 14, 2007 1:32 PM To: ''php windows' (php-windows@lists.php.net)'

RE: [PHP-WIN] MySQL Dump

2007-05-14 Thread Gustav Wiberg
Hi there! Username and password for root (for all databases then) you mean? /Gustav -Original Message- From: Mikael Grön [mailto:[EMAIL PROTECTED] Sent: Monday, May 14, 2007 1:32 PM To: ''php windows' (php-windows@lists.php.net)' Subject: Re: [PHP-WIN] MySQL Dump mysqldump -uusername

Re: [PHP-WIN] MySQL Dump

2007-05-14 Thread Mikael Grön
mysqldump -uusername -p -A > output.file Enter password: [password] Done Gustav Wiberg skrev: Hi there! Thanx! Does this mean that I can't use option -ALL databases when using usernames and passwords? (I want to create a backup each night for every database we own with mysqldump) Best reg

RE: [PHP-WIN] MySQL Dump

2007-05-14 Thread Gustav Wiberg
Hi there! Thanx! Does this mean that I can't use option -ALL databases when using usernames and passwords? (I want to create a backup each night for every database we own with mysqldump) Best regards /Gustav Wiberg -Original Message- From: Mikael Grön [mailto:[EMAIL PROTECTED] Sent

RE: [PHP-WIN] MySQL Dump

2007-05-14 Thread Gustav Wiberg
Hi there! Thanx. Does this mean that I have to this on each database if I want to create ba -Original Message- From: Mikael Grön [mailto:[EMAIL PROTECTED] Sent: Monday, May 14, 2007 11:49 AM To: 'php windows' (php-windows@lists.php.net) Subject: Re: [PHP-WIN] MySQL Dump mysqldump -uus

Re: [PHP-WIN] MySQL Dump

2007-05-14 Thread Mikael Grön
mysqldump -uusername -ppassword database > output.file or mysqldump -uusername -p database > output.file which lets you specify the password cloaked right after you've hit enter. Remember, no spaces between -u and the username or -p and the password. Mike Gustav Wiberg skrev: Hi! Trying to

[PHP-WIN] MySQL Dump

2007-05-14 Thread Gustav Wiberg
Hi! Trying to figure out mysqldump. How would i type to making a backup of a database with specific username and password with mysqldump? I've tryed making a backup-schema through MySQL Administrator but there it says... Wrong password. I've changed the password type to Obscure but it doesn'

Re: [PHP-WIN] Backuping MySQL-databases

2007-05-14 Thread Mikael Grön
A locked mysql database works faster. If you use mysqldump to backup, it's locked by default. That can be changed with arguments though. If you use something like a PHP loop to export every table on it's own, the risk is that one table is written to while the PHP script is exporting another,

[PHP-WIN] Backuping MySQL-databases

2007-05-14 Thread Gustav Wiberg
Hi there! Is it neccessary to lock-tables when backing up MySQL-databases? Why? Best regards /Gustav -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] [EMAIL PROTECTED]

2007-05-14 Thread sam rumaizan
The problem with this program is: when I click on Update The Record onClick=\"return toggleMenu('menu1') can’t find (read) the function toggleMenu() for some reasone. That what I get : Object not found! The requested URL was not found on this server. The link on the referring page