sorry, the right $config['memcached'] variable is
$config['memcached']=array(array('host'=>'localhost', port=11211,
persistent=1,weight=1));
2011/6/28 xucheng :
> Hi all,
> I wrap pecl-memcache into a class used as a sigleton class .
> the code is :
> ===
On 23/03/2011 17:46, Jack wrote:
Hello All,
I'm having a problem with this line of code which worked fine for years:
$l_url2 = ".".$_GET[SERVER_NAME];
Here is the error:
[Wed Mar 23 13:33:49 2011] [error] [client 16.139.201.61] PHP Notice: Use
of undefined constant SERVER_NAME - assumed
Maybe I missed something here, but aren't the cc's held by the
merchant account provider, and just an id by you to recharge(recurring
or once), which can be disputed. I ask because it's been a while since
I had to look at this. So let the OP's question take precedence, and
mine secondary if necessa
2011/3/4 Nisse Engström :
> On Fri, 11 Feb 2011 14:42:18 -0800, Brian Dunning wrote:
>
>> Hey all -
>>
>> I'm using mcrypt to store credit cards into MySQL. About 90%
>> of them decrypt fine, but about 10% decrypt as nonsense
>> ("b1�\�JEÚU�A���" is a good example). Maybe there is a
>> character th
On Fri, 11 Feb 2011 14:42:18 -0800, Brian Dunning wrote:
> Hey all -
>
> I'm using mcrypt to store credit cards into MySQL. About 90%
> of them decrypt fine, but about 10% decrypt as nonsense
> ("b1�\�JEÚU�A���" is a good example). Maybe there is a
> character that appears in about 10% of my encr
On 01/08/2011 04:55 PM, WalkinRaven wrote:
PHP 5.3 PCRE
Regular Express to match domain names format according to RFC 1034 -
DOMAIN NAMES - CONCEPTS AND FACILITIES
/^
(
[a-z] |
[a-z] (?:[a-z]|[0-9]) |
[a-z] (?:[a-z]|[0-9]|\-){1,61} (?:[a-z]|[0-9]) ) # One label
(?:\.(?1))*+ # More labels
\.? #
On Tue, 2011-01-11 at 14:44 -0500, Steve Staples wrote:
> On Tue, 2011-01-11 at 19:00 +, Ashley Sheridan wrote:
> > On Tue, 2011-01-11 at 17:07 +0100, Michelle Konzack wrote:
> >
> > > Hello Ashley Sheridan,
> > >
> > > Am 2011-01-08 17:09:27, hacktest Du folgendes herunter:
> > > > Also, ea
On Tue, 2011-01-11 at 19:00 +, Ashley Sheridan wrote:
> On Tue, 2011-01-11 at 17:07 +0100, Michelle Konzack wrote:
>
> > Hello Ashley Sheridan,
> >
> > Am 2011-01-08 17:09:27, hacktest Du folgendes herunter:
> > > Also, each label is checked to ensure it doesn't run over 63 characters,
> > >
Michelle Konzack wrote:
> Hello Ashley Sheridan,
>
> Am 2011-01-08 17:09:27, hacktest Du folgendes herunter:
>> Also, each label is checked to ensure it doesn't run over 63
>> characters, and the whole thing isn't over 253 characters. Lastly,
>> each label is checked to ensure it doesn't complete
On Tue, 2011-01-11 at 17:07 +0100, Michelle Konzack wrote:
> Hello Ashley Sheridan,
>
> Am 2011-01-08 17:09:27, hacktest Du folgendes herunter:
> > Also, each label is checked to ensure it doesn't run over 63 characters,
> > and the whole thing isn't over 253 characters. Lastly, each label is
> >
tedd wrote:
> At 11:54 AM +0100 1/11/11, Per Jessen wrote:
>>tedd wrote:
>>
>>> At that time, I registered almost 30 names.
>>> Fortunately, all of my names passed and I was
>>> permitted to keep them. Unfortunately, all
>>> browser manufactures (except Safari) negated some
>>> of the work do
At 11:54 AM +0100 1/11/11, Per Jessen wrote:
tedd wrote:
At that time, I registered almost 30 names.
Fortunately, all of my names passed and I was
permitted to keep them. Unfortunately, all
browser manufactures (except Safari) negated some
of the work done by the IDNS WG and as a result
P
Hello Ashley Sheridan,
Am 2011-01-08 17:09:27, hacktest Du folgendes herunter:
> Also, each label is checked to ensure it doesn't run over 63 characters,
> and the whole thing isn't over 253 characters. Lastly, each label is
> checked to ensure it doesn't completely consist of digits.
Do you know
tedd wrote:
> At that time, I registered almost 30 names.
> Fortunately, all of my names passed and I was
> permitted to keep them. Unfortunately, all
> browser manufactures (except Safari) negated some
> of the work done by the IDNS WG and as a result
> PUNYCODE is shown instead of the actual
> c
At 11:57 AM -0500 1/10/11, Steve Staples wrote:
On Mon, 2011-01-10 at 11:39 -0500, tedd wrote:
> >>>For example --
>>>
>>>http://xn--19g.com
>>>
> >>>-- is square-root dot com.
on my Ubuntu box, I can copy and past the (square-root) character and
it displays properly in he address bar
On Mon, 2011-01-10 at 11:39 -0500, tedd wrote:
> At 11:41 AM -0600 1/9/11, Donovan Brooke wrote:
> >Daniel Brown wrote:
> >>On Sun, Jan 9, 2011 at 11:58, tedd wrote:
> >>>
> >>>For example --
> >>>
> >>>http://xn--19g.com
> >>>
> >>>-- is square-root dot com. In all browsers except Safari...
> >
>
At 11:41 AM -0600 1/9/11, Donovan Brooke wrote:
Daniel Brown wrote:
On Sun, Jan 9, 2011 at 11:58, tedd wrote:
For example --
http://xn--19g.com
-- is square-root dot com. In all browsers except Safari...
but yes, the actual square root character appears in safari only.
Interesting!
Donov
At 12:23 PM -0500 1/9/11, Daniel Brown wrote:
On Sun, Jan 9, 2011 at 11:58, tedd wrote:
For example --
http://xn--19g.com
> -- is square-root dot com. In all browsers except Safari, PUNYCODE is shown
in the address bar, but in Safari it's shown as .com
Not sure if that's a typo
On Sun, 2011-01-09 at 12:38 -0500, Daniel Brown wrote:
> On Sun, Jan 9, 2011 at 12:32, Ashley Sheridan
> wrote:
> >
> > ^ is to the power of, not square root, which is √, which does translate to
> > Tedds domain
>
> Thanks for the math lesson, professor, but I already knew that. ;-P
>
>
On Sun, 2011-01-09 at 12:23 -0500, Daniel Brown wrote:
> On Sun, Jan 9, 2011 at 11:58, tedd wrote:
> >
> > For example --
> >
> > http://xn--19g.com
> >
> > -- is square-root dot com. In all browsers except Safari, PUNYCODE is shown
> > in the address bar, but in Safari it's shown as ˆ.com
>
>
Daniel Brown wrote:
On Sun, Jan 9, 2011 at 11:58, tedd wrote:
For example --
http://xn--19g.com
-- is square-root dot com. In all browsers except Safari, PUNYCODE is shown
in the address bar, but in Safari it's shown as ˆ.com
Not sure if that's a typo or an issue in translation while
On Sun, Jan 9, 2011 at 12:32, Ashley Sheridan wrote:
>
> ^ is to the power of, not square root, which is √, which does translate to
> Tedds domain
Thanks for the math lesson, professor, but I already knew that. ;-P
My point is, and as you can see in the quoted text from my email,
that
On Sun, Jan 9, 2011 at 11:58, tedd wrote:
>
> For example --
>
> http://xn--19g.com
>
> -- is square-root dot com. In all browsers except Safari, PUNYCODE is shown
> in the address bar, but in Safari it's shown as ˆ.com
Not sure if that's a typo or an issue in translation while the
email was
At 12:15 PM +0100 1/9/11, Per Jessen wrote:
Tamara Temple wrote:
> I'm wondering what mods to make for this now that unicode chars are
allowed in domain names
You're talking about IDNs ? The actual domain name is still US-ASCII,
only when you decode punycode do you get UTF8 characters.
Tamara Temple wrote:
> On Jan 8, 2011, at 2:22 PM, Al wrote:
>
>>
>>
>> On 1/8/2011 3:55 AM, WalkinRaven wrote:
>>> PHP 5.3 PCRE
>>>
>>> Regular Express to match domain names format according to RFC 1034
>>> - DOMAIN
>>> NAMES - CONCEPTS AND FACILITIES
>>>
>>> /^
>>> (
>>> [a-z] |
>>> [a-z] (?:[a
On Jan 8, 2011, at 2:22 PM, Al wrote:
On 1/8/2011 3:55 AM, WalkinRaven wrote:
PHP 5.3 PCRE
Regular Express to match domain names format according to RFC 1034
- DOMAIN
NAMES - CONCEPTS AND FACILITIES
/^
(
[a-z] |
[a-z] (?:[a-z]|[0-9]) |
[a-z] (?:[a-z]|[0-9]|\-){1,61} (?:[a-z]|[0-9]) ) # O
On 1/8/2011 3:55 AM, WalkinRaven wrote:
PHP 5.3 PCRE
Regular Express to match domain names format according to RFC 1034 - DOMAIN
NAMES - CONCEPTS AND FACILITIES
/^
(
[a-z] |
[a-z] (?:[a-z]|[0-9]) |
[a-z] (?:[a-z]|[0-9]|\-){1,61} (?:[a-z]|[0-9]) ) # One label
(?:\.(?1))*+ # More labels
\.? #
> -Original Message-
> From: Daevid Vincent [mailto:dae...@daevid.com]
> Sent: Tuesday, November 09, 2010 6:55 PM
> To: 'php-general@lists.php.net'
> Subject: Help with variable variables not being set for a
> multi-dimensional array
>
> I've used variable variables before but for som
and its that easy!
it took me a minute to figure out; but all I had to do was:
if (is_resource($process)) {
for ($i = 0; $i < sizeof($src_ip); $i++) {
fwrite($pipes[0], "$sig_desc[$i],$src_ip[$i],$dst_ip[$i]\n");
}
fclose($pipes[0]);
fclose($pipes[1]);
proc_close($pr
On 03/03/2010 13:01, Paul Halliday wrote:
> I need to pipe some data to an external application.
>
> I have this:
>
> while ($row = mysql_fetch_array($theData[0])) {
> $src_ip[] = $row[0];
> $dst_ip[] = $row[1];
> $sig_desc[] = $row[2];
>
> $rec ++;
> if ( $rec == $recCount )
Thanks all.
I rediscovered DIFF, compared the source for the first and second rendering.
Besides the unique variable names there was also the message ... which
contained imbedded single quote marks. When I changed them to imbedded
double quote marks the problem went away.
""Stan"" wrote in mess
On Tue, Feb 23, 2010 at 1:03 PM, Ashley Sheridan
wrote:
> Are you maybe modifying it in
> a way that breaks the javascript?
>
that would be my guess too... firefox + firebug will often give
accurate error messages for badly formed js.
the error itself is known to be caused by malformed js unable
On Tue, 2010-02-23 at 05:55 -0600, Stan wrote:
> It works like it is ... once. What I don't understand is why the client
> browser(s I have tried it with Firefox and IE 6) can't find the Javascript
> function the second time.
>
>
>
I've had a look, but I'm not sure what you're trying to achi
It works like it is ... once. What I don't understand is why the client
browser(s I have tried it with Firefox and IE 6) can't find the Javascript
function the second time.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
@Al,
> have you looked at the Pear html_QuickForm2 set?
Actually nope, whats it about? just did a google search and found it on the php
site but no example code around so dont really have a clue.
@Ash,
Pastebin! Of course, why didnt i think of that... will do!
Actually, just did so that i wou
have you looked at the Pear html_QuickForm2 set?
On 2/6/2010 9:43 AM, Ryan S wrote:
Hey guys,
As many of you might know, i totally suck at regex..so would really appreciate
some help here.
Basically i have a html page with a lot of textboxes,radios,checkboxes etc
i need your help in the form
Chris Payne wrote:
Hi everyone,
I'm not sure of the correct formula for this, if I have a file - just
for example, that is 10245458756 bytes long and the download speed is
60KB a second, what formula would I use to calculate how many
seconds/minutes/hours it would take to download the file?
Mat
From: Lex Braun [mailto:lex.br...@gmail.com]
Sent: segunda-feira, 2 de Novembro de 2009 02:58
To: MEM
Cc: php-general@lists.php.net
Subject: Re: [PHP] RE: Help with my first recursion menu
Hi,
On Sat, Oct 31, 2009 at 11:07 AM, MEM wrote:
From: Lex Braun [mailto:lex.br...@gmail.com]
Sent
Hi,
On Sat, Oct 31, 2009 at 11:07 AM, MEM wrote:
>
>
> *From:* Lex Braun [mailto:lex.br...@gmail.com]
> *Sent:* sábado, 31 de Outubro de 2009 14:05
> *To:* MEM
> *Cc:* php-general@lists.php.net
> *Subject:* Re: [PHP] RE: Help with my first recursion menu
>
>
>
>
From: Lex Braun [mailto:lex.br...@gmail.com]
Sent: sábado, 31 de Outubro de 2009 14:05
To: MEM
Cc: php-general@lists.php.net
Subject: Re: [PHP] RE: Help with my first recursion menu
Hi,
On Wed, Oct 28, 2009 at 5:22 PM, MEM wrote:
I've been told that stack is the way to go, so I'm
Hi,
On Wed, Oct 28, 2009 at 5:22 PM, MEM wrote:
> I've been told that stack is the way to go, so I'm trying to understand
> the
> following code:
> http://pastebin.com/m5616c88f
> I've commented every line so that any of you could see if I'm interpreting
> something wrong:
>
>
> I have two ques
> -Original Message-
> From: MEM [mailto:tal...@gmail.com]
> Sent: quarta-feira, 28 de Outubro de 2009 15:55
> To: 'php-general@lists.php.net'
> Subject: Help with my first recursion menu
>
> Hello all,
>
> Please have a look here:
> http://www.nuvemk.com/c_categoria/seccao/1
>
>
> When
At 10:51 AM -0400 8/18/09, Al wrote:
Merlin Morgenstern wrote:
Hi there,
I am highlighting keywords with the help of pregreplace. This works
great with one limitation. If the word that has to be replaced
contains a slash, preg throws an error. So far I could not find a
fix. Can someone help?
You should check out preg_quote() function which puts a backslash in front
of characters (escapes them) that have a special meaning in regular
expressions.
Regards,
Vladan Stefanovic
"Merlin Morgenstern" wrote in message
news:12.62.22194.004ba...@pb1.pair.com...
Hi there,
I am highlightin
Merlin Morgenstern wrote:
Hi there,
I am highlighting keywords with the help of pregreplace. This works
great with one limitation. If the word that has to be replaced contains
a slash, preg throws an error. So far I could not find a fix. Can
someone help?
Here is the code:
$patte
Why not just compile it yourself?
Why not let the ports system compile it for you and then have the choice
to remove it as package whenever you like...
You get it compiled and packaged the same time...
:-)
I guess BSD is the way to make your life easier...
--
Thodoris
--
PHP Genera
Why not just compile it yourself?
On Wed, Jun 17, 2009 at 3:34 PM, Shawn McKenzie wrote:
> Philipp Schaffner wrote:
>> Dear PHP [hard]core expert
>>
>> After "apt-get install php5-dev" on Linux (Debian, Ubuntu, Hardy Heron)
>> with an already existing and functioning PHP5 interpreter "phpinfo()"
Philipp Schaffner wrote:
> Dear PHP [hard]core expert
>
> After "apt-get install php5-dev" on Linux (Debian, Ubuntu, Hardy Heron)
> with an already existing and functioning PHP5 interpreter "phpinfo()"
> still shows "PHP Version 5.2.4-2ubuntu5.6". BUT at the same time
> phpinfo() shows "Build Dat
I lack experience with windows, but my experience in linux tells me
this *might* be related to the permissions the PHP or webserver has to
access that remote drive? Ie. like the drives might be mapped just
for your user?
Not sure, but you might want to check this, permissions are common
problems
2009/4/26 Nathan Rixham :
> Deivys Delgado Hernandez wrote:
>>
>> Hi,
>> I'm having problems when i try to use the function scandir() in a Novell
>> Netware Volumen or a Windows Shared Folder
>> they both are mapped as a windows network drive, so i suppose i could
>> access them as local drive, bu
Deivys Delgado Hernandez wrote:
Hi,
I'm having problems when i try to use the function scandir() in a Novell
Netware Volumen or a Windows Shared Folder
they both are mapped as a windows network drive, so i suppose i could access
them as local drive, but i can't. instead i receive this message:
Patrick Moloney wrote:
Some months ago I downloaded and installed Apache, PHP and MySql. With
only light use they seem to be working.
I have downloaded a Test Script from the VBulletin vendor that is
supposed to determine if your setup could run their product. The Test
Script is php and appears
James Colannino wrote:
> Hey everyone. I've been reading the list for a long time, but have only
> really posted to the mailing list a few times. I just had a quick
> question about MySQL. I'm not sure if this is exactly relevant to PHP,
> but it is for a PHP application I'm writing, so hopefull
tedd wrote:
> At 11:58 AM -0600 1/30/09, Adam Williams wrote:
>> yeah just a second ago a big lightbulb went off in my head
>
>
> Try a bigger light-bulb and store the email addresses in a database.
> Then you can use them as you want regardless if the user hit return or not.
>
> Cheers,
>
> te
At 11:58 AM -0600 1/30/09, Adam Williams wrote:
yeah just a second ago a big lightbulb went off in my head
Try a bigger light-bulb and store the email addresses in a database.
Then you can use them as you want regardless if the user hit return
or not.
Cheers,
tedd
--
---
http://sper
Adam Williams wrote:
> Shawn McKenzie wrote:
>> This may be best handled in your sorting code. What does it look like?
>>
>
> yeah just a second ago a big lightbulb went off in my head and i fixed
> my code to add a \r\n on saving, and strip it on viewing. I sort on
> viewing, not sort on sav
Hello Adam!
$list2 = explode("\n", $list); // "\n" not "\r\n"
$list = implode("\r\n", $list2);
foreach ... - not need
with the best regards
- Konstantin Kurilov
Shawn McKenzie wrote:
Adam Williams wrote:
I have staff inputting email addresses into a named $list on
a form and when they c
Shawn McKenzie wrote:
This may be best handled in your sorting code. What does it look like?
yeah just a second ago a big lightbulb went off in my head and i fixed
my code to add a \r\n on saving, and strip it on viewing. I sort on
viewing, not sort on saving. The viewing code looks lik
Shawn McKenzie wrote:
> Adam Williams wrote:
>> I have staff inputting email addresses into a named $list on
>> a form and when they click submit, my php script sorts the email
>> addresses and writes to disk. The problem is, lets say they enter the
>> email addresses
>>
>> b...@mdah.state.ms.us
Adam Williams wrote:
> I have staff inputting email addresses into a named $list on
> a form and when they click submit, my php script sorts the email
> addresses and writes to disk. The problem is, lets say they enter the
> email addresses
>
> b...@mdah.state.ms.us
> ama...@mdah.state.ms.us
> s
Yeti wrote:
Well maybe it is because he has register_globals on why he is not
printing a list of valid arguments.
imagine something like this ..
@php-generals$ [PHP] -help
List of valid arguments:
-c, --make-me-forget erases the built-in mainframe's short term memory
-f, --flush-me erases the e
Well maybe it is because he has register_globals on why he is not
printing a list of valid arguments.
imagine something like this ..
@php-generals$ [PHP] -help
List of valid arguments:
-c, --make-me-forget erases the built-in mainframe's short term memory
-f, --flush-me erases the entire memory o
Yeti wrote:
-help: invalid argument
I like the way you handle input errors in your php-general subroutines David.
I don't. It says nothing about what a valid argument is. Horrible
newsgroup coding, imo. I wouldn't be surprised if he has
register_globals on.
--
PHP General Mailing List
>-help: invalid argument
I like the way you handle input errors in your php-general subroutines David.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
devta singh wrote:
-help: invalid argument
Cheers
--
David Robley
I used to have a handle on life, then it broke.
Today is Setting Orange, the 3rd day of The Aftermath in the YOLD 3174.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John Smtih wrote:
http://www.site1.com
http://www.site2.com
http://www.site3.com
I have 3 sites above in a html. I do not want to create click each site,
one at a time to see 1 page info.
I want to write a script to go get all 3 sites, and bring it back into 1
page (the content of 3 pages c
Joe Harman wrote:
Hey y'all ... i am having alittle trouble with this regex for finding
ALT tags for images...
Here is my statement
preg_match_all("'alt[^>]*?>.*?[^>]
A link causes 'index.php/use1' to be appended to the
full url [http://localhost/~donn/template-dev/routertest/] and at first, it's
fine but after a few clicks, it keeps appending. Amazingly things still work,
but the URL is out of control!
Links that don't start with a / are taken to be relat
On Tuesday, 18 March 2008 12:02:14 Richard Heyes wrote:
> You can use $_SERVER['PHP_SELF'] which will give you the path to the
> script or $_SERVER['REQUEST_URI'] (you will probably have to remove the
> query string with this), along with either dirname().
The problem is that the URL does not stay
The thing that would help here is if I could get a reliable way to extract
the working 'path' (from an http:// pov) from the $_SERVER array somehow.
Each of them gives a result tantalizingly close to the base, but they get
it wrong in various ways.
You can use $_SERVER['PHP_SELF'] which will giv
Shawn McKenzie wrote:
> Does seem strange. Try:
>
> http://localhost/~donn/blah/index.php"; />
>
> Then just use /home, /use1 etc... Might work.
Right, I'll give it a go. It's not much different from wiring-in a php var
naming the base with {$base}/use1 being the form.
The thing that would hel
Donn Ingle wrote:
> Shawn McKenzie wrote:
>> Use /index.php instead of index.php maybe...
> I assume you meant in the tag. I tried that and the URL (when you
> mouse-over the link) becomes [http://localhost/index.php] which is not
> anywhere near where the files live.
>
> I must say I am rather c
Shawn McKenzie wrote:
> Use /index.php instead of index.php maybe...
I assume you meant in the tag. I tried that and the URL (when you
mouse-over the link) becomes [http://localhost/index.php] which is not
anywhere near where the files live.
I must say I am rather confused by this situation, but
UsDonn Ingle wrote:
> Hi,
> I have been trying to get a little templating thing going and I want
> everything to pass through a single index.php file which then decides what
> page is wanted and includes them.
>
> The scheme is to go to a url like [http://localhost/~donn/blah/] which
> serves ind
On 08/11/2007, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Al wrote:
> > Delimiters needed. Can use about anything not already in your pattern.
> > "/" is very commonly used; but I like "#" or "%" generally; but, you
> > can't use "%" because your pattern has it.
> >
> > $html = preg_replace("#%ResI
Al wrote:
> Delimiters needed. Can use about anything not already in your pattern.
> "/" is very commonly used; but I like "#" or "%" generally; but, you
> can't use "%" because your pattern has it.
>
> $html = preg_replace("#%ResID#",$bookid,$html);
wont a str_replace() do just fine in this ca
Delimiters needed. Can use about anything not already in your pattern. "/" is
very commonly used; but I like "#" or "%" generally; but, you can't use "%"
because your pattern has it.
$html = preg_replace("#%ResID#",$bookid,$html);
Richard Luckhurst wrote:
Hi
I am in the process of portin
I've figured it out :)
Thanks for the help, I just need to walk away for a minute and come
back to it.
all I need to do is this:
myClass.php
--
Now I can create/edit/maninpulate/etc new and old instances of
"mySecondClass"
*/
}
?>
mySecondClass.php
Dear Andrew,
I think normaly it isn't possible to use another class in a class, without
using extends. But you should use your array as a container. After you use
as a container, you can make new instance into a array field.
Now you can use the content of the container to administrate the ins
On 10/18/07, Jochem Maas <[EMAIL PROTECTED]> wrote:
>
> Colin Guthrie wrote:
> > LKSunny wrote:
> >> >> $a="1+1"; //variables(string)
> >>
> >> //how can arithmetic variables(string) ??
> >> //N ROW
> >>
> >> //output
> >> echo $a //i need output "2" not "1+1"
> >> //Please Help, T
Colin Guthrie wrote:
> LKSunny wrote:
>> > $a="1+1"; //variables(string)
>>
>> //how can arithmetic variables(string) ??
>> //N ROW
>>
>> //output
>> echo $a //i need output "2" not "1+1"
>> //Please Help, Thank You Very Much !!
>> ?>
>>
>
> You can do:
>
> eval("echo $a;");
you
Thank You !
"Colin Guthrie" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D:[EMAIL PROTECTED]
> LKSunny wrote:
>> > $a="1+1"; //variables(string)
>>
>> //how can arithmetic variables(string) ??
>> //N ROW
>>
>> //output
>> echo $a //i need output "2" not "1+1"
>> //Please Help, Thank You Very M
LKSunny wrote:
> $a="1+1"; //variables(string)
>
> //how can arithmetic variables(string) ??
> //N ROW
>
> //output
> echo $a //i need output "2" not "1+1"
> //Please Help, Thank You Very Much !!
> ?>
>
You can do:
eval("echo $a;");
But be warned, this has "Injection Attack"
In news: [EMAIL PROTECTED] -
"Karl Schmitt" wrote :
> Can someone please help me?
>
>
>
> I am new to installing and working with php and webservers. I am
> using IIS 6.
>
>
>
> I can not get php to load the ini file.
>
>
>
> I have followed multiple guides including those listed on the install
>
Hello,
Thanks for your mail. However, I am not clear on how to use curl for my
purpose. Kindly help me. In order to authenticate myself on a remote
server,
I have tried the following two ways:
Method I
http://remote.site.address";);
?>
On the resulting html page containing a form, I am able to
When your PHP script does "curl" it does not interact in any way,
shape, or form with the Location bar of the browser...
That's kinda the whole POINT of curl, to be able to snarf down content
from inside your script, instead of pushing the user off to some other
site.
If you just want to send the
On Fri, 29 Jun 2007 09:03:53 +0200, Paul Scott wrote:
> On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote:
>> I no longer have a need for this list and My mailbox is getting flooded,
>> Can someone assist ?
>
> Read the footer on every single mail posted to this list to unsubscribe
And, a really
On Wed, 2007-06-27 at 16:33 +0530, Gowranga wrote:
> Hello,
>
> I have the following installed on a Redhat ES4 system:
>
> curl 7.12.1 (i686-redhat-linux-gnu) libcurl/7.12.1 OpenSSL/0.9.7a
> zlib/1.2.1.2 libidn/0.5.6
> Protocols: ftp gopher telnet dict ldap http file https ftps
> Features: GSS-Ne
Hello,
I have the following installed on a Redhat ES4 system:
curl 7.12.1 (i686-redhat-linux-gnu) libcurl/7.12.1 OpenSSL/0.9.7a
zlib/1.2.1.2 libidn/0.5.6
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
Server version: Apache/2.
Hello Everyone,
I have a problem with GET strings. I use
$_SERVER["REDIRECT_QUERY_STRING"] to get the value-pairs in the URL.
The problem is that there is a cID variable that keeps amending itself
to the string continuously everytime someone clicks on a different
category link on the website. For
Also, when I get PHP errors, if not obvious, I check the previous line
also... If says something like "error on line 7" I will look at both
line six and seven.
I used the notepad-error-of-death method:
1. Use only notepad for php scripting (or some BASIC text editor, with
exactly ONE undo).
2.
Adz07 wrote:
i want to set up a php server that can communicate with a client (CLI PHP
Script). I can setup the server socket fine. What i need to know is whether
it is possible for the client to call a function in the servers php code and
the server return the data ready for the client to proces
> >
> > Hi
> > I'd like to ask you for the help
> > I'm using Squirellmail with plugin Shared calendar. This is simple
> > nice plugin written by Paul Lesniewski But I found the bug in this
> > plugin. The bug seems to be related with variable and memory.
> > The scripts are really slow and so
Jevos, Peter wrote:
>
> Hi
> I'd like to ask you for the help
> I'm using Squirellmail with plugin Shared calendar. This is simple nice
> plugin written by Paul Lesniewski
> But I found the bug in this plugin. The bug seems to be related with
> variable and memory.
> The scripts are really slow a
Hi,
Firstly , you should unset all of session variables an then you
should destroy the session variables. After this process, redirect the page
to HTML file (for example quit.html). By the way , you should use the GET
variables or POST variables to quit.
if (isset($_GET['quit']))
{
se
frank wrote:
> better make a switch statement: with case such as
> switch($x):
that should be :
switch (true) {
// bla
}
otherwise you would be testing the boolean cast of the
value of $x against the result of the expression given in
the case statement ... in practice it would probably
d
better make a switch statement: with case such as
switch($x):
case ($x >= 16 && $x <= 30):
break;
case
set*
""Chilling Lounge Admin"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hi.
>
> I need help with matching a variable. The variable would be e.g. 0-15
> , 16
I have solved the problem. The variables are declared as and forced to
remain integers in C but PHP converts them to float during division.
This messed up the maths. Also there was a slight difference in
formatting for printf().
Tom Atkinson wrote:
Hello,
I am attempting to convert this c
On Tue, 29 Aug 2006 09:52:20 +0100, Ross wrote:
> I just get all the binary data output
>
> include("includes/config.php");
> $link = mysql_connect($host, $user, $password) or die ('somethng went
> wrong:' .mysql_error() );
> mysql_select_db($dbname, $link) or die ('somethng went wrong, DB er
Niels schrieb:
The problem: A function tries to update an existing value, but is only
allowed to write certain bits.
There are 3 variables:
A: the existing value, eg. 10110101
B: what the function wants to write, eg. 01011100
C: which bits the function is allowed to write, eg.
With the
1 - 100 of 486 matches
Mail list logo