Re: [PHP] bar code scaning in intranet ap

2004-02-12 Thread Michal
Great idea. Can I use a keyboard and bar code scanner together? How to use a keyboard, if i connect a scanner into a keyboard port? Michal "Andrew Séguin" <[EMAIL PROTECTED]> píse v diskusním príspevku news:[EMAIL PROTECTED] > Programming bar code reader from PHP? > >

Re: [PHP] bar code scaning in intranet ap

2004-02-12 Thread Michal
Great idea. Can I use a keyboard and bar code scanner together? How to use a keyboard, if i connect a scanner into a keyboard port? Michal "Andrew Séguin" <[EMAIL PROTECTED]> píse v diskusním príspevku news:[EMAIL PROTECTED] > Programming bar code reader from PHP? > >

Re: [PHP] bar code scaning in intranet ap

2004-02-12 Thread Michal
Great idea. Can I use a keyboard and bar code scanner together? How to use a keyboard, if i connect a scanner into a keyboard port? Michal "Andrew Séguin" <[EMAIL PROTECTED]> píse v diskusním príspevku news:[EMAIL PROTECTED] > Programming bar code reader from PHP? > >

[PHP] Re: bar code scaning in intranet ap

2004-02-12 Thread Michal
Great idea. Can I use a keyboard and bar code scanner together? How to use a keyboard, if i connect a scanner into a keyboard port? Michal "Michal Strnad" <[EMAIL PROTECTED]> pí¹e v diskusním pøíspìvku news:[EMAIL PROTECTED] > Hi, > I would like to make an application f

[PHP] E-mail redirection....?

2003-01-10 Thread Michal Stankoviansky
n this be done in PHP? Thanx for help, please save me :) Michal -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP security bug and patch

2002-07-22 Thread Michal Dvoracek
Hello, when applying patch on version 4.2.1 then in phpinfo(); is still PHP Version 4.2.1 but SERVER_SOFTWARE: Apache/1.3.26 (Unix) PHP/4.2.2 mod_ssl/2.8.9 OpenSSL/0.9.6d-beta1 Regards, Michal Dvoracek [EMAIL PROTECTED] Capitol Internet Publisher, Korunovacni 6, 170 00

[PHP] array_push

2002-08-27 Thread Michal Dvoracek
Hello, why this array_push($x ? $a : $b, 'value'); produce error(Fatal error: Only variables can be passed by reference) http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] bug in sessions

2002-06-30 Thread Michal Dvoracek
replaceunset($_SESSION['test']); with session_unregister('test'); and repeat process - here will be everything OK. http://www.php.net/manual/en/ref.session.php (see Example 3.) Tested on PHP 4.2.1 (win, Debian). Epilogue: usi

Re[2]: [PHP] Session variables

2002-07-08 Thread Michal Dvoracek
> > ?>> > > > ?>> > } ?>> > ?>> > > > better is (IMHO): > > Regards, Michal Dvoracek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Character Array

2002-07-11 Thread Michal Dvoracek
Hello, IMHO string is array of characters so is possible: $str = 'string'; for ($i = 0; $ < count($str); $i++) echo $str[$i]; Regards, Michal Dvoracek [EMAIL PROTECTED] Capitol Internet Publisher, Korunovacni 6, 170 00 Prague 7, Czech Republic tel.:

[PHP] Regular expression

2002-07-17 Thread Michal Albrecht
. blah blah blah something.org blah blah should result in: blah blah blah blah blah Thanks a lot, Michal -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regular expression

2002-07-17 Thread Michal Albrecht
and lives the domain. Could you give me some hints on how to make it working the opposite way? Regards, Michal -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Import data from textfile

2004-01-06 Thread Michal Oskera
Hi, ensure you have FILE privilege on the db-server host. Mike "Pushpinder Singh" <[EMAIL PROTECTED]> píse v diskusním príspevku news:[EMAIL PROTECTED] > Hello All, > > I am trying to import data into MySQL DB using a CSV file (using > phpMyAdmin as the DB Admin tool). I keep getting the f

Re: [PHP] mysql_affected_rows() function

2004-01-06 Thread Michal Oskera
Hello, I use PHP v. 4.3.3 and MySQL v 4.1.0a and I have the same experience as Tyler. Also when performing INSERT and UPDATE commands. And I also don't know why. Mike "Cpt John W. Holmes" <[EMAIL PROTECTED]> píse v diskusním príspevku news:[EMAIL PROTECTED] > From: "Tyler Longren" <[EMAIL PROTECT

[PHP] Session cookie expiration

2001-01-10 Thread Michal Thomka
-- Michal Thomka Programmer/Developer ___ surfEU.com GmbH Nordbahnstrasse 36/1/3 A-1020 Wien Tel: +43 1 9989777-208 Fax: +43 1 9989777-200 mailto: [EMAIL PROTECTED] http://www.surfeu.at

Re: [PHP] HTTP autentification]

2001-01-11 Thread Michal Thomka
You can find usefull information also on http://www.phpbuilder.com br Michal ps: slovania si musia pomahat..;D -- Michal Thomka Programmer/Developer

[PHP] How to compare db-type DATE?

2001-03-09 Thread Michal Hrtko
Hello, how can I compare in SELECT variable, that is type Date? Which type and format $var should be? example: $var = ???; $esql = ODBC_Exec("SELECT * FROM table WHERE table.mydate > $var"); Thanks, Michal. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

[PHP] ImagePSText & antialiasing

2002-01-16 Thread Michal Kalanski
Hello, I try to write text (barcode font) with function ImagePSText. But I don't want antialiasing with barcodes. How to do it ? -- Thanks in advance! Micha³ Kalañski [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

[PHP] bug or bad definition ?

2002-01-31 Thread Michal Dvoracek
Hello, can someone test this code and send me results ? http://www.php.net/";); exit(); } ?> ?> XXX " method="post"> i want to know if apache fails (returns no response) or if it passed. And then try please again but with this line in function: /

Re: [PHP] Passing Variable

2002-04-17 Thread Michal Dvoracek
Hello, store value in hidden field in form, like this: when form is submitted field id contains required value. or use cookie (but here is test if cookie enabled) Regards Michal Dvoracek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Array question

2002-04-23 Thread Michal Dvoracek
Hello, i think that unset($a['color']); is the best way :) Regards Michal Dvoracek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] compiling php 4.2 with apache 2.0.35

2002-04-23 Thread Michal Dvoracek
Hello, i have problem with %subj%. It's possible to build php without apxs2 ? Building php with apxs2 - apxs must be instaled before (e.g. apache must be instaled first ?) Regards, Michal Dvoracek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.ph

[PHP] php & apache 2

2002-04-24 Thread Michal Dvoracek
Hello, when will be possible to compile php as static module with apache 2? Regards, Michal Dvoracek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] parsing mail files

2002-04-29 Thread Michal Dvoracek
Hello, try sourceforge.net or freshmeat.net. There are very usefull programs. Try search: mail mime Regards Michal Dvoracek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] error_reporting()

2002-04-30 Thread Michal Dvoracek
Hi, error_reporting(E_ALL); BTW: RTFM! Regards Michal Dvoracek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php & performance

2002-05-14 Thread Michal Dvoracek
Hello, what is better syntax (for perfomance option, not code-style) e.g. html code out of php tags text or '; while (...) $table .= ''.$something.'text'; $table .= ''; ?>

Re: [PHP] IF Statements

2002-05-15 Thread Michal Dvoracek
Hello, try this version :) if (($this->checkReferralCB($this->benefitRef, $this->benefitNo, $this->childDOB)) && (!$this->checkLocation($this->post, "W")) && (!empty($this->childDOB)) || ($this->checkPregnancy($this->bene

[PHP] building php

2002-05-15 Thread Michal Dvoracek
.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status make: *** [php] Error 1 Can you help me please ? (I urgent need php binary to execute some scripts from crontab) Thank you. Regards, Michal Dvoracek [EMAIL PROTECTED] -- PHP General Mai

[PHP] php sessions

2002-06-02 Thread Michal Dvoracek
Hello, i'm using sessions in my application but i found something strange. when creating new session: define('S_USER', 0); define('S_USER_ID', 0); define('S_USER_NAME', 1); session_start(); $_SESSION[S_USER][S_USER_ID] = 1; $_SESSION[S_USER][S_USER_NAME]

[PHP] login library

2002-03-27 Thread Michal Dvoracek
Hello, i want to write some application that requires users login. So i have question how i can check duplicity login (eg. browser crash, login from one computer using two browsers, ...). I need some idea (the best will be some example code :) ). Thank you. Michal Dvoracek

[PHP] register_globals

2002-04-12 Thread Michal Dvoracek
yboard and chair (that's myself too :)) Regards Michal Dvoracek [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] string manipulation

2004-08-12 Thread Michal Migurski
$formatted = sprintf('ORD%05d', $id); ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SSH Authentication using php

2004-08-16 Thread Michal Migurski
what are you trying to do exactly? Is ssh actually necessary, or are you really just trying to authenticate users by their unix accounts? - michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/c

Re: [PHP] SSH Authentication using php

2004-08-16 Thread Michal Migurski
) and then routing around them with an insecure web login. -mike. ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Securing Forms???

2004-08-18 Thread Michal Migurski
et: string uniqid ( [string prefix [, bool more_entropy]]) You would run the risk of messing up the form with (sound of pipe organ) *excessive entropy*. - michal migurski- contact info and pgp key: sf/cahttp://m

Re: [PHP] managing cvs from php

2004-08-19 Thread Michal Migurski
ting(E_ALL)) Does the apache user have read/write privileges on the files in that directory? CVS makes heavy usage of stderr, so that may be a reason you are not seeing output. ----- michal migurski- contact info and pgp key: sf/ca

Re: [PHP] arrays() current() next() who to use

2004-08-19 Thread Michal Migurski
quot; - " . $v . ""; >} "foreach" needs an "as", probably that was meant to say: foreach(array_slice($z['distance'], $start, 10) as $k => $v) { ... - michal migurski- c

Re: [PHP] Problem connecting to Postgres

2004-08-23 Thread Michal Migurski
determine what's there, and recompile/reinstall if you're lacking PG support. Or, try to find the command line instance that corresponds to the apache module you're using. ----- michal migurski- contact info and pgp key:

Re: [PHP] Text from file into database

2004-08-23 Thread Michal Migurski
ur database. ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Runtime Debugger (Was: [PHP] how to count objects instances)

2004-08-23 Thread Michal Migurski
ner, but I'm willing to learn. I realize that this is a fairly complex problem compounded by the fact that PHP is generally a library used within an apache child process. Any thoughts? ----- michal migurski- contact info an

Re: [PHP] Using php_value in .htaccess files

2004-08-23 Thread Michal Migurski
ot;Allowoverride All" is one way to make sure they're permitted. :D - michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] post file from one server to other

2004-08-24 Thread Michal Migurski
of background knowledge of HTTP. Luckily there's someone on this list who knows a great deal about that. :) ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General

Re: [PHP] delimiter question?

2004-08-24 Thread Michal Migurski
o. See: http://httpd.apache.org/docs-2.0/mod/core.html#acceptpathinfo ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Array?

2004-08-25 Thread Michal Migurski
ve array containing the seventh result row from your query. If you check out the results of print_r($things), you'd see the array structure immediately. ----- michal migurski- contact info and pgp key: sf/cahttp://m

Re: [PHP] checking for utilities/applications in the PATH

2004-08-25 Thread Michal Migurski
people occasionally imply that it's not the best/fastest/most stable method to use, so I try not to. -mike. - michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Keep from using cache

2004-08-27 Thread Michal Migurski
ov 1977 10:00:00 CET'); // date in past header('Last-Modified: '.date('r'));// right -now- header('Pragma: no-cache'); // HTTP/1.0 - michal mi

Re: [PHP] PHP: Undefined Variables Error Message

2004-08-27 Thread Michal Migurski
ying to append something to it. Change that first ".=" to a "=", like the line above, and see if that doesn't help. -- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP Ge

Re: [PHP] Dynamic Function with return?

2004-08-28 Thread Michal Migurski
_function(). ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Bug with mktime??

2004-08-30 Thread Michal Migurski
d"), date("Y"))); echo ''; } It's a good thing you're trying this today; if you had tried it a few days ago, you wouldn't have had any idea that your method wasn't working. -- michal migursk

Re: [PHP] Form Spoofing - How?

2004-08-31 Thread Michal Migurski
> I've been asked to make a php script to automatically fill out and > submit a form on a remote site. I know this is possible, but have no > idea where to begin SimpleTest can do this quite elegantly. ----- m

Re: [PHP] $_SERVER['HTTP_HOST'] without the 'www.'

2004-08-31 Thread Michal Migurski
ere a > better function to use in this instance? preg_match() should get you started. /(\w+\.\w+)$/ ought to match just the primary domain. - michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.co

Re: [PHP] Parsing large file

2004-08-31 Thread Michal Migurski
f all-at-once, using fgets(). Check your max execution time, as William suggests. Post a little example code or an error message. michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP Ge

Re: [PHP] xml tags interfere with php tags

2004-09-01 Thread Michal Migurski
yntax highlighting from being fooled. -------- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ftp functions not working

2004-09-02 Thread Michal Migurski
-line may or may not be the same installation as the one used by Apache. Use the following to see what your CLI installation does or does not have enabled: php -r "phpinfo();" -------- michal migurski- contact info and

Re: [PHP] ftp functions not working

2004-09-02 Thread Michal Migurski
your home directory with all the required features, and use that. See the manual for relevant configuration details. ---- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Maili

Re: [PHP] Multi-User Text-Editing

2004-09-06 Thread Michal Migurski
database schema to understand how they implement the multi-user text editing, and how to handle the related problems of locking and revision control. ----- michal migurski- contact info and pgp key: sf/cahttp://mike.te

Re: [PHP] Multi-User Text-Editing

2004-09-06 Thread Michal Migurski
be a historical legacy of RCS, from a time when storage was not quite so cheap. - michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Multi-User Text-Editing

2004-09-07 Thread Michal Migurski
://c2.com/cgi/wiki?DiffAlgorithm Also there is this: http://pear.php.net/package/Text_Diff ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Maili

Re: [PHP] Lambert's Projection and PHP

2004-09-08 Thread Michal Migurski
our arguments to the constructor, and that all lat/long units are expected in radian, not degrees. Sorry that the comments aren't as extensive as they ought to be. ----- michal migurski- contact info and pgp key: sf/ca

Re: [PHP] Associative Array Benchmarking

2004-09-19 Thread Michal Migurski
nless you're looking for constants instead of strings. Sometimes a quick R of the first few chapters in TFM beats a benchmark. ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html

Re: [PHP] forms

2004-10-10 Thread Michal Migurski
world. -- michal migurski- contact info, blog, and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] config.php

2004-10-11 Thread Michal Migurski
Is there anyway of creating a config.php file on the fly using a form. To obtain verbose output, include the keyword "how" at the beginning of your query. ------ michal migurski- contact info, blog, and pgp key: sf/ca

Re: [PHP] Best practise for resolving potential conflicts when editing db content?

2004-10-11 Thread Michal Migurski
i Wiki. For these applications, the cost of a conflict is high (which would indicate that a pessimistic lock might be better), but there is a clean method provided to resolve them when they come up. -- michal migurski- contact info, blog, an

Re: [PHP] general organization question

2004-10-12 Thread Michal Migurski
refactoring. A framework that reflects this flexibility is a help, one that doesn't is a hindrance. -- michal migurski- contact info, blog, and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://

[PHP] Re: executed script URL

2005-03-24 Thread Michal Kozusznik
Hello > Rasmus answered this question a week or two ago. Search the archives > for 'getenv request' and you will likely find the answer. I found something (in last 3000 posts) but it says about getenv('REMOTE_ADDR'). My problem is how to get an URL of executed script in always working way, compa

Re: [PHP] Re: trying to output a hyperlink

2004-04-11 Thread Michal Migurski
e constructions like that instead of templating classes like smarty or printf constructiions, and I've been very pleased with em. ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html --

Re: [PHP] Using ' to access session variables?

2004-04-16 Thread Michal Migurski
echo "A banana is {$fruits['banana']}."; // Works but PHP looks for a constant named banana first // as described below. echo "A banana is {$fruits[banana]}."; // Won't work, use braces. This results in a parse error.

[PHP] test, please ignore

2004-04-18 Thread Michal Migurski
- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: oo question

2004-04-19 Thread Michal Migurski
y_two } return $this->property_two; } } - michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and HTTP requests

2004-04-19 Thread Michal Migurski
executable, and you consider exec to be a "standard" function, there's always this: $response = shell_exec("curl http://www.example.com";); I always use last method that in preference to the curl functions. I find them incredibly overengineered. :) --

Re: [PHP] Forking external binaries

2004-04-20 Thread Michal Migurski
args &"); Wish php had fork() in a non-experimental context. :\ ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Making an app unviewable during system maintainance

2004-04-20 Thread Michal Migurski
x27;s just a big "read" operation. ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Making an app unviewable during system maintainance

2004-04-20 Thread Michal Migurski
s to dump the database, then back up the > dump. Depending on how well the dump utility works, you might be able > to do away with the downtime. mysql has mysqldump, and postgresql has pg_dump. Both of these are pretty much all you'd need, and neither requires any site downtime.

Re: [PHP] Making an app unviewable during system maintainance

2004-04-21 Thread Michal Migurski
yesterday, and it seems relevant: http://www.oreillynet.com/pub/wlg/4715 - michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP vs PERL? (Seriously OT Now....)

2004-04-22 Thread Michal Migurski
> Uh-oh, does that mean an Atheist has to use ASP??? ;) > [/snip] > > And if so, what must a Buddhist use? Lisp, of course. ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/

RE: [PHP] regular expressions php/perl/actionscript

2004-04-22 Thread Michal Migurski
essions". The ereg functions use a slightly different syntax. ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL Dump

2004-04-22 Thread Michal Migurski
-q -i $SQL_FILE; else rcs -q -l $RCS_FILE; fi; echo "mysql_backup.sh" | ci -q $SQL_FILE; - michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL Dump

2004-04-23 Thread Michal Migurski
> Will this work on both a Windows and Unix server? No, it's most assuredly a unix-only thing. ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing Li

Re: [PHP] MySQL Dump

2004-04-24 Thread Michal Migurski
> I just tested it and yes, the Michal function runs on Windows and Linux. > Just must write the path in the proper format for the OS you're using. Holy smokes, that's good news. :) Spreading dis-information is my price for not having the first cl

Re: [PHP] HTTP_RAW_POST_DATA

2004-05-12 Thread Michal Migurski
ays. Anyone have any clue why this is the case? Is there a performance reason that raw post data must be explicitly enabled, or is it more of a protective measure for overly permissive beginner scripts? Inquiring minds demand answers! --------

Re: [PHP] default and another constructor

2004-05-12 Thread Michal Migurski
http://php.net/manual/en/ref.funchand.php ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTTP_RAW_POST_DATA

2004-05-12 Thread Michal Migurski
requests to clog the pipes with them. Would the proper way to handle this risk be to disallow POST at the webserver level, or does turning always_populate_raw_post_data off cause the connection to be automatically dropped after Connection: close? -mike. -------

Re: [PHP] HTTP_RAW_POST_DATA

2004-05-12 Thread Michal Migurski
leaving open the possiblity of someone using up all > your memory and bringing the machine to a standstill till, then when > swap space runs out.. watch out! :) This makes sense, thanks. ----- michal migurski- contact

[PHP] Sorting text with multibyte characters

2004-05-01 Thread Michal Migurski
XML output for flash, which is always expected to be in UTF-8), but none of them seems to be made for string comparison. thanks, -mike. ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/co

Re: [PHP] Select from 24 tables

2004-05-01 Thread Michal Migurski
ar ways, you should probably merge them all into a single table with an extra column that corresponds to whatever differentiating characteristic used to distinguish your original tables. I.e., go with John Holmes' suggestion before you're really up the creek. ---

Re: [PHP] Re: Sorting text with multibyte characters

2004-05-01 Thread Michal Migurski
> Run into this before, PHP seams to do quite well when you set the locale > right ( de_DE ) which will place AÄBCD instead of ABCDÄÖÜ. > > Hope this helps :-) Thanks, I hadn't thought of that. ----- michal

Re: [PHP] Select from 24 tables

2004-05-01 Thread Michal Migurski
, then I stand corrected, and John Nichel's initial response is all that's needed. A huge table count is often evidence of a need for some refactoring. - michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Print a variable's name

2004-05-05 Thread Michal Migurski
} ...Which isn't much of an improvement over a plain old echo/print. And if that's good enough for Brian Kernighan, I'd hope it's good enough for you. :D - michal migurski- contact info and pgp key: sf

Re: [PHP] XML problem

2004-05-18 Thread Michal Migurski
, follows the syntax rules properly. Most of the syntax is described here: http://www.w3schools.com/xml/xml_syntax.asp ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html --

Re: [PHP] Using php to modify a css file

2004-05-22 Thread Michal Migurski
ng parsed, and that the Content-Type header is correct. You'd be better off not messing with AddType at all to parse .css files - it's more important that the content-type be "text/css." ----- michal mi

Re: [PHP] Using php to modify a css file

2004-05-22 Thread Michal Migurski
many ways of achieving the same end. ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: best way to do this with arrays...

2004-05-24 Thread Michal Migurski
strtotime($end); $timestampCheck = strtotime($check); ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Quick encoding question:

2004-05-24 Thread Michal Migurski
> about this? Thanks! Looks like UTF-8. Make sure your output character encoding matches the database encoding, and use htmlentities() and the mb_* (multibyte string) functions where necessary. Debugging this stuff is a pain. :P -------

RE: [PHP] Re: best way to do this with arrays...

2004-05-24 Thread Michal Migurski
heck_time} <= end_time; (Adjust as appropriate for date formatting, SQL injection, etc.) If you're using MySQL, this page is informative: http://dev.mysql.com/doc/mysql/en/Date_and_time_types.html -mike. ----- michal migurski-

Re: [PHP] interesting

2004-05-25 Thread Michal Migurski
> What does the { } around the array mean? http://www.php.net/manual/en/language.types.string.php#language.types.string.parsing.complex ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.

[PHP] PHP segfaults, any ideas?

2004-05-26 Thread Michal Migurski
p_children () #13 0x0806042c in standalone_main () #14 0x08060c8f in main () #15 0x400b01c4 in __libc_start_main () from /lib/libc.so.6 ----- michal migurski- contact info and pgp key: sf/ca

Re: [PHP] include and require

2004-05-27 Thread Michal Migurski
opriate include_path setting as well. ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can someone explain this?

2004-06-08 Thread Michal Migurski
, but once it become a hex string (after dechex()), all that info is gone. I think the way to handle this situation is to use pack & unpack. ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com

Re: [PHP] Expedia.com

2004-06-09 Thread Michal Migurski
is complete. Combine that with a bit of javascript waiting for the image to load, and you should have basic loading-bar behavior. ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html --

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread Michal Migurski
he information you're transmitting, and you may decide to go with SSL. ----- michal migurski- contact info and pgp key: sf/cahttp://mike.teczno.com/contact.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >