Re: [PHP] PHP 5.2 and Apache 2.2 are really compatible?

2011-10-19 Thread Tommy Pham
On Wed, Oct 19, 2011 at 9:26 AM, Tim Thorburn wrote: > > > Failing this, do you need Apache? If you just want a web server to test > some stuff on, you can download Microsoft's Web Platform - it will install > and configure IIS to run with PHP, IIS is only available on Windows XP Professional.

Re: [PHP] PHP 5.2 and Apache 2.2 are really compatible?

2011-10-19 Thread Tim Thorburn
On 10/19/2011 11:36 AM, Joseph Adenuga wrote: Dear All, I’m using Window XP operating system. I’ve just installed PHP 5.2.5 and Apache 2.2.8 over a week now. I’ve checked if Apache installation is okay with ‘localhost’ in my Firefox browser and it displays ‘It Works!’ But, my php codeHello Web!

Re: [PHP] PHP 5.2 and Apache 2.2 are really compatible?

2011-10-19 Thread Lester Caine
Joseph Adenuga wrote: I’m using Window XP operating system. I’ve just installed PHP 5.2.5 and Apache 2.2.8 over a week now. I’ve checked if Apache installation Both of those are quite old! If you are just starting out then it would be worth ditching them and getting PHP5.3.8 with Apache2.2.21

[PHP] PHP 5.2 and Apache 2.2 are really compatible?

2011-10-19 Thread Joseph Adenuga
Dear All, I’m using Window XP operating system. I’ve just installed PHP 5.2.5 and Apache 2.2.8 over a week now. I’ve checked if Apache installation is okay with ‘localhost’ in my Firefox browser and it displays ‘It Works!’ But, my php code Hello Web!"; ?> that I saved as ‘first.php’ in the ‘h

Re: [PHP] PHP Version: 5.2.5.

2011-10-17 Thread Ashley Sheridan
you in anticipation. > > I look forward to hearing from you. > > Best Wishes, > > Joseph > > --- On Mon, 17/10/11, Ashley Sheridan > wrote: > > > From: Ashley Sheridan > Subject: Re: [PHP] PHP Version: 5.2.5. > To: &q

Re: [PHP] PHP Version: 5.2.5.

2011-10-17 Thread Ashley Sheridan
Joseph Adenuga wrote: > > >Operating System: Window XP > >PHP Version: 5.2.5. with Apache 2.2.8 > >My Firefox browser returns (Output) the same php script code I inserted >in Notepad:   >    echo "Hello >Web!"; > >?> > >  > >Please, what am I doing wrong? How are you calling the script? If you

RE: [PHP] PHP Version: 5.2.5.

2011-10-17 Thread Dajka Tamás
Subject: [PHP] PHP Version: 5.2.5. Operating System: Window XP PHP Version: 5.2.5. with Apache 2.2.8 My Firefox browser returns (Output) the same php script code I inserted in Notepad:  Hello Web!"; ?>   Please, what am I doing wrong? -- PHP General Mailing List (http://www.php.

[PHP] PHP Version: 5.2.5.

2011-10-17 Thread Joseph Adenuga
Operating System: Window XP PHP Version: 5.2.5. with Apache 2.2.8 My Firefox browser returns (Output) the same php script code I inserted in Notepad:  Hello Web!"; ?>   Please, what am I doing wrong?

Re: [PHP] PHP Download Of Application Question?

2011-10-08 Thread Sean Greenslade
On Sat, Oct 8, 2011 at 6:53 PM, Thomas Dineen wrote: > Gentle People: > >I am looking for a way to download a C based application binary, from > an Apache / PHP server, via a client side Web Browser, and execute it > seamlessly on the client side PC without storing it permanently on the > cli

[PHP] PHP Download Of Application Question?

2011-10-08 Thread Thomas Dineen
Gentle People: I am looking for a way to download a C based application binary, from an Apache / PHP server, via a client side Web Browser, and execute it seamlessly on the client side PC without storing it permanently on the client side hard disk drive. Temporary storage would be ok.

Re: [PHP] php on my pc, no go, FUBAR, thank you Bill Gates?

2011-10-04 Thread Richard Quadling
On 4 October 2011 14:47, Kirk Bailey wrote: > I installed it in a Windows XP PC with a cgi capable server in it. No dice, > nothing happens. I also installed python in the same computer. Works > perfect. NEITHER language modified the http server. > > So, what do I have to do to get php to play wel

Re: [PHP] php on my pc, no go, FUBAR, thank you Bill Gates?

2011-10-04 Thread Bastien Koert
On Tue, Oct 4, 2011 at 9:47 AM, Kirk Bailey wrote: > I installed it in a Windows XP PC with a cgi capable server in it. No dice, > nothing happens. I also installed python in the same computer. Works > perfect. NEITHER language modified the http server. > > So, what do I have to do to get php to p

Re: [PHP] php on my pc, no go, FUBAR, thank you Bill Gates?

2011-10-04 Thread Daniel P. Brown
On Tue, Oct 4, 2011 at 09:47, Kirk Bailey wrote: > I installed it in a Windows XP PC with a cgi capable server in it. No dice, > nothing happens. I also installed python in the same computer. Works > perfect. NEITHER language modified the http server. > > So, what do I have to do to get php to pla

[PHP] php on my pc, no go, FUBAR, thank you Bill Gates?

2011-10-04 Thread Kirk Bailey
I installed it in a Windows XP PC with a cgi capable server in it. No dice, nothing happens. I also installed python in the same computer. Works perfect. NEITHER language modified the http server. So, what do I have to do to get php to play well with others in a XP environment? Cute remarks ab

[PHP] PHP operate file(fseek)

2011-09-25 Thread yzang
Hey All, I want to seek file pointer to some line in a huge file with fseek(). I know that can use fgets() to locate, but this line is uncertain, for example end of the file or in the middle of the file. Use fgets () loop to read may not be high efficiency. I need your help.Thanks. 2011-09-26

Re: [PHP] PHP redirect

2011-09-24 Thread muad shibani
; *Sent:* Saturday, September 24, 2011 12:41 PM > *To:* Dajka Tamas > *Cc:* php-general@lists.php.net > *Subject:* Re: [PHP] PHP redirect > > ** ** > > it redirecting me to unavailable/wrong page, the data came from database > but each time it gives me & instead of &a

RE: [PHP] PHP redirect

2011-09-24 Thread Dajka Tamas
Try header("Location: ".html_entity_decode($data['feed_link'])); From: muad shibani [mailto:muad.shib...@gmail.com] Sent: Saturday, September 24, 2011 12:41 PM To: Dajka Tamas Cc: php-general@lists.php.net Subject: Re: [PHP] PHP redirect it redirecting me to unavail

Re: [PHP] PHP redirect

2011-09-24 Thread muad shibani
lto:muad.shib...@gmail.com] > Sent: Saturday, September 24, 2011 12:36 PM > To: php-general@lists.php.net > Subject: [PHP] PHP redirect > > when I try to go to a URL by using PHP header function so if the URL > contains & it converts it to & so the needed page will not

RE: [PHP] PHP redirect

2011-09-24 Thread Dajka Tamas
ave to worry about that ) -Original Message- From: muad shibani [mailto:muad.shib...@gmail.com] Sent: Saturday, September 24, 2011 12:36 PM To: php-general@lists.php.net Subject: [PHP] PHP redirect when I try to go to a URL by using PHP header function so if the URL contains & it

[PHP] PHP redirect

2011-09-24 Thread muad shibani
when I try to go to a URL by using PHP header function so if the URL contains & it converts it to & so the needed page will not display correctly I tried to use: $url = urldecode($data['feed_link']); header ( "Location: $url" ); but I can't get it

[PHP] PHP process 32 v 64 bit virtual memory

2011-09-22 Thread James
Looking for some explanation (and verification) as to why the virtual memory increases by 5 fold (at the minimum) from 32 bit to 64 systems. I'm aware (for the most part) of the int, struct, etc changes from 32 to 64 bit. Results from running `php -r 'sleep(1000);' &` on 32 and 64 bit systems ar

[PHP] PHP Ad or Image Rotator Script

2011-09-20 Thread Kim Briggs
Hi List, This is a bit of an advertisement, I know, but I'm truly pleased with my new PHP script and I want to share it with the list (I do not sell any products on my website). http://kimbriggs.com/computers/computer-software/php-ad-image-rotator-script.file Any questions or improvements, plea

Re: [PHP] PHP installations, usage, and popularity

2011-09-20 Thread Tommy Pham
On Tue, Sep 20, 2011 at 5:00 AM, Bastien wrote: > > > On 2011-09-20, at 12:05 AM, Tommy Pham wrote: > > > ASP? Not ASP.NET? Wow... I haven't any new sites deployed in ASP in > almost > > 10 years. IIRC, ASP is nothing more but bunch of spaghetti codes and no > > OOP. That's why attendance/regi

Re: [PHP] PHP installations, usage, and popularity

2011-09-20 Thread Tim Thorburn
On 9/19/2011 5:08 PM, Tedd Sperling wrote: As such, I need information regarding how wide-spread PHP is (i.e., number of installations), who's using it (i.e., companies, organizations), and how it compares with other Web Languages (i.e., ASP, Ruby, etc.). Since it's a school, you might also wan

Re: [PHP] PHP installations, usage, and popularity

2011-09-20 Thread Bastien
On 2011-09-20, at 12:05 AM, Tommy Pham wrote: > ASP? Not ASP.NET? Wow... I haven't any new sites deployed in ASP in almost > 10 years. IIRC, ASP is nothing more but bunch of spaghetti codes and no > OOP. That's why attendance/registration is so low. Only main web (server > side) development

Re: [PHP] PHP installations, usage, and popularity

2011-09-20 Thread Richard Quadling
On 19 September 2011 22:08, Tedd Sperling wrote: > Hi gang: > > I need information to convince administrators in "management" that PHP is a > viable subject that should be taught in college with credits going toward a > Degree or Certification. > > You see, I am pushing for a Web Development Cer

Re: [PHP] PHP installations, usage, and popularity

2011-09-19 Thread Tommy Pham
ASP? Not ASP.NET? Wow... I haven't any new sites deployed in ASP in almost 10 years. IIRC, ASP is nothing more but bunch of spaghetti codes and no OOP. That's why attendance/registration is so low. Only main web (server side) development languages are ASP.NET (C#), Java, and PHP (listed as alpha

Re: [PHP] PHP installations, usage, and popularity

2011-09-19 Thread Daniel Brown
On Mon, Sep 19, 2011 at 20:17, David Harkness wrote: > > LOL! That I totally forgot it used to stand for Perl pretty much proves my > point. That or focusing on any language for a few years will tend to make > one fairly myopic. :) I waited for someone to chime in about Python being included

Re: [PHP] PHP installations, usage, and popularity

2011-09-19 Thread David Harkness
On Mon, Sep 19, 2011 at 3:22 PM, Daniel Brown wrote: > On Mon, Sep 19, 2011 at 18:10, David Harkness > wrote: > > Gently remind them that the P in LAMP stands for PHP. > > It has become a presumption in that regard, yes, but the 'P' in > LAMP was actually for Perl. > LOL! That I totally for

Re: [PHP] PHP installations, usage, and popularity

2011-09-19 Thread Jason Pruim
Sent from my iPhone On Sep 19, 2011, at 5:08 PM, Tedd Sperling wrote: > Hi gang: > > I need information to convince administrators in "management" that PHP is a > viable subject that should be taught in college with credits going toward a > Degree or Certification. Would another college al

Re: [PHP] PHP installations, usage, and popularity

2011-09-19 Thread Gregor Mitzka
As far as I know it is called LAMPP and not LAMP. So you have PHP and also Perl. But never the less PHP is one of the most widespread web languages now-a-days. 2011/9/20 Daniel Brown > On Mon, Sep 19, 2011 at 18:10, David Harkness > wrote: > > Gently remind them that the P in LAMP stands for PH

Re: [PHP] PHP installations, usage, and popularity

2011-09-19 Thread Daniel Brown
On Mon, Sep 19, 2011 at 18:10, David Harkness wrote: > Gently remind them that the P in LAMP stands for PHP. There's a big reason > most every web developer can tell you what each letter in LAMP stands for: > heavy market penetration. It has become a presumption in that regard, yes, but the '

Re: [PHP] PHP installations, usage, and popularity

2011-09-19 Thread David Harkness
Gently remind them that the P in LAMP stands for PHP. There's a big reason most every web developer can tell you what each letter in LAMP stands for: heavy market penetration. Peace, David

Re: [PHP] PHP installations, usage, and popularity

2011-09-19 Thread Daniel P. Brown
On Mon, Sep 19, 2011 at 17:08, Tedd Sperling wrote: > > As such, I need information regarding how wide-spread PHP is (i.e., number of > installations), who's using it (i.e., companies, organizations), and how it > compares with other Web Languages (i.e., ASP, Ruby, etc.). There's no really

Re: [PHP] PHP installations, usage, and popularity

2011-09-19 Thread Bastien Koert
On Mon, Sep 19, 2011 at 5:08 PM, Tedd Sperling wrote: > Hi gang: > > I need information to convince administrators in "management" that PHP is a > viable subject that should be taught in college with credits going toward a > Degree or Certification. > > You see, I am pushing for a Web Developmen

[PHP] PHP installations, usage, and popularity

2011-09-19 Thread Tedd Sperling
Hi gang: I need information to convince administrators in "management" that PHP is a viable subject that should be taught in college with credits going toward a Degree or Certification. You see, I am pushing for a Web Development Certification program that would include PHP/MySQL as well as se

Re: [PHP] PHP 5.4.0beta1 released

2011-09-15 Thread d...@php.net
>> Please test it carefully, and report any bugs in the bug system, but >> >> >> only if you have a short reproducable test case. The next beta >> >> >> will be released on Oct 13. >> >> >> regards, >> >> >> Stas and David >> > WHY post it four times?? a glitch with my mail server. -- PHP Gener

Re: [PHP] PHP 5.4.0beta1 released

2011-09-15 Thread Sharl.Jimh.Tsin
在 2011-09-16五的 03:50 +0200,d...@php.net写道: > Hello! > > > > > > Stas has packed PHP 5.4.0beta1 which you can find here: > > > > > >http://downloads.php.net/stas/ > > > > > > The Windows team provides windows binaries which you find here: > > http://windows.php.net/qa/ > >

[PHP] PHP 5.4.0beta1 released

2011-09-15 Thread d...@php.net
Hello! Stas has packed PHP 5.4.0beta1 which you can find here: http://downloads.php.net/stas/ The Windows team provides windows binaries which you find here: http://windows.php.net/qa/ Please test it carefully, and report any bugs in the bug system, but only if you hav

[PHP] PHP 5.4.0beta1 released

2011-09-15 Thread d...@php.net
Hello! Stas has packed PHP 5.4.0beta1 which you can find here: http://downloads.php.net/stas/ The Windows team provides windows binaries which you find here: http://windows.php.net/qa/ Please test it carefully, and report any bugs in the bug system, but only if you hav

[PHP] PHP 5.4.0beta1 released

2011-09-15 Thread d...@php.net
Hello! Stas has packed PHP 5.4.0beta1 which you can find here: http://downloads.php.net/stas/ The Windows team provides windows binaries which you find here: http://windows.php.net/qa/ Please test it carefully, and report any bugs in the bug system, but only if you hav

[PHP] PHP 5.4.0beta1 released

2011-09-15 Thread d...@php.net
Hello! Stas has packed PHP 5.4.0beta1 which you can find here: http://downloads.php.net/stas/ The Windows team provides windows binaries which you find here: http://windows.php.net/qa/ Please test it carefully, and report any bugs in the bug system, but only if you hav

Re: [PHP] PHP FPM and OCI crashes

2011-09-13 Thread Alex Nikitin
On Tue, Sep 13, 2011 at 10:40 AM, linuxsupport wrote: > I enabled debug in log and found this in the log file > > [13-Sep-2011 17:03:19.966801] DEBUG: pid 16974, fpm_got_signal(), line 76: > received SIGCHLD > [13-Sep-2011 17:03:19.966832] WARNING: pid 16974, fpm_children_bury(), line > 252: [pool

Re: [PHP] PHP FPM and OCI crashes

2011-09-13 Thread linuxsupport
I enabled debug in log and found this in the log file [13-Sep-2011 17:03:19.966801] DEBUG: pid 16974, fpm_got_signal(), line 76: received SIGCHLD [13-Sep-2011 17:03:19.966832] WARNING: pid 16974, fpm_children_bury(), line 252: [pool www] child 16992 exited on signal 11 (SIGSEGV) after 58.213448 se

Re: [PHP] PHP FPM and OCI crashes

2011-09-13 Thread linuxsupport
Could you please tell me how to use GDB here? On Tue, Sep 13, 2011 at 4:07 PM, Negin Nickparsa wrote: > use gdb >

Re: [PHP] PHP FPM and OCI crashes

2011-09-13 Thread Negin Nickparsa
use gdb

Re: [PHP] PHP FPM and OCI crashes

2011-09-13 Thread linuxsupport
Yes, it is enabled, I checked through phpinfo() On Tue, Sep 13, 2011 at 2:54 PM, Negin Nickparsa wrote: > is your oci module enabled in php.ini? > I mean something like this? > extension=oci8.so >

Re: [PHP] PHP FPM and OCI crashes

2011-09-13 Thread Negin Nickparsa
is your oci module enabled in php.ini? I mean something like this? extension=oci8.so

[PHP] PHP FPM and OCI crashes

2011-09-13 Thread linuxsupport
Hi, Recently, I decided to use PHP FPM, installation went well, I configured it with Nginx. I can run php script without any issue. But when I used a script to connect to Oracle database using oci module, I got a blank page. Below is the code I am using in script. Connection is OK'; } ?> If I

[PHP] PHP FPM and OCI8 crashes

2011-09-13 Thread linuxsupport
Hi, Recently, I decided to use PHP FPM, installation went well, I configured it with Nginx. I can run php script without any issue. But when I used a script to connect to Oracle database using oci module, I got a blank page. Below is the code I am using in script. Connection is OK'; } ?> If I

Re: [PHP] PHP cron job optimization

2011-09-12 Thread Igor Escobar
@Eric ok ;) Regards, Igor Escobar *Software Engineer * + http://blog.igorescobar.com + http://www.igorescobar.com + @igorescobar On Mon, Sep 12, 2011 at 10:52 AM, Eric Butera wrote: > On Mon, Sep 12, 2011 at 9:37 AM, Igor Escobar > wrote: > > Other goo

Re: [PHP] PHP cron job optimization

2011-09-12 Thread Eric Butera
On Mon, Sep 12, 2011 at 9:37 AM, Igor Escobar wrote: > Other good point is: always set a timeout connection when you're getting the > RSS data to avoid your thread get stuck unnecessary. Use cURL (is much more > faster then file_get_contents). > > Multithreading in PHP with cURL http://devzone.zen

Re: [PHP] PHP cron job optimization

2011-09-12 Thread Igor Escobar
Other good point is: always set a timeout connection when you're getting the RSS data to avoid your thread get stuck unnecessary. Use cURL (is much more faster then file_get_contents). Multithreading in PHP with cURL http://devzone.zend.com/article/3341 Regards, Igor Escobar *Software Engineer *

Re: [PHP] PHP cron job optimization

2011-09-12 Thread Igor Escobar
Use PHP threads. Do the job separately.. in parts... in other words... you can't read all them at once. You can read a little more about php multithreading here: http://blog.motane.lu/2009/01/02/multithreading-in-php/ You can use a non-relational database like mongo or couchdb to manage where you

Re: [PHP] PHP cron job optimization

2011-09-10 Thread Stuart Dallas
On 10 Sep 2011, at 09:35, muad shibani wrote: > I want to design an application that reads news from RSS sources. > I have about 1000 RSS feed to collect from. > > I also will use Cron jobs every 15 minutes to collect the data. > the question is: Is there a clever way to collect all those feed it

Re: [PHP] PHP cron job optimization

2011-09-10 Thread Eric Butera
On Sat, Sep 10, 2011 at 1:47 PM, Sean Greenslade wrote: > On Sat, Sep 10, 2011 at 4:35 AM, muad shibani wrote: > >> I want to design an application that reads news from RSS sources. >> I have about 1000 RSS feed to collect from. >> >> I also will use Cron jobs every 15 minutes to collect the data.

Re: [PHP] PHP cron job optimization

2011-09-10 Thread MUAD SHIBANI
thanks a lot after I test it I will share the code .. Thanks again On Sat, Sep 10, 2011 at 11:20 AM, Gary Golden wrote: > > I want to design an application that reads news from RSS sources. > >> I have about 1000 RSS feed to collect from. > >> > >> I also will use Cron jobs every 15 minutes to c

Re: [PHP] PHP cron job optimization

2011-09-10 Thread Gary Golden
> I want to design an application that reads news from RSS sources. >> I have about 1000 RSS feed to collect from. >> >> I also will use Cron jobs every 15 minutes to collect the data. >> the question is: Is there a clever way to collect all those feed items >> without exhausting the server >> any

Re: [PHP] PHP cron job optimization

2011-09-10 Thread Sean Greenslade
On Sat, Sep 10, 2011 at 4:35 AM, muad shibani wrote: > I want to design an application that reads news from RSS sources. > I have about 1000 RSS feed to collect from. > > I also will use Cron jobs every 15 minutes to collect the data. > the question is: Is there a clever way to collect all those f

[PHP] PHP cron job optimization

2011-09-10 Thread muad shibani
I want to design an application that reads news from RSS sources. I have about 1000 RSS feed to collect from. I also will use Cron jobs every 15 minutes to collect the data. the question is: Is there a clever way to collect all those feed items without exhausting the server any Ideas Thank you in

Re: [PHP] PHP sessions expiring early

2011-09-07 Thread Paul Waring
On 07/09/11 13:42, Richard Quadling wrote: On 7 September 2011 12:32, Paul Waring wrote: On 07/09/11 12:16, Richard Quadling wrote: On 7 September 2011 11:20, Paul Waringwrote: Can anyone suggest things which I could try? I cannot work out why this problem is happening for some users bu

Re: [PHP] PHP sessions expiring early

2011-09-07 Thread Paul Waring
On 07/09/11 12:16, Richard Quadling wrote: On 7 September 2011 11:20, Paul Waring wrote: Can anyone suggest things which I could try? I cannot work out why this problem is happening for some users but not me. For browsers/extensions that do automatic read ahead (I load page A and linked pages

Re: [PHP] PHP sessions expiring early

2011-09-07 Thread Paul Waring
On 07/09/11 12:20, vikash.i...@gmail.com wrote: Just confirm once that you are not calling session_destroy somewhere. The only place session_destroy is called is in the logout function, which itself is only called if a user clicks the logout link. -- Paul Waring http://www.phpdeveloper.org.u

Re: [PHP] PHP sessions expiring early

2011-09-07 Thread Paul Waring
On 07/09/11 12:15, Richard Quadling wrote: How do you handle multiple logins? If I login using my laptop and get Session A for my account and then I login using my desktop and get Session B for my account, does Session A get killed? Session A is killed, your last login is always the current on

Re: [PHP] PHP sessions expiring early

2011-09-07 Thread vikash . iitb
Just confirm once that you are not calling session_destroy somewhere. Thanks, Vikash Kumar -- http://vika.sh On 7 September 2011 16:46, Richard Quadling wrote: > On 7 September 2011 11:20, Paul Waring wrote: > > Can anyone suggest things which I could try? I cannot work out why this > > prob

Re: [PHP] PHP sessions expiring early

2011-09-07 Thread Richard Quadling
On 7 September 2011 11:20, Paul Waring wrote: > Can anyone suggest things which I could try? I cannot work out why this > problem is happening for some users but not me. For browsers/extensions that do automatic read ahead (I load page A and linked pages B and C are also retrieved). Is the poten

Re: [PHP] PHP sessions expiring early

2011-09-07 Thread Richard Quadling
On 7 September 2011 11:20, Paul Waring wrote: > I'm having trouble with a PHP website which requires users to be logged in > to access all content other than the home page and a couple of static pages > (about us, contact us etc.). Several users have said they are being logged > out every few minu

Re: [PHP] PHP sessions expiring early

2011-09-07 Thread Paul Waring
On 07/09/11 11:47, Nilesh Govindarajan wrote: On 09/07/2011 03:50 PM, Paul Waring wrote: I'm having trouble with a PHP website which requires users to be logged in to access all content other than the home page and a couple of static pages (about us, contact us etc.). Several users have said the

Re: [PHP] PHP sessions expiring early

2011-09-07 Thread Nilesh Govindarajan
On 09/07/2011 03:50 PM, Paul Waring wrote: > I'm having trouble with a PHP website which requires users to be logged > in to access all content other than the home page and a couple of static > pages (about us, contact us etc.). Several users have said they are > being logged out every few minutes

[PHP] PHP sessions expiring early

2011-09-07 Thread Paul Waring
I'm having trouble with a PHP website which requires users to be logged in to access all content other than the home page and a couple of static pages (about us, contact us etc.). Several users have said they are being logged out every few minutes whilst using the site - they can login but will

Re: [PHP] PHP/ Soap issue

2011-09-01 Thread Richard Quadling
On 1 September 2011 13:25, richard gray wrote: > On 01/09/2011 14:07, Louis Huppenbauer wrote: >> >> I think it would be best if you could provide us with the .wsdl (and >> possibly with the server-code). >> > Thanks for the quick response Louis.. We need the URL for the WSDL file. Without that,

Re: [PHP] PHP/ Soap issue

2011-09-01 Thread Richard Quadling
On 1 September 2011 13:02, richard gray wrote: > I am hoping there's a SOAP expert on the list as this is driving me mad and > Google doesn't come up with much help ... > > I am trying to build a fairly simple web service in SOAP -- the client sends > a string SKU to query a product catalogue data

Re: [PHP] PHP/ Soap issue

2011-09-01 Thread Louis Huppenbauer
I think it would be best if you could provide us with the .wsdl (and possibly with the server-code). 2011/9/1 richard gray > I am hoping there's a SOAP expert on the list as this is driving me mad and > Google doesn't come up with much help ... > > I am trying to build a fairly simple web servic

Re: [PHP] PHP/ Soap issue

2011-09-01 Thread Richard Quadling
On 1 September 2011 13:35, Richard Quadling wrote: > On 1 September 2011 13:27, richard gray wrote: >> On 01/09/2011 14:16, Richard Quadling wrote: >>> >>> Can you give me the URL for the WSDL file? Either online or by direct >>> email. >>> >> Thanks for the quick response Richard -- I have just

Re: [PHP] PHP/ Soap issue

2011-09-01 Thread Richard Quadling
On 1 September 2011 13:27, richard gray wrote: > On 01/09/2011 14:16, Richard Quadling wrote: >> >> Can you give me the URL for the WSDL file? Either online or by direct >> email. >> > Thanks for the quick response Richard -- I have just posted the WSDL in my > earlier resply to Louis... > Is the

Re: [PHP] PHP/ Soap issue

2011-09-01 Thread richard gray
On 01/09/2011 14:16, Richard Quadling wrote: Can you give me the URL for the WSDL file? Either online or by direct email. Thanks for the quick response Richard -- I have just posted the WSDL in my earlier resply to Louis... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

Re: [PHP] PHP/ Soap issue

2011-09-01 Thread richard gray
On 01/09/2011 14:07, Louis Huppenbauer wrote: I think it would be best if you could provide us with the .wsdl (and possibly with the server-code). Thanks for the quick response Louis.. WSDL http://example.com/catalogue.wsdl"; xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:soap="http://

[PHP] PHP/ Soap issue

2011-09-01 Thread richard gray
I am hoping there's a SOAP expert on the list as this is driving me mad and Google doesn't come up with much help ... I am trying to build a fairly simple web service in SOAP -- the client sends a string SKU to query a product catalogue database and receives product pricing data - I am using a

Re: [PHP] PHP within XML?

2011-08-25 Thread Ken Robinson
Quoting Ron Piggott : I am trying to figure out if it is possible to have PHP work within an XML document. The application is tracking RSS subscribers IP addresses within the database. I have wrote functions so the PHP code required is below is minimal, after the XML declaration line.

Re: [PHP] PHP within XML?

2011-08-25 Thread John Black
On 25.08.2011 16:06, Ron Piggott wrote: I am trying to figure out if it is possible to have PHP work within an XML document. Right now the PHP is displayed as a comment. Thoughts anyone? Ron How are you executing the XML file? By calling it with your browser? You may need to tell your webserve

[PHP] PHP within XML?

2011-08-25 Thread Ron Piggott
I am trying to figure out if it is possible to have PHP work within an XML document. The application is tracking RSS subscribers IP addresses within the database. I have wrote functions so the PHP code required is below is minimal, after the XML declaration line. Prior to posting this quest

[PHP] PHP 5.3.8 Released!

2011-08-23 Thread Johannes Schlüter
The PHP development team would like to announce the immediate availability of PHP 5.3.8. This release fixes two issues introduced in the PHP 5.3.7 release: * Fixed bug #55439 (crypt() returns only the salt for MD5) * Reverted a change in timeout handling restoring PHP 5.3.6 behavior,

[PHP] PHP 5.3.7 Released!

2011-08-18 Thread Ilia Alshanetsky
The PHP development team would like to announce the immediate availability of PHP 5.3.7. This release focuses on improving the stability of the PHP 5.3.x branch with over 90 bug fixes, some of which are security related. Security Enhancements and Fixes in PHP 5.3.7: * Updated crypt_blowfish to

[PHP] PHP 5.3.7RC5 Released for Testing

2011-08-11 Thread Ilia Alshanetsky
, please test this RC against your code base and report any problems that you encounter. To find out what was changed since the last release please refer to the NEWS file found within the archive or on http://svn.php.net/viewvc/php/php-src/tags/php_5_3_7RC5/NEWS?revision=HEAD&view=markup Win

[PHP] PHP mysqli help

2011-08-10 Thread Peet Grobler
So I have: $result = $dbh->query ("select * from roles order by name"); $row = mysqli_fetch_object ($result); function process_field ($which) { // This fails, I need to know how to do this the right way if ($row->may_$which == 'Y') { // Print stuff } else {

Re: [PHP] PHP Security: Best Practices

2011-08-08 Thread Richard Quadling
On 8 August 2011 15:08, Jen Rasmussen wrote: > Hello all, > > > > I am currently researching security best practices/methods. Can anyone offer > any current resources/recommendations? > > My research thus far has included password hashing with salting/stretching, > session hash defaults, session m

Re: [PHP] PHP Security: Best Practices

2011-08-08 Thread Fredric L. Rice
> I am currently researching security best > practices/methods. Can anyone offer > any current resources/recommendations? That is a huge arena and the question can not be answered very well without describing what you are needing to protect. Security in debth depends upon what you are protecting a

RE: [PHP] PHP Security: Best Practices

2011-08-08 Thread Jen Rasmussen
Thanks, Andrew! I am unfortunately not even running 5.2..so that helps. Jen -Original Message- From: Andrew Ballard [mailto:aball...@gmail.com] Sent: Monday, August 08, 2011 9:57 AM To: j...@cetaceasound.com Cc: php-general@lists.php.net Subject: Re: [PHP] PHP Security: Best Practices

Re: [PHP] PHP Security: Best Practices

2011-08-08 Thread Andrew Ballard
On Mon, Aug 8, 2011 at 10:08 AM, Jen Rasmussen wrote: [snip] > > On a side note, PHP versions prior to 5.3+ do not allow to set the httponly > flag as a cookie parameter, is there any acceptable alternative for this? I believe that has been supported since 5.2.0. As for a workaround for versions

[PHP] PHP Security: Best Practices

2011-08-08 Thread Jen Rasmussen
Hello all, I am currently researching security best practices/methods. Can anyone offer any current resources/recommendations? My research thus far has included password hashing with salting/stretching, session hash defaults, session management & authentication, and prepared statements via PDO

Re: [PHP] PHP frameworks

2011-08-06 Thread Lester Caine
Christopher Lee wrote: > I am new to PHP and wanted to ask a question which I think is related to this > discussion thread. What are you referring to when using the term "PHP > Framework?" I downloaded Eclipse-JEE with PHP Development Tools. Would this > development environment constitute a PHP

RE: [PHP] PHP frameworks

2011-08-05 Thread Christopher Lee
ork? Best, Christopher From: Laruence [larue...@baidu.com] Sent: Sunday, July 24, 2011 11:19 PM To: Floyd Resler Cc: PHP Subject: Re: [PHP] PHP frameworks Hi: if you have high performance need, you can considering Yaf( a PHP framework which is build in PHP

Re: [PHP] PHP runs but apache says its a faulting module every so often

2011-07-31 Thread Negin Nickparsa
did you run phpinfo()?

[PHP] PHP runs but apache says its a faulting module every so often

2011-07-30 Thread Dan Baughman
Hi list, I have my php and apache running on windows just fine, but consistently enough to cause me big problems apache hangs up and stops servicing requests, and I get a bunch of these in the log: Faulting application path: D:\Apache\bin\httpd.exe Faulting module path: D:\PHP\php5ts.dll Is the

[PHP] PHP 5.3.7RC4 Released for Testing

2011-07-28 Thread Ilia Alshanetsky
the NEWS file found within the archive or on http://svn.php.net/viewvc/php/php-src/tags/php_5_3_7RC4/NEWS?revision=HEAD&view=markup Windows users please mind that we don't provide VS6 builds anymore since PHP 5.3.6. Ilia Alshanetsky -- PHP General Mailing List (http://www.php

Re: [PHP] PHP frameworks

2011-07-24 Thread Laruence
Hi: if you have high performance need, you can considering Yaf( a PHP framework which is build in PHP extension) http://pecl.php.net/package/Yaf thanks Best regards 惠新宸 Xinchen Hui http://www.laruence.com/ On 2011/7/22 20:38, Floyd Resler wrote: On Jul 22, 2011, at 8:33 AM, Richard Q

Re: [PHP] PHP frameworks

2011-07-22 Thread Floyd Resler
On Jul 22, 2011, at 8:33 AM, Richard Quadling wrote: > On 22 July 2011 13:26, Floyd Resler wrote: >> >> On Jul 21, 2011, at 11:41 PM, Micky Hulse wrote: >> >>> On Thu, Jul 21, 2011 at 6:44 PM, Shawn McKenzie >>> wrote: A la CakePHP. Will automagically build controllers and views for th

Re: [PHP] PHP frameworks

2011-07-22 Thread Richard Quadling
On 22 July 2011 13:26, Floyd Resler wrote: > > On Jul 21, 2011, at 11:41 PM, Micky Hulse wrote: > >> On Thu, Jul 21, 2011 at 6:44 PM, Shawn McKenzie wrote: >>> A la CakePHP.  Will automagically build controllers and views for the >>> admin of your tables/models if you wish. >> >> Oooh, interestin

Re: [PHP] PHP frameworks

2011-07-22 Thread Floyd Resler
On Jul 21, 2011, at 11:41 PM, Micky Hulse wrote: > On Thu, Jul 21, 2011 at 6:44 PM, Shawn McKenzie wrote: >> A la CakePHP. Will automagically build controllers and views for the >> admin of your tables/models if you wish. > > Oooh, interesting! I will check out CakePHP! Thanks for tip! :) >

[PHP] PHP/Cairo-0.2.0 Build Bug

2011-07-21 Thread Thomas Dineen
Gentle People: When I try to build the PHP/Cairo Extension (version cairo-0.2.0) with the following command: pecl install channel://pecl.php.net/cairo-0.2.0 on Solaris 10 Intel, I get the following errors: "/tmp/pear/temp/Cairo/cairo_surface.c", line 706: undefined symbol: CAIRO_SURFACE_TYPE

<    1   2   3   4   5   6   7   8   9   10   >