[snip]
>
> I'm trying to load an external rss feed into a DomDocument, the feed says
it's uft-8 but DomDocument rightly disagrees. This causes a warning: Input
is not proper UTF-8, indicate encoding ! Bytes: 0xA3 0x36 0x35 0x20
Is there any way I can get DomDocument to skip that
On Wed, 2008-10-08 at 19:08 -0400, Haig Dedeyan wrote:
> Ashley Sheridan wrote:
> > On Wed, 2008-10-08 at 18:45 -0400, Haig Dedeyan wrote:
> >
> >> Hi everyone,
> >>
> >> is there a software that will create a flow chart indicating what php
> >> pages are using what tables in a MySql dbase?
> >
Ashley Sheridan wrote:
On Wed, 2008-10-08 at 18:45 -0400, Haig Dedeyan wrote:
Hi everyone,
is there a software that will create a flow chart indicating what php
pages are using what tables in a MySql dbase?
Haig
To my knowledge no such software exists. You could include an extra bi
On Wed, 2008-10-08 at 18:45 -0400, Haig Dedeyan wrote:
> Hi everyone,
>
> is there a software that will create a flow chart indicating what php
> pages are using what tables in a MySql dbase?
>
> Haig
>
To my knowledge no such software exists. You could include an extra bit
of code in each of y
Hi everyone,
is there a software that will create a flow chart indicating what php
pages are using what tables in a MySql dbase?
Haig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 8 Oct 2008, at 22:32, Ashley Sheridan wrote:
On Wed, 2008-10-08 at 22:15 +0100, Stut wrote:
I don't disagree that it's not the best model, but it is the best
paying
I have to disagree. Each and every time I've come across this, I've
gone
elsewhere. The model doesn't work as far as I can te
On Wed, 2008-10-08 at 17:37 -0400, Daniel Brown wrote:
> On Wed, Oct 8, 2008 at 5:34 PM, Ashley Sheridan
> <[EMAIL PROTECTED]> wrote:
> >>
> > You probably wouldn't have wanted any cake, it was most likely spiked
> > with laxatives to induce the obvious and cause a decline in programming
> > time ;
On Wed, Oct 8, 2008 at 5:34 PM, Ashley Sheridan
<[EMAIL PROTECTED]> wrote:
>>
> You probably wouldn't have wanted any cake, it was most likely spiked
> with laxatives to induce the obvious and cause a decline in programming
> time ;)
Precisely one of the reasons I'm not the only one to take a
On Wed, 2008-10-08 at 17:13 -0400, Daniel Brown wrote:
> On Wed, Oct 8, 2008 at 5:09 PM, Ashley Sheridan
> <[EMAIL PROTECTED]> wrote:
> >
> > I really meant standards when I said basics. IMHO, standards are the
> [snip!]
>
> None of the list-newbies get smiley-less jokes here anymore. What
>
On Wed, 2008-10-08 at 22:15 +0100, Stut wrote:
> I don't disagree that it's not the best model, but it is the best
> paying
I have to disagree. Each and every time I've come across this, I've gone
elsewhere. The model doesn't work as far as I can tell. I think the
problem is the people who creat
On 8 Oct 2008, at 22:05, Ashley Sheridan wrote:
On Wed, 2008-10-08 at 21:45 +0100, Stut wrote:
On 8 Oct 2008, at 21:44, Ashley Sheridan wrote:
The only redirects that have p!ssed me off before are those ones
that
big sites put in to make room for their adverts. On more than one
occassion I've
On Wed, Oct 8, 2008 at 5:09 PM, Ashley Sheridan
<[EMAIL PROTECTED]> wrote:
>
> I really meant standards when I said basics. IMHO, standards are the
[snip!]
None of the list-newbies get smiley-less jokes here anymore. What
is this world coming to?!?
> ps, for those that don't know, I'm referr
On Wed, 2008-10-08 at 16:51 -0400, Daniel Brown wrote:
> On Wed, Oct 8, 2008 at 4:47 PM, Ashley Sheridan
> <[EMAIL PROTECTED]> wrote:
> >>
> > Obviously, I'm only advocating this as a last ditch alternative for a
> > browser that can't get even the basics right yet ;)
>
> What do you mean, "b
On Wed, 2008-10-08 at 21:45 +0100, Stut wrote:
> On 8 Oct 2008, at 21:44, Ashley Sheridan wrote:
> > On Wed, 2008-10-08 at 16:33 -0400, Wolf wrote:
> >>
> >>> Redirects make sense IMO. IIRC the Yahoo guidelines say not to
> >>> redirect after a form POST, but unless you have a ka-jillion page
> >>
On Wed, Oct 8, 2008 at 4:47 PM, Ashley Sheridan
<[EMAIL PROTECTED]> wrote:
>>
> Obviously, I'm only advocating this as a last ditch alternative for a
> browser that can't get even the basics right yet ;)
What do you mean, "basics"? When you're Microsoft, you don't
invent software to match the
On 8 Oct 2008, at 21:38, Bryan wrote:
My web site consists of some hard-coded html but on the main, data is
stored in MySQL and through the use of PHP I generate pages of html.
Everything went well this year until around June/July time when I
started noticing quotes (') were escaped in the gener
On 8 Oct 2008, at 21:44, Ashley Sheridan wrote:
On Wed, 2008-10-08 at 16:33 -0400, Wolf wrote:
Redirects make sense IMO. IIRC the Yahoo guidelines say not to
redirect after a form POST, but unless you have a ka-jillion page
views a second (or, "a lot"), then I don't think it's a concern.
Wai
On Wed, 2008-10-08 at 21:35 +0100, Richard Heyes wrote:
> >I think Richard Heyes was working on some of these, actually. Not
> > positive if it was plotting or just display, though. If you check the
> > archives, you might find something. I'm CC'ing him personally, too.
> >
> >Here's one
On Wed, 2008-10-08 at 16:33 -0400, Wolf wrote:
>
> > Redirects make sense IMO. IIRC the Yahoo guidelines say not to
> > redirect after a form POST, but unless you have a ka-jillion page
> > views a second (or, "a lot"), then I don't think it's a concern.
>
> Wait, Yahell has guidelines?!?!?
>
>
My web site consists of some hard-coded html but on the main, data is
stored in MySQL and through the use of PHP I generate pages of html.
Everything went well this year until around June/July time when I
started noticing quotes (') were escaped in the generated html, so
"it's" would appear as
>I think Richard Heyes was working on some of these, actually. Not
> positive if it was plotting or just display, though. If you check the
> archives, you might find something. I'm CC'ing him personally, too.
>
>Here's one link of his I have from memory:
>
>http://www.phpguru.org
> Redirects make sense IMO. IIRC the Yahoo guidelines say not to
> redirect after a form POST, but unless you have a ka-jillion page
> views a second (or, "a lot"), then I don't think it's a concern.
Wait, Yahell has guidelines?!?!?
You always have to look at the User Experience. You don't want
> I would recommend using the include method. Redirects should always
>> be second choice, because they are just evil.
>
> In this case I would disagree. On successful login it's normal to redirect
> to a useful page rather than just display a page that says "congratulations,
> you're a real user".
www.frengo.com provides SMS alert service.
- Jignesh
On Thu, Oct 9, 2008 at 1:25 AM, Boyd, Todd M. <[EMAIL PROTECTED]> wrote:
> > -Original Message-
> > From: Rene Veerman [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, October 08, 2008 2:33 PM
> > To: php-general@lists.php.net
> > Subjec
> -Original Message-
> From: Rene Veerman [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 08, 2008 2:33 PM
> To: php-general@lists.php.net
> Subject: [PHP] sms interfaces?
>
> hi, i'd like my app to send sms warnings of some events.
>
> if you know of a free / cheap sms service that
thanks!
Stut wrote:
On 8 Oct 2008, at 20:33, Rene Veerman wrote:
hi, i'd like my app to send sms warnings of some events.
if you know of a free / cheap sms service that can be called from
php, please let me/us know.
u earn extra points if it can send to dutch phones / any phone in the
worl
On 8 Oct 2008, at 20:33, Rene Veerman wrote:
hi, i'd like my app to send sms warnings of some events.
if you know of a free / cheap sms service that can be called from
php, please let me/us know.
u earn extra points if it can send to dutch phones / any phone in
the world ;)
Best I've fou
On Wed, 2008-10-08 at 11:37 -0700, Yeti wrote:
> #let's say we got following string:
> $some_string = 'blah blahblah blah';
> var_dump(explode('', $some_string));
> /* OUTPUT:
> array(4) {
> [0]=>
> string(0) ""
> [1]=>
> string(9) "blah blah"
> [2]=>
> string(9) "blah blah"
> [3]=>
hi, i'd like my app to send sms warnings of some events.
if you know of a free / cheap sms service that can be called from php,
please let me/us know.
u earn extra points if it can send to dutch phones / any phone in the
world ;)
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
blah blahblah blah';
var_dump(explode('', $some_string));
/* OUTPUT:
array(4) {
[0]=>
string(0) ""
[1]=>
string(9) "blah blah"
[2]=>
string(9) "blah blah"
[3]=>
string(0) ""
}
*/
#So as you see index 0 and index 3 are empty strings. Keep that in mind
?>
--
PHP General Mailing List
On Wed, 2008-10-08 at 20:02 +0100, Stut wrote:
> On 8 Oct 2008, at 19:52, Bernhard Kohl wrote:
> > > # I would recommend using the include method. Redirects should always
> > be second choice, because they are just evil.
>
> In this case I would disagree. On successful login it's normal to
> re
On Wed, 2008-10-08 at 12:01 -0700, mike wrote:
> On Wed, Oct 8, 2008 at 4:06 AM, ANR Daemon <[EMAIL PROTECTED]> wrote:
>
> > If you're using it to deal with possible empty input data, you'd better do
> > it
> > explicitly enstead.
> >
> > Something like this:
> >
> > if(!array_key_exists('from_y
On 8 Oct 2008, at 19:52, Bernhard Kohl wrote:
In this case I would disagree. On successful login it's normal to
redirect to a useful page rather than just display a page that says
"congratulations, you're a real user". In the case of an unsuccessful
login why would you need to include ano
On Wed, Oct 8, 2008 at 4:06 AM, ANR Daemon <[EMAIL PROTECTED]> wrote:
> If you're using it to deal with possible empty input data, you'd better do it
> explicitly enstead.
>
> Something like this:
>
> if(!array_key_exists('from_year', $_POST)
>|| !array_key_exists('from_month', $_POST)
>|
On Wed, 2008-10-08 at 11:52 -0700, Bernhard Kohl wrote:
> # I would recommend using the include method. Redirects should always
> be second choice, because they are just evil.
> # Example code below
> $password = md5('swordfish');
> $user = 'Trucker Joe';
> if ($_POST['user'] == $user && md5($_POS
http://us.php.net/manual/en/function.include.php
# http://en.wikipedia.org/wiki/Code_injection#PHP_Injection
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, Oct 2, 2008 at 12:35 PM, Jason Pruim <[EMAIL PROTECTED]> wrote:
> Hi Everyone,
>
> I am working on a app where I need to be able to select all the values from
> a database where the 'timein' field is between a certain date range...
> Essentially the last 7 days...
>
> here is the code that
Michelle Konzack wrote:
> Am 2008-10-07 08:34:42, schrieb Per Jessen:
>> > I like to know, whether this is good enough or is there a
>> > better solution?
>>
>> Good enough depends entirely on your security requirements, i.e. how
>> safe do you need the authenticated access to be? Are you
On Tue, Oct 7, 2008 at 9:16 PM, Chris <[EMAIL PROTECTED]> wrote:
> Dan Joseph wrote:
>>
>> On Thu, Oct 2, 2008 at 12:35 PM, Jason Pruim <[EMAIL PROTECTED]> wrote:
>>
>>> SQLTEST: SELECT * FROM `timeStore` WHERE`timein` BETWEEN
>>> 1222315200 AND 122292
>>> Could not perform query:
JJB wrote:
We regularly send out massive mail blasts to our customers. Recently
several mail blasts failed to transmit. After a serious amount of
research we found the snippet of code below to be the place where it
was breaking down. The issue it seems is that the Environment
Variables HOST
From your function name I assume you want to use it in MySQL. In that
case, why don't you have MySQL do all the magic for you?
eg. INSERT INTO table (col) VALUES (FROM_UNIXTIME($timestamp));
(using FROM_UNIXTIME($timestamp) will give you the date-time in "mysql
format" (-MM-DD HH:MM:SS)
Thodoris wrote:
Actually strtotime accepts all kinds of things... "Last week
Thursday midnight" for example works perfectly.
You could do an explode on the field and then reorder the array
anyway that you want...
Or something like that :)
That wasn't tested but should give you an idea
On Oct 8, 2008, at 7:58 AM, Thodoris wrote:
Actually strtotime accepts all kinds of things... "Last week
Thursday midnight" for example works perfectly.
You could do an explode on the field and then reorder the array
anyway that you want...
Or something like that :)
That wasn't te
Am 2008-10-07 08:34:42, schrieb Per Jessen:
> > I like to know, whether this is good enough or is there a
> > better solution?
>
> Good enough depends entirely on your security requirements, i.e. how
> safe do you need the authenticated access to be? Are you protecting
> something that is
On 8 Oct 2008, at 12:58, Thodoris wrote:
Actually this means that strtotime() was made with Americans *only*
in mind... :-) .
As far as I know it uses the configured timezone to decide between
ambiguous formats.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
Actually strtotime accepts all kinds of things... "Last week
Thursday midnight" for example works perfectly.
You could do an explode on the field and then reorder the array
anyway that you want...
Or something like that :)
That wasn't tested but should give you an idea...
php.net/expl
On Oct 8, 2008, at 7:08 AM, Thodoris wrote:
I know that *strtotime*() only recognises the formats mm/dd/,
-mm-dd and mmdd
for numeric months but I need do something like that:
function dateWebToMysql($webdate){
$format = 'Y-m-d';
$timestamp = strtotime($webda
On 8 Oct 2008, at 12:42, Nathan Rixham wrote:
Thodoris wrote:
I know that *strtotime*() only recognises the formats mm/dd/,
-mm-dd and mmdd
for numeric months but I need do something like that:
function dateWebToMysql($webdate){
$format = 'Y-m-d';
$timestamp = strtotime($
Thodoris wrote:
I know that *strtotime*() only recognises the formats mm/dd/,
-mm-dd and mmdd
for numeric months but I need do something like that:
function dateWebToMysql($webdate){
$format = 'Y-m-d';
$timestamp = strtotime($webdate);
return date($format,$timestam
On Oct 8, 2008, at 7:24 AM, Thodoris wrote:
On Oct 8, 2008, at 7:08 AM, Thodoris wrote:
I know that *strtotime*() only recognises the formats mm/dd/,
-mm-dd and mmdd
for numeric months but I need do something like that:
function dateWebToMysql($webdate){
$format = 'Y
On Oct 8, 2008, at 7:08 AM, Thodoris wrote:
I know that *strtotime*() only recognises the formats mm/dd/,
-mm-dd and mmdd
for numeric months but I need do something like that:
function dateWebToMysql($webdate){
$format = 'Y-m-d';
$timestamp = strtotime($webdate);
I know that *strtotime*() only recognises the formats mm/dd/, -mm-dd and mmdd
for numeric months but I need do something like that:
function dateWebToMysql($webdate){
$format = 'Y-m-d';
$timestamp = strtotime($webdate);
return date($format,$timestamp);
Greetings, ""Crash" Dummy".
In reply to Your message dated Tuesday, October 7, 2008, 15:54:14,
>>> mike schreef:
Mon, Oct 6, 2008 at 12:17 PM, Daniel Brown <[EMAIL PROTECTED]
wrote:
>> I will get an error, but if I prefix the value with '@',
>> [EMAIL PROTECTED]"q"];
> Th
Ron Rademaker wrote:
Nathan Rixham wrote:
Ron Rademaker wrote:
Hi,
I'm trying to load an external rss feed into a DomDocument, the feed
says it's uft-8 but DomDocument rightly disagrees. This causes a
warning: Input is not proper UTF-8, indicate encoding ! Bytes: 0xA3
0x36 0x35 0x20
Is th
Jochem Maas wrote:
> seems like a lot of pain to go through, what with all that shell'ing
> out to grep data. I'd personally go for a simple DB table and
> use/store sha1() hashes.
My thoughts exactly.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visi
Luke wrote:
I can't say I've ever used a framework.
I like to be in control of all of my code, plus it's much more satisfying
when you write everything yourself (I've found anyway)...
If I want to make use of existing code, I rather have a good
understanding and a grasp of the philosophy behind
Nathan Rixham wrote:
Ron Rademaker wrote:
Hi,
I'm trying to load an external rss feed into a DomDocument, the feed
says it's uft-8 but DomDocument rightly disagrees. This causes a
warning: Input is not proper UTF-8, indicate encoding ! Bytes: 0xA3
0x36 0x35 0x20
Is there any way I can get
I can't say I've ever used a framework.
I like to be in control of all of my code, plus it's much more satisfying
when you write everything yourself (I've found anyway)...
2008/10/8 paragasu <[EMAIL PROTECTED]>
> > PHP framework vs just php ?
> > http://paul-m-jones.com/?p=315
>
> according to t
Hi,
I'm trying to load an external rss feed into a DomDocument, the feed
says it's uft-8 but DomDocument rightly disagrees. This causes a
warning: Input is not proper UTF-8, indicate encoding ! Bytes: 0xA3 0x36
0x35 0x20
Is there any way I can get DomDocument to skip that part of the feed.
Ron Piggott wrote:
I have a series of questions.
How do I count the number of 's in a string?
How do I add text in the middle of a string, let's say after the 3rd
Ron
simplest way from experience is to simply explode('', $the_string)
you can then count the array -1 for number of br's; and
Ron Rademaker wrote:
Hi,
I'm trying to load an external rss feed into a DomDocument, the feed
says it's uft-8 but DomDocument rightly disagrees. This causes a
warning: Input is not proper UTF-8, indicate encoding ! Bytes: 0xA3 0x36
0x35 0x20
Is there any way I can get DomDocument to skip th
Jason ML wrote:
> Hi PHP'ers,
>
> PHP 4.4.8 and 5.
>
> say I have a url like:
>
> http://www.mydomain.tld/jason/index.php
>
> In that index.php I want to have a piece of code that runs that tells
> me the 'jason' part of the URL so that I can run some custom read only
> queries for 'jason'
>
Hi,
I'm trying to load an external rss feed into a DomDocument, the feed
says it's uft-8 but DomDocument rightly disagrees. This causes a
warning: Input is not proper UTF-8, indicate encoding ! Bytes: 0xA3 0x36
0x35 0x20
Is there any way I can get DomDocument to skip that part of the feed.
63 matches
Mail list logo