Ondrej Kulaty wrote:
What about to try run it as service? I don't know exactly how to do that but
service programs run in background on my Win XP
""Fanda"" pí¹e v diskusním pøíspìvku
news:7d.3d.09584.c2f7a...@pb1.pair.com...
Hi,
I am looking for some method, how to run php cli script on
What about to try run it as service? I don't know exactly how to do that but
service programs run in background on my Win XP
""Fanda"" pí¹e v diskusním pøíspìvku
news:7d.3d.09584.c2f7a...@pb1.pair.com...
> Hi,
> I am looking for some method, how to run php cli script on background in
> windows
On Thu, Dec 18, 2008 at 10:01 PM, German Geek wrote:
> $val = (string) $x->Package->PackageID;
> or
> $val = (int) $x->Package->PackageID;
>
>
Ha... I would have never figured that out... Thank you to you both! That
did the trick.
--
-Dan Joseph
www.canishosting.com - Plans start @ $1.99/mon
Tim-Hinnerk Heuer
http://www.ihostnz.com
On Fri, Dec 19, 2008 at 3:50 PM, Dan Joseph wrote:
> Hi,
>
> I have a basic XML document that I am grabbing with
> simplexml_load_string(),
> here is the print_r:
>
> SimpleXMLElement Object
> (
>[Package] => SimpleXMLElement Object
>(
>
Hi,
I have a basic XML document that I am grabbing with simplexml_load_string(),
here is the print_r:
SimpleXMLElement Object
(
[Package] => SimpleXMLElement Object
(
[PackageID] => 804
[PackageName] => Silver
[BandwidthGB] => 20
[WebSto
Daniel Kolbo wrote:
Hello,
I have a text file encoded in utf-8.
i am using fopen/fgets/echo etc..
how do i display these utf8 characters from the file on the web?
I have tried different combinations of
header("Content-Type: text/html; charset=iso-8859-1");
header("Content-Type: text/html; char
Hello,
I have a text file encoded in utf-8.
i am using fopen/fgets/echo etc..
how do i display these utf8 characters from the file on the web?
I have tried different combinations of
header("Content-Type: text/html; charset=iso-8859-1");
header("Content-Type: text/html; charset=utf-8")
and
utf8_
Yes, it should be "task scheduler". :-) My Windows is in czech, sorry. I was
trying commands you suggested before, but black window always blinks on screen.
My soulution is to create new windows user and run my tasks under this user. In
such case tasks run is not visible...
Thanks for your tip
Jim McIntyre wrote:
metastable wrote:
Jim McIntyre wrote:
$phpMail = new PHPMailer();
$phpMail->From = $from;
$phpMail->AddAddress($this->to);
$phpMail->Subject = $subject;
$phpMail->Body = $body;
return $phpMail->Send();
Never mind - I found the problem. It was a lo
metastable wrote:
Jim McIntyre wrote:
$phpMail = new PHPMailer();
$phpMail->From = $from;
$phpMail->AddAddress($this->to);
$phpMail->Subject = $subject;
$phpMail->Body = $body;
return $phpMail->Send();
$this -> to
it has no meaning in the scope of your class.
Appare
Jim McIntyre wrote:
> I'm new to PHP 5 and classes, but I've done a lot of ActionScript.
>
> I'm trying to use PHPMailer inside my own class (a service for
> AMFPHP). I'm having problems getting the data that'spassed into my
> class's send() method to the instance of the PHPMailer.
>
> Basically, I
I'm new to PHP 5 and classes, but I've done a lot of ActionScript.
I'm trying to use PHPMailer inside my own class (a service for AMFPHP).
I'm having problems getting the data that'spassed into my class's send()
method to the instance of the PHPMailer.
Basically, I have this:
class EmailAMF
Robert Cummings a écrit :
On Wed, 2008-12-17 at 10:47 +, Richard Heyes wrote:
Floppies hold 1.4 megs now? Mine don't and they're even dual-sided. :(
What are "Floppies"? Is it a reference to a particular male problem?
If so, then I want to know what dual sided means?
Cheers,
Rob.
and m
Yeah true thanks for pointing out. Thats what I meant !!! :)
Blowfish (http://en.wikipedia.org/wiki/Blowfish_(cipher))
On Thu, Dec 18, 2008 at 6:11 AM, Jochem Maas wrote:
> VamVan schreef:
> ..
>
> May be u can do a bowl
> > fish encryption
>
> ...
>
> > Thanks,
> > V
>
> LOL. 'bowl fish' ... '
> -Original Message-
> From: Fanda [mailto:d...@sidak.net]
> Sent: Thursday, December 18, 2008 10:50 AM
> To: php-general@lists.php.net
> Subject: [PHP] CLI in background on windows
>
> Hi,
> I am looking for some method, how to run php cli script on background
> in
> windows. It should be
Hi,
I am looking for some method, how to run php cli script on background in
windows. It should be started by windows task manager.
Do you have any idea?
Thans, Fanda
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
""Boyd, Todd M."" wrote in message
news:33bde0b2c17eef46acbe00537cf2a190037b7...@exchcluster.ccis.edu...
> -Original Message-
> From: MikeP [mailto:mpel...@princeton.edu]
> Sent: Thursday, December 18, 2008 8:43 AM
> To: php-general@lists.php.net
> Subject: [PHP] Regex Problem
>
> Hello,
""Boyd, Todd M."" wrote in message
news:33bde0b2c17eef46acbe00537cf2a190037b7...@exchcluster.ccis.edu...
Mike -- I've "bottom posted" my reply, as is the convention for this list
(and most others). Scroll down.
From: Mike Peloso [mailto:mpel...@princeton.edu]
Sent: Thursday, December 18,
Certainly if the quality of the input can be improved by using some digital
transfer that is not a fax, go for it...
I assumed the OP already knew that, but perhaps not.
The fax is going to cost you a LOT of accuracy, probably too much to make OCR
even viable, really, but it depends on the
> -Original Message-
> From: c...@l-i-e.com [mailto:c...@l-i-e.com]
> Sent: Thursday, December 18, 2008 10:06 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Read/decode barcodes from an image
>
> The barcodes are on faxes and whatnot, with no predictable skew,
> position, nor orie
you have magic_quotes_runtime turned on LOCALLY. Use phpinfo() to see.
NOmagic_quotes_runtime Off
you actually managed to put the backslashes into your text file.
NO
.
.
.
.
,/()%...@!',''); //fix special chars in
name
$_POST[$fname.'_fname'] = strtr($_POST[$fname.'
1st. Replace your $sql query with this
$sql = sprintf("SELECT * FROM admin WHERE UserName = '%s' AND Password
= '%s'", mysql_real_escape_string($UserName),
mysql_real_escape_string($Password));
$result = mysql_query($sql) or die(mysql_error());
Ólafur Waage
olaf...@gmail.com
On Thu, Dec 18, 2008
AIUI:
The barcodes are on faxes and whatnot, with no predictable skew, position, nor
orientation.
You've tried JOCR/GOCR, and they don't do very well.
Here are your options:
1) Shell out the money for that PaperPort OMNI or whatever it is commercial OCR
product. It *is* better than JOC
Mike -- I've "bottom posted" my reply, as is the convention for this list (and
most others). Scroll down.
From: Mike Peloso [mailto:mpel...@princeton.edu]
Sent: Thursday, December 18, 2008 9:56 AM
To: Boyd, Todd M.
Subject: Php question from Newsgroup
Todd,
I have attached a few jpgs to s
PHP does *not* do the addslashes on $_POST when you cram something into it in
your PHP code.
It does it during the process of auto-filling up $_POST.
So either:
A) you have magic_quotes_runtime turned on LOCALLY. Use phpinfo() to see.
B) you actually managed to put the backslashes into yo
Still this won't pass the session to the next page is there a way to
pass parameters in the url but mask them? maybe that would be easier, since
I do have code that works passing the adminID on the url ...
can a parameter be hashed after the fact? I tried echo-ing the fields on
the next page a
> Unfortunately, in the inherited DeployTask::execute(), "self::$STEPS"
> does not refer to UpdateTask::$STEPS, it refers to DeployTask::$STEPS
Use parent::$STEPS and call it done?
Yes, I know, if you add another layer of class in between, then it's not
parent:: anymore, but it seems a bit
Hah! Forgot to add the link:
1. http://php.net/ini_set
How would you guys have ever figured out that was the page on PHP's
website you need to visit in order to view information about the
ini_set() function?!
;)
// Todd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Al wrote:
If anything can do it, it'll be ImageMagick
Adam Randall wrote:
I'm amazed that this either doesn't exist, or is hard to find. I
basically am looking for a way to read in an image into PHP, or shell
out to something on the Linux side, and determine, and see if it has a
barcode in it
> -Original Message-
> From: MikeP [mailto:mpel...@princeton.edu]
> Sent: Thursday, December 18, 2008 7:33 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] fread question
>
> Still having problems:
> magic_quotes_runtime is off
> BUT
> magic_quotes_gpc is on
> I cant change them mys
> -Original Message-
> From: MikeP [mailto:mpel...@princeton.edu]
> Sent: Thursday, December 18, 2008 8:43 AM
> To: php-general@lists.php.net
> Subject: [PHP] Regex Problem
>
> Hello,
> I have a quirky behavior I'm trying to resolve.
> I have a REGEX that will find a function definition i
Hello,
i use in .htaccess
php_flag log_errors 1
php_value error_log folder/file
seems to be a new behavior that folder/file must be a absolut value. relativ
path/file raises an open_basedir error which is set up in httpd.conf
but folder/file is not outside open_basedir and is writeable.
Is thi
Hello,
I have a quirky behavior I'm trying to resolve.
I have a REGEX that will find a function definition in a php file:
.function InsertQuery($table,$fields,$values).
the REGEX is:
$regex='/function [a-z]* *([$a-zA-Z]*)/';
the problem is that:
1. a slash is automattically put in front of
VamVan schreef:
..
May be u can do a bowl
> fish encryption
...
> Thanks,
> V
LOL. 'bowl fish' ... 'fish bowl' ... I guess you meant to write 'blow' :-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Still having problems:
magic_quotes_runtime is off
BUT
magic_quotes_gpc is on
I cant change them myself so I tried
stripslashes
That doesnt work though:
$_POST[$fname] = fread($fileHandle, $_POST[$fname.'_size']);
$test=$_POST[$fname];
$test3=stripslashes($test);
$test3 and $test are the
But this one is ON
magic_quotes_gpc
"Robert Cummings" wrote in message
news:1229567238.8302.35.ca...@localhost...
> On Wed, 2008-12-17 at 19:54 -0500, MikeP wrote:
>> Hello,
>> I have been trying to use fread to open a file, but it always escapes
>> special characters.
>> How do I open afile wit
>From my phpinfo:
magic_quotes_runtime Off
"Robert Cummings" wrote in message
news:1229567238.8302.35.ca...@localhost...
> On Wed, 2008-12-17 at 19:54 -0500, MikeP wrote:
>> Hello,
>> I have been trying to use fread to open a file, but it always escapes
>> special characters.
>> How do I o
Adam Randall wrote:
> I'm amazed that this either doesn't exist, or is hard to find. I
> basically am looking for a way to read in an image into PHP, or shell
> out to something on the Linux side, and determine, and see if it has a
> barcode in it or not. If it does, I need to decode the barcode s
> thank god that some guys make it
> simple for us ;)
You're welcome. :-)
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated December 5th)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
jeffery harris wrote:
> I need to create a php form and mail it to a recipient (that I can
> do). My question is how do I create an area for a file (.doc, or .pdf)
> to be attached emailed along with other form data as well?
>
Take a look at an email you've received with an attachment. That's ho
jeffery harris schrieb:
I need to create a php form and mail it to a recipient (that I can do). My
question is how do I create an area for a file (.doc, or .pdf) to be
attached emailed along with other form data as well?
-Jeff
Hi Jeffery,
you need to upload the File with the Form inputfie
41 matches
Mail list logo