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

Re: [PHP] Eregi for Image

2001-08-26 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>

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 ba

Re: [PHP]

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 I

Re: [PHP] Startup

2001-08-16 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

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".

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

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 seco

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

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

Re: [PHP] chmod

2001-08-04 Thread Daniel Rezny
Hello Manu, Saturday, August 04, 2001, 11:25:16 PM, you wrote: MV> I have the following question : MV> I have a directory on my ftp server and i want give access to this directory MV> by group (the name of the group is test) MV> % ls MV> % /ftp/test MV> % chmod 070 test MV> how can i do this U

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

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. JM>Say tha

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 woul

Re: [PHP] disabling the "back" button

2001-07-29 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

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

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. --

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

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, BA>i 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

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> ---

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=joe&name=bob A> Is there any way to extract both values of name without changing the way the query string is create

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://w

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 s

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

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 s

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 '

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.co

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