On 20/05/2013, Maciek Sokolewicz maciek.sokolew...@gmail.com wrote:
On 20-5-2013 22:14, Tim Schofield wrote:
Matijn
There are well over half a million lines of source code in PHP. It seems
a
little unhelpful to tell someone to go and read half a million lines of C
when you could just tell
thank you.
I read the source code and it helps a lot, now I know the behavior
of the code is consistent with the NOTE.
I think the reason is that If the 'new' session_id we want to set
already exists on the server, but does not exist on the client's
cookie, the server must send a set-cookie header
On Mon, May 20, 2013 at 5:33 AM, 孟远涛 yuantao.m...@gmail.com wrote:
I find the Note in PHP document.
http://www.php.net/manual/en/function.session-id.php
Note: When using session cookies, specifying an id for session_id() will
always send a new cookie when session_start() is called,
Matijn
There are well over half a million lines of source code in PHP. It seems a
little unhelpful to tell someone to go and read half a million lines of C
when you could just tell them the answer?
Thanks
Tim
Course View Towers,
Plot 21 Yusuf Lule Road,
Kampala
T +256 (0) 312 314 418
M +256 (0)
On Mon, May 20, 2013 at 4:14 PM, Tim Schofield t...@weberpafrica.com wrote:
Matijn
There are well over half a million lines of source code in PHP. It seems a
little unhelpful to tell someone to go and read half a million lines of C
when you could just tell them the answer?
Thanks
Tim
On 20-5-2013 22:14, Tim Schofield wrote:
Matijn
There are well over half a million lines of source code in PHP. It seems a
little unhelpful to tell someone to go and read half a million lines of C
when you could just tell them the answer?
Thanks
Tim
Course View Towers,
Plot 21 Yusuf Lule
On Mon, May 20, 2013 at 10:46 PM, David OBrien dgobr...@gmail.com wrote:
On Mon, May 20, 2013 at 4:14 PM, Tim Schofield t...@weberpafrica.com
wrote:
Matijn
There are well over half a million lines of source code in PHP. It seems
a
little unhelpful to tell someone to go and read half a
On May 20, 2013 8:45 PM, Matijn Woudt tijn...@gmail.com wrote:
On Mon, May 20, 2013 at 10:46 PM, David OBrien dgobr...@gmail.com wrote:
On Mon, May 20, 2013 at 4:14 PM, Tim Schofield t...@weberpafrica.com
wrote:
Matijn
There are well over half a million lines of source code in PHP. It
Op 21 mei 2013 03:59 schreef David OBrien dgobr...@gmail.com het
volgende:
On May 20, 2013 8:45 PM, Matijn Woudt tijn...@gmail.com wrote:
On Mon, May 20, 2013 at 10:46 PM, David OBrien dgobr...@gmail.com
wrote:
On Mon, May 20, 2013 at 4:14 PM, Tim Schofield t...@weberpafrica.com
On Fri, Dec 30, 2011 at 5:33 PM, Eric Lommatsch er...@pivotaldata.net wrote:
When I try this method:
$interval = $dteStartDate[$intCnt]-diff($dteEndDate[$intCnt]); I get the
following error when I run the page:
Fatal error : Call to undefined method DateTime::diff() in
Ext 23
Fax 888-282-9927
www.pivotaldata.com
er...@pivotaldata.com
-Original message-
From: Frank Arensmeier farensme...@gmail.com
Sent: Thu 29-12-2011 15:25
To: Eric Lommatsch er...@pivotaldata.net;
CC: php-general@lists.php.net;
Subject: Re: [PHP] Question about date
; 'Frank Arensmeier'
farensme...@gmail.com;
CC: 'Eric Lommatsch' er...@pivotaldata.net; php-general@lists.php.net;
Subject: RE: [PHP] Question about date calculations
-Original Message-
From: Fatih P. [mailto:fatihpirist...@gmail.com]
Sent: Thursday, December 29, 2011 5:10 PM
To: Frank
...@gmail.com; 'Eric Lommatsch'
er...@pivotaldata.net; php-general@lists.php.net;
Subject: Re: [PHP] Question about date calculations
On 12/30/2011 12:19 AM, ad...@buskirkgraphics.com wrote:
-Original Message- From: Fatih P. [ mailto:fatihpirist...@gmail.com ]
Sent: Thursday, December
On 12/29/2011 01:22 PM, Eric Lommatsch wrote:
Hello List,
I am using PHP version 5.2.6.
I am using PHP V5.3.3
In my setup, the following lines give me errors stating that PHP cannot
convert the DateTime object to a string. I was able to get around the
error by changing your code to the
...@buskirkgraphics.com;
CC: 'Frank Arensmeier' farensme...@gmail.com; 'Eric Lommatsch'
er...@pivotaldata.net; php-general@lists.php.net;
Subject: Re: [PHP] Question about date calculations
On 12/30/2011 12:19 AM, ad...@buskirkgraphics.com wrote:
-Original Message- From: Fatih P
29 dec 2011 kl. 22.22 skrev Eric Lommatsch:
So far in looking at the functions that are available at
http://www.php.net/manual/en/ref.datetime.php I have not been able to figure
out how to do what I need to do. Below is a snippet showing approximately
what I am trying to do.
On the same
On Thu, Dec 29, 2011 at 11:40 PM, Frank Arensmeier farensme...@gmail.comwrote:
29 dec 2011 kl. 22.22 skrev Eric Lommatsch:
So far in looking at the functions that are available at
http://www.php.net/manual/en/ref.datetime.php I have not been able to
figure
out how to do what I need to
-Original Message-
From: Fatih P. [mailto:fatihpirist...@gmail.com]
Sent: Thursday, December 29, 2011 5:10 PM
To: Frank Arensmeier
Cc: Eric Lommatsch; php-general@lists.php.net
Subject: Re: [PHP] Question about date calculations
On Thu, Dec 29, 2011 at 11:40 PM, Frank Arensmeier
On 12/30/2011 12:19 AM, ad...@buskirkgraphics.com wrote:
-Original Message-
From: Fatih P. [mailto:fatihpirist...@gmail.com]
Sent: Thursday, December 29, 2011 5:10 PM
To: Frank Arensmeier
Cc: Eric Lommatsch; php-general@lists.php.net
Subject: Re: [PHP] Question about date calculations
Fatih P. wrote:
well then look deeper in the question:
I have a page I am trying to create where I am comparing the values of two
MySQL date fields with the current date. One of the *MySQL Date fields *is a
class start date,*the other* is the class end date.
all needs to do is modify his
On Wed, Dec 14, 2011 at 1:25 AM, Matijn Woudt tijn...@gmail.com wrote:
On Wed, Dec 14, 2011 at 12:11 AM, Mihai Anghel mihaigrim1...@gmail.com
wrote:
Hello,
It appears to me that something is strange with the socket_select function.
From what I understand the value of the fourth parameter,
On Wed, Dec 14, 2011 at 12:11 AM, Mihai Anghel mihaigrim1...@gmail.com wrote:
Hello,
It appears to me that something is strange with the socket_select function.
From what I understand the value of the fourth parameter, tv_sec,
should block the execution of the script for that number of
On Fri, Dec 9, 2011 at 5:04 PM, Lin Yo-An cornelius.h...@gmail.com wrote:
Hi folks,
I am in doubt of this, I thought pure php iteration is slower than calling
join or other extension functions.
but the result shows: https://gist.github.com/b2a94c94ca66a55814d4
Using Pure PHP for iteration
On 11/23/2011 08:25 PM, Daniel Betz wrote:
Hello list,
I am trying to start PHP FPM with 2600 worker pools with ondemand
processmanager. Each for one domain.
The problem is now, that the php-fpm quits with:
ERROR: pid 10937, fpm_shm_alloc(), line 28: unable to allocate 1040 bytes in
On 11-11-12 06:30 AM, tamouse mailing lists wrote:
I'm curious how others feel about this. When I'm creating an SQL
string, either for a non-prepared or prepared execution, I build it in
a variable and then pass the variable to the query or prepare
function. This lets me easily add something to
On Sat, 12 Nov 2011, tamouse mailing lists wrote:
I'm curious how others feel about this. When I'm creating an SQL
string, either for a non-prepared or prepared execution, I build it in
a variable and then pass the variable to the query or prepare
function. This lets me easily add something to
On Sat, Nov 12, 2011 at 7:01 AM, Stephen stephe...@rogers.com wrote:
While I am not a big fan of OOP, I do like PDO, and recommend its use.
Right -- I wasn't actually inquiring about how to access a data base,
merely the pactice of using a variable for the SQL -- In your example,
you are doing
On 26 Sep 2011 at 23:45, vince chan rainma...@gmail.com wrote:
I have a general question about PHP:
So basically I have a link, and I want the href to be absolute., so I
do 'https://' . $_SERVER['HTTP_HOST'] . '/login' ; this gives me
https://127.0.0.1/login on my local; however, what i
Sure. The script runs with the permissions of whoever is running it.
In general, a PHP script that's a web page in linux will run by a user
called something like apache, apache2, www-user, or something similar.
If you give that user permissions -- either directly or through their
group, often
Al wrote:
I understand dir perms pretty well; but, have a
question I can't readily
find
the answer to.
Under a Linux system, scripts can't write, copy, etc. to other
dirs unless
the
perms are set for writable for the
script e.g., nobody.
But, is there a way a script can
write or copy
Have you checked for any cookies left by that website?
Thanks,
Ash
http://www.ashleysheridan.co.uk
- Reply message -
From: 肖晗 xiaohan2...@gmail.com
Date: Fri, Nov 12, 2010 15:14
Subject: [PHP] question about preventing polling for more than once
To: php-general@lists.php.net
I noticed
Hello ??,
Try to clean up your cookies. Maybe they set a cookie on your
computer.
--
With best regards from Ukraine,
Andre
Skype: Francophile
Twitter: http://twitter.com/m_elensule
Facebook: http://facebook.com/menelion
- Original message -
From: ?? xiaohan2...@gmail.com
To:
Daniel Brown wrote:
On Mon, Sep 13, 2010 at 19:51, MikeBmpbr...@gmail.com wrote:
As part of the bug report I included a link to an image of my nntp config.
I saw that, thanks. I'll look into creating a mirror of the news
server, as well, for NNTP-only access. I won't lie and say that
Daniel Brown wrote:
On Mon, Sep 13, 2010 at 18:09, MikeB mpbr...@gmail.com wrote:
However, getting access seems to be hit-and-miss, since I more often than
not get a message that the connection to news.php.net timed out.
Is this an indication that the server is just very busy? I don't get this
Good to know there's a workaround. I am thinking of using one (or more) of
the old VOOM boxes to mirror the news server for NNTP-only access.
Sent from my DROID. Apologies if formatting is off or I'm top-posting on a
list.
On Sep 14, 2010 8:59 PM, Nathan Rixham nrix...@gmail.com wrote:
Daniel
On Mon, Sep 13, 2010 at 18:09, MikeB mpbr...@gmail.com wrote:
However, getting access seems to be hit-and-miss, since I more often than
not get a message that the connection to news.php.net timed out.
Is this an indication that the server is just very busy? I don't get this on
any other news
Daniel Brown wrote:
I don't believe that we've been having any issues with the server,
no. Are you using NNTP to connect?
yes, NNTP.
You may want to consider using
the HTTP-based RSS and/or RDF feeds if it continues to be an issue.
If this persists, I'll look into the alternatives
On Mon, Sep 13, 2010 at 19:51, MikeB mpbr...@gmail.com wrote:
As part of the bug report I included a link to an image of my nntp config.
I saw that, thanks. I'll look into creating a mirror of the news
server, as well, for NNTP-only access. I won't lie and say that it's
a priority, but
On 09/13/2010 06:51 PM, MikeB wrote:
Daniel Brown wrote:
I don't believe that we've been having any issues with the server,
no. Are you using NNTP to connect?
yes, NNTP.
You may want to consider using
the HTTP-based RSS and/or RDF feeds if it continues to be an issue.
If this
Daniel Brown wrote:
On Mon, Sep 13, 2010 at 19:51, MikeBmpbr...@gmail.com wrote:
As part of the bug report I included a link to an image of my nntp config.
I saw that, thanks. I'll look into creating a mirror of the news
server, as well, for NNTP-only access. I won't lie and say that
Joshua Kehn wrote:
I'm working on creating a compiled extension for some code I've written. Mostly
it's manipulating a very large multi-demensional array of values. This is some
pseudo code for the array.
// Imagine this but much much bigger
$big_ass_array = array('5' = array('0' = 4, '3' =
Jim-
Yes, that was a typo. The issues was I didn't cut / paste and instead retyped
it. Should be
foreach($array as $key1 = $list)
{
foreach($list as $key2 = $value)
I will check those links out, I had the first one not the second.
Regards,
-Josh
From: Ashley Sheridan
On Sat, 2010-08-07 at 10:43 +0800, lainme wrote:
thanks for the reply. I know it is not a PHP problem. And I want to
know
whether it is possible to make it architecture independent.
On Sat, Aug 7, 2010 at 10:38 AM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
On Sat, 2010-08-07 at 10:22 +0800, lainme wrote:
Hi, I recently compiled a portable portable web server for linux, using
lighttpd and php.
But it seems that php can only run on machine with the same glibc version
compiled it. How can I solve the problem?
It's not a PHP problem. If you
thanks for the reply. I know it is not a PHP problem. And I want to know
whether it is possible to make it architecture independent.
On Sat, Aug 7, 2010 at 10:38 AM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
On Sat, 2010-08-07 at 10:22 +0800, lainme wrote:
Hi, I recently compiled a
On Sat, 2010-08-07 at 10:43 +0800, lainme wrote:
thanks for the reply. I know it is not a PHP problem. And I want to know
whether it is possible to make it architecture independent.
On Sat, Aug 7, 2010 at 10:38 AM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
On Sat, 2010-08-07 at
-Original Message-
From: Tim Gallagher [mailto:tgallag...@danati.com]
Sent: Wednesday, July 21, 2010 12:49 PM
To: Andrew Ballard
Cc: php-general@lists.php.net
Subject: RE: [PHP] Question about SQL and Graph nodel trees
Thank you for the informaiton. I did see that code
On Wed, Jul 21, 2010 at 11:04 AM, Tim Gallagher tgallag...@danati.com wrote:
I cannot be the only one that is having this problem, what are you using for
DAG (Direct Acrylic Graph)? I need to have a mesh node edge graph and am
having trouble with this? I see that Neo4j has a rest server and
-general@lists.php.net
Subject: Re: [PHP] Question about SQL and Graph nodel trees
On Wed, Jul 21, 2010 at 11:04 AM, Tim Gallagher tgallag...@danati.com wrote:
I cannot be the only one that is having this problem, what are you using for
DAG (Direct Acrylic Graph)? I need to have a mesh node edge
On 7/5/10, Gary[1] wrote:
The last few times I have posted to the board, I recieved an email, which
has the subject line of ??? ??? and is written in what appears to
be greek
Ukrainian or Russian I would guess, looking at the headers.
Anyone else have this happen?
Yes. Either some
On Tue, 2010-07-06 at 11:00 +0200, Gary . wrote:
On 7/5/10, Gary[1] wrote:
The last few times I have posted to the board, I recieved an email, which
has the subject line of ??? ??? and is written in what appears to
be greek
Ukrainian or Russian I would guess, looking at the
On 7/6/10, Ashley Sheridan wrote:
I have had a couple such emails, requesting me to log in somewhere in
order to have my address 'validated' as non-spam, but I ignored it and
nothing bad has happened to me yet!
Not yet.
*hides cattle prod behind back*
--
PHP General Mailing List
-Original Message-
From: James Colannino [mailto:ja...@colannino.org]
Sent: Tuesday, June 22, 2010 10:06 PM
To: PHP-General List
Subject: Re: [PHP] Question about logins and locking
Tommy Pham wrote:
1) Set an encrypted (to prevent hijacking and eavesdropping) cookie
On 23 June 2010 07:44, Tommy Pham tommy...@gmail.com wrote:
-Original Message-
From: James Colannino [mailto:ja...@colannino.org]
Sent: Tuesday, June 22, 2010 10:06 PM
To: PHP-General List
Subject: Re: [PHP] Question about logins and locking
Tommy Pham wrote:
1) Set an encrypted
-Original Message-
From: James Colannino [mailto:ja...@colannino.org]
Sent: Tuesday, June 22, 2010 2:29 PM
To: php-general@lists.php.net
Subject: [PHP] Question about logins and locking
Hey everyone,
I have a question about logins. Let's say that I want to allow each user
Tommy Pham wrote:
1) Set an encrypted (to prevent hijacking and eavesdropping) cookie to
expire when browser closes
2) Have a table in the DB backend to keep track if the user is logged in or
not and when was the last time the validated user access your site (this
gets updated when the user
On 20 May 2010 16:51, Al n...@ridersite.org wrote:
I'm not being clear. First pass is thru the blacklist, which effectually
tells hacker to not bother and totally deletes the entry.
If the raw entry gets past the blacklist, it must then only contain my
whitelist tags. e.g., the two examples
On Fri, 2010-05-21 at 14:24 +0100, David Otton wrote:
On 20 May 2010 16:51, Al n...@ridersite.org wrote:
I'm not being clear. First pass is thru the blacklist, which effectually
tells hacker to not bother and totally deletes the entry.
If the raw entry gets past the blacklist, it must
On 5/21/2010 9:24 AM, David Otton wrote:
On 20 May 2010 16:51, Aln...@ridersite.org wrote:
I'm not being clear. First pass is thru the blacklist, which effectually
tells hacker to not bother and totally deletes the entry.
If the raw entry gets past the blacklist, it must then only contain
On 21 May 2010 14:21, Ashley Sheridan a...@ashleysheridan.co.uk wrote:
I still think you might be better off using BBCode, which is used on
websites just for this very purpose. When any input comes back, you can
remove all the HTML completely and replace the BBCode tags that you
allow. This
On 5/21/2010 9:21 AM, Ashley Sheridan wrote:
On Fri, 2010-05-21 at 14:24 +0100, David Otton wrote:
On 20 May 2010 16:51, Aln...@ridersite.org wrote:
I'm not being clear. First pass is thru the blacklist, which effectually
tells hacker to not bother and totally deletes the entry.
If the
Al wrote:
On 5/21/2010 9:24 AM, David Otton wrote:
On 20 May 2010 16:51, Aln...@ridersite.org wrote:
I'm not being clear. First pass is thru the blacklist, which effectually
tells hacker to not bother and totally deletes the entry.
If the raw entry gets past the blacklist, it must then
On 5/21/2010 10:36 AM, Jim Lucas wrote:
Al wrote:
On 5/21/2010 9:24 AM, David Otton wrote:
On 20 May 2010 16:51, Aln...@ridersite.org wrote:
I'm not being clear. First pass is thru the blacklist, which effectually
tells hacker to not bother and totally deletes the entry.
If the raw
On 20 May 2010 14:53, Al n...@ridersite.org wrote:
I have a password-protected, user, on-line editor that I'm hardening against
hackers just in case a user's pw is stolen or local PC is infected.
The user can enter html tags; but, I restrict the acceptable tags to benign
ones. e.g., p, b,
On 20 May 2010 13:53, Al n...@ridersite.org wrote:
I have a password-protected, user, on-line editor that I'm hardening against
hackers just in case a user's pw is stolen or local PC is infected.
The user can enter html tags; but, I restrict the acceptable tags to benign
ones. e.g., p, b,
On Thu, 2010-05-20 at 14:27 +0100, David Otton wrote:
On 20 May 2010 13:53, Al n...@ridersite.org wrote:
I have a password-protected, user, on-line editor that I'm hardening against
hackers just in case a user's pw is stolen or local PC is infected.
The user can enter html tags; but, I
On 5/20/2010 10:07 AM, Ashley Sheridan wrote:
On Thu, 2010-05-20 at 14:27 +0100, David Otton wrote:
On 20 May 2010 13:53, Aln...@ridersite.org wrote:
I have a password-protected, user, on-line editor that I'm hardening against
hackers just in case a user's pw is stolen or local PC is
On 20 May 2010 15:52, Al n...@ridersite.org wrote:
I agree blacklisting is a flawed approach in general. My approach is to
strictly confine entry text to a whitelist of benign, acceptable tags. The
But that's not what you've done. You've blacklisted the following patterns:
\script\x20,
On 5/20/2010 11:23 AM, David Otton wrote:
On 20 May 2010 15:52, Aln...@ridersite.org wrote:
I agree blacklisting is a flawed approach in general. My approach is to
strictly confine entry text to a whitelist of benign, acceptable tags. The
But that's not what you've done. You've
On Thu, 2010-05-20 at 11:51 -0400, Al wrote:
On 5/20/2010 11:23 AM, David Otton wrote:
On 20 May 2010 15:52, Aln...@ridersite.org wrote:
I agree blacklisting is a flawed approach in general. My approach is to
strictly confine entry text to a whitelist of benign, acceptable tags. The
Al wrote:
On 5/20/2010 11:23 AM, David Otton wrote:
On 20 May 2010 15:52, Aln...@ridersite.org wrote:
I agree blacklisting is a flawed approach in general. My approach is to
strictly confine entry text to a whitelist of benign, acceptable
tags. The
But that's not what you've done.
On 5/20/2010 12:02 PM, Jim Lucas wrote:
Al wrote:
On 5/20/2010 11:23 AM, David Otton wrote:
On 20 May 2010 15:52, Aln...@ridersite.org wrote:
I agree blacklisting is a flawed approach in general. My approach is to
strictly confine entry text to a whitelist of benign, acceptable
tags.
On Thu, 2010-05-20 at 12:40 -0400, Al wrote:
On 5/20/2010 12:02 PM, Jim Lucas wrote:
Al wrote:
On 5/20/2010 11:23 AM, David Otton wrote:
On 20 May 2010 15:52, Aln...@ridersite.org wrote:
I agree blacklisting is a flawed approach in general. My approach is to
strictly confine
On 5/20/2010 12:43 PM, Ashley Sheridan wrote:
On Thu, 2010-05-20 at 12:40 -0400, Al wrote:
On 5/20/2010 12:02 PM, Jim Lucas wrote:
Al wrote:
On 5/20/2010 11:23 AM, David Otton wrote:
On 20 May 2010 15:52, Aln...@ridersite.orgwrote:
I agree blacklisting is a flawed approach in
Kevin wrote:
I am having some issues with connecting to a SQLite database right now
... I'm getting the following error Fatal Error: 'sqlite_open' is an
unknown function
But I'm putting that on the side right now.
I think the docs are still screwed up. Try sqlite3_open() instead and
see if
Kevin wrote:
I am having some issues with connecting to a SQLite database right now
... I'm getting the following error Fatal Error: 'sqlite_open' is an
unknown function
But I'm putting that on the side right now.
I think the docs are still screwed up. Try sqlite3_open() instead and
see if
On Thu, 2010-05-13 at 23:53 -0400, Kevin wrote:
Ashley Sheridan wrote:
On Thu, 2010-05-13 at 23:07 -0400, Kevin wrote:
Hello All,
I am trying to figure out how to create files when a user submits a form
...
I have seen something about '*fopen*' , is that the direction I should
be
On 14 May 2010 04:07, Kevin kevin.mailingli...@gmail.com wrote:
Hello All,
I am trying to figure out how to create files when a user submits a form ...
I have seen something about '*fopen*' , is that the direction I should be
going?
Here is what I am trying to accomplish:
I am creating a
From: Kevin
I am trying to figure out how to create files when a user submits a
form ...
I have seen something about '*fopen*' , is that the direction I should
be going?
Here is what I am trying to accomplish:
I am creating a program to keep track of recipes for my wife. I have
have
At 11:07 PM -0400 5/13/10, Kevin wrote:
Hello All,
I am trying to figure out how to create files when a user submits a form ...
I have seen something about '*fopen*' , is that the direction I
should be going?
Here is what I am trying to accomplish:
I am creating a program to keep track of
Paul M Foster wrote:
On Thu, May 13, 2010 at 11:53:54PM -0400, Kevin wrote:
snip
/On a side note:
I am having some issues with connecting to a SQLite database right now
... I'm getting the following error Fatal Error: 'sqlite_open' is an
unknown function
But I'm putting that on the side
On Thu, 2010-05-13 at 23:07 -0400, Kevin wrote:
Hello All,
I am trying to figure out how to create files when a user submits a form ...
I have seen something about '*fopen*' , is that the direction I should
be going?
Here is what I am trying to accomplish:
I am creating a program to
Ashley Sheridan wrote:
On Thu, 2010-05-13 at 23:07 -0400, Kevin wrote:
Hello All,
I am trying to figure out how to create files when a user submits a form ...
I have seen something about '*fopen*' , is that the direction I should
be going?
Here is what I am trying to accomplish:
I am
On Thu, May 13, 2010 at 11:53:54PM -0400, Kevin wrote:
snip
/On a side note:
I am having some issues with connecting to a SQLite database right now
... I'm getting the following error Fatal Error: 'sqlite_open' is an
unknown function
But I'm putting that on the side right now.
I think the
Yup,
you put result in an array
$result = array('status' = 'good');
and return encoded string
return Json_Encode($result);
your client will get a string
'{status: good}'
and you use your client tech(eg. javascrpt) to decode this string and finall
get an object
On Fri, Jan 8, 2010 at 3:43 PM,
Thank you Ruan!
This is just what I was looking for!
Anthony
Ryan Sun ryansu...@gmail.com wrote in message
news:f7f19ac21001081308r4b202d45vedaf3561536ad...@mail.gmail.com...
Yup,
you put result in an array
$result = array('status' = 'good');
and return encoded string
return
On Tue, Nov 24, 2009 at 6:22 AM, Al n...@ridersite.org wrote:
This bothers since the current working directory is effectively where my
original script resides; is it not? If so, doesn't the include Net/SMTP.php
on line 206 look for the path relative to it and not in
/home1/youstart/php/?
When
Brady Mitchell wrote:
On Tue, Nov 24, 2009 at 6:22 AM, Al n...@ridersite.org wrote:
This bothers since the current working directory is effectively where my
original script resides; is it not? If so, doesn't the include Net/SMTP.php
on line 206 look for the path relative to it and not in
I'm not sure where is the problem, but can't you just define every changing
part in your template as variables and assign them as needed from php?
If you need to change the image url, just make it a variable, like in
background:url(images/{$img})
Then you just assign the variable as needed in
Marcus Gnaß wrote:
like with programming questions in general.
Should have read my own post before sending! ;) Should be programming
languages!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Excellent, thanks for your help guys, you've been really helpful :)
On 3 Mar 2009, at 10:20, Marcus Gnaß wrote:
Matthew Croud wrote:
Hello,
First post here, I'm in the process of learning PHP , I'm digesting
a few books as we speak.
I'm working on a content heavy website that provides a
Hi,
First post here, I'm in the process of learning PHP , I'm digesting a few
books as we speak.
I'm working on a content heavy website that provides a lot of information, a
template system would be great and so i've been looking at ways to create
dynamic data with a static navigation
Matthew Croud wrote:
Hello,
First post here, I'm in the process of learning PHP , I'm digesting a
few books as we speak.
I'm working on a content heavy website that provides a lot of
information, a template system would be great and so i've been looking
at ways to create dynamic data with a
On Tue, Mar 03, 2009 at 09:01:06AM +, Matthew Croud wrote:
Hello,
First post here, I'm in the process of learning PHP , I'm digesting a
few books as we speak.
I'm working on a content heavy website that provides a lot of
information, a template system would be great and so i've been
2009/3/3 Matthew Croud m...@obviousdigital.com
First post here, I'm in the process of learning PHP , I'm digesting a few
books as we speak.
I'm working on a content heavy website that provides a lot of information,
a template system would be great and so i've been looking at ways to create
On Tue, 3 Mar 2009 20:46:40 +, stuttle wrote:
[...]
As far as templating systems go I personally don't think they add anything
to the equation unless you're working with designers who are already
familiar with something. Separation of logic and content is important,
abstraction away from PHP
I'll put in a +1 for Subversion. I use it and love it.
I have the actual repository sitting on a linux box and usually use
TortiseSVN to update, and commit to the repository.
It's pretty easy to use, and was much easier to setup than I expected. I
simply apt-get install svn, and then edited
So, for my purposes.. after trying a handful of solutions.. open source and
commercial.. I think I've decided that Reliable Software's Code Co-op
is what's going to work best for me.
My trial is almost up, so as soon as my next paycheck comes, I think I'll
be purchasing the full version for
I use GIT and Subversion. Subversion is still a bit hard to use (branching
etc) and not distributed but that was before i knew about GIT :-P. You have
a central repository that you need to commit to and it's still quite CVS
like (which is really confusing and horrible).
GIT is nice and fast and
My two cents,
It's not bad, but you need to be aware of collisions. We set it up
with a folder for each developer and it contains the main application
code.
The upside is that we each have our own code base so we don't affect
each other when cutting new code. The downside is that we can
1 - 100 of 623 matches
Mail list logo