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?
>
>
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?
>
>
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?
>
>
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
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
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
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
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
>
> ?>>
> >
> ?>>
> } ?>>
> ?>>
> >
>
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
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.:
. 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
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
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
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
--
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
You can find usefull information also on
http://www.phpbuilder.com
br
Michal
ps: slovania si musia pomahat..;D
--
Michal Thomka
Programmer/Developer
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
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
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: /
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
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
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
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
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
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
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 .= '';
?>
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
.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
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]
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
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
$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
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
) 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
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
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
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
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:
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
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
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
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
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/)
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
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
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
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
_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
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
> 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
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
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
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
-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
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
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
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
://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
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
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
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
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
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
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://
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
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
--
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.
-
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
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
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. :)
--
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
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
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.
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
> 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/
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
-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
> 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
> 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
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!
--------
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
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.
-------
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
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
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.
---
> 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
, 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
}
...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
, 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
--
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
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
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
> 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
-------
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-
> 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.
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
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
, 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
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
--
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 - 100 of 186 matches
Mail list logo