[PHP] Re: for() problem on php-4.0.6

2001-07-09 Thread Tomas
Why don't you use an integer? For and strings don't like each other very much... $idx\n"; } ?> Bye! 8-) Espeleta Tomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] T

Re: [PHP] redirect to another page in PHP???

2001-07-20 Thread Tomas
3) header ("Location: $myurl"); Seems to work faster but it doesn't work with cookies (at least in my experience... ;-) Bye, Tomas. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To co

[PHP] Hi!!

2002-12-16 Thread Tomas Lopez
Hi ALL! I'm new on PHP (just a few mounths) and i'm learning , my problem is that i dont have good projects to do., can someone tell me where can i enroll in a good proyect o someone to help.. Thank you so much. T

[PHP] list files in a dictory and its subdirectories

2003-02-03 Thread Tomas Vorobjov
hey! this is the code I'm using to get into array all filenames in a directory: $mydir = mydir //the directory name $output_file = fopen($data_file, "w"); $begin = ""); fclose($output_file); chmod($output_file, 0777); //to preview

[PHP] removing html attributes by preg_replace

2003-02-17 Thread Tomas Lehuta
hello! could somebody please help me to build a regexp to strip some attributes from html code? i'd like to remove all class="" attributes from html, but the example below seems not match i don't know what i'm doing wrong, this simply doesn't work! http://www.anywhere.com"; class="link">'; echo "i

[PHP] Problems with sessions

2002-10-30 Thread Tomas Kubis
Hello, I have big problem. I upgraded PHP from 4.1.2 to 4.2.3 and my scripts with doesn´t work. Please help me! in php.info register globals=On I have two sripts: first.php second.php In second.php ID is empty; but in previous version of php work it ok?? thanks Tomas Kubis -- PHP

[PHP] problem with global vars

2002-10-30 Thread Tomas Kubis
Hello, I have big problem. I upgraded PHP from 4.1.2 to 4.2.3 and my scripts with doesn´t work. Please help me! in php.info register globals=On For example I have one script: first.php second.php Where I have a bug? Thank you very much Tomas Kubis -- PHP General Mailing List (http

[PHP] Discarded extension on file download

2002-04-19 Thread Tomas Mikulecky
Hi I am trying to offer downloading files from a web server, using PHP. The files are gzipped text and have all .txt.gz extensions. Now while on Windows systems both IE and Netscape offers to download it under the full name (althought IE adds [some_number] to the base of the file name), under Un

[PHP] PHP as offline tool?

2001-09-16 Thread Tomas Valusek
yntax? I can't find it in the manual. Thanks for any help. Tomas Valusek -- 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]

Re: [PHP] PHP as offline tool?

2001-09-16 Thread Tomas Valusek
Hello, thank you for your help - I could get all the switches of PHP executable by using a -? switch. It's just pity they aren't documented in manual ... Tomas Valusek -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

[PHP] General info about sessions?

2001-09-16 Thread Tomas Valusek
Hello, where can I find an introduction to sessions in PHP? They are mentioned in manual for example in a "Serializing objects - objects in sessions" section, but there toesn't seem to be any section covering sessions in general. How they work? Where to use this feature?

[PHP] different behaviour converting float to integer

2004-10-04 Thread Tomas Kuliavas
=/somepath/ --with-pcre-regex --enable-mbstring --enable-session --disable-all --with-gettext=shared,/usr php.ini details: error_reporting=E_ALL display_errors=on register_globals=off asp_tags=on short_tags=off Please CC to my email. -- Tomas -- PHP General Mailing List (http://www.php.net/) To

[PHP] Trigger an action on session timeout - feature request?

2007-11-12 Thread Tomas Telensky
e requests. I think this concept of being possible to define something like custom "session destructor" is obvious and useful enough to be worth implementing to PHP. Thanks for help, Tomas -- "No Software Patents!" -- Allowing patents over software ideas will serio

Re: [PHP] Trigger an action on session timeout - feature request?

2007-11-12 Thread Tomas Telensky
s not important) Tomas > You could simply validate the user with > > session_start(); > $tbaged = false; > if (isset($_SESSION['user_id'])) { >$user = new User($_SESSION['user_id']); >$tbaged = true; > else { >$login = $_REQ

php-general@lists.php.net

2004-12-15 Thread Tomas Tintera
normal type of value (like 0 or 'a') and can not be used in operations like () && (). Tomas Tintera -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general@lists.php.net

2004-12-16 Thread Tomas Tintera
Thanks for your answers (you probably don't understand me). I am looking for some construct (or statement or function) which allows to do this: Note that the unset() has no return value (and so it can't be used as a part of other expression; it can be only used as a stand-alone statement), so I th

php-general@lists.php.net

2004-12-16 Thread Tomas Tintera
Thanks for your answers (you probably don't understand me). I am looking for some construct (or statement or function) which allows to do this: Note that the unset() has no return value (and so it can't be used as a part of other expression; it can be only used as a stand-alone statement), so I th

php-general@lists.php.net

2004-12-17 Thread Tomas Tintera
Richard Lynch wrote: >Perhaps something like this: > >function my_unset($var){ > global $$var; > $wasset = isset($$var); > unset($$var); > return $wasset; >} > >my_unset(‘a‘); //unset($a); > > > >Or, in a more general way: > >function forcereturn ($php){ > return eval($php); >} > > >Damned if I und

[PHP] Before to submission RFC datas

2007-11-30 Thread Norde-Amijkzegl Tomas
. For true? Byes while You write to Me!! Yes. -Tomas -- View this message in context: http://www.nabble.com/Before-to-submission-RFC-datas-tf4925553.html#a14097130 Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Hellos?

2007-11-30 Thread Norde-Amijkzegl Tomas
back Your breath!! Yes. -Tomas -- View this message in context: http://www.nabble.com/Hellos--tf4926170.html#a14099278 Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Why You doing no talks?

2007-11-30 Thread Norde-Amijkzegl Tomas
You normal responsing fastly, why not for Important Questions like I did for post? You must respond Me now so I can write RFC for stopping they accessing Online right now! Make no more days come! Yes. -Tomas -- View this message in context: http://www.nabble.com/Why-You-doing-no-talks