On 3 April 2011 21:38, Peter Lind wrote:
> On 3 April 2011 22:35, Andre Polykanine wrote:
>> Hello Peter,
>>
>> Thanks a lot! And is there a way to set (write) custom values in files
>> other than php.ini? Sorry, didn't find such a function.
>>
>
> I haven't come across any, but then again, I hav
[snip]
JavaScript is a browser-side language, browsers have cache, cache sticks
around, meaning that you can tell the browser to cache the JS file and
not
download it from the server (every time) if its being included on the
browser end (which js is). All means faster page load times post initial
l
On 4 April 2011 12:12, Jay Blanchard wrote:
> So all of the pages I generate with PHP that call JavaScript functions
> and libraries are doing it wrong?
Short answer : yes.
Medium answer : probably, but really yes.
Long answer : unless you are providing some sort of mechanism to hold
the current
Hello all,
I have a question for you.
I succeeded on generating certificates, securing apache and connecting to a
web service using soap with a certificate authentication mecanism.
Now, i'm wondering what the openssl module can do.
My wish is to generate a client certificate through the openssl
[snip]
Short answer : yes.
Medium answer : probably, but really yes.
Long answer : unless you are providing some sort of mechanism to hold
the current state of PHP, eject the required JS code to get a value
from the client and return it to the server which then recreates the
working environment and
On 03/04/11 19:41, Jason Pruim wrote:
So the subject says it all... And yes I know this isn't related to PHP but it's
the weekend and I trust the opinions on this list more then any other list I
have seen. I've been doing alot of reading on XML and honestly it looks pretty
cool... BUT the ques
On Mon, 2011-04-04 at 08:03 -0500, Jay Blanchard wrote:
> [snip]
> Short answer : yes.
> Medium answer : probably, but really yes.
> Long answer : unless you are providing some sort of mechanism to hold
> the current state of PHP, eject the required JS code to get a value
> from the client and ret
On 4 April 2011 14:03, Jay Blanchard wrote:
> [snip]
> Short answer : yes.
> Medium answer : probably, but really yes.
> Long answer : unless you are providing some sort of mechanism to hold
> the current state of PHP, eject the required JS code to get a value
> from the client and return it to th
On Mon, Apr 04, 2011 at 08:03:46AM -0500, Jay Blanchard wrote:
> [snip]
> Short answer : yes.
> Medium answer : probably, but really yes.
> Long answer : unless you are providing some sort of mechanism to hold
> the current state of PHP, eject the required JS code to get a value
> from the client
[snip]
Oh no no no. You can use PHP to GENERATE JS, CSS, HTML, XML, etc. You
just can't CALL JS from PHP and get a response.[/snip]
Fair enough, I just wanted to make sure that we were all on the same
page because some of the answers given to the OP may have been somewhat
confusing. Many of you kn
I'd like to know (from someone who knows the internals more than I do)
whether the following functions lock files and to what extent:
fopen($filename, 'w');
Does this function lock the file from writes until fclose()?
Does it lock from reads as well?
fopen($filename, 'r+');
Does this function l
On Monday, 4 April 2011 at 15:28, Paul M Foster wrote:
I'd like to know (from someone who knows the internals more than I do)
> whether the following functions lock files and to what extent:
>
> fopen($filename, 'w');
>
> Does this function lock the file from writes until fclose()?
> Does it lock
It may not be a direct answer to your question, but...
You could just use flock() to lock the file while accessing it.
louis
2011/4/4 Paul M Foster :
> I'd like to know (from someone who knows the internals more than I do)
> whether the following functions lock files and to what extent:
>
> fopen
Hi,
I have a problem using the php built in classes DateTime and DateTimeZone.
The idea behind the following code is to return the timestamp for the
current time in Singapore (or other places). What it actually returns
is the timestamp for the local system. Other formatted dates appear to
return
having a problem posting this message - forgive any duplication please.
Hi,
I'm trying to use sql to extract the last name from a person's name field in
my table. Here's my Select:
$q = "SELECT race_winner,count(race_date) as wins,
substr(race_winner,FIELD(' ',race_winner)) as last_name
etc.,,,
On Mon, 2011-04-04 at 16:35 +0100, Ian wrote:
> Hi,
>
> I have a problem using the php built in classes DateTime and DateTimeZone.
>
> The idea behind the following code is to return the timestamp for the
> current time in Singapore (or other places). What it actually returns
> is the timestamp
On Mon, 2011-04-04 at 11:50 -0400, Jim Giner wrote:
> having a problem posting this message - forgive any duplication please.
>
> Hi,
> I'm trying to use sql to extract the last name from a person's name field in
> my table. Here's my Select:
>
> $q = "SELECT race_winner,count(race_date) as win
good point. So wrapped up in making my php script work that I didn't think
about that.
"Ashley Sheridan" wrote in message
news:1301936583.2288.3.camel@localhost...
> On Mon, 2011-04-04 at 11:50 -0400, Jim Giner wrote:
>
>> having a problem posting this message - forgive any duplication please.
Actually - I can't seem to find a mysql newsgroup anywhere. The ones that
come up in google search are all dead and buried.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Jim,
I think that you'll find that ' ' is treated as a NULL and as such will always
return zero.
You are no catering for multiple spaces in the column race_winner.
If you were using Oracle, their INSTR function has an optional argument that
allows you to search backwards from the end of a str
On Monday, April 4, 2011, Jim Giner wrote:
> Actually - I can't seem to find a mysql newsgroup anywhere. The
> ones that come up in google search are all dead and buried.
You could try http://forums.mysql.com/ or have a look around Yahoo
groups (e.g. php_my...@yahoogroups.com).
HTH,
--
Geof
Read about Friday posting ;)
http://news.php.net/php.general/306939
2011/4/4 Geoff Lane :
> On Monday, April 4, 2011, Jim Giner wrote:
>
>> Actually - I can't seem to find a mysql newsgroup anywhere. The
>> ones that come up in google search are all dead and buried.
>
> You could try http://for
Jim,
> Actually - I can't seem to find a mysql newsgroup anywhere. The ones that
> come up in google search are all dead and buried.
I found a mailing list that might work for you:
To subscribe to the list, send an empty message to
Marc
--
PHP General Mailing List (http://www.php
Thanks - will do!
> I found a mailing list that might work for you:
>
> To subscribe to the list, send an empty message to
>
>
> Marc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
no - that address came back undeliverable.
>
> To subscribe to the list, send an empty message to
>
>
> Marc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 2011-04-04 at 14:06 -0400, Jim Giner wrote:
> no - that address came back undeliverable.
> >
> > To subscribe to the list, send an empty message to
> >
> >
> > Marc
>
>
>
http://lists.mysql.com/mysql
there is the subscribe box on the right side... use that. they are a
helpful bunch
On Mon, Apr 4, 2011 at 2:40 PM, Steve Staples wrote:
> On Mon, 2011-04-04 at 14:06 -0400, Jim Giner wrote:
>> no - that address came back undeliverable.
>> >
>> > To subscribe to the list, send an empty message to
>> >
>> >
>> > Marc
>>
>>
>>
> http://lists.mysql.com/mysql
>
> there is the subscr
To those who have been so helpful:
I did manage to subscribe to a mysql mailing list. thanks for the pointers.
As for my orig problem - for those who are intereseted:
The FIELD function apparently doesn't work in 5.0.2, even tho it is in the
online ref manual. I was given a suggestion of using
Hello Geoff,
As I dislike forums and like mailing lists (yes, an old habbit :-)),
so here it is:
mysql-subscr...@lists.mysql.com
(that's for subscribing, indeed).
And sorry for the offtopic.
--
With best regards from Ukraine,
Andre
Skype: Francophile
My blog: http://oire.org/menelion (mostly i
Hi everyone,
I am very new to PHP and trying to learn the glob() function. I copied
the example on php.net :
When I ran the script, I got this error message:
Fatal error: Call to undefined function glob() in
/usr/local/apache2/htdocs/hrms/globtest.php on line 2
I am running PHP 5.2.17 on CentO
Hi there
Since glob is actually a part of the core - Are you absolutely sure
that you're running PHP > 4.3
2011/4/5 Al Mangkok :
> Hi everyone,
> I am very new to PHP and trying to learn the glob() function. I copied
> the example on php.net :
>
> foreach (glob("*.txt") as $filename) {
> echo
Hi Louis,
Yes, I have read that glob is only available for PHP > 4.3 and I am
using version 5.2.1.7
# /usr/local/bin/php -v
PHP 5.2.17 (cli) (built: Feb 16 2011 15:41:35)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with Zend Optimizer v3.
32 matches
Mail list logo