php-general Digest 5 Sep 2010 14:16:33 -0000 Issue 6925
Topics (messages 307848 through 307859):
Re: a test (list is too quite)
307848 by: chris h
307849 by: tedd
307850 by: metastable
307851 by: Floyd Resler
307852 by: metastable
307853 by: Marc Guay
307854 by: chris h
307855 by: a...@ashleysheridan.co.uk
307859 by: viraj
Question about translating assoc. arrays to C
307856 by: Joshua Kehn
307857 by: Jim Lucas
307858 by: Joshua Kehn
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
Evidently all is well in the world of php... :)
On Sat, Sep 4, 2010 at 12:45 PM, tedd <t...@sperling.com> wrote:
> Hi gang:
>
> Just checking to see if I am still receiving postings. :-)
>
> Cheers,
>
> tedd
> --
> -------
> http://sperling.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
At 12:47 PM -0400 9/4/10, chris h wrote:
Evidently all is well in the world of php... :)
If it was so, we would all be out of work. Instead, I think it's the
lull before the storm.
I'll ask a question to stir things up. :-)
Cheers,
tedd
--
-------
http://sperling.com/
--- End Message ---
--- Begin Message ---
On 09/04/2010 06:47 PM, chris h wrote:
> Evidently all is well in the world of php... :)
>
> On Sat, Sep 4, 2010 at 12:45 PM, tedd <t...@sperling.com> wrote:
>
>
>> Hi gang:
>>
>> Just checking to see if I am still receiving postings. :-)
>>
>> Cheers,
>>
>> tedd
>> --
>> -------
>> http://sperling.com/
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>>
>
<troll>
It must be enterprise-ready then ;)
</troll>
regards,
Stijn
--- End Message ---
--- Begin Message ---
On Sep 4, 2010, at 1:00 PM, tedd wrote:
At 12:47 PM -0400 9/4/10, chris h wrote:
Evidently all is well in the world of php... :)
If it was so, we would all be out of work. Instead, I think it's the
lull before the storm.
I'll ask a question to stir things up. :-)
Cheers,
tedd
Good idea. Here's my question:
How can I make javascript communicate with MySQL using FTP while
sending a proxy through HTML that utilizes XML and SMTP? :)
Take care,
Floyd
--- End Message ---
--- Begin Message ---
On 09/04/2010 08:03 PM, Floyd Resler wrote:
>
> On Sep 4, 2010, at 1:00 PM, tedd wrote:
>
>> At 12:47 PM -0400 9/4/10, chris h wrote:
>>> Evidently all is well in the world of php... :)
>>
>> If it was so, we would all be out of work. Instead, I think it's the
>> lull before the storm.
>>
>> I'll ask a question to stir things up. :-)
>>
>> Cheers,
>>
>> tedd
>>
>>
> Good idea. Here's my question:
>
> How can I make javascript communicate with MySQL using FTP while
> sending a proxy through HTML that utilizes XML and SMTP? :)
>
> Take care,
> Floyd
>
>
I have a wonderfully simple solution to that, but this margin is too
small to write it down.
--- End Message ---
--- Begin Message ---
Can I make a facebook site using PHP? If yes, how?
Please send me the infos privately.
--- End Message ---
--- Begin Message ---
On Sat, Sep 4, 2010 at 2:24 PM, Marc Guay <marc.g...@gmail.com> wrote:
> Can I make a facebook site using PHP? If yes, how?
>
> Please send me the infos privately.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
I'm also trying to make a Facebook site using PHP; but I want mine
to incorporate all the elements from YouTube, Twitter, and Wikipedia... Also
I want it to be ecommerce so I can sell t-shirts with my picture on them...
Also I want it to be an auction site. Hmm, maybe Wordpress can do this????
--- End Message ---
--- Begin Message ---
http://www.bash.org/?quote=76416
Meant to post this on Friday, but it works well here too!
Thanks,
Ash
http://www.ashleysheridan.co.uk
----- Reply message -----
From: "chris h" <chris...@gmail.com>
Date: Sat, Sep 4, 2010 19:42
Subject: [PHP] a test (list is too quite)
To: <php-gene...@lists.php.net>
On Sat, Sep 4, 2010 at 2:24 PM, Marc Guay <marc.g...@gmail.com> wrote:
> Can I make a facebook site using PHP? If yes, how?
>
> Please send me the infos privately.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
I'm also trying to make a Facebook site using PHP; but I want mine
to incorporate all the elements from YouTube, Twitter, and Wikipedia... Also
I want it to be ecommerce so I can sell t-shirts with my picture on them...
Also I want it to be an auction site. Hmm, maybe Wordpress can do this????
--- End Message ---
--- Begin Message ---
On Sun, Sep 5, 2010 at 12:37 AM, a...@ashleysheridan.co.uk
<a...@ashleysheridan.co.uk> wrote:
> http://www.bash.org/?quote=76416
>
finding the 'tutorial' (tut.php) on php.net should be the first
challenge for any fresher. and a very good reason to encourage
developers to read carefully :)
~viraj
> Meant to post this on Friday, but it works well here too!
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
> ----- Reply message -----
> From: "chris h" <chris...@gmail.com>
> Date: Sat, Sep 4, 2010 19:42
> Subject: [PHP] a test (list is too quite)
> To: <php-gene...@lists.php.net>
>
> On Sat, Sep 4, 2010 at 2:24 PM, Marc Guay <marc.g...@gmail.com> wrote:
>
>> Can I make a facebook site using PHP? If yes, how?
>>
>> Please send me the infos privately.
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
> I'm also trying to make a Facebook site using PHP; but I want mine
> to incorporate all the elements from YouTube, Twitter, and Wikipedia... Also
> I want it to be ecommerce so I can sell t-shirts with my picture on them...
> Also I want it to be an auction site. Hmm, maybe Wordpress can do this????
>
--- End Message ---
--- Begin Message ---
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' => 6, '8' => 7), '10' =>
array('4' => 3, '5' => 10'));
Currently I'm traversing this with
foreach($array as $key1 => $value)
{
foreach($value as $key2 => $value)
{
// Use $key1, $key2, and $value here
}
}
My question is how does this translate into the C code I will have to write?
If anyone has a decent extension building tutorial that would be great too.
Regards,
-Josh
____________________________________
Joshua Kehn | josh.k...@gmail.com
http://joshuakehn.com
--- End Message ---
--- Begin Message ---
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' => 6, '8' => 7), '10' => array('4' => 3, '5' => 10'));
Currently I'm traversing this with
foreach($array as $key1 => $value)
{
foreach($value as $key2 => $value)
{
Well, I hope you are not using it this way.
The above will overwrite your $value variable set by the first foreach
Maybe you had a cut/paste error with the $value1 $value2 portion...
// Use $key1, $key2, and $value here
}
}
My question is how does this translate into the C code I will have to write?
My suggestion would be to download the source code and find a comparable
array function and see how they do it.
If anyone has a decent extension building tutorial that would be great too.
First google result for "php extension tutorial"
http://devzone.zend.com/article/1021
http://www.talkphp.com/vbarticles.php?do=article&articleid=49&title=creating-custom-php-extensions
http://www.php.net/~wez/extending-php.pdf
Just to list a few...
Jim
Regards,
-Josh
____________________________________
Joshua Kehn | josh.k...@gmail.com
http://joshuakehn.com
--- End Message ---
--- Begin Message ---
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
____________________________________
Joshua Kehn | josh.k...@gmail.com
http://joshuakehn.com
On Sep 5, 2010, at 12:32 AM, Jim Lucas wrote:
> 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' => 6, '8' => 7), '10' =>
>> array('4' => 3, '5' => 10')); Currently I'm traversing this with
>> foreach($array as $key1 => $value)
>> {
>> foreach($value as $key2 => $value)
>> {
>
> Well, I hope you are not using it this way.
>
> The above will overwrite your $value variable set by the first foreach
>
> Maybe you had a cut/paste error with the $value1 $value2 portion...
>
>> // Use $key1, $key2, and $value here
>> }
>> }
>> My question is how does this translate into the C code I will have to write?
>
> My suggestion would be to download the source code and find a comparable
> array function and see how they do it.
>
>> If anyone has a decent extension building tutorial that would be great too.
>
> First google result for "php extension tutorial"
>
> http://devzone.zend.com/article/1021
> http://www.talkphp.com/vbarticles.php?do=article&articleid=49&title=creating-custom-php-extensions
> http://www.php.net/~wez/extending-php.pdf
>
> Just to list a few...
>
> Jim
>
>> Regards,
>> -Josh
>> ____________________________________
>> Joshua Kehn | josh.k...@gmail.com
>> http://joshuakehn.com
>
--- End Message ---