Re: [PHP] Unexcepted $this

2008-03-10 Thread Murat BEŞER
So what do you thing about on this thing ? Anup Shukla yazmış: I am sorry. Please disregard my previous post. I think i am wrong on that. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Unexcepted $this

2008-03-09 Thread Murat BEŞER
I can't under stood but PHP gaves me an error: UnExcepted $this for || $this-getFileExtension($file) == 'jpg' When I removed jpg extension check it's okay... PHP script runs well. What is the problem :) public function loadImages($folder) { $result =

Re: [PHP] Unexcepted $this

2008-03-09 Thread Murat BEŞER
Thank you Anup, But why I getting this error ? is this a bug ? I have changed my code like this if (in_array($this-getFileExtension($file), array('gif', 'jpg', 'png'))) { } but I can't understand. Anup Shukla yazmış: Murat BEŞER wrote: I can't under stood but PHP gaves me an error

[PHP] mysql password function

2002-09-22 Thread Murat Ö.
hi, i want to encode a string that users enter with mysql password function. but sometimes this code works sometimes don't. mysql warns me: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in the code is: $result=mysql_query(select

[PHP] closing browser's window

2002-09-22 Thread Murat Ö.
hi, is it possible to close client's browser's window from php script? thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] accessing session variables

2002-09-21 Thread Murat Ö.
hi, page1.php creates a session and its variables in it in successfully. the variables and values are created like $_SESSION['x']='abc' page1.php sends the SID information to page2.php via GET method. how can i access the those variables with SID information in page2.php? thanks -- PHP

Re: [PHP] accessing session variables

2002-09-21 Thread Murat Ö.
i tried but it didn't work. i wrote in page2.php: ?php session_start(); echo $_SESSION['isim']; ? and i was noticed: Undefined index: isim in . but i have written $_SESSION['isim']='murat' in page1.php Sascha Cunz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">new

Re: [PHP] accessing session variables

2002-09-21 Thread Murat Ö.
i have written ini_set(session.name, SID); before, in page1.php. and i've added it on page2.php before session_start and it works. thanks.. Murat Ö. [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... i tried but it didn't work. i wrote in page2.php

[PHP] pirvate sites

2001-09-26 Thread Murat
hi, i think -i've read- private sites which has login scripts (have username and password) are made using cookie. if this is true, how can find the information about making like that sites? if not, how can i make? thanks all -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Cookie problem

2001-09-20 Thread Murat
hi, i have a problem with cookie. true login page - decide page - main page | false | login page username and password are posted by login page to decide page, if it's true, main page

Re: [PHP] Cookie problem

2001-09-20 Thread Murat
your header line works fine, but where are cookie files written? i didn't see any cookie file about it in my windows/cookie directory after it had been created?? thanks Richard Baskett wrote: Here use this cookie that I wrote, it works in every browser, every os.

[PHP] recognize the URL

2001-09-17 Thread Murat
hi, i have a html form and it is posted a php script. but how can i recognize the url that only posted from my html file? thanks -- 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

[PHP] in_array

2001-09-13 Thread murat
hi, i wrote php scripts with php 4. but my server's php version is php 3. i used in_array function while i was writing the scripts. i used that function to check posted variables is available or not. is there an another way to check this posted variables or another one likes in_array function?

[PHP] posted urls

2001-09-13 Thread murat
hi, how can i change variables that has two or more words to variables that has + instead of blanks in that variables. Like this: word1 word2 word3 = word1+word2+word3 thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Spliting

2001-02-09 Thread Murat Saygili
input fields is it possible. Do I need javascript or php can solve my problem. Thanks Murat -- 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]