Re: [PHP] how to execute a php script thru a cron job

2001-09-06 Thread Daniel Rezny

Hello Carry,

Thursday, September 06, 2001, 5:05:53 PM, you wrote:

CI hello,



CI can anybody suggest me how to execute a php file thru a cron job?

CI i have a php script which checks for invalid links in my links database and mails 
the result to the site admin if any 400 series errors are found.



CI thanks in advance.

If you have a binary php version you can do it like this:
/path/to/php/binary /path/to/script

Or you can do it thru lynx like this:
/path/to/lynx -dump www.some_server.com/script.php

I hope it helps.

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Eregi for Image

2001-08-27 Thread Daniel Rezny

Hello Jeff,

Sunday, August 26, 2001, 9:17:45 PM, you wrote:

JO I want to check if an uploaded file is an image. This isn't working. 
JO Could anyone  help me out?

JO if (!eregi(\\.gif$, $img1_name) || 
JO !eregi(\\.jpg$, $img1_name) || 
JO !eregi(\\.jpeg$, $img1_name)) {
JO error message
JO }

You can find out type of uploaded file like this:

if ($img1_name_type=='gif') {
image is gif do this
   }
else {
 image is not gif do that
}

I hope it helps


-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Passing variables to a file

2001-08-19 Thread Daniel Rezny

Hello Seb,

Sunday, August 19, 2001, 11:44:59 PM, you wrote:

SF OK I know this can be done like so:

SF file.php4?foo=bar

SF but what if I want to keep the value of foo secret from the user?

SF - seb


I don't know if it's best idea but you can try to encode link with
base64_encode() and base64_decode function.

And this is secret for most users.

I hope it helps

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Startup

2001-08-17 Thread Daniel Rezny

Hello Roman,

Friday, August 17, 2001, 8:46:45 AM, you wrote:

R I install apache 1.3.20, php 4.0.6 and mysql on Red Hat Linux 7.0 but
R I must start thei manualy. I want to start this services automatically when
R starts the linux. How ?

R roman


give a link to /etc/rc.d/rcxx where xx is a number of your runlevel.

or give the start script to /etc/rc.d/rc.local. On the end of this
file.

I hope it helps

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] input type=select MULTIPLE?????

2001-08-17 Thread Daniel Rezny

Hello Tamas,

Friday, August 17, 2001, 3:03:31 PM, you wrote:

TB Hi guys,

TB Is there any restriction on a multiple selectás name in an HTML file? Cos' If I 
give a name like 'msel' and not 'msel[]' I don't get an array named $msel just a 
simple string type variable.

TB Thanks in advance

If you want to have more than one value in one variable it must be
array.

That's a explaining of naming convention for eg.select boxes.

I hope it helps

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] posix_getpwnam

2001-08-13 Thread Daniel Rezny

Hello Tom,

Monday, August 13, 2001, 10:23:16 AM, you wrote:

TK Hi,
TK  I`m using function posix_getpwnam. Its works correctly. But The result for
TK param passwd is only "x". I know why is it. Because i have save unix users
TK passwords in shadow file,not in passwd file, there is only "x".
TK  Is there some function,which param is encrypted(MD5) password in PHP?

TK I need: User puts password,and I will compare these password with password
TK in shadow?

TK Thank you very much

TK Tomas


You can use function md5() and than you can compare users password in
passwd file with password submited to form.

I hope it helps

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] MySQL: Select ALL

2001-08-09 Thread Daniel Rezny

Hello Tarrant,

Thursday, August 09, 2001, 1:14:25 PM, you wrote:

TC When saying; mysql_query(SELECT username FROM users,$db); it only show's
TC one of the first users in the column users.
TC Could someone please tell me how to make it print out the complete column
TC list of usernames. I have tried mysql_query(SELECT username(*) FROM
TC users,$db); - but no luck.

For example:
$query=mysql_query(SELECT username FROM users,$db);
while ($row=mysql_fetch_array($query)) {
  echo $row[username];
}

And B. van Ouwerkerk is right with his suggestion about manuals and
archive. I know that this problem was here a lot of times.

But anyway I hope it helps

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] user's ip

2001-08-07 Thread Daniel Rezny

Hello Adrian,

Tuesday, August 07, 2001, 12:25:25 PM, you wrote:

ADC Hi,

ADC I am trying to get the ip address of any user browsing a particular page.

ADC I tried $REMOTE_ADDR but that give me only the remote address.  What would
ADC be the best way?

When you recieve a remote_host_name you can find out a ip with
gethostbyname(String name_recieved)

I hope it helps

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Best way to take a copy of a Database from Server to server

2001-08-07 Thread Daniel Rezny

Hello elias,

Tuesday, August 07, 2001, 3:52:57 PM, you wrote:

e Hello.

e I have two MySql databases running on different servers. I have no root
e access and only PHP + Mysql and MysqlAdmin.

e How can i take a dump of first database (which is about 1MB) and restore
e that dump on the second one?

e Actually, I'm doing a structure dump, but the outputed SQL text is very
e big!..I'm not able to paste it all in the second server's sql query textbox.

You can do it from your machine with mysqldump.

syntax is:
mysqldump --host=here_write_sql_server_1 --user=user
--password=hassword name_of_database  file.txt


On the second server you can do it with command

mysql --host=here_write_sql_server_2 --user=user
--password=hassword name_of_database  file.txt

I hope it helps

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] mysql_numrows

2001-08-06 Thread Daniel Rezny

Hello AJDIN,

Monday, August 06, 2001, 3:34:49 PM, you wrote:

AB Hi

AB I'm trying to get number of rows from a query. All works fine until 
AB the result is 0.  Then query executes fine, returns 0 rows but mysql_numrows 
AB failes.

AB $query=select * from mytable;
AB $result=mysql_query($query) or die(select failed);
AB $num_rows=mysql_numrows($result) or die(select count failed);

do it like this:
$num_rows=@mysql_numrows($result) or die(select count failed);
  ^
  if you give there this character it don't give you a error.

I hope it helps

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] How to destroy a $variable

2001-08-04 Thread Daniel Rezny

Hello Gerard,

Saturday, August 04, 2001, 7:34:06 AM, you wrote:

GS Ok I have a form with a $PHP_SELF target, and I enter parts of the form 
GS when they enter information if something is wrong with their input.  Now 
GS what I would like to do is destroy all the variables when the form is 
GS correct and posted, so that when the page comes back up again, I post a 
GS thank you message, and the form is blank.  Just a thought.
GS I tried setting strings to empty after data is submitted to the database 
GS like so $Age = ; etc at the bottom of the file.

GS Bounce some ideas of me.  Thanks

you can destroy variable with unset function. Manual is on php.net
page.

Or simple do not send this variable to next page

I hope it helps

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PHP and MySQL Insert ID

2001-08-01 Thread Daniel Rezny

Hello John,

Wednesday, August 01, 2001, 11:06:06 AM, you wrote:


JM   In an environment where it's possible to have multiple
JM   users register at the same time (relatively speaking), how can I be sure
JM   that the 'last ID' is indeed the 'intended' last user's ID?

JM   Ex.
JMSay that user A submit a registration form at 00:00:01, but
JMmysql_inserted_id is not called (for user A) until 00:00:03.

JMIf user B submits a registration for at 00:00:02, then would
JMthe call to mysql_insert_id (for user A---called at 00:00:03) return
JMthe ID for user B?

JMTechnically, it sounds like it would, unless mysql_insert_id implements
JMsome type of session and/or state recognition.
JMIs that how it works?

JM--How can I be sure that it returns the ID for user A and not B?

You can be 100% sure, 'cause mysql_insert_id() returning last inserted
id in current connection to database.

User A has another connection ID as user B.

I hope it helps

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] disable?

2001-07-31 Thread Daniel Rezny

Hello Jeremy,

Tuesday, July 31, 2001, 4:29:22 PM, you wrote:

JM Hi,
JM I was wondering if there was any way to dissable something from the mouse
JM right click?
JM ex: When a user visits my site, I don't want them to be able to use the copy
JM shortcut on the right mouse click.
JM How would I do this?



Just search a list. This thread was here short time ago.

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] disabling the back button

2001-07-30 Thread Daniel Rezny

Hello Saquib,

Monday, July 30, 2001, 8:19:51 AM, you wrote:

SF Hi all,
SF can anybody tell how do i disable the user's back button, i mean
SF that when he clicks the back button, in his browser, AFTER he has sigend
SF out or finished a transaction, he will get a message saying that the 
SF session has expired ... just the way hotmail does it.
SF thanx in advance.

You can do it with header EXPIRE on a site before. Give the time of
validity  to the past and after you go to next page and then to
prievious page you'd recieve a page like in hotmail.

I hope it helps

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] help regarding mysql

2001-07-27 Thread Daniel Rezny

Hello Balaji,

Friday, July 27, 2001, 9:12:28 AM, you wrote:

BA Hi friend,
BAi am unable to connect to mysql server today.

BA windows 98 machine. PHP 4.0.6 and Mysql 3.23.36

c:\mysql\bin mysql -u balaji -p
BA password:*//pingpong

BA But i am able to connect through php. what is the wrong?

BA please  help out me.

BA Thanks in advance.

BA Regards
BA -Balaji

Try to specify a host:
e.g. mysql --host=localhost 

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] php and javascript

2001-07-27 Thread Daniel Rezny

Hello Karl,

Friday, July 27, 2001, 1:08:05 PM, you wrote:


KP Does anyone know how to pass php variables to a javascript for processing.

KP I have a DHTML menu system that requires variables be attached to the url
KP contained within it. Using echo does not print the variable to the url.

KP Is there another way?

KP Thx in advance.

script language=javascript
varname='? echo $varname; ?';

some usage of varname;

/script

I had a same problem some time ago. There must be a single quotes
neither is it string nor any other type.

I hope it helps

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] another question

2001-07-27 Thread Daniel Rezny

Hello Eduardo,

Friday, July 27, 2001, 1:48:01 PM, you wrote:

EK Does anybody knows how to redirect a page to new window with all the vars from the 
old one? Can I leave a message in the old window?

EK Thanks in advance.

Use a javascript window.open() function with link with all values.

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] MySQL big table process

2001-07-27 Thread Daniel Rezny

Hello Plamen,

Friday, July 27, 2001, 2:04:15 PM, you wrote:

PS Hi guys,
PS I have a big MySQL table - about 300MB
PS I want to get all the records from the table, make certain transformations and 
write them to a text file (i can not use select into outfile...)
PS the problem is when i type select * from table name the server hangs 
PS is there a way that i can select 1 record at a time or something similar, which 
would not put so much pressure on the server, but i still will get every record from 
the table
PS Thanks
PS --
PS Visit our site at http://eshop.bg

As I understood you you want to take all datas from table. For that is
very useful command
mysqldump --database  file.sql

I hope it helps to you
-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Query String Name ?

2001-07-26 Thread Daniel Rezny

Hello,

Thursday, July 26, 2001, 12:14:39 PM, you wrote:

A Hi there,

A is there any way to access two variables in a query string that have the same name 
e.g

A test.php?name=joename=bob

A Is there any way to extract both values of name without changing the way the query 
string is created?

But in the script you can use only a last value of the variable. So
there is no reason to have more than one variable in query_string with
same name.

use name1, name2,  this is better. I think.

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] How to display values in HTML form by retriving from database through PHP

2001-07-26 Thread Daniel Rezny

Hello Balaji,

Thursday, July 26, 2001, 2:24:09 PM, you wrote:

BA Hi! Dear friends,

BA  How to display the values in HTML FORM by retrieving the values from database.

BA Please any one of u know suggest me.

BA Thanks in advance.

BA CODE(MODIFYUSER.PHP)
BA 

BA ?php

BA // Connect to MySQL

BA mysql_connect( 'localhost', 'balaji', 'pingpong' )
BA or die ( 'Unable to connect to server.' );

BA // Select database on MySQL server

BA mysql_select_db( 'imac' )
BA or die ( 'Unable to select database.' );

?

BA HTML
BA BODY background=imacbg1.gif

BA form method=POST action=modifyuser.php
BA div align=center
BA center
BA h2Modify User/h2
BA p
BA script language=php

BA $query = SELECT * from employee WHERE emp_id='$user' ; // $user will come 
from post method
BA $result = mysql_query($query)or die ( 'Unable to execute query.' );

$row=mysql_fetch_array($result);

BA /script
 Employee No:  input type=text name=emp_id value=? echo
 $row[emp_id]; ?
  Name   :   input type=text name=emp_name value=? echo
  $row[emp_name]; ?

  and some another values like that
  
 I hope it helps
 
-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] PDF dll

2001-07-24 Thread Daniel Rezny

Hello Bernie,

Tuesday, July 24, 2001, 3:33:53 PM, you wrote:

BK Hi,

BK Are there any Freeware/Opensource PDF dll's?

BK Tx
BK BK

You should have one in your distribution

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] date HELP !!!!!

2001-07-23 Thread Daniel Rezny

Hello Yamin,

Monday, July 23, 2001, 9:27:46 AM, you wrote:

YP hi, 
YP how do i check that the current date is the end of month

YP Thanks in Advance


If you want to check how long is current month and use this value
later you can use this:

$month=(m); //can be like this depend on if you scrolling between
moths. If yes variable $month must be recieved from link.

$d=27;
while ($d = 32) {
$mon = date(m,mktime(0,0,0,$month,$d,$rok));
if ($month != $mon) {
$daylast = $d-1; $d=33;
}
else {
$d++;
  }
}

I hope it helps.
-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] php vs Filemaker

2001-07-23 Thread Daniel Rezny

Hello Christian,

Monday, July 23, 2001, 3:39:14 PM, you wrote:

CSP This might sound a little strange but I'd like to query a Filmeker
CSP database using
CSP Php. I read in the Filemaker manual that ODBC drivers let us be able to
CSP query the
CSP database using basic SQL calls. Meanwhile, I tried to perform the task
CSP but it
CSP seems quite complicated to acheive... As anyone done this before ? If
CSP so, some
CSP tips would be appreciated.

CSP Thanks a lot,

CSP Christ.

Cooperation of filemaker and php together is very hard.
First of all I'd like to write that filemaker is not sql server.
I've done it before but only for a short time. With filemaker I'm
prefering lasso.

I've used MyODBC driver.

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Resolution

2001-07-23 Thread Daniel Rezny

Hello Kyle,

Tuesday, July 24, 2001, 1:45:00 AM, you wrote:

KS is there a code to show a users screen resolution and/or make a webpage go to a 
certain page of the site depending on the users screen resolution?


KS -legokiller666-
KS http://www.StupeedStudios.f2s.com
KS New address new site

KS ICQ: 115852509
KS MSN: [EMAIL PROTECTED]
KS AIM: legokiller666



Use a javascript code
screen.width();
screen.height();


-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] php logo

2001-07-19 Thread Daniel Rezny

Hello Alva,

Thursday, July 19, 2001, 10:24:09 AM, you wrote:

AC hi everyone,

AC i would like to know if there is an official logo for php4 that i can put on
AC my company website, to show that we support and develop applications using
AC php4.

AC thanks and regards,
AC Alva Chew


Try to search on a oficial php page.

www.php.net

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: a goog whatever you want editor

2001-07-19 Thread Daniel Rezny

Hello elias,

Thursday, July 19, 2001, 10:59:50 PM, you wrote:

e As we already run into this sort of discussions...here's my opinion again:
e http://www.editplus.com
e Fast, light, and powerfull! I use it to edit all my files! even my assembly
e projects!

I am using this
http://www.soysal.com/PHPEd/

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re[2]: [PHP] Prevent user to close web browser

2001-07-19 Thread Daniel Rezny

Hello all,

Thursday, July 19, 2001, 2:53:03 PM, you wrote:

SB have a javascript function that is fired when you load the index page.

SB i have a calendar system that i wrote at work that is displayed in a window
SB with most of the features turned off like toolbars etc.

SB have a look at 'on load' and window properties.

SB it's a doddle.

SB and no i didn't find it on a porn site. ;-)

SB Steve

On what OS running your users?
If on win you can install there a small program. But I think it is not
what did you want. But I know that you cant do it with PHP. You can do
it with javascript as I know.

If you want a program I can help.

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]