Re: [PHP] changing php ini location

2005-05-15 Thread emre
/* Why aren't you? Apache 2.0 is your best bet. It really is the best one available! */ Ive bad, real bad memories with apache 2.0 :) /* It sure sounds like you are out of luck. Your only option is to get Apache 2.0 and use that directive. Can I ask why in the world you are doing this? Are

Re: [PHP] changing php ini location

2005-05-14 Thread emre
- From: Burhan Khalid [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Faith Emre YILMAZ [EMAIL PROTECTED]; php-general@lists.php.net Sent: Saturday, May 14, 2005 1:21 PM Subject: Re: [PHP] changing php ini location Richard Lynch wrote: On Fri, May 13, 2005 12:20 pm, Faith Emre YILMAZ said: anyone

[PHP] changing php ini location

2005-05-13 Thread Faith Emre YILMAZ
anyone knows how to change php ini location? I m using php5, apache 1.3 on windows xp. thx in adv. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ImageMagick Versus GD

2005-04-05 Thread emre
which one is better ImageMagick or GD? infact I am much more curious about their image processing speed and server load. especially resizing large imagefiles. thx in adv. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Set session variable if link is clicked, do not want to use GET

2005-04-04 Thread emre
you can use POST with some javascript tricks. lets assume that you are going to you an image file to submit, then just add a function andd call that function to handle submitting data. here is an example: form name=TestForm action=test.php method=post input type=hidden name=op value=5 IMG

Re: [PHP] Set session variable if link is clicked, do not want to use GET

2005-04-04 Thread emre
lol, sorry for mess, I was in a bit hurry. here is the right one: form name=TestForm action=test.php method=post input type=hidden name=op value=5 IMG src=a.gif onclick=SubmitMyForm();' !--or a text mabe? -- span onclick='SubmitMyForm();'brSubmit/span /form then define the javascript

[PHP] eregi problem

2005-04-03 Thread emre
I m trying to check $GP[sifre] variable, $GP[sifre] must consist of alpha numeric chars only. here, how I check the variable: if((eregi([^a-zA-Z0-9],$GP[sifre]) echo 'true'; else echo 'false'; It works if variable starts with alphabetic chars only. for example this returns 'ok'

Re: [PHP] POST variables from a link...and popup new window

2005-04-01 Thread emre
?php echo ' form name=FormToBeSubmitted action=targetpage.php method=post /form script language=javascript document.FormToBeSubmitted.submit(); /script '; ? you can also set some variables to your form, for example in the script body put this code to submit a form variable named 'testvariable'

Re: [PHP] Easy way to grab a value out of XML?

2005-04-01 Thread emre
you can handle xml output as if a string file, then easily parse xml file with preg_match / preg_match_all, smt like this can do the job: ?php $str=xml version bla blapricesomevaluehere/pricepricesomevaluehere2/pricepricesomevaluehere2/priceetc; preg_match_all(/price([^])*\/price/i, $str,

Re: [PHP] can I limit DB access

2005-04-01 Thread emre
mysql comes with 2 predefined databases, their names are show databases; 1. mysql 2. test open mysql database use mysql; find the table named as 'user' , there mysql users and their access privileges are stored. select Host, User, Password from user modify Host column as you wish to limit

[PHP] informix connection problem

2001-07-21 Thread Emre Hamit Kok
hi, we are using informix 7.31.UC6 as our database server. when we are trying to connect informix by dbaccess we are setting the below environment variables are as: export DBNLS=1;export LANG=tr_TR;export LC_COLLATE=tr_TR.ISO8859-9;export LC_CTYPE=tr_TR.ISO8859-9 but when we are rying to vonnect