On Wed, May 2, 2012 at 7:00 AM, Doeke Wartena wrote:
> I try to get the content from the following rss feed
> http://www.adafruit.com/blog/feed/
>
> I want to store it in a database in order to use it for a school assignment.
> If i look in my browser to the feed then i see content and description
use recursive calls to fetch them all in one array and there will be memory
cost.
refer array_keys function: http://php.net/manual/en/function.array-keys.php
not sure but this should be working.
function *get_keys_recursive*($arr) {
while (list($k, $v) = each($arr)) {
if (is_array($v)
"Adam Richardson" wrote in message
news:aanlktin0wqqlgwgm2lowcdv4i0c6bzsbfxhjwxv_j...@mail.gmail.com...
> On Sat, May 29, 2010 at 4:20 PM, Tanel Tammik wrote:
>
>> Hi,
>>
>> is there a way to get the called classname without the namespace?
>>
>> > //PHP 5.3.x
>> namespace some\where;
>>
>> abst
On Sat, May 29, 2010 at 4:20 PM, Tanel Tammik wrote:
> Hi,
>
> is there a way to get the called classname without the namespace?
>
> //PHP 5.3.x
> namespace some\where;
>
> abstract class ParentClass {
> public static function name() {
>return strtolower(get_called_class());
> }
>
> publi
On Sun, May 30, 2010 at 1:50 AM, Tanel Tammik wrote:
> Hi,
>
> is there a way to get the called classname without the namespace?
>
> //PHP 5.3.x
> namespace some\where;
>
> abstract class ParentClass {
> public static function name() {
> return strtolower(get_called_class());
> }
>
> public
>> Your server management software may provide a way to get this information
>> either through the command line or through a network interface
Using exec('gconftool-2 -g
/apps/gnome-power-manager/timeout/sleep_display_ac') helped. Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsu
Hi,
> My PHP script is running as CLI. Can I get the Power Management
> Settings of the server ?
>
> I am using PHP 5.3.2 on Fedora 12 Machine (2.6.32.10-90.fc12.i686)
Your server management software may provide a way to get this
information either through the command line or through a network
in
> Date: Thu, 25 Feb 2010 15:04:46 -0600
> From: nos...@mckenzies.net
> To: aj...@alumni.iu.edu
> CC: a...@ashleysheridan.co.uk; php-general@lists.php.net
> Subject: Re: [PHP] RE: PHP "GET" Error?
>
> Alice Wei wrote:
> > I can't see anything obviou
Alice Wei wrote:
> I can't see anything obviously wrong with the URL really. Is there no
> way instead to send the data as post data from Flash? I know Flash
> can make post requests, but I'm not sure how much more difficult it
> is.
>
> I had it using POST before, but from the PHP point of view, i
> Alice Wei wrote:
> > Hi,
> >
> > I forgot to mention that the url is formed from Actionscript, I am just
> > using PHP to do the "I/O" because Actionscript does not have this option.
> >
> > So, I guess I cannot do the serialize here like you suggested. I have
> > changed # to 0x for n
Alice Wei wrote:
> Subject: Re: [PHP] RE: PHP "GET" Error?
> From: a...@ashleysheridan.co.uk
> To: aj...@alumni.iu.edu
> CC: nos...@mckenzies.net; php-general@lists.php.net
> Date: Thu, 25 Feb 2010 20:03:28 +
>
>
>
>
>
>
>
>
>
>
> Alice Wei wrote:
> >
> >> Date: Thu, 25 Feb 2010 13:50:16 -0600
> >> From: nos...@mckenzies.net
> >> To: aj...@alumni.iu.edu
> >> CC: php-general@lists.php.net
> >> Subject: Re: PHP "GET" Error?
> >>
> >>
On Thu, 2010-02-25 at 15:11 -0500, Alice Wei wrote:
> Subject: Re: [PHP] RE: PHP "GET" Error?
> From: a...@ashleysheridan.co.uk
> To: aj...@alumni.iu.edu
> CC: nos...@mckenzies.net; php-general@lists.php.net
> Date: Thu, 25 Feb 2010 20:03:28 +
>
>
>
>
Alice Wei wrote:
>
>> Date: Thu, 25 Feb 2010 13:50:16 -0600
>> From: nos...@mckenzies.net
>> To: aj...@alumni.iu.edu
>> CC: php-general@lists.php.net
>> Subject: Re: PHP "GET" Error?
>>
>> Alice Wei wrote:
>>> Hi,
>>>
>
Subject: Re: [PHP] RE: PHP "GET" Error?
From: a...@ashleysheridan.co.uk
To: aj...@alumni.iu.edu
CC: nos...@mckenzies.net; php-general@lists.php.net
Date: Thu, 25 Feb 2010 20:03:28 +
On Thu, 2010-02-25 at 15:01 -0500, Alice Wei wrote:
> Date: Thu, 25 Feb 2010 1
On Thu, 2010-02-25 at 15:01 -0500, Alice Wei wrote:
>
> > Date: Thu, 25 Feb 2010 13:50:16 -0600
> > From: nos...@mckenzies.net
> > To: aj...@alumni.iu.edu
> > CC: php-general@lists.php.net
> > Subject: Re: PHP "GET" Error?
> >
> > Alice W
> Date: Thu, 25 Feb 2010 13:50:16 -0600
> From: nos...@mckenzies.net
> To: aj...@alumni.iu.edu
> CC: php-general@lists.php.net
> Subject: Re: PHP "GET" Error?
>
> Alice Wei wrote:
> > Hi,
> >
> > I forgot to mention that the url is formed
Alice Wei wrote:
> Hi,
>
> I forgot to mention that the url is formed from Actionscript, I am just
> using PHP to do the "I/O" because Actionscript does not have this option.
>
> So, I guess I cannot do the serialize here like you suggested. I have
> changed # to 0x for now, and that does
Alice Wei wrote:
> Hi,
>
> I have done something wrong here, because when I have my variables
> declared in my PHP:
>
>$people_from = $_GET['people_from'];
>$state_colors= $_GET['state_colors'];
>
> I get this url: http://localhost/generic.php?people_from=Adair, OK-Alfalfa,
> OK
> Date: Thu, 25 Feb 2010 13:03:57 -0600
> From: nos...@mckenzies.net
> CC: aj...@alumni.iu.edu; php-general@lists.php.net
> Subject: Re: PHP "GET" Error?
>
> Shawn McKenzie wrote:
> > Alice Wei wrote:
> >> Hi,
> >>
> >> I hav
each
fclose($fh);
?>
Thanks for your help.
Alice
> Date: Thu, 25 Feb 2010 13:03:57 -0600
> From: nos...@mckenzies.net
> CC: aj...@alumni.iu.edu; php-general@lists.php.net
> Subject: Re: PHP "GET" Error?
>
> Shawn McKenzie wrote:
> > Alice Wei wrote:
> &g
Shawn McKenzie wrote:
> Alice Wei wrote:
>> Hi,
>>
>> I have done something wrong here, because when I have my variables
>> declared in my PHP:
>>
>>$people_from = $_GET['people_from'];
>>$state_colors= $_GET['state_colors'];
>>
>> I get this url: http://localhost/generic.php?people
Ashley Sheridan wrote:
> On Tue, 2009-10-20 at 19:01 +0300, Thodoris wrote:
>
>>
>>>
>>>
>>>
>>> How do you mean an invalid URL? A URL that is not valid as in $url =
>>> "poo" or a valid formed URL that doesn't exist?
>>>
>>> Thanks,
>>> Ash
>>> http://www.ashleysheridan.co.uk
>>>
>>>
>>>
>>>
>
http://php.net/manual/en/language.operators.errorcontrol.php ?
A better idea would be suppressing the error messages in a production site:
ini_set('display_errors',0);
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
resea soul wrote:
I'm using the function file_get_contents($url). If the url is invalid the
function displays a warning message while I am using my own customized
message. I want to get rid of the warning message.
This should do it:
@file_get_contents($url)
--
John
Gott ist eine faust
On Tue, 2009-10-20 at 19:01 +0300, Thodoris wrote:
>
>
> >
> >
> >
> >
> > How do you mean an invalid URL? A URL that is not valid as in $url =
> > "poo" or a valid formed URL that doesn't exist?
> >
> > Thanks,
> > Ash
> > http://www.ashleysheridan.co.uk
> >
> >
> >
> >
>
>
> Does
How do you mean an invalid URL? A URL that is not valid as in $url =
"poo" or a valid formed URL that doesn't exist?
Thanks,
Ash
http://www.ashleysheridan.co.uk
Does it really matter? In both cases the file_get_contents() wont be
able to open the URL and it will produce a warning or
On Tue, 2009-10-20 at 11:34 -0400, resea soul wrote:
> Hi,
>
> I'm using the function file_get_contents($url). If the url is invalid the
> function displays a warning message while I am using my own customized
> message. I want to get rid of the warning message.
>
> Thank you
How do you mean a
On Oct 20, 2009, at 10:34 AM, resea soul wrote:
Hi,
I'm using the function file_get_contents($url). If the url is
invalid the
function displays a warning message while I am using my own customized
message. I want to get rid of the warning message.
Thank you
@file_get_contents(...)
http://php.net/manual/en/language.operators.errorcontrol.php ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Tom Worster wrote:
On 9/13/09 3:21 AM, "Lars Torben Wilson" wrote:
On 9/12/09 9:50 AM, "Tom Worster" wrote:
but let me give you a more different example:
$a and $b are normally both objects, each with various members including a
prop q, but sometimes $a is false. i want the q of $a if $a
On 9/13/09 3:21 AM, "Lars Torben Wilson" wrote:
>> On 9/12/09 9:50 AM, "Tom Worster" wrote:
>>
>> but let me give you a more different example:
>>
>> $a and $b are normally both objects, each with various members including a
>> prop q, but sometimes $a is false. i want the q of $a if $a isn't f
Tom Worster wrote:
On 9/12/09 9:50 AM, "Tom Worster" wrote:
On 9/12/09 1:32 AM, "Lars Torben Wilson" wrote:
Tom Worster wrote:
if i have an expression that evaluates to an object, the return value from a
function, say, and i only want the value of one of the objects properti
I have to agree, your example works fine for me. For testing I used the
latest stable Release of server2go with PHP 5.2.10.
Or do you want to use something like that:
class o
{
protected $arr = array('a'=>0);
function o($n){$this->arr['a'] = $n;}
function getA(){return $th
> echo a()['q']; // isn't?
because this is simply not valid syntax for the INTERPRETER PHP
while this
> echo o()->q;
can be interpreted because of the design of the interpreter.
I can live with that.
ralph_def...@yahoo.de
"Tom Worster" wrote in message
news:c6d13522.12422%...@thefsb.org...
>
On 9/12/09 9:50 AM, "Tom Worster" wrote:
> On 9/12/09 1:32 AM, "Lars Torben Wilson" wrote:
>
>> Tom Worster wrote:
>>> if i have an expression that evaluates to an object, the return value from a
>>> function, say, and i only want the value of one of the objects properties,
>>> is there a tidy
On 9/12/09 1:32 AM, "Lars Torben Wilson" wrote:
> Tom Worster wrote:
>> if i have an expression that evaluates to an object, the return value from a
>> function, say, and i only want the value of one of the objects properties,
>> is there a tidy way to get it without setting another variable?
>>
On 9/12/09 12:31 AM, "Paul M Foster" wrote:
> On Fri, Sep 11, 2009 at 07:31:01PM -0400, Tom Worster wrote:
>
>> if i have an expression that evaluates to an object, the return value from a
>> function, say, and i only want the value of one of the objects properties,
>> is there a tidy way to get
Tom Worster wrote:
if i have an expression that evaluates to an object, the return value from a
function, say, and i only want the value of one of the objects properties,
is there a tidy way to get it without setting another variable?
to illustrate, here's something that doesn't work, but it wou
On Fri, Sep 11, 2009 at 07:31:01PM -0400, Tom Worster wrote:
> if i have an expression that evaluates to an object, the return value from a
> function, say, and i only want the value of one of the objects properties,
> is there a tidy way to get it without setting another variable?
>
> to illustr
Wouldn't it be $o[1]->a?
J Corry
Sent from my iPhone
On Sep 11, 2009, at 7:31 PM, Tom Worster wrote:
if i have an expression that evaluates to an object, the return
value from a
function, say, and i only want the value of one of the objects
properties,
is there a tidy way to get it withou
On Sun, Mar 1, 2009 at 12:39 AM, Paul M Foster wrote:
> On Sat, Feb 28, 2009 at 06:54:25PM -0500, Andrew Ballard wrote:
>
>> On Sat, Feb 28, 2009 at 6:08 PM, Paul M Foster
>> wrote:
>> > On Sat, Feb 28, 2009 at 12:41:12AM +, Ashley Sheridan wrote:
>> >
>> >> On Fri, 2009-02-27 at 16:58 -0500,
On Sat, Feb 28, 2009 at 06:54:25PM -0500, Andrew Ballard wrote:
> On Sat, Feb 28, 2009 at 6:08 PM, Paul M Foster
> wrote:
> > On Sat, Feb 28, 2009 at 12:41:12AM +, Ashley Sheridan wrote:
> >
> >> On Fri, 2009-02-27 at 16:58 -0500, Bastien Koert wrote:
> >
> >
> >
> >> That'll just return an
On Sat, Feb 28, 2009 at 5:08 AM, Ashley Sheridan
wrote:
> On Sat, 2009-02-28 at 00:40 -0500, Andrew Ballard wrote:
>> On Fri, Feb 27, 2009 at 7:41 PM, Ashley Sheridan
>> wrote:
>> > On Fri, 2009-02-27 at 16:58 -0500, Bastien Koert wrote:
>> >> On Thu, Feb 26, 2009 at 4:01 PM, revDAVE wrote:
>> >
On Sat, Feb 28, 2009 at 6:08 PM, Paul M Foster wrote:
> On Sat, Feb 28, 2009 at 12:41:12AM +, Ashley Sheridan wrote:
>
>> On Fri, 2009-02-27 at 16:58 -0500, Bastien Koert wrote:
>
>
>
>> That'll just return an empty result set, as in empty and with no fields
>> output! In MySQL you can do thi
On Sat, Feb 28, 2009 at 12:41:12AM +, Ashley Sheridan wrote:
> On Fri, 2009-02-27 at 16:58 -0500, Bastien Koert wrote:
> That'll just return an empty result set, as in empty and with no fields
> output! In MySQL you can do this:
>
> SELECT column_name FROM information_schema.columns WHERE
revDAVE wrote:
Newbie question:
I would like to get a list of column field names from a MS Access table and
hopefully get them returned in the ORIGINAL order (as they appear in access)
Is there a sql query I could do to get this result?
--
Thanks - RevDave
Cool @ hosting4days . com
[db-list
On Sat, 2009-02-28 at 00:40 -0500, Andrew Ballard wrote:
> On Fri, Feb 27, 2009 at 7:41 PM, Ashley Sheridan
> wrote:
> > On Fri, 2009-02-27 at 16:58 -0500, Bastien Koert wrote:
> >> On Thu, Feb 26, 2009 at 4:01 PM, revDAVE wrote:
> >>
> >> > Newbie question:
> >> >
> >> > I would like to get a li
On Fri, Feb 27, 2009 at 7:41 PM, Ashley Sheridan
wrote:
> On Fri, 2009-02-27 at 16:58 -0500, Bastien Koert wrote:
>> On Thu, Feb 26, 2009 at 4:01 PM, revDAVE wrote:
>>
>> > Newbie question:
>> >
>> > I would like to get a list of column field names from a MS Access table and
>> > hopefully get th
On Fri, Feb 27, 2009 at 4:58 PM, Bastien Koert wrote:
> On Thu, Feb 26, 2009 at 4:01 PM, revDAVE wrote:
>
>> Newbie question:
>>
>> I would like to get a list of column field names from a MS Access table and
>> hopefully get them returned in the ORIGINAL order (as they appear in
>> access)
>>
>>
On Fri, 2009-02-27 at 16:58 -0500, Bastien Koert wrote:
> On Thu, Feb 26, 2009 at 4:01 PM, revDAVE wrote:
>
> > Newbie question:
> >
> > I would like to get a list of column field names from a MS Access table and
> > hopefully get them returned in the ORIGINAL order (as they appear in
> > access)
On Thu, Feb 26, 2009 at 4:01 PM, revDAVE wrote:
> Newbie question:
>
> I would like to get a list of column field names from a MS Access table and
> hopefully get them returned in the ORIGINAL order (as they appear in
> access)
>
> Is there a sql query I could do to get this result?
>
>
>
>
> --
Morris wrote:
I know rss_php, but it doesn't fit my solution.
Is anyone able to help me with my question?
thx
2009/2/8 Nathan Rixham
Morris wrote:
Hi,
I am trying to write a programme to read a rss xml file.
...
...
scan anyone tell me how to get the url attribute? I wrote some co
I know rss_php, but it doesn't fit my solution.
Is anyone able to help me with my question?
thx
2009/2/8 Nathan Rixham
> Morris wrote:
>
>> Hi,
>>
>> I am trying to write a programme to read a rss xml file.
>>
>> ...
>>
>> ...
>>
>>scan anyone tell me how to get the url attribute? I wrot
Morris wrote:
Hi,
I am trying to write a programme to read a rss xml file.
...
...
scan anyone tell me how to get the url attribute? I wrote some codes
similar:
$doc = new DOMDocument;
$doc->load($myFlickrRss);
$r = $doc->getElementsByTagName('media:content');
for($i=0;$i<=$r->leng
"Andrew Williams" wrote in message
news:1adf0c280901270134o2f06d0f9kaf3fce2fb4b6c...@mail.gmail.com...
> Hi,
> Beware of he spam mailer so do not let them spam your money away.
>
> Andrew
>
> On Tue, Jan 27, 2009 at 9:18 AM, clive
> wrote:
>
>> Dora Gaskins wrote:
>>
>>> If you have received th
Hi,
Beware of he spam mailer so do not let them spam your money away.
Andrew
On Tue, Jan 27, 2009 at 9:18 AM, clive wrote:
> Dora Gaskins wrote:
>
>> If you have received this email, take a time to really read it carefully!
>>
>> American Gov Money
>>
> More spam, can't we have the maillist soft
Dora Gaskins wrote:
If you have received this email, take a time to really read it carefully!
American Gov Money
More spam, can't we have the maillist software require people to
register before posting?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
On Tue, Jan 6, 2009 at 3:20 PM, Jack Bates wrote:
> How do I get the file where a class is defined, from an instance of that
> class?
What are you trying to do?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
As far as I know, that's not readily available...
However, you could do an ob_start() and/or a try/catch and try to re-define the
class, and then ignore the error and continue.
I believe the PHP error message you get will have the file and line where the
original class was defined, so you
Stut wrote:
On 9 Dec 2008, at 19:37, Daniel Kolbo wrote:
is there a way (i swear i saw it in the documentation at one point)
to get the name of the calling scope (or function) from within
another function?
eg.
function a() {
b();
}
function b() {
echo "the calling function is: " . fun
On 9 Dec 2008, at 19:37, Daniel Kolbo wrote:
is there a way (i swear i saw it in the documentation at one point)
to get the name of the calling scope (or function) from within
another function?
eg.
function a() {
b();
}
function b() {
echo "the calling function is: " . func_caller();
}
On Thu, Jul 31, 2008 at 1:21 PM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
>
> Sorry Brown... maybe http://php.net/de/copy
>
> Since there weren't any English words in his post I figured going directly
> to the Deutsch translation was best
Yeah, I understand but what I mean is that, the l
Daniel Brown wrote:
On Thu, Jul 31, 2008 at 11:14 AM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
No,
http://us2.php.net/manual/de/function.copy.php
What do you mean, "no," McKenzie? ;-P
If you use the short method, it redirects properly. Putting him
through us2 and specifying transl
On Thu, Jul 31, 2008 at 11:14 AM, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
>
> No,
>
> http://us2.php.net/manual/de/function.copy.php
What do you mean, "no," McKenzie? ;-P
If you use the short method, it redirects properly. Putting him
through us2 and specifying translation is going to
Daniel Brown wrote:
On Wed, Jul 30, 2008 at 9:50 PM, Konrad Priemer <[EMAIL PROTECTED]> wrote:
kann mir mal wer auf die Sprünge helfen, ich bekomme es gerade nicht
geregelt ein Image "on-the-fly" von einem Remote-Host per fsockopen auf
meinen Server zu ziehen.
Irgendwo hab ich da voll die Block
Richard Heyes wrote:
Gutentag,
I'm staring at the screen thinking "Huh...?".
He didn't even apologize for his English!
-Shawn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Gutentag,
I'm staring at the screen thinking "Huh...?".
--
Richard Heyes
http://www.phpguru.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Konrad Priemer wrote:
Moin,
kann mir mal wer auf die Sprünge helfen, ich bekomme es gerade nicht
geregelt ein Image "on-the-fly" von einem Remote-Host per fsockopen auf
meinen Server zu ziehen.
Irgendwo hab ich da voll die Blockade ;)
Mein "nichtfunktionierender" Versuch:
...
On Wed, Jul 30, 2008 at 9:50 PM, Konrad Priemer <[EMAIL PROTECTED]> wrote:
>
> kann mir mal wer auf die Sprünge helfen, ich bekomme es gerade nicht
> geregelt ein Image "on-the-fly" von einem Remote-Host per fsockopen auf
> meinen Server zu ziehen.
>
> Irgendwo hab ich da voll die Blockade ;)
[snip]
is there a way to get the current locale being used by php and the
encoding
it uses?
[/snip]
Do you mean the locale where the computer connecting to the service is
using PHP? Remember, PHP is server side and has no way of gathering data
from a 'local' machine unless coupled with something l
émeth [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 9 de maio de 2008 08:37
Para: Chetan Rane
Cc: 'Shelley'; 'PHP General list'
Assunto: RE: [PHP] Get array as string --Help
> Yet another option is use serialize(array())
or you could use var_export if you need php code
h
> Yet another option is use serialize(array())
or you could use var_export if you need php code
http://php.net/var_export
greets,
Zoltán Németh
>
> Chetan Dattaram Rane
> Software Engineer
>
>
>
> -Original Message-
> From: Shelley [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 09, 2008 3
Yet another option is use serialize(array())
Chetan Dattaram Rane
Software Engineer
-Original Message-
From: Shelley [mailto:[EMAIL PROTECTED]
Sent: Friday, May 09, 2008 3:11 PM
To: PHP General list
Subject: [PHP] Get array as string --Help
Hi all,
If I have an array like this:
$ar
What is the format you want it to be
You can use JSON_encode(array());
To get into a text like representation
Chetan Dattaram Rane
Software Engineer
-Original Message-
From: Shelley [mailto:[EMAIL PROTECTED]
Sent: Friday, May 09, 2008 3:11 PM
To: PHP General list
Subject: [PHP] Ge
serialize
--
/James
On Fri, May 9, 2008 at 10:40 AM, Shelley <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> If I have an array like this:
> $arr = array (
>'c' => 'd',
>'e' => 'f');
>
> How can I convert this array into a string? I want to write an array into a
> file.
I ask you remove this spammer from our LIST
Richard L. Buskirk
Senior Software Engineer
-Original Message-
From: steve_carpenter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2008 5:14 PM
To: php-general@lists.php.net
Subject: [PHP] Get Free Information for Top twenty (20) online
Dani Castaños wrote:
As a little project, I took the link provided by "the other" Rob and
make this little search tool.
It only looks at the beginning numbers. It does no number
validation. I don't validate the length of the number. ie: I would
have to know the min/max lenth of each phon
As a little project, I took the link provided by "the other" Rob and
make this little search tool.
It only looks at the beginning numbers. It does no number
validation. I don't validate the length of the number. ie: I would
have to know the min/max lenth of each phone number for that give
- Original Message -
From: "Jim Lucas" <[EMAIL PROTECTED]>
To: "Dani Castaños" <[EMAIL PROTECTED]>
Cc: "PHP LIST"
Sent: Saturday, March 01, 2008 2:36 AM
Subject: Re: [PHP] Get country from Phone number
Dani Castaños wrote:
Hi all!
I'
Dani Castaños wrote:
Hi all!
I'm looking for some piece of code or class which giving a phone number
it returns me from wich country is this phone.
Do you know where I can find something like this?
Thank you in advanced!
As a little project, I took the link provided by "the other" Rob and
On Fri, Feb 29, 2008 at 5:02 AM, Dani Castaños
<[EMAIL PROTECTED]> wrote:
> Hi all!
>
> I'm looking for some piece of code or class which giving a phone number
> it returns me from wich country is this phone.
> Do you know where I can find something like this?
Most likely you'll need a data
On Fri, 2008-02-29 at 05:17 -0500, Andrés Robinet wrote:
> > -Original Message-
> > From: Dani Castaños [mailto:[EMAIL PROTECTED]
> > Sent: Friday, February 29, 2008 5:03 AM
> > To: PHP LIST
> > Subject: [PHP] Get country from Phone number
> >
> > Hi all!
> >
> > I'm looking for some pie
hus, Mexico and Brazil get two digit codes in the 5 range
while smaller Nicaragua gets three.
Satyam
- Original Message -
From: "Andrés Robinet" <[EMAIL PROTECTED]>
To: "'Dani Castaños'" <[EMAIL PROTECTED]>; "'PHP LIST'"
Andrés Robinet escribió:
-Original Message-
From: Dani Castaños [mailto:[EMAIL PROTECTED]
Sent: Friday, February 29, 2008 5:03 AM
To: PHP LIST
Subject: [PHP] Get country from Phone number
Hi all!
I'm looking for some piece of code or class which giving a phone number
it returns me from
> -Original Message-
> From: Dani Castaños [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 29, 2008 5:03 AM
> To: PHP LIST
> Subject: [PHP] Get country from Phone number
>
> Hi all!
>
> I'm looking for some piece of code or class which giving a phone number
> it returns me from wich co
On Jan 10, 2008 4:00 AM, Liam <[EMAIL PROTECTED]> wrote:
> >> Thanks everyone for your assistance, I'll be sure to come back here and
> >> frustrate you with any future problems I have. :] :P
That's fine, and it's for that reason this list exists, but here's
a couple of pointers:
1.) Kee
mike wrote:
yeah - well you said you can't issue an http request
although it depends - if your reporting is
javascript/browser-executable, or if it's a server-side increment. if
it's javascript, no worries, the curl request won't execute it.
On 1/10/08, Liam <[EMAIL PROTECTED]> wrote:
mike wro
yeah - well you said you can't issue an http request
although it depends - if your reporting is
javascript/browser-executable, or if it's a server-side increment. if
it's javascript, no worries, the curl request won't execute it.
On 1/10/08, Liam <[EMAIL PROTECTED]> wrote:
> mike wrote:
> > you'r
On 1/9/08, Liam <[EMAIL PROTECTED]> wrote:
> The cgi script IS perl. Oh, RE: the sentence below it: I'm running
> apache, and it DOESN'T work. The reason I am trying to call it in php
> is to include it on a webpage. So, tell me, how am I supposed to
> pre-generate the contents in a flatfile (w
On 1/9/08, Liam <[EMAIL PROTECTED]> wrote:
mike wrote:
that is a horrible method.
Thanks for the nice positive, refreshing and most helpful response.
read the sentence below it.
in my opinion i would say "redesign it properly."
Well what the hell do you suggest I do??? The script is MEANT
On Wed, January 9, 2008 8:38 pm, Liam wrote:
> How do I use a get parameter in a include?
>
> e.g.
>
>
> I can't modify the cgi file though, and HTML includes don't work on my
> server.
>
> Thanks in advance.
In order to fire the CGI and have it processed, you would need to do:
$html = file_get_
On 1/9/08, Liam <[EMAIL PROTECTED]> wrote:
> mike wrote:
> > that is a horrible method.
> Thanks for the nice positive, refreshing and most helpful response.
read the sentence below it.
> > in my opinion i would say "redesign it properly."
> Well what the hell do you suggest I do??? The script i
The script is MEANT to be used this way
I doubt it.
If you want the contents from that url, then use curl
(http://www.php.net/curl).
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
mike wrote:
that is a horrible method.
Thanks for the nice positive, refreshing and most helpful response.
in my opinion i would say "redesign it properly."
Well what the hell do you suggest I do??? The script is MEANT to be
used this way, as it has an admin panel inside etc.
Oh, by the way
that is a horrible method.
it works in zeus and apache, but not lighttpd, from my experience.
it's just not a good idea. technically that should only be file paths,
and i would expect it to load a file named "x.cgi?want=ssilinks"
although fopen wrappers can confuse that further...
in my opinion
On Thu, August 9, 2007 7:55 pm, Daevid Vincent wrote:
> It has a size limit for one (maybe 1k chars?)
The limit has been increased with each version of the HTTP spec, and
implementors have always been encouraged to make the limit as high as
practical.
But they could not claim to be implementing t
I've done that on occasion, but do be careful what you are sending via
the GET.
It has a size limit for one (maybe 1k chars?) and it is trivial for
someone to modify.
I generally use GET when I think it's a page "setup" the user may wish
to bookmark (ie: page.php?orderby=name&descending=1&report=
On Wednesday 08 August 2007 10:29:33 pm Richard Lynch wrote:
> On Wed, August 8, 2007 10:18 pm, Ray wrote:
> > I've done something and I want to know if I should be ashamed :)
> >
> > I've set up a form with method="POST" and target ="page.php?foo=bar"
> > it works fine. $_POST[...] gives me the da
On Wed, August 8, 2007 10:18 pm, Ray wrote:
> I've done something and I want to know if I should be ashamed :)
>
> I've set up a form with method="POST" and target ="page.php?foo=bar"
> it works fine. $_POST[...] gives me the data I want and
> $_GET['foo']=='bar'.
> I freely admit it's an ugly klud
1 - 100 of 507 matches
Mail list logo