Smarty is LGPL, not GPL. The LGPL allows linking. So no.
PEAR packages typically use the PHP license, but some do use GPL. If you link
to a GPL'd package, you must GPL your package. Otherwise, no.
So unless you link to a GPL'd PEAR package, the answer is no.
Read:
From: Curt Zirzow [EMAIL PROTECTED]
* Thus wrote Anthony Ritter ([EMAIL PROTECTED]):
The following code snippet outputs a table from a mySQL database.
[snipped 255+ lines of code]
That is way to much information, please be a brief in your code
that you post. You'll find you'll get
this way may be what you'd like :
$thing = new whatever ();
$with = array (doStuff', anotherThing', doThis', doThat', doThis',
doThat', anotherThing', doThis', /* etc. etc. */ );
foreach($with as $w) $thing-$w();
--
Is there a way I can make this type
See the attached file for details
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is it possible to remove an element of an indexed array such as this exemple
$A = array('a', 'b', 'c', 'd', 'e', 'f');
in a way that we can optain this result :
$A = array('a', 'b', 'd', 'e', 'f');
something like that perhaps ?
array_remove($A, 2);
If such a function does not
Hmmwondering why I keep receiving email sent to the list, that has
this stupid attachment...anyone else getting these?
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 20 Aug 2003 00:25:32 +0200
Decapode Azur [EMAIL PROTECTED] wrote:
is it possible to remove an element of an indexed array such as this
exemple
$A = array('a', 'b', 'c', 'd', 'e', 'f');
in a way that we can optain this result :
$A = array('a', 'b', 'd', 'e', 'f');
unset($A[2]);
-Original Message-
From: Decapode Azur [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003 3:26 PM
To: [EMAIL PROTECTED]
Subject: [PHP] in the middle of shift and pop
is it possible to remove an element of an indexed array such as this
exemple
$A = array('a',
is it possible to remove an element of an indexed array such as this
exemple $A = array('a', 'b', 'c', 'd', 'e', 'f');
in a way that we can optain this result :
$A = array('a', 'b', 'd', 'e', 'f');
something like that perhaps ?
array_remove($A, 2);
If such a function does not
Matt Babineau mailto:[EMAIL PROTECTED]
on Tuesday, August 19, 2003 12:21 PM said:
Hmmwondering why I keep receiving email sent to the list, that has
this stupid attachment...anyone else getting these?
It's the Sobig.F worm. My server has already refused 20 today as well as
my users
yup, I got 5 instances. I am being slammed by viral messages today, 7 from
another client.
Bill
- Original Message -
From: Matt Babineau [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003 12:20 PM
Subject: [PHP] is the list getting virus spammed?
Hmmwondering
Hi,
Matt Babineau wrote:
Hmmwondering why I keep receiving email sent to the list, that has
this stupid attachment...anyone else getting these?
Yes, I also got those mails. It's Sobig-F.
--
regards,
Nelson Rodríguez-Peña A.
Diseño
Yes, it's Sobig-F: http://www.sophos.com/virusinfo/analyses/w32sobigf.html
Just don't run the attachment and everyone will be fine.
It's just one of those viruses that spoofs the from address from somebody
that it finds in the infected user's address book or their out/inbox.
Hopefully the site
please cc me
Anyone on a shared, name-based IP, ensim web appliance hosted website?
Can you tell me how to set the freekin':
php_value auto_prepend_file /some_freekin_unknown_real_directory_path_to_HOME/my_paths/prepend.php
value in my .htaccess file?
--
PHP General Mailing List
Yes. A virus is trying to spread through the list. I just read details about
it on zdnet's site.
Jeff Pearson
-Original Message-
From: Matt Babineau [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003 12:21 PM
To: [EMAIL PROTECTED]
Subject: [PHP] is the list getting virus spammed?
Jim Lucas wrote:
actually, you should be able to do this without ever leaving the page that
were clicking from.
I wasn't clear enough in my original post. You are right that the user
never leaves the page he is on. That's ok.
But what I would like to do is have the page reload itself so that
unset($A[2]);
No this function does not exactly what I want.
unset() makes empty hole with $A[2] = Null
I would like to have this result :
Array
(
[0] = a
[1] = b
[2] = d
[3] = e
[4] = f
)
and not this one :
Array
(
[0] = a
[1] = b
[3] = d
[4] = e
[5] = f
On Wed, 20 Aug 2003 00:25:32 +0200, you wrote:
is it possible to remove an element of an indexed array such as this exemple
$A = array('a', 'b', 'c', 'd', 'e', 'f');
in a way that we can optain this result :
$A = array('a', 'b', 'd', 'e', 'f');
something like that perhaps ?
Well, if you knew (for instance) that $A[2] should be removed then you
could do something like:
?php
foreach ($A as $key = $value)
{
if ($key 2)
{ $B[$key] = $value; }
elseif ($key 2)
{ $B[($key - 1)] = $value; }
}
?
Modify the above code as needed...
-Dan
On Tue, 2003-08-19 at
You also asked a very, very common question, i.e. how to alternate colors
in
table rows... there are a ton of websites/tutorials out there that explain
ways to do this.
---John Holmes...
Apologies for the lengthy code.
I've tried using a few
hi
how can i use session variables in a page with multiple framesets?
where in all frame will get the session variables being passed
thanks
Yep me,
was wondering why am i getting so many virus attachments from the list...but
figured that a lot of the list subscribers are probably infected...was
looking out for my name in the from: field :-D
I wonder which virus/worm it is thougham too lazy to check right now.
Cheers,
-Ryan
We
If you unset an array that isn't associative, will that mean there will
be a gap in the numbers? Or will PHP realize OK I need to change the
numbers indexing the other elements?
-Dan
On Tue, 2003-08-19 at 22:27, andu wrote:
On Wed, 20 Aug 2003 00:25:32 +0200
Decapode Azur [EMAIL PROTECTED]
Hi,
I'm going off to school and won't have computer access for like 9
months... :-\ .. and I need someone with a couple of hours every week to
monitor my CMS for bug reports, and to fix bugs (if they want). I would
appreciate it so much. The project resides at:
Dennis Gearon wrote:
please cc me
Anyone on a shared, name-based IP, ensim web appliance hosted website?
Can you tell me how to set the freekin':
php_value auto_prepend_file
/some_freekin_unknown_real_directory_path_to_HOME/my_paths/prepend.php
value in my .htaccess file?
Heh... I went
Do you have
AllowOverride All
in your httpd.conf file for that dir?
-Michael
Dennis Gearon wrote:
please cc me
Anyone on a shared, name-based IP, ensim web appliance hosted website?
Can you tell me how to set the freekin':
php_value auto_prepend_file
Decapode Azur wrote:
is it possible to remove an element of an indexed array such as this exemple
$A = array('a', 'b', 'c', 'd', 'e', 'f');
in a way that we can optain this result :
$A = array('a', 'b', 'd', 'e', 'f');
something like that perhaps ?
array_remove($A, 2);
If such a
Anthony Ritter wrote:
You also asked a very, very common question, i.e. how to alternate colors
in
table rows... there are a ton of websites/tutorials out there that explain
ways to do this.
---John Holmes...
Apologies for the lengthy code.
I've tried
Please see the attached file for details.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks very much John.
I found the following and inserted it into my snippet for alternating
backgoriund colors.
However, I'm not sure I understand the logic.
This part:
...
$alternate = 2;
while ($posts_info = mysql_fetch_array($get_posts_res)) {
$post_id
Anthony Ritter wrote:
I found the following and inserted it into my snippet for alternating
backgoriund colors.
However, I'm not sure I understand the logic.
[snip]
if ($alternate == 1) {
$color = #eaf3da;
$alternate = 2;
}
else {
$color = #d5eae9;
$alternate = 1;
}
It's just a long way of
It's the same as any other web page. When you define a frameset, you
do so with URLs, so the session value can be passed to each window of
the frameset via the URL.
Obviously cookies or PHP enabled with enable-trans-sid will make this
job easy/transparent.
The real issue you have is that a
Steelhead wrote:
yup, I got 5 instances. I am being slammed by viral messages today, 7 from
another client.
27 so far have been quarantined on my end (not all originating from
this list.)
--
H| I haven't lost my mind; it's backed up on tape somewhere.
I think you guys are bragging :) I have had over 100 easily.. about 3 or 4
every 5 minutes.. it's pretty bad. I work with a bunch of colleges and I
think they are the ones getting hit the worse :(
Rick
I look forward to the invention of faster-than-light travel. What I'm not
looking forward
how are they ever getting through ?
the funniest of all is the windows update spam virus shit, obviously
targetting the ladite and the weak.
Steelhead wrote:
yup, I got 5 instances. I am being slammed by viral messages today, 7
from another client.
27 so far have been quarantined on my
Please see the attached file for details.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] wrote:
Please see the attached file for details.
Did anyone's AV pick up a virus in this email? It went right through
mine but obviously doesn't belong on this list. I just got the latest
definitions from Norton, too...
--
---John Holmes...
Amazon Wishlist:
John W. Holmes wrote:
Did anyone's AV pick up a virus in this email? It went right through
mine but obviously doesn't belong on this list. I just got the latest
definitions from Norton, too...
Mine did. MIMEDefang with SpamAssassin on the mail spool.
--
H| I haven't lost my mind; it's
Use PHP's file functions to read the file and output it to the browser,
sending the attachment header so it opens the save as dialog. After you
finish outputing the file unlink() the file.
Another way to do this is to store the files outside your www root, then
authorize the user to access
Why not go to a cybercafe every few days or once a week and check on the
project? You can also go to Kinkos or your local library, most of them
have internet enabled pcs.
Jason
Michael A Smith wrote:
Hi,
I'm going off to school and won't have computer access for like 9
months... :-\ .. and
Hello,
On 08/19/2003 04:56 PM, Dan Van Derveer wrote:
I have had no success sending multipart/alternative emails with php. I have
tried everyone's various code snippets with no luck. I test the results with
Outlook and Outlook Express. Everytime my boundary tag ends up showing as
part of my
i got it 10 times today
[EMAIL PROTECTED] wrote:
Please see the attached file for details.
Did anyone's AV pick up a virus in this email? It went right through
mine but obviously doesn't belong on this list. I just got the latest
definitions from Norton, too...
--
---John Holmes...
Jason Sheets wrote:
Use PHP's file functions to read the file and output it to the browser,
sending the attachment header so it opens the save as dialog. After you
finish outputing the file unlink() the file.
You didn't quite catch what I wanted to do. No file exists on my server.
I just
* Thus wrote Jason Sheets ([EMAIL PROTECTED]):
Why not go to a cybercafe every few days or once a week and check on the
project? You can also go to Kinkos or your local library, most of them
have internet enabled pcs.
The library is good, plenty of reading material while waiting for
a
101 - 144 of 144 matches
Mail list logo