Re: [PHP] Is it possible???

2013-06-24 Thread raphael khaiat
Hi, Shouldn't it be: $item_amount_in_store = 223; $update_amount = 7; $item_amount_in_store += $update_amount; $update_amoint_in_store is now 227; The 3rd line seems wrong as you didn't use the same variable. -- Raphaël Khaïat 06.72.89.57.29 On Mon, Jun 24, 2013 at 1:59 PM, Karl-Arne Gjersøyen

Re: [PHP] Is it possible???

2013-06-24 Thread Stuart Dallas
On 24 Jun 2013, at 12:59, Karl-Arne Gjersøyen wrote: > $item_amount_in_store = 223; > $update_amount = 7; > $update_item_amount_in_store += $update_amount; > $update_amoint_in_store is now 227; > > Why? That should be 230! Because you're using $item_amount_in_store and $update_item_amount_in_st

[PHP] Is it possible???

2013-06-24 Thread Karl-Arne Gjersøyen
$item_amount_in_store = 223; $update_amount = 7; $update_item_amount_in_store += $update_amount; $update_amoint_in_store is now 227; Why? That should be 230! Karl

Re: AW: AW: [PHP] PHP is Zero

2013-06-15 Thread Tamara Temple
the way PHP should work here? > May we should change that?! If you've been using PHP since 2000, you probably well know all the rants there are about how terrible PHP is as a language; this is one of the big ones people always mention. An analog to your statement above is "This screwdrive

Re: AW: [PHP] PHP is Zero

2013-06-13 Thread Matijn Woudt
On Thu, Jun 13, 2013 at 1:49 PM, BUSCHKE Daniel < daniel.busc...@nextiraone.eu> wrote: > To be more technical: > > If intval('8315e839da08e2a7afe6dd12ec58245d') would return NULL instead of > 8315 then PHP would be still weak-typed and the developer could know that > the conversion failed. Good id

[PHP] Re: AW: AW: PHP is Zero

2013-06-13 Thread Alessandro Pellizzari
nge that?! No. It would break backwards compatibility. A lot. And it would make PHP a strongly typed language. > BTW: I talked to some collegues and friends since my first post. They > all guessed that "'PHP' == 0" is false within a few seconds. I think the > weak-typed-

Re: [PHP] PHP is Zero

2013-06-13 Thread Samuel Lopes Grigolato
nds since my first post. They > all guessed that "'PHP' == 0" is false within a few seconds. I think the > weak-typed-PHP is a little to weak at this point. > > I don't know what the actual reasoning is; if you want that I suggest you > ask on the internals list

Re: [PHP] PHP is Zero

2013-06-13 Thread Stuart Dallas
all > guessed that "'PHP' == 0" is false within a few seconds. I think the > weak-typed-PHP is a little to weak at this point. I don't know what the actual reasoning is; if you want that I suggest you ask on the internals list, but be careful how you phrase the quest

Re: AW: [PHP] PHP is Zero

2013-06-13 Thread Samuel Lopes Grigolato
version failed. Good idea? Of course NULL should be transparent in > operations like +. So 0 + NULL should be still 0. > > Regards > Daniel > > -Ursprüngliche Nachricht- > Von: BUSCHKE Daniel > Gesendet: Donnerstag, 13. Juni 2013 13:28 > An: 'Pete Ford'; p

AW: AW: [PHP] PHP is Zero

2013-06-13 Thread BUSCHKE Daniel
be still 0. Regards Daniel -Ursprüngliche Nachricht- Von: BUSCHKE Daniel Gesendet: Donnerstag, 13. Juni 2013 13:28 An: 'Pete Ford'; php-general@lists.php.net Betreff: AW: AW: [PHP] PHP is Zero Hi, > It gives up when it finds a non-numeric character (as the documentation wou

AW: AW: [PHP] PHP is Zero

2013-06-13 Thread BUSCHKE Daniel
s that behaviour awaited by PHP software developers? Is that really the way PHP should work here? May we should change that?! BTW: I talked to some collegues and friends since my first post. They all guessed that "'PHP' == 0" is false within a few seconds. I think the weak-typed-PHP i

Re: AW: [PHP] PHP is Zero

2013-06-13 Thread Pete Ford
d return NULL and intval('0') could return 0. Regards Daniel I've had a bit of a play with your big hex number, and the problem is much more subtle: floatval("8315e839da08e2a7afe6dd12ec58245d") is truncated at 8315e839 because it tries to parse it as an exponential

Re: AW: [PHP] PHP is Zero

2013-06-13 Thread richard gray
On 13/06/2013 11:44, BUSCHKE Daniel wrote: Hi, thanks for your answer. Especially the answer "42" made me laughing :) My "Why" questions should be understand as "Why must it be like that" questions. On 13/06/13 08:59, BUSCHKE Daniel wrote: 5. Thats a bug I have opend: https://bugs.php.net/bug

AW: [PHP] PHP is Zero

2013-06-13 Thread BUSCHKE Daniel
Hi, thanks for your answer. Especially the answer "42" made me laughing :) My "Why" questions should be understand as "Why must it be like that" questions. >> On 13/06/13 08:59, BUSCHKE Daniel wrote: >> 5. Thats a bug I have opend: https://bugs.php.net/bug.php?id=51739 where I >> also had the sa

Re: [PHP] PHP is Zero

2013-06-13 Thread Pete Ford
I just want to drop into this mailinglist to discuss about: 1. Why? :) 42 2. Why is PHP converting the String into a Number instead of converting the Number into a String? (If my guess concerning the behaviour is correct) Since PHP is a weakly-typed language, it has to choose one way or the other.

AW: [PHP] PHP is Zero

2013-06-13 Thread BUSCHKE Daniel
== 1);' bool(false) regards Daniel -Ursprüngliche Nachricht- Von: georg [mailto:georg.chamb...@telia.com] Gesendet: Donnerstag, 13. Juni 2013 10:35 An: BUSCHKE Daniel Cc: php-general@lists.php.net Betreff: Re: [PHP] PHP is Zero Sorry missed to post list as well > Hi Daniel, > here is wi

Re: [PHP] PHP is Zero

2013-06-13 Thread georg
une 13, 2013 9:59 AM Subject: [PHP] PHP is Zero Hi all, I want to start a discussion about a PHP behaviour that drives me crazy for years. For the beginning I would like you to guess what the result of the following snippet will be: var_dump('PHP' == 0); I know the difference of

[PHP] PHP is Zero

2013-06-13 Thread BUSCHKE Daniel
Hi all, I want to start a discussion about a PHP behaviour that drives me crazy for years. For the beginning I would like you to guess what the result of the following snippet will be: var_dump('PHP' == 0); I know the difference of == and === but the result was unexcpected for me. And I hope

[PHP] Is BBCode Installed

2013-04-10 Thread Stephen
I ran phpinfo() on my host and searched for "BBCode". Not found. Does this mean that the extension is not installed? If not, how can I tell? Thanks -- Stephen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is there a PHP based authentication library?

2013-04-02 Thread Nathan Nobbe
On Tue, Apr 2, 2013 at 3:35 PM, Mark wrote: > Hi Bastien, > > That is indeed getting very close to what i was looking for. Thanks a lot! > I've just finished up a project using simpleSamlPhp. http://simplesamlphp.org/ There's quite a few modules, but I've only used the SAML one, so YMMV. -nat

Re: [PHP] Is there a PHP based authentication library?

2013-04-02 Thread Mark
Hi Bastien, That is indeed getting very close to what i was looking for. Thanks a lot! On Tue, Apr 2, 2013 at 9:46 PM, Bastien wrote: > Check out > http://philsturgeon.co.uk/blog/2011/09/ninjauth-social-integration-php from > Phil sturgeon. > > Bastien Koert > > On 2013-04-02, at 3:41 PM, Mark

Re: [PHP] Is there a PHP based authentication library?

2013-04-02 Thread Bastien
Check out http://philsturgeon.co.uk/blog/2011/09/ninjauth-social-integration-php from Phil sturgeon. Bastien Koert On 2013-04-02, at 3:41 PM, Mark wrote: > Hi Andy, > > To be honest, that's also not what i'm looking for, but might be a > good starting point to extend on. Depends on how you

Re: [PHP] Is there a PHP based authentication library?

2013-04-02 Thread Mark
Hi Andy, To be honest, that's also not what i'm looking for, but might be a good starting point to extend on. Depends on how you made it :) I cant promise that i'ill be working on it. I might be for some future project in my company but it might very well not happen as well. On Tue, Apr 2, 2013 a

Re: [PHP] Is there a PHP based authentication library?

2013-04-01 Thread Andy McKenzie
I started building one at my last job, though it was part of a framework I was developing. I knew I was going to need to authenticate against both LDAP and old-fashioned database username/md5-password columns. (Ah, legacy user databases.) If it would be useful, I could dig out what I had and try

Re: [PHP] Is there a PHP based authentication library?

2013-04-01 Thread Mark
On Tue, Apr 2, 2013 at 12:27 AM, Sorin Badea wrote: > Hi Mark, > I think a simple Google search would be faster. Anyway, an unified way for > 3rd party authentication doesn't exist from my knowledge, but for Persona > you could use the sample from mozilla github account > https://github.com/mozill

Re: [PHP] Is there a PHP based authentication library?

2013-04-01 Thread Mark
On Tue, Apr 2, 2013 at 12:25 AM, David OBrien wrote: > > > > On Mon, Apr 1, 2013 at 5:26 PM, Mark wrote: >> >> Hi, >> >> I stumbled upon this payment library: http://ci-merchant.org/ which >> abstracts the different payment backends away and exposes a new easy >> to use interface for the app deve

Re: [PHP] Is there a PHP based authentication library?

2013-04-01 Thread Sorin Badea
Hi Mark, I think a simple Google search would be faster. Anyway, an unified way for 3rd party authentication doesn't exist from my knowledge, but for Persona you could use the sample from mozilla github account https://github.com/mozilla/browserid-cookbook . Good luck, Sorin! On Tue, Apr 2, 2013

Re: [PHP] Is there a PHP based authentication library?

2013-04-01 Thread David OBrien
On Mon, Apr 1, 2013 at 5:26 PM, Mark wrote: > Hi, > > I stumbled upon this payment library: http://ci-merchant.org/ which > abstracts the different payment backends away and exposes a new easy > to use interface for the app developer to use. Thus making it very > easy to use different payment pro

[PHP] Is there a PHP based authentication library?

2013-04-01 Thread Mark
Hi, I stumbled upon this payment library: http://ci-merchant.org/ which abstracts the different payment backends away and exposes a new easy to use interface for the app developer to use. Thus making it very easy to use different payment providers. I was wondering if something like that is also e

Re: [PHP] Is header() malfunction due to PHP5.3.3 -> 5.4.11 transition?

2013-02-09 Thread Matijn Woudt
On Sun, Feb 10, 2013 at 12:19 AM, Stephen wrote: > On 13-02-09 04:11 PM, Matijn Woudt wrote: > >> On Sat, Feb 9, 2013 at 9:59 PM, Tedd Sperling wrote: >> >> >> Jonathan: >> >> No offense to your routine, but you may want to review this: >> >> http://sperling.com/php/**authorization/log-on.php

Re: [PHP] Is header() malfunction due to PHP5.3.3 -> 5.4.11 transition?

2013-02-09 Thread Jonathan Eagle
> Most likely they end up in the logs instead of the screen. Try check > the logs (on linux, they are usually in /var/log/apache). This is being hosted on 1and1.com, so I don't think I direct access to those directories, but I have found a 'logs' folder off of the root. Looking through that I see

Re: [PHP] Is header() malfunction due to PHP5.3.3 -> 5.4.11 transition?

2013-02-09 Thread Matijn Woudt
On Sat, Feb 9, 2013 at 10:08 PM, Jonathan Eagle wrote: > My 'display_errors' is "ON" and my 'error_reporting' is "22517". I'm > not sure what that means but it looks as if I should be getting error > messages somewhere. > > Jonathan > > Most likely they end up in the logs instead of the screen. T

Re: [PHP] Is header() malfunction due to PHP5.3.3 -> 5.4.11 transition?

2013-02-09 Thread Matijn Woudt
On Sat, Feb 9, 2013 at 9:59 PM, Tedd Sperling wrote: > On Feb 9, 2013, at 2:00 PM, Jonathan Eagle wrote: > > > I'm having a problem with a very straightforward routine; > > > Jonathan: > > No offense to your routine, but you may want to review this: > > http://sperling.com/php/authorization/log-

Re: [PHP] Is header() malfunction due to PHP5.3.3 -> 5.4.11 transition?

2013-02-09 Thread Jonathan Eagle
My 'display_errors' is "ON" and my 'error_reporting' is "22517". I'm not sure what that means but it looks as if I should be getting error messages somewhere. Jonathan On 2/9/2013 4:02 PM, Stuart Dallas wrote: > On 9 Feb 2013, at 21:00, Jonathan Eagle wrote: > >> Stuart, >> >> Thanks for getti

Re: [PHP] Is header() malfunction due to PHP5.3.3 -> 5.4.11 transition?

2013-02-09 Thread Jonathan Eagle
Matijn, Thanks for the suggestion. Your suspicions were correct. I am now tracking down the culprit. Jonathan On 2/9/2013 2:34 PM, Matijn Woudt wrote: > On Sat, Feb 9, 2013 at 8:00 PM, Jonathan Eagle wrote: > >> >> >> I'm having a problem with a very straightforward routine; one that works >>

Re: [PHP] Is header() malfunction due to PHP5.3.3 -> 5.4.11 transition?

2013-02-09 Thread Stuart Dallas
On 9 Feb 2013, at 21:00, Jonathan Eagle wrote: > Stuart, > > Thanks for getting back to me you were right - I had misread the > headers_sent() Return Value statement. When I went back and tested > it turns out that the 'initialize' routine is somehow prematurely > sending output out. So,

Re: [PHP] Is header() malfunction due to PHP5.3.3 -> 5.4.11 transition?

2013-02-09 Thread Jonathan Eagle
Stuart, Thanks for getting back to me you were right - I had misread the headers_sent() Return Value statement. When I went back and tested it turns out that the 'initialize' routine is somehow prematurely sending output out. So, now I have to figure out which of the ten called routines an

Re: [PHP] Is header() malfunction due to PHP5.3.3 -> 5.4.11 transition?

2013-02-09 Thread Tedd Sperling
On Feb 9, 2013, at 2:00 PM, Jonathan Eagle wrote: > I'm having a problem with a very straightforward routine; Jonathan: No offense to your routine, but you may want to review this: http://sperling.com/php/authorization/log-on.php If anyone finds an error, please post. Cheers, tedd __

Re: [PHP] Is header() malfunction due to PHP5.3.3 -> 5.4.11 transition?

2013-02-09 Thread Stuart Dallas
On 9 Feb 2013, at 19:00, Jonathan Eagle wrote: > I'm having a problem with a very straightforward routine; one that works > in one PHP installation but not on the other. The only difference that I > can see between the working version and the non-working version is that > the one that doesn't wor

Re: [PHP] Is header() malfunction due to PHP5.3.3 -> 5.4.11 transition?

2013-02-09 Thread Matijn Woudt
On Sat, Feb 9, 2013 at 8:00 PM, Jonathan Eagle wrote: > > > I'm having a problem with a very straightforward routine; one that works > in one PHP installation but not on the other. The only difference that I > can see between the working version and the non-working version is that > the one that

[PHP] Is header() malfunction due to PHP5.3.3 -> 5.4.11 transition?

2013-02-09 Thread Jonathan Eagle
I'm having a problem with a very straightforward routine; one that works in one PHP installation but not on the other. The only difference that I can see between the working version and the non-working version is that the one that doesn't work is running on the later version of PHP. The following

Re: [PHP] Is it possible to click download button,and run 2 tasks downloading a file and show number of downloads(ajax)simultaneously?

2012-10-15 Thread Negin Nickparsa
oh my bad:)! there is a cool solution,I forgot the blank page!:) yep! solved:) window.open('download.php', '_blank' ); now I can count up,and download:) $(".button").click(function(){ var id=$(this).attr('id'); var dataString = 'id='+ id ; $.ajax({ type: "POST", url: "download_number.

Re: [PHP] Is it possible to click download button,and run 2 tasks downloading a file and show number of downloads(ajax)simultaneously?

2012-10-15 Thread Negin Nickparsa
Thanks Tedd, ajax works fine now,when submiting a button it will show the number and it doesn't have any problem $(function() { $(".button").click(function(){ var id=$(this).attr('id'); var dataString = 'id='+ id ; $.ajax({ type: "POST", url: "download_number.php", data: dataString,

Re: [PHP] Is it possible to click download button,and run 2 tasks downloading a file and show number of downloads(ajax)simultaneously?

2012-10-14 Thread Tedd Sperling
On Oct 14, 2012, at 7:41 AM, Negin Nickparsa wrote: > I wanted to refresh the download count when clicking the button first is it > possible? Yes, it is possible. The following is an example of a server-side php script refreshing a Web page via a javascript client-side action: http://php1.net/

Re: [PHP] Is PHP unsuitable for HTML5 WebSockets?

2012-08-13 Thread Adam Richardson
> I have read in some places on the net that PHP is not suitable for WebSockets > due to it's nature. That WebSockets are designed for long running > threads/processes which each maintain multiple event-driven connections, > whereas PHP was designed around the short-liv

Re: [PHP] Is PHP unsuitable for HTML5 WebSockets?

2012-08-13 Thread Matijn Woudt
n that will need to provide real-time updates of data to user's >> browsers. WebSockets are ideal for this task. >> >> I have read in some places on the net that PHP is not suitable for >> WebSockets due to it's nature. That WebSockets are designed for long runn

Re: [PHP] Is PHP unsuitable for HTML5 WebSockets?

2012-08-13 Thread Jim Lucas
are ideal for this task. I have read in some places on the net that PHP is not suitable for WebSockets due to it's nature. That WebSockets are designed for long running threads/processes which each maintain multiple event-driven connections, whereas PHP was designed around the short-lived

[PHP] Is PHP unsuitable for HTML5 WebSockets?

2012-08-12 Thread BRIAN M. FITZPATRICK
on the net that PHP is not suitable for WebSockets due to it's nature. That WebSockets are designed for long running threads/processes which each maintain multiple event-driven connections, whereas PHP was designed around the short-lived single process procedural paradigm. Yet on the o

Re: [PHP] Is this list less busy than it used to be?

2012-07-04 Thread Govinda
>> [snip] Is this list less busy than it used to be? Or is it just me? When I >> used to be on this list ISTR sometimes being overwhelmed by email. [/snip] > > One other factor is Stackoverflow I have no idea, but I assume ^^^ Jay is right. Even if/when I am the total noob, why post here whe

Re: [PHP] Is this list less busy than it used to be?

2012-07-04 Thread Jay Blanchard
[snip] Is this list less busy than it used to be? Or is it just me? When I used to be on this list ISTR sometimes being overwhelmed by email. [/snip] One other factor is Stackoverflow - there is a tremendous amount of traffic there for PHP related questions. I have been a subscriber to this li

Re: [PHP] Is this list less busy than it used to be?

2012-07-04 Thread RGraph.net support
Hi, > My guess: The ecosystem has grown. Now much stuff, that were former > (probably) asked here, is gone to more specific lists, like ZFs, Symfony, > and so on. Maybe it's even already solveable via Twitter ;) It would be nice if everyone had grown to be much better with PHP! Though I think I'v

Re: [PHP] Is this list less busy than it used to be?

2012-07-04 Thread Sebastian Krebs
o, most of them wind down quite a lot in the North American summer > (the motorcycle forums being an exception). > > They also tend to hit a peak around the end of the first/beginning of > the second year they exist, then taper off for a while, then come > back. I'd bet when the

Re: [PHP] Is this list less busy than it used to be?

2012-07-04 Thread Andy McKenzie
y exist, then taper off for a while, then come back. I'd bet when the next major version of PHP is released we'll see an upswing in traffic for a while as people try to figure it out. -Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is this list less busy than it used to be?

2012-07-04 Thread RGraph.net support
Hi, > https://docs.google.com/spreadsheet/ccc?key=0Ak1QF0ijPYbedDNvb19SQl80MHcxUWhhbTZOYm5FUlE Yikes. That's a littled bit worrying. Or does it really mean that everyone is getting much better with PHP? :-) -- Richard, RGraph.net support RGraph: JavaScript charts for your website http://www.rgr

Re: [PHP] Is this list less busy than it used to be?

2012-07-04 Thread Erwin Poeze
Well, I think you are right. Take a look at this graph of the number of messages posted starting in 1998. The stackoverflow.org effect? messages - https://docs.google.com/spreadsheet/ccc?key=0Ak1QF0ijPYbedDNvb19SQl80MHcxUWhhbTZOYm5FUlE Erwin 2012/7/4 RGraph.net support > Hi, > > Is this list

[PHP] Is this list less busy than it used to be?

2012-07-04 Thread RGraph.net support
Hi, Is this list less busy than it used to be? Or is it just me? When I used to be on this list ISTR sometimes being overwhelmed by email. Cheers -- Richard, RGraph.net support RGraph: JavaScript charts for your website http://www.rgraph.net -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] Is there a way to customize the 'Username' and 'Password' strings in a 401 auth dialog box?

2012-06-28 Thread David OBrien
On Thu, Jun 28, 2012 at 7:23 PM, Daevid Vincent wrote: > Is there a way to customize the 'Username' and 'Password' strings in a 401 > auth dialog box? > > I want to change mine to say "Webmaster ID" and "Authentication Key". > > http://php.net/manual/en/features.http-auth.php > > This http://www

[PHP] Is there a way to customize the 'Username' and 'Password' strings in a 401 auth dialog box?

2012-06-28 Thread Daevid Vincent
Is there a way to customize the 'Username' and 'Password' strings in a 401 auth dialog box? I want to change mine to say "Webmaster ID" and "Authentication Key". http://php.net/manual/en/features.http-auth.php

Re: [PHP] is there a way to stop HTMLPurifier/CSStidy from forcing input CSS into all lowercase?

2012-06-01 Thread Govinda
we got off list, without meaning to, it seems. Here are the last few posts in the thread: > >>> On Fri, Jun 1, 2012 at 12:46 AM, Govinda >>> wrote: > Perhaps you should spend some time looking for a better text editor > for your OS. :) When the current tools I use does not give

Re: [PHP] is there a way to stop HTMLPurifier/CSStidy from forcing input CSS into all lowercase?

2012-06-01 Thread Tommy Pham
On Thu, May 31, 2012 at 11:17 PM, Govinda wrote: >> >> You need to get better tools.  I found this with Notepad++ for Windows >> searching "case" within *.php files filter within the root directory >> of the extracted zip/tarball: >> >>  H:\data\Downloads\dev\PHP\htmlpurifier-4.4.0\library\HTMLPur

Re: [PHP] is there a way to stop HTMLPurifier/CSStidy from forcing input CSS into all lowercase?

2012-05-31 Thread Govinda
> > You need to get better tools. I found this with Notepad++ for Windows > searching "case" within *.php files filter within the root directory > of the extracted zip/tarball: > > > H:\data\Downloads\dev\PHP\htmlpurifier-4.4.0\library\HTMLPurifier\AttrDef\CSS\Font.php > (6 hits) > Line

Re: [PHP] is there a way to stop HTMLPurifier/CSStidy from forcing input CSS into all lowercase?

2012-05-31 Thread Tommy Pham
On Thu, May 31, 2012 at 10:48 PM, Tommy Pham wrote: > On Thu, May 31, 2012 at 10:33 PM, Govinda > wrote: >> Hi guys >> >> anyone here using HTMLpurifier and CSStidy together?  (like e.g. to allow >> users to create their own external style sheets via form input) >> >> ...for example, in the way

Re: [PHP] is there a way to stop HTMLPurifier/CSStidy from forcing input CSS into all lowercase?

2012-05-31 Thread Tommy Pham
On Thu, May 31, 2012 at 10:33 PM, Govinda wrote: > Hi guys > > anyone here using HTMLpurifier and CSStidy together?  (like e.g. to allow > users to create their own external style sheets via form input) > > ...for example, in the way this post's answer explains how to use > HTMLpurifier and CSSt

[PHP] is there a way to stop HTMLPurifier/CSStidy from forcing input CSS into all lowercase?

2012-05-31 Thread Govinda
Hi guys anyone here using HTMLpurifier and CSStidy together? (like e.g. to allow users to create their own external style sheets via form input) ...for example, in the way this post's answer explains how to use HTMLpurifier and CSStidy together: http://stackoverflow.com/questions/3241616/ If

Re: [PHP] Is the php sockets extension experimental?

2012-03-28 Thread Meike Stone
Hello, >    Sounds like the package maintainer is a minimum of six years > behind the times, or they've done some forking to it.  We don't > support any third-party packages, so that would be something you'd > need to discuss with them, but - in all likelihood - someone just > hasn't removed the "

Re: [PHP] Is the php sockets extension experimental?

2012-03-28 Thread Daniel Brown
On Wed, Mar 28, 2012 at 09:39, Meike Stone wrote: > Hello, > > in the packet description of the php5-sockets in the SuSE Linux > Enterprise Server 11 (SLES11) is > the package php5-sockets in the additional SDK available, but marked > as "experimental" (see below). > Is this the true, where can I

[PHP] Is the php sockets extension experimental?

2012-03-28 Thread Meike Stone
Hello, in the packet description of the php5-sockets in the SuSE Linux Enterprise Server 11 (SLES11) is the package php5-sockets in the additional SDK available, but marked as "experimental" (see below). Is this the true, where can I find this Information, or is this only a historical relic? Are

Re: [PHP] is it possible to change the html title from the WYSIWYG editor?

2012-02-13 Thread Haluk Karamete
Search engines would still be indexing the original page's title. I need each unique URL to have its own unique, robot friendly title. Again, this question is strictly within WP context. On Mon, Feb 13, 2012 at 6:49 PM, Bastien wrote: > > > Bastien Koert > > On 2012-02-13, at 5:34 PM, Haluk Kar

Re: [PHP] is it possible to change the html title from the WYSIWYG editor?

2012-02-13 Thread Bastien
Bastien Koert On 2012-02-13, at 5:34 PM, Haluk Karamete wrote: > Yeah, but n the context of wordpress, that does not fly. > If I do a die; in the middle of wp's tinymce editor, and check back > the page, the title is already out there. > > first 5 lines would be something like > > > > >

Re: [PHP] is it possible to change the html title from the WYSIWYG editor?

2012-02-13 Thread Haluk Karamete
Yeah, but n the context of wordpress, that does not fly. If I do a die; in the middle of wp's tinymce editor, and check back the page, the title is already out there. first 5 lines would be something like the wordpress page title we were trying toi change is already here... http://gmpg.org/x

Re: [PHP] is it possible to change the html title from the WYSIWYG editor?

2012-02-13 Thread Daniel Brown
On Mon, Feb 13, 2012 at 17:15, Haluk Karamete wrote: Please keep the replies on the list for all to benefit, including the archives. > Isn't it TinyMCE considered a WYSIWYG one? but, anyway, that's beside > the main point. Indeed. Hence: " even web-based things like TinyMC

Re: [PHP] is it possible to change the html title from the WYSIWYG editor?

2012-02-13 Thread Daniel Brown
On Mon, Feb 13, 2012 at 15:50, Haluk Karamete wrote: > you may find it weird, actually very weird, but is the following possible> > > load up a post or page into the admin panel and place something like > this in to the editor; > > > //assume exec-PHP already active > > $current_page_url_here = g

Re: [PHP] is it possible to change the html title from the WYSIWYG editor?

2012-02-13 Thread Marc Guay
Based on the terms you're using it sounds like this is a Wordpress question. You'd have a lot better chances of getting an answer if you query a group of WP gurus/geeks. Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] is it possible to change the html title from the WYSIWYG editor?

2012-02-13 Thread Haluk Karamete
you may find it weird, actually very weird, but is the following possible> load up a post or page into the admin panel and place something like this in to the editor; click me"; if ( $_GET['var1']=='val1' ) { //change the current post's html title to val1 without using javascript/jquery } ?>

Re: [PHP] Is there a decent design app ?

2011-11-26 Thread Robert Williams
On Nov 25, 2011, at 16:18, "Andreas" wrote: > Like you have /foo.css and for some reason or another you move it to > /lib/css and rename it to bar.css. > Now it'd be nice if an IDE was aware of all the references within a site > and update the affected urls. Check out PhpStorm from JetBrains. I

Re: [PHP] Is there a decent design app ?

2011-11-26 Thread Tamara Temple
Andreas wrote: > Is there a decent design app that can automatically update links > within the pages of a php site whenever a referred file gets moved or > renamed? > > Like you have /foo.css and for some reason or another you move it to > /lib/css and rename it to bar.css. > Now it'd be nice if

Re: [PHP] Is there a decent design app ?

2011-11-25 Thread muad shibani
you can use find and replace feature in some IDEs to accomplish your task .. Dreamweaver do the job but with links inside HTML code On Sat, Nov 26, 2011 at 2:17 AM, Andreas wrote: > Hi > > Is there a decent design app that can automatically update links within > the pages of a php site whenever

[PHP] Is there a decent design app ?

2011-11-25 Thread Andreas
Hi Is there a decent design app that can automatically update links within the pages of a php site whenever a referred file gets moved or renamed? Like you have /foo.css and for some reason or another you move it to /lib/css and rename it to bar.css. Now it'd be nice if an IDE was aware of al

Re: [PHP] is there a static constructor?

2011-03-31 Thread Admin
Why not just create a no named function in the top of the class. This this way it loads on include. Richard Buskirk Sent from my iPhone On Mar 31, 2011, at 12:56 AM, "D. Dante Lorenso" wrote: > All, > > I want to build a config file class that gets called statically. Is there > such a thing

Re: [PHP] is there a static constructor?

2011-03-31 Thread Darren Karstens
class Daz_Config { private static $instance; private function __construct(){ $this->load(); } private function load() { ... } public function get($key) { ... } public static getInstance(){ if (!self::$instance) self::$instance = new Daz_Config();

Re: [PHP] is there a static constructor?

2011-03-30 Thread Peter Lind
On 31 March 2011 06:56, D. Dante Lorenso wrote: > All, > > I want to build a config file class that gets called statically.  Is there > such a thing as a static constructor?  Example: > > class Daz_Config { >  public static function load() { >    ... >  } >  public static function get($key) { >  

Re: [PHP] is there a static constructor?

2011-03-30 Thread Ryan
There is such thing, but its not called static constructor, its called singleton pattern class SingletonA { public static instance; public SingletonA(){} public static function getInstancce() { if(self::instance != null) { return self::instanc; } return new Singleton

[PHP] is there a static constructor?

2011-03-30 Thread D. Dante Lorenso
All, I want to build a config file class that gets called statically. Is there such a thing as a static constructor? Example: class Daz_Config { public static function load() { ... } public static function get($key) { self :: load(); ... } } Daz_Config :: get('myvalue');

Fwd: [PHP] is there any syntax to save a file in mysql?

2011-03-27 Thread Negin Nickparsa
-- Forwarded message -- From: Negin Nickparsa Date: Mon, Mar 28, 2011 at 10:57 AM Subject: Re: [PHP] is there any syntax to save a file in mysql? To: a...@ashleysheridan.co.uk Dear Ashley,but i want every user to have his/her own files in their account. (i used session for them

Fwd: [PHP] is there any syntax to save a file in mysql?

2011-03-27 Thread Negin Nickparsa
-- Forwarded message -- From: Negin Nickparsa Date: Mon, Mar 28, 2011 at 10:24 AM Subject: Re: [PHP] is there any syntax to save a file in mysql? To: Hans Åhlin tnx Hans now i run this code in my sql ihave this: CREATE TABLE upload ( id INT NOT NULL AUTO_INCREMENT, name VARCHAR

Re: [PHP] is there any syntax to save a file in mysql?

2011-03-27 Thread Ashley Sheridan
On Mon, 2011-03-28 at 07:36 +0200, Hans Åhlin wrote: > 2011/3/28 Negin Nickparsa : > > in php i have a file to upload i want to save this file in a table and then > > retreive it from table in another situation is it possible? > > > I assume you are thinking of saving it in a MySQL table? > If so

Re: [PHP] is there any syntax to save a file in mysql?

2011-03-27 Thread Hans Åhlin
2011/3/28 Negin Nickparsa : > in php i have a file to upload i want to save this file in a table and then > retreive it from table in another situation is it possible? > I assume you are thinking of saving it in a MySQL table? If so read this http://dev.mysql.com/doc/refman/5.0/en/blob.html --

[PHP] is there any syntax to save a file in mysql?

2011-03-27 Thread Negin Nickparsa
in php i have a file to upload i want to save this file in a table and then retreive it from table in another situation is it possible?

Re: [PHP] Is 5.3.5 really that much slower than 5.2?

2011-03-06 Thread Andrew Mason
> Is anyone else out there in the same boat? Actually we have found the complete opposite so there might be some people who are in the same boat as you but certainly not all. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Is 5.3.5 really that much slower than 5.2?

2011-03-05 Thread Joel
Hi list, I've been getting my code base ready to upgrade from 5.2 to 5.3 for all the great features and supposed performance and memory improvements, but with regular usage (ie. on my production servers) I just don't see those improvements. With 5.2 pages load on average of 2ms and consume betwee

Re: [PHP] Is there a simple way to enforce a private method in a subclass?

2010-12-21 Thread David Harkness
On Tue, Dec 21, 2010 at 8:36 AM, Richard Quadling wrote: > If I have an abstract class of Task and I want all subclasses of Task > to have a private method _runTask, is there a way to enforce this? > I cannot think of a reason to force a class to have a specifically-named *private* method. Since

[PHP] Is there a simple way to enforce a private method in a subclass?

2010-12-21 Thread Richard Quadling
Hi. If I have an abstract class of Task and I want all subclasses of Task to have a private method _runTask, is there a way to enforce this? Currently an abstract private function in an abstract class isn't allowed. Fatal error: Abstract function Task::_runTask() cannot be declared private in D:

Re: [PHP] is this thing on??

2010-11-23 Thread Nicholas Kell
Whitetail hunting season, for most of the American Midwest anyway. :) On Nov 23, 2010, at 2:01 PM, Steve Staples wrote: > On Tue, 2010-11-23 at 20:55 +0100, Peter Lind wrote: >> On 23 November 2010 20:52, Steve Staples wrote: >>> tap tap tap... testing testing... 1, 2, 3 >>> >>> Hello?

Re: [PHP] is this thing on??

2010-11-23 Thread Daniel P. Brown
On Tue, Nov 23, 2010 at 14:52, Steve Staples wrote: > tap tap tap... testing testing... 1, 2, 3 > > Hello?    No activity since yesterday at like 6pm EST... am i not > getting messages, or has there not been any activity? > > Just curious... carry on about your business... :P Some of the

Re: [PHP] is this thing on??

2010-11-23 Thread Daniel Brown
On Tue, Nov 23, 2010 at 14:55, Peter Lind wrote: > > http://news.php.net/php.general - please, next time, don't spam tons of > people. We've never really minded the occasional list-ping. In fact, if you check those same archives through the decade, you'll see that even the most senior membe

Re: [PHP] is this thing on??

2010-11-23 Thread Steve Staples
On Tue, 2010-11-23 at 20:55 +0100, Peter Lind wrote: > On 23 November 2010 20:52, Steve Staples wrote: > > tap tap tap... testing testing... 1, 2, 3 > > > > Hello?No activity since yesterday at like 6pm EST... am i not > > getting messages, or has there not been any activity? > > > > Just

Re: [PHP] is this thing on??

2010-11-23 Thread Peter Lind
On 23 November 2010 20:52, Steve Staples wrote: > tap tap tap... testing testing... 1, 2, 3 > > Hello?    No activity since yesterday at like 6pm EST... am i not > getting messages, or has there not been any activity? > > Just curious... carry on about your business... :P > http://news.php.ne

[PHP] is this thing on??

2010-11-23 Thread Steve Staples
tap tap tap... testing testing... 1, 2, 3 Hello?No activity since yesterday at like 6pm EST... am i not getting messages, or has there not been any activity? Just curious... carry on about your business... :P Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

Re: [PHP] Is it possible to install PHP on IIS?

2010-11-18 Thread Richard Quadling
On 16 November 2010 13:30, Jay Blanchard wrote: > [snip] > http://www.wampserver.com/en/ > [/snip] > > And yes, I know that this is Apache - I am just not a fan of IIS. > > I quite like it. It probably does way so much more than I need or want and I think I can do everything that I can on Apache.

Re: [PHP] Is it possible to install PHP on IIS?

2010-11-16 Thread Kevin Kinsey
Richard Quadling wrote: On 16 November 2010 13:21, Jay Blanchard wrote: [snip] Hi Folks, is it possible to install PHP on IIS? If yes, can someone please guide me on how to go about doing it? Thanks [/snip] http://www.wampserver.com/en/ Jay, if that had been wimpserver ... I think it's

  1   2   3   4   5   6   7   8   9   10   >