Re: [PHP] \n to BR Problem

2002-09-09 Thread yasin inat

try   this   function 

nltobr()



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: date question

2002-09-09 Thread yasin inat

oradaki   bir   gun  kavramini  biraz  daha  açarsan  yardim  edebilirim -
umarim -

timestamp  mi   yoksa   baska  -daha  özel  bir-   formatta   mi  ?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: select box

2002-09-09 Thread yasin inat

evet   koyabilirsin


degerini   bastan   verdigin   bir   degiskenle :
?  $selected=SELECTED;  ?

select
option name=bla blabla  bla
option?=$selected ?display  first
/select

her   defasindaselected   olan   degisecekse ...

? $selected=option selecteddisplay  first  or.$baskadegisken; ?

select
option name=bla blabla  bla
?=$selected ?
/select

   kolay   gelsin 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] about whitespace

2002-09-09 Thread yasin inat

http://www.php.net/manual/en/function.trim.php

for   the  beginning   of   string   use  ltrim()
vice  versa   rtrim()



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] dropdown Newbie question

2002-09-10 Thread yasin inat

u   cannot   use   form's  name   as   variable .
u   should   replace   this   row   

select id=colorPicker

like  this

select name=test id=colorPicker

u  can   see   the  selected  option's   value 




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] whois query

2002-09-12 Thread yasin inat

please  anyone  can  help  me   about  querying  a  domain  
like   whois  queries ?

if  someone  has   got   a   script  ,  it's   acceptable 





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: whois query

2002-09-12 Thread yasin inat

Thanx   friends 




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: PHP function for searching words in a string?

2002-09-18 Thread yasin inat

  Example 1. Find the string of text php

// the i after the pattern delimiter indicates a case-insensitive search
if (preg_match (/php/i, PHP is the web scripting language of choice.)) {
print A match was found.;
} else {
print A match was not found.;
}


  Example 2. find the word web

// the \b in the pattern indicates a word boundary, so only the distinct
// word web is matched, and not a word partial like webbing or cobweb
if (preg_match (/\bweb\b/i, PHP is the web scripting language of
choice.)) {
print A match was found.;
} else {
print A match was not found.;
}
if (preg_match (/\bweb\b/i, PHP is the website scripting language of
choice.)) {
print A match was found.;
} else {
print A match was not found.;
}


  Example 3. Getting the domain name out of a URL

// get host name from URL
preg_match(/^(http:\/\/)?([^\/]+)/i,
http://www.php.net/index.html;, $matches);
$host = $matches[2];
// get last two segments of host name
preg_match(/[^\.\/]+\.[^\.\/]+$/,$host,$matches);
echo domain name is: .$matches[0].\n;


  This example will produce: domain name is: php.net



See also preg_match_all(), preg_replace(), and preg_split().




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] session problem

2002-09-20 Thread yasin inat

can anyone  tell  me   where   my  false  conf.  in  php.ini ?

when  i  change  the  page  it  makes   a  new   session ... instead of  the
first  one ...
cannot  remember   the   first   session   data ...
here is my infophp:

  Session Support enabled

  Directive Local Value Master Value
  session.auto_start
 Off Off
  session.cache_expire
 180 180
  session.cache_limiter
 nocache nocache
  session.cookie_domain
 no value no value
  session.cookie_lifetime
 -1 -1
  session.cookie_path
 ./ ./
  session.cookie_secure
 Off Off
  session.entropy_file
 no value no value
  session.entropy_length
 0 0
  session.gc_maxlifetime
 1440 1440
  session.gc_probability
 1 1
  session.name
 PHPSESSID PHPSESSID
  session.referer_check
 no value no value
  session.save_handler
 files files
  session.save_path
 c:/php/sessions c:/php/sessions
  session.serialize_handler
 php php
  session.use_cookies
 Off Off
  session.use_trans_sid
 0 0





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Why PHP doesn't work with Apache2?

2003-01-22 Thread yasin inat
it  depends  on  you   your aim  

u  can  consider  your criterias  between  php with apache 1.3X   apache 2

if  u  try  to  use  pragmatism  about  it ...

maybe  u  can  find  the  result  that  php with apache 2  is  better ?
so  don't you need  more argument ?

 one more  .
now  i'm  pleasure  of  apache2's  performancesecurity  on  win32
platform   ( should i use 'even' ?  : )...  )



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] how can i work with trace an IP or host ?

2002-10-10 Thread yasin inat

hii 
Ý've  tried  a  trace  practice   but  it  doesnt  work ...
my  server  NT5   on  W2K 

local  testing  W2K  apache2.0.40
i've   been  to  work  it  on  my  local  testing  server  

it  return's  a  failure  that :

Warning:  Unable to fork [tracert dummyhost.com] in
D:\inetweb\agencyturk\uziletim.com\uziletim.com\php\trace.php on line 26

url  :
http://www.uziletim.com/php/trace.php

where  is  my  wrong ?  i  couldn't  understand  it  clearly  ?

maybe  www  server  has  no  tracert.exe  ?




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: PHP 4.3.6 shows as 4.3.4?

2004-05-29 Thread Yasin Inat
be sure, u have updated php4ts.dll correctly   in ur system path ...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php