[PHP] Re: May i?

2002-08-03 Thread George Nicolae
ask. -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "::: Flavio Bastos Amiel::>" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > May i ask for help

[PHP] Re: Date Function in Php

2002-05-15 Thread George Nicolae
try mktime() function. -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Vinod Palan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi , > Do any one

[PHP] Re: randomize?

2002-05-10 Thread George Nicolae
yes. you can. ;) -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Hawk" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a group table with 16 i

[PHP] Re: php problem

2002-05-10 Thread George Nicolae
I have the same problem long time ago -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Johnny1b1g" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... &g

[PHP] Re: strtotime failure

2002-05-07 Thread George Nicolae
strtotime returns a timestamp of a data type(ex 05/07/2002) strtotime(05/07/2002) you can't recevie a timpstamp from a time of a day. -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Jennifer Koenig" &l

[PHP] Re: help!!!

2002-05-05 Thread George Nicolae
If you find someone pls tell him to write for me a new portal with secure user authentication and a webmail system with Oracle backend. tanx. -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "J. H." <[EM

Re: [PHP] Variable scope

2002-05-04 Thread George Nicolae
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > On Thursday 14 March 2002 21:53, George Nicolae wrote: > > I have the following code: > > > > > function a($var_a) > > { > > b(); > > } > > > >

[PHP] Variable scope

2002-05-04 Thread George Nicolae
I have the following code: why function b() don't echo anything? can I resolve this problem without calling b($var_a)? Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com -- PHP General Mailing List (http://www.ph

[PHP] Re: Help php MySql link

2002-05-03 Thread George Nicolae
$db = ("localhost","databasename","databasepassword"); mysql_select_db("your name?",$db); $result = mysql_query("select column1, column2 from domain", $db); while ($myrow=mysql_fetch_array($result)) echo $myrow["column1"]." - &quo

[PHP] Re: date format

2002-04-27 Thread George Nicolae
try -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Ananth Rajaraman" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > I'm trying t

Re: [PHP] header() question

2002-04-01 Thread George Nicolae
The _top option send you to the top of a page. When you open a new location you go on top by default.Maybe you ask about _blank? I don't have the answer for this last question. -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web D

[PHP] Re: PhP & Javascript Mixed Repost Fields

2002-04-01 Thread George Nicolae
sorry the correct code is: in fooa.php for each textfield so, when you come back from foob.php if a $field !empty the respective textfiel will have a value in html form; -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design

[PHP] Re: PhP & Javascript Mixed Repost Fields

2002-04-01 Thread George Nicolae
in fooa.php for each textfield so, when you come back from foob.php if a $field !empty the respective textfiel will have a value in html form; -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Simos Vare

[PHP] Re: A variable with a variable

2002-01-10 Thread George Nicolae
$v="Var_".$Nums."_Stat"; $Var_Call=$$v; -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Yoed" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]

[PHP] Re: counting with dates (help!)

2002-01-07 Thread George Nicolae
"))),date("Y",mktime( 0,0,0,date("m"),date("d")-7,date("Y"; echo date("d",$today)-date("d",$last_week); -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Sa

[PHP] Re: setcookie()

2002-01-06 Thread George Nicolae
man first of all look in the manual. there it is very clear... http://www.php.net/manual/en/function.setcookie.php -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Tyler Longren" <[EMAIL PROTECTED]>

[PHP] Re: distinct element from array

2002-01-06 Thread George Nicolae
array_keys(array_count_values($foo)); -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Kancha ." <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > An array

[PHP] Re: Printing return value of array_count_values?

2002-01-05 Thread George Nicolae
array_count_values() returns an array using the values of the input array as keys and their frequency in input as values 2, "hello"=>2, "world"=>1) while ($b = each($a)) echo $b[0]."=>".$b[1]." "; ?> -- Best regards, George Nicolae IT Man

[PHP] Re: win2k..grrr

2002-01-04 Thread George Nicolae
i tell you why. because on instalation you use php.ini-optimized. file. copy in your win2k director the php.ini-dist as php.ini. After that the script will work. I don't know what is set in optimized ini file and your script not work. -- Best regards, George Nicolae IT Ma

[PHP] Re: A compress function?

2002-01-04 Thread George Nicolae
take a look at http://www.php.net/manual/en/function.bzcompress.php -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Gaylen Fraley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EM

[PHP] Re: how can I add a variable to this sample

2002-01-03 Thread George Nicolae
$x[$key.'service_type']; -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Tom Beidler" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > >

[PHP] Re: mktime and variables not working

2002-01-03 Thread George Nicolae
quot;) stop=mktime($reformat_stop[0],$reformat_stop[1],$reformat_stop[2],$reformat_ stop[3],$reformat_stop[4],$reformat_stop[5]) be careful $stop is a timpstamp and you must use in combination with date() function. look in manual for more details about function date(); -- Best regards, George Nicolae IT M

[PHP] Re: If Statement with more than one conclusion

2002-01-03 Thread George Nicolae
if (($text=="com")||($text=="net")||($text=="org")||($text=="info")) { } -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com <[EMAIL PROTECTED]> wrote in message [EMAIL PROTEC

[PHP] Re: connect

2002-01-02 Thread George Nicolae
look at http://www.phpbuilder.com/columns/siddarth2228.php3 for a good tutorial. -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Gendeng" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECT

[PHP] Happy new year!

2001-12-31 Thread George Nicolae
A happy new year with a lot of dynamic sites to all php community! -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Re: Getting elapsed time between two MySQL time fields

2001-12-31 Thread George Nicolae
-- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Tom Beidler" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have some records in a MySQL database that

[PHP] Re: Listing files

2001-12-31 Thread George Nicolae
I am very honour of your suggestion but I am not the author of the function GetDirArray($sPath). The author is [EMAIL PROTECTED] (I don't know him). It isn't ethic to publish this function under my name. Best regards, George Nicolae IT Manager ___ X-Playin - Profes

[PHP] Re: Listing files

2001-12-31 Thread George Nicolae
le); sort($retVal); return $retVal; } $a=GetDirArray($path); //echo "test".count($a); //for ($i=0;$i"; ?> -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Todd Cary" <[EMAIL PROTECTED]&g

[PHP] Re: Handling checkboxs (MySQL+PHP)

2001-12-29 Thread George Nicolae
//you must make some change : echo ""; ^^ //you must find the max pid from database with query //"select pid from catalog order by pid desc limit 1" for ($i=0;$i wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > ALL -- > The snipet below is used to generate the table contai

[PHP] Re: array in email

2001-12-29 Thread George Nicolae
the mail function looks like : mail($to,$subject,$body) ("in a simplistic manner") you can use $to="[EMAIL PROTECTED]"; $subject="test"; for ($i=0;i wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I've searched the archive but can't seem to find anything on the mail() > function o

[PHP] php code beautifier

2001-12-27 Thread George Nicolae
do you know if exist a php code beautifier for win32? pls tell me the address. -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Re: Time function question/

2001-12-27 Thread George Nicolae
try date("d-M-Y",rand (mktime(0,0,0,1,1,1970),mktime(0,0,0,12,31,1985))) mktime works only from January 1 1970 -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Mehmet Kamil Erisen" <[EMAIL PROTE

Re: [PHP] Php & Directory structures

2001-12-22 Thread George Nicolae
$retVal); return $retVal; } //and then count($a=GetDirArray($sPath)) -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Bogdan Stancescu" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL

[PHP] Re: Does mail() can be used to send attachments?

2001-12-22 Thread George Nicolae
look at http://phpmailer.sourceforge.net for a useful class. -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Dasmeet Singh Arora" <[EMAIL PROTECTED]> wrote in message 1009010971.1987.7.c

[PHP] Re: Email files as attachments

2001-12-22 Thread George Nicolae
look at http://phpmailer.sourceforge.net for a useful class. -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Andrew V. Romero" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMA

[PHP] Re: spliti

2001-12-22 Thread George Nicolae
$word=exlode(" ",$line); -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Yamin Prabudy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > hi guys, > I need help here. >