Re: [PHP] How to "download" a multi-part file at the "server" side?

2013-11-02 Thread Aziz Saleh
On Sat, Nov 2, 2013 at 1:03 PM, Ajay Garg wrote: > Hi all. > > 1. > I could have the proper "$_FILES["userfile"]["name"]" been echoed back, by > replacing >ContentBody cbFile = new > FileBody(file, "image/png"); > > with >

Re: [PHP] How to "download" a multi-part file at the "server" side?

2013-11-02 Thread Ajay Garg
Hi Aziz. Thanks for the reply. Unfortunately, making the change suggested by you does not make any difference :( Sorry, Thanks and Regards On Sat, Nov 2, 2013 at 10:51 PM, Aziz Saleh wrote: > > > > On Sat, Nov 2, 2013 at 1:03 PM, Ajay Garg wrote: > >> Hi all. >> >> 1. >> I could have the pr

Re: [PHP] How to capture uploaded file data

2013-09-28 Thread Bastien
Thanks, Bastien > On Sep 27, 2013, at 12:56 AM, Mariusz Drozdowski wrote: > > Hi all php experts, > > I would like to ask you all a question, I hope this is the right place > to ask it. > > I'm writing a PHP extension now in c/c++. User uploads a file (could be POST > or PUT method, but I c

[PHP] How to capture uploaded file data

2013-09-26 Thread Mariusz Drozdowski
Hi all php experts, I would like to ask you all a question, I hope this is the right place to ask it. I'm writing a PHP extension now in c/c++. User uploads a file (could be POST or PUT method, but I can limit it to POST only). I need to capture the file data while being uploaded, without writing

Re: [PHP] How to send "post"-variables in a "Location" header

2013-08-27 Thread Daniel Brown
On Mon, Aug 26, 2013 at 3:48 PM, Ajay Garg wrote: > Hi all. > > I have a scenario, wherein I need to do something like this :: > > ### > $original_url = "/autologin.php"; > $username = "ajay"; > $password = "garg";

[PHP] How to do PHP build test

2013-08-27 Thread Shahina Rabbani
Hi, Can anybody help me answering my doubt. I wanted to check if there are any errors with the php compilation and build. I have ran "make", "make test". "make test" didnt give any errors to me. Is there any other method or command to run through which we can see if there are any errors in build

Re: [PHP] How to send "post"-variables in a "Location" header

2013-08-26 Thread Tamara Temple
On Aug 26, 2013, at 2:48 PM, Ajay Garg wrote: > Hi all. > > I have a scenario, wherein I need to do something like this :: > > ### >$original_url = "/autologin.php"; >$username = "ajay"; >$password = "garg"; >

Re: [PHP] How to send "post"-variables in a "Location" header

2013-08-26 Thread Matijn Woudt
On Mon, Aug 26, 2013 at 9:48 PM, Ajay Garg wrote: > Hi all. > > I have a scenario, wherein I need to do something like this :: > > ### > $original_url = "/autologin.php"; > $username = "ajay"; > $password = "garg"

Re: [PHP] How to send "post"-variables in a "Location" header

2013-08-26 Thread ma...@behnke.biz
> Ajay Garg hat am 26. August 2013 um 21:48 > geschrieben: > > > Hi all. > > I have a scenario, wherein I need to do something like this :: > > ### >         $original_url = "/autologin.php"; >         $username = "ajay"; >         $pas

[PHP] How to send "post"-variables in a "Location" header

2013-08-26 Thread Ajay Garg
Hi all. I have a scenario, wherein I need to do something like this :: ### $original_url = "/autologin.php"; $username = "ajay"; $password = "garg"; header('Location: ' . $original_url); #

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Robert Cummings
On 13-08-19 11:32 AM, Stuart Dallas wrote: On 19 Aug 2013, at 16:24, Matijn Woudt wrote: You might want to explain how you convert form data to JSON without javascript? PHP can do it. Ruby can do it. .NET can do it. Just because you want to use JSON in a web browser where Javascript is the

Re: [PHP] how old is this version of PHP?

2013-08-19 Thread Larry Garfield
re superior to many purchased today at Lowes or Home Depot.) Thanks, Jeff Burcher - IT Dept Allred Metal Stamping Works "Making Metal Parts since 1946." -Original Message- From: Lester Caine [mailto:les...@lsces.co.uk] Sent: Monday, August 19, 2013 6:24 AM To: php-general@lists.php

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Tedd Sperling
On Aug 19, 2013, at 11:32 AM, Stuart Dallas wrote: > I wasn't speaking to his specific issue as that was solved by an earlier > response. I was just commenting that the implied intrinsic link between JSON > and Javascript in what he had said does not exist. > > -Stuart This is similar JAVA and

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Stuart Dallas
On 19 Aug 2013, at 16:24, Matijn Woudt wrote: > On Mon, Aug 19, 2013 at 5:20 PM, Stuart Dallas wrote: > On 19 Aug 2013, at 15:56, Matijn Woudt wrote: > >> >> On Mon, Aug 19, 2013 at 11:54 AM, Stuart Dallas wrote: >> On 19 Aug 2013, at 10:49, aesbovis wrote: >> >> > I know Javascript can so

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Matijn Woudt
On Mon, Aug 19, 2013 at 5:20 PM, Stuart Dallas wrote: > On 19 Aug 2013, at 15:56, Matijn Woudt wrote: > > > On Mon, Aug 19, 2013 at 11:54 AM, Stuart Dallas wrote: > >> On 19 Aug 2013, at 10:49, aesbovis wrote: >> >> > I know Javascript can solve it, but I don't want to use Js. >> > Thank you a

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Stuart Dallas
On 19 Aug 2013, at 15:56, Matijn Woudt wrote: > > On Mon, Aug 19, 2013 at 11:54 AM, Stuart Dallas wrote: > On 19 Aug 2013, at 10:49, aesbovis wrote: > > > I know Javascript can solve it, but I don't want to use Js. > > Thank you all the same. > > I know you've had the right answer, but I thi

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Matijn Woudt
On Mon, Aug 19, 2013 at 11:54 AM, Stuart Dallas wrote: > On 19 Aug 2013, at 10:49, aesbovis wrote: > > > I know Javascript can solve it, but I don't want to use Js. > > Thank you all the same. > > I know you've had the right answer, but I think it's worth pointing out > that use of JSON in no wa

Re: [PHP] how old is this version of PHP?

2013-08-19 Thread Lester Caine
Sebastian Krebs wrote: Do we just accept that we have to rewrite every program we ever wrote every >time a new version comes out? A little extreme, but you get my point. >Comments? Suggestions? > My 2 cent: I hadn't any major issues with BC since 5.3 and from 5.2 it required a little bit to do,

Re: [PHP] how old is this version of PHP?

2013-08-19 Thread Sebastian Krebs
e > 1800s > are superior to many purchased today at Lowes or Home Depot.) > > Thanks, > > Jeff Burcher - IT Dept > Allred Metal Stamping Works > "Making Metal Parts since 1946." > > > > -Original Message- > > From: Lester Caine [mailto:les

RE: [PHP] how old is this version of PHP?

2013-08-19 Thread Jeff Burcher
Original Message- > From: Lester Caine [mailto:les...@lsces.co.uk] > Sent: Monday, August 19, 2013 6:24 AM > To: php-general@lists.php.net > Subject: Re: [PHP] how old is this version of PHP? > > Larry Garfield wrote: > > 5.2.9 was released in February of 2009. 5.2 is c

Re: [PHP] how old is this version of PHP?

2013-08-19 Thread Lester Caine
Larry Garfield wrote: 5.2.9 was released in February of 2009. 5.2 is completely retired and out of support. 5.3 is on security-only life-support. 5.4 is the legacy stable release. Yes, 5.2.9 IS that old. :-) Really, get a host that has made it into this decade. (GoDaddy apparently doesn't

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Stuart Dallas
On 19 Aug 2013, at 10:49, aesbovis wrote: > I know Javascript can solve it, but I don't want to use Js. > Thank you all the same. I know you've had the right answer, but I think it's worth pointing out that use of JSON in no way requires Javascript, despite its name. -Stuart -- Stuart Dallas

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread aesbovis
I know Javascript can solve it, but I don't want to use Js. Thank you all the same. On Mon, Aug 19, 2013 at 4:32 PM, Szopen Xiao wrote: > you can use JSON post > > 2013/8/19 aesbovis : > > Hello there > > I am making a little web-based-tool for our studio to progress a large > > amount of data,

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread aesbovis
T hank you, it works now. On Mon, Aug 19, 2013 at 5:09 PM, Jan Ehrhardt wrote: > Mihai Anghel in php.general (Mon, 19 Aug 2013 11:30:01 +0300): > >Check this http://www.php.net/manual/en/ini.core.php#ini.post-max-size > > Keyword: max_input_vars. > > Jan > > -- > PHP General Mailing List (http:

RE: [PHP] how old is this version of PHP?

2013-08-19 Thread Thomas Punt
Godaddy enables you to upgrade to PHP 5.3 in the cPanel settings. > Date: Mon, 19 Aug 2013 01:07:17 -0500 > From: la...@garfieldtech.com > To: php-general@lists.php.net > Subject: Re: [PHP] how old is this version of PHP? > > 5.2.9 was released in February of 2009. 5.2 is comp

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Jan Ehrhardt
Mihai Anghel in php.general (Mon, 19 Aug 2013 11:30:01 +0300): >Check this http://www.php.net/manual/en/ini.core.php#ini.post-max-size Keyword: max_input_vars. Jan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Szopen Xiao
you can use JSON post 2013/8/19 aesbovis : > Hello there > I am making a little web-based-tool for our studio to progress a large > amount of data, more than 2000 items, but it seems there is a length limit > of 1000 to $_POST. > > How can I submit all of the items in one time? > > Thank you! > ae

Re: [PHP] How can I submit more than 2000 items of data?

2013-08-19 Thread Mihai Anghel
Check this http://www.php.net/manual/en/ini.core.php#ini.post-max-size On Mon, Aug 19, 2013 at 9:55 AM, aesbovis wrote: > Hello there > I am making a little web-based-tool for our studio to progress a large > amount of data, more than 2000 items, but it seems there is a length limit > of 1000 t

[PHP] How can I submit more than 2000 items of data?

2013-08-18 Thread aesbovis
Hello there I am making a little web-based-tool for our studio to progress a large amount of data, more than 2000 items, but it seems there is a length limit of 1000 to $_POST. How can I submit all of the items in one time? Thank you! aesbovis -- *Anywhere @aesbovis!*

Re: [PHP] how old is this version of PHP?

2013-08-18 Thread Larry Garfield
On 08/17/2013 06:26 PM, Camilo Sperberg wrote: On 16 aug. 2013, at 19:17, Tamara Temple wrote: Looking into a problem for someone who is using Godaddy Shared Web Hosting (I know..), I noticed the version tag reported by phpinfo is: PHP API 20041225 PHP Extension 20060613 Z

Re: [PHP] how old is this version of PHP?

2013-08-17 Thread Tamara Temple
On Aug 17, 2013, at 6:26 PM, Camilo Sperberg wrote: > On 16 aug. 2013, at 19:17, Tamara Temple wrote: > >> Looking into a problem for someone who is using Godaddy Shared Web Hosting >> (I know..), I noticed the version tag reported by phpinfo is: >> >> >> PHP API 20041

Re: [PHP] how old is this version of PHP?

2013-08-17 Thread Camilo Sperberg
On 16 aug. 2013, at 19:17, Tamara Temple wrote: > Looking into a problem for someone who is using Godaddy Shared Web Hosting (I > know..), I noticed the version tag reported by phpinfo is: > > > PHP API 20041225 > PHP Extension 20060613 > Zend Extension220060519

[PHP] how old is this version of PHP?

2013-08-17 Thread Tamara Temple
Looking into a problem for someone who is using Godaddy Shared Web Hosting (I know..), I noticed the version tag reported by phpinfo is: PHP API 20041225 PHP Extension 20060613 Zend Extension 220060519 Just how old is this version of PHP?? -- PHP General Mailing List (htt

Re: [PHP] How to upstream code changes to php community

2013-08-16 Thread Daniel Brown
On Tue, Aug 13, 2013 at 12:38 AM, Shahina Rabbani wrote: > Hi, > > I have done some modifications to the php source code and i tested it with > php bench and I observed some improvement. > > I wanted to upstream these code changes to PHP community. > I searched the wed but i didnt find proper gui

[PHP] How to upstream code changes to php community

2013-08-12 Thread Shahina Rabbani
Hi, I have done some modifications to the php source code and i tested it with php bench and I observed some improvement. I wanted to upstream these code changes to PHP community. I searched the wed but i didnt find proper guide to upstream the code to php. Please help me by providing the info

Re: [PHP] how to see all sessions sets in server

2013-08-04 Thread Paul M Foster
On Sun, Aug 04, 2013 at 05:58:53PM +0100, Ashley Sheridan wrote: [snip] > > I'm not saying the method is bad, but the way Facebook does it isn't > great, I'm constantly seeing people online who "sign out" when I open > up a message box. Now that might be genuine, but I'm not *that* > unpopular!

Re: [PHP] how to see all sessions sets in server

2013-08-04 Thread Ashley Sheridan
Matijn Woudt wrote: >On Sun, Aug 4, 2013 at 4:00 PM, Ashley Sheridan >wrote: > >> >> >> Farzan Dalaee wrote: >> > >> > >> >> On Sun, 2013-08-04 at 14:56 +0430, Farzan Dalaee wrote: >> >>> >> >>> You mean when user logged in i add new record to table and when >> >logged out i delete the row? So

Re: [PHP] how to see all sessions sets in server

2013-08-04 Thread Farzan Dalaee
> > > > On Sun, Aug 4, 2013 at 4:00 PM, Ashley Sheridan > wrote: >> >> >> Farzan Dalaee wrote: >> > >> > >> >> On Sun, 2013-08-04 at 14:56 +0430, Farzan Dalaee wrote: >> >>> >> >>> You mean when user logged in i add new record to table and when >> >logged out i delete the row? So if user

Re: [PHP] how to see all sessions sets in server

2013-08-04 Thread Matijn Woudt
On Sun, Aug 4, 2013 at 4:00 PM, Ashley Sheridan wrote: > > > Farzan Dalaee wrote: > > > > > >> On Sun, 2013-08-04 at 14:56 +0430, Farzan Dalaee wrote: > >>> > >>> You mean when user logged in i add new record to table and when > >logged out i delete the row? So if user close the browser without

Re: [PHP] how to see all sessions sets in server

2013-08-04 Thread Ashley Sheridan
Farzan Dalaee wrote: > > >> On Sun, 2013-08-04 at 14:56 +0430, Farzan Dalaee wrote: >>> >>> You mean when user logged in i add new record to table and when >logged out i delete the row? So if user close the browser without >logout how can i find user is online or not? >>> >>> Sent from my iPho

Re: [PHP] how to see all sessions sets in server

2013-08-04 Thread Stuart Dallas
On 4 Aug 2013, at 14:36, Farzan Dalaee wrote: > I need to inspect each visitor to show how online or who offline for chat > Like facebook chat PHP sessions is a really bad mechanism to use to accomplish this. In the past I've used memcached or redis for presence indicators. Both allow you to se

Re: [PHP] how to see all sessions sets in server

2013-08-04 Thread Farzan Dalaee
> On Sun, 2013-08-04 at 14:56 +0430, Farzan Dalaee wrote: >> >> You mean when user logged in i add new record to table and when logged out i >> delete the row? So if user close the browser without logout how can i find >> user is online or not? >> >> Sent from my iPhone >> >> On Aug 4, 2013,

Re: [PHP] how to see all sessions sets in server

2013-08-04 Thread Ashley Sheridan
On Sun, 2013-08-04 at 14:56 +0430, Farzan Dalaee wrote: > You mean when user logged in i add new record to table and when logged out i > delete the row? So if user close the browser without logout how can i find > user is online or not? > > Sent from my iPhone > > On Aug 4, 2013, at 14:44, Mat

Re: [PHP] how to see all sessions sets in server

2013-08-04 Thread Farzan Dalaee
You mean when user logged in i add new record to table and when logged out i delete the row? So if user close the browser without logout how can i find user is online or not? Sent from my iPhone On Aug 4, 2013, at 14:44, Matijn Woudt wrote: > > > > On Sun, Aug 4, 2013 at 11:02 AM, Farzan D

Re: [PHP] how to see all sessions sets in server

2013-08-04 Thread Matijn Woudt
On Sun, Aug 4, 2013 at 11:02 AM, Farzan Dalaee wrote: > hi > i want to write online user module for my site and i want to check > $_SESSION['userID'] to find all users id who loged in > but when i echo this code its return only current user detail > how i can see all sessions? > > foreach($_SESSIO

[PHP] how to see all sessions sets in server

2013-08-04 Thread Farzan Dalaee
hi i want to write online user module for my site and i want to check $_SESSION['userID'] to find all users id who loged in but when i echo this code its return only current user detail how i can see all sessions? foreach($_SESSION as $k => $v) { echo $k."--".$v; } or how i handle online

Re: [PHP] How to delete 3 months old records in my database?

2013-08-02 Thread Dušan Novaković
Yeah, just spelling mistake :-) And yes, it should be: $query = "DELETE FROM `__table_name__` WHERE `__date__` <= NOW() - INTERVAL 3 MONTH" Cheers ;-) On Fri, Aug 2, 2013 at 2:35 PM, Simon Schick wrote: > On Fri, Aug 2, 2013 at 2:02 PM, Karl-Arne Gjersøyen > wrote: > > > > 2013/8/2 Dušan No

Re: [PHP] How to delete 3 months old records in my database?

2013-08-02 Thread Simon Schick
On Fri, Aug 2, 2013 at 2:02 PM, Karl-Arne Gjersøyen wrote: > > 2013/8/2 Dušan Novaković > > > $query = "DELECT FROM `__table_name__` WHERE `__date__` BETWEEN NOW() - > > INTERVAL 3 MONTH AND NOW()" > > > > This delete everything from now and 3months backwards. I want to store 3 > months from now

Re: [PHP] How to delete 3 months old records in my database?

2013-08-02 Thread Karl-Arne Gjersøyen
2013/8/2 Dušan Novaković > $query = "DELECT FROM `__table_name__` WHERE `__date__` BETWEEN NOW() - > INTERVAL 3 MONTH AND NOW()" > This delete everything from now and 3months backwards. I want to store 3 months from now and delete OLDER than 3 months old records. Karl

Re: [PHP] How to delete 3 months old records in my database?

2013-08-02 Thread Simon Griffiths
Hello, Try something like: $oldDate = new DateTime(); $oldDate->sub(new DateInterval('P3M')); $old_records_to_delete = $oldDate->format('Y-m-d'); Hope this helps, Si Sent from my iPhone On 2 Aug 2013, at 11:58, Karl-Arne Gjersøyen wrote: > Hello again, folks! > I wish to delete records in

Re: [PHP] How to delete 3 months old records in my database?

2013-08-02 Thread Dušan Novaković
$query = "DELECT FROM `__table_name__` WHERE `__date__` BETWEEN NOW() - INTERVAL 3 MONTH AND NOW()" On Fri, Aug 2, 2013 at 12:58 PM, Karl-Arne Gjersøyen wrote: > Hello again, folks! > I wish to delete records in my database that is older than 3 months. > > $todays_date = date('Y-m-d'); > $old_re

[PHP] How to delete 3 months old records in my database?

2013-08-02 Thread Karl-Arne Gjersøyen
Hello again, folks! I wish to delete records in my database that is older than 3 months. $todays_date = date('Y-m-d'); $old_records_to_delete = ??? if($old_records_to_delete){ include(connect.php); $sql = "DELETE FROM table WHERE date >= '$old_records_to_delete'"; mysql_query($sql, $connect_db)

Re: [PHP] How to extract php source code from joomla

2013-07-23 Thread richard gray
On 23/07/2013 16:54, Yoinier Hernandez Nieves wrote: El 22/07/13 15:49, elk dolk escribió: Thank you for the quick response ! What I am trying to do : I have to complete two university projects for my professor ! project One : Make an online shop and must use the following components in i

Re: [PHP] How to extract php source code from joomla

2013-07-23 Thread Yoinier Hernandez Nieves
El 22/07/13 15:49, elk dolk escribió: Thank you for the quick response ! What I am trying to do : I have to complete two university projects for my professor ! project One : Make an online shop and must use the following components in it Shopping cart, Catalog of products, payment gateway

[PHP] How to extract php source code from joomla

2013-07-22 Thread elk dolk
I study for MSc degree at university.  Are you in an advanced class?

Re: [PHP] How to extract php source code from joomla

2013-07-22 Thread Tedd Sperling
On Jul 22, 2013, at 3:49 PM, elk dolk wrote: > Thank you for the quick response ! What I am trying to do : I have to > complete two university projects for > > my professor ! > > project One : Make an online shop and must use the following components in > it > > > Shopping cart, Catalog o

Re: [PHP] How to extract php source code from joomla

2013-07-22 Thread Ashley Sheridan
On Mon, 2013-07-22 at 13:10 -0700, elk dolk wrote: > I am allowed to use tools or code by hand , it does not matter ,the professor > wants to have the source code. > > > > You say tools, but would he consider a full-blown complex CMS as merely a tool, or not?

[PHP] How to extract php source code from joomla

2013-07-22 Thread elk dolk
I am allowed to use tools or code by hand , it does not matter ,the professor wants to have the source code.

Re: [PHP] How to extract php source code from joomla

2013-07-22 Thread Ashley Sheridan
; those projects ! I thought it's > > better to use Joomla I'll be grateful if you can give me an advice > > > thank you > > > - Forwarded Message - > From: Ashley Sheridan > To: elk dolk > Cc: "php-general@lists.php.net&quo

[PHP] How to extract php source code from joomla

2013-07-22 Thread elk dolk
ed Message - From: Ashley Sheridan To: elk dolk Cc: "php-general@lists.php.net" Sent: Monday, July 22, 2013 11:45 PM Subject: Re: [PHP] How to extract php source code from joomla On Mon, 2013-07-22 at 12:18 -0700, elk dolk wrote: > Hi all, > I want to build a website us

Re: [PHP] How to extract php source code from joomla

2013-07-22 Thread Ashley Sheridan
On Mon, 2013-07-22 at 12:18 -0700, elk dolk wrote: > Hi all, > I want to build a website using Joomla 2.5 . It should have 5 pages: > > index.php > pageOne.php > pageTwo.php > ... > > How can I get the php source code for those pages? > > I installed joomla 2.5 on my windows box and use XAM

[PHP] How to extract php source code from joomla

2013-07-22 Thread elk dolk
Hi all, I want to build a website using Joomla 2.5 . It should have 5 pages: index.php pageOne.php pageTwo.php ... How can I get the php source code for those pages? I installed joomla 2.5 on my windows box and use XAMPP's appache web server  thanks

Re: [PHP] How to read PHP-FPM config values using phpinfo

2013-07-16 Thread Amiya Maji
-05:00) To: Amiya Maji Cc: php-general@lists.php.net Subject: Re: [PHP] How to read PHP-FPM config values using phpinfo Hi there, Just a question, do you have Apache configured to use the PHP-FPM and not the Apache module? That something that people can mess up on. Thanks :) On Wed, Jul 17

Re: [PHP] How to read PHP-FPM config values using phpinfo

2013-07-16 Thread Daniel
Hi there, Just a question, do you have Apache configured to use the PHP-FPM and not the Apache module? That something that people can mess up on. Thanks :) On Wed, Jul 17, 2013 at 9:58 AM, Amiya Maji wrote: > Hi all, > > I am using PHP-FPM with Apache 2.4. I periodically change my php-fpm.con

[PHP] How to read PHP-FPM config values using phpinfo

2013-07-16 Thread Amiya Maji
Hi all, I am using PHP-FPM with Apache 2.4. I periodically change my php-fpm.conf and reload it by sending USR2 signal to the FPM process. Is there a way to print the updated parameters in FPM using phpinfo(). At present I am not seeing any FPM specific parameters in phpinfo. Any suggestion is

Re: [PHP] How to enable cURL php extension on Debian Wheezy?

2013-06-01 Thread Tamara Temple
Csanyi Pal wrote: > I have installed following packages related to this issue: > curl, libcurl3, libcurl3-gnutls, php5-curl. All good. > I have in > /etc/php5/mods-available/curl.ini > ; configuration for php CURL module > ; priority=20 > extension=curl.so Have you enabled the extension as well

Re: [PHP] How to enable cURL php extension on Debian Wheezy?

2013-06-01 Thread Adam Szewczyk
On Sat, Jun 01, 2013 at 09:41:33PM +0200, Csanyi Pal wrote: > Hi, > > I just upgraded Squeeze to Wheezy, and have difficulties with cURL PHP > extension: I can't enable it. > > I have installed following packages related to this issue: > curl, libcurl3, libcurl3-gnutls, php5-curl. > > I have in

Re: [PHP] How to enable cURL php extension on Debian Wheezy?

2013-06-01 Thread Adam Szewczyk
On Sat, Jun 01, 2013 at 09:41:33PM +0200, Csanyi Pal wrote: > Hi, > > I just upgraded Squeeze to Wheezy, and have difficulties with cURL PHP > extension: I can't enable it. > > I have installed following packages related to this issue: > curl, libcurl3, libcurl3-gnutls, php5-curl. > > I have in

[PHP] How to enable cURL php extension on Debian Wheezy?

2013-06-01 Thread Csanyi Pal
Hi, I just upgraded Squeeze to Wheezy, and have difficulties with cURL PHP extension: I can't enable it. I have installed following packages related to this issue: curl, libcurl3, libcurl3-gnutls, php5-curl. I have in /etc/php5/mods-available/curl.ini ; configuration for php CURL module ; priori

Re: [PHP] How do I remove a string from another string in a fuzzy way?

2013-05-21 Thread Tedd Sperling
On May 20, 2013, at 10:17 PM, Daevid Vincent wrote: Initially I was thinking that somehow I could use a simple regex on the > needle and haystacks to strip out all white space and str_ireplace() them > that way, but then I don't have a way to put the whitespace back that I can > see. Daevid: Go

RE: [PHP] How do I remove a string from another string in a fuzzy way?

2013-05-20 Thread Daevid Vincent
> -Original Message- > From: muquad...@gmail.com [mailto:muquad...@gmail.com] On Behalf Of shiplu > Sent: Monday, May 20, 2013 9:03 PM > To: Daevid Vincent > Cc: php-general General List > Subject: Re: [PHP] How do I remove a string from another string in a fuzzy &

Re: [PHP] How do I remove a string from another string in a fuzzy way?

2013-05-20 Thread shiplu
Is your ticketing system written from scratch? Because such type of logic is already implemented in existing help desk softwares. I think you can also use a specific string in your email to define which part goes in ticket and which part not. For example, you can include "PLEASE REPLY ABOVE THIS L

[PHP] How do I remove a string from another string in a fuzzy way?

2013-05-20 Thread Daevid Vincent
We have a support ticket system we built and customers can reply via email which then posts their reply into our database. The problem is that when you read a ticket, you see each ticket entry (row in DB) but they tend to accumulate the previous entries text since the customer replied to an email.

Re: [PHP] how to insert html code with PHP

2013-04-11 Thread tamouse mailing lists
On Apr 11, 2013 6:35 AM, "Rafnews" wrote: > > Hi, > > I would like to insert a piece of HTML code inside several pages. > all pages are differently named. > > i need in each page to find a particular tag, let's say ... (so based on its ID and tagname) and inside it to insert my PHP/HTML code. > >

[PHP] how to insert html code with PHP

2013-04-11 Thread Rafnews
Hi, I would like to insert a piece of HTML code inside several pages. all pages are differently named. i need in each page to find a particular tag, let's say id="#submenu">... (so based on its ID and tagname) and inside it to insert my PHP/HTML code. how can i do that ? thx. A. -- PHP Gen

Re: [PHP] How can I make PHP CodeSniffer Fixer ignore the namespace declaration?

2013-03-12 Thread ma...@behnke.biz
> Norah Jones hat am 12. März 2013 um 15:18 geschrieben: > > I am using the sublime text 2 plugin for PHP Coding Standards Fixer. It is > working fine, except for the fact that it considers the namespace invalid (it > is in fact invalid and I'm okay with it). this errors halts the script from > co

[PHP] How can I make PHP CodeSniffer Fixer ignore the namespace declaration?

2013-03-12 Thread Norah Jones
I am using the sublime text 2 plugin for PHP Coding Standards Fixer. It is working fine, except for the fact that it considers the namespace invalid (it is in fact invalid and I'm okay with it). this errors halts the script from correcting the rest of the file. I get the following error: T

Re: [PHP] how to calculate how much data does each ip address use ?

2013-02-06 Thread Sean Greenslade
On Wed, Feb 6, 2013 at 11:15 AM, Aaron Holmes wrote: > No one has mentioned Cacti yet? It does exactly what Bulent is looking for. > > http://cacti.net/ > > > On 2/5/13 6:46 PM, Sean Greenslade wrote: >> >> On Tue, Feb 5, 2013 at 10:13 AM, Bulent Malik >> wrote: >>> >>> > This task is not re

Re: [PHP] how to calculate how much data does each ip address use ?

2013-02-06 Thread Aaron Holmes
No one has mentioned Cacti yet? It does exactly what Bulent is looking for. http://cacti.net/ On 2/5/13 6:46 PM, Sean Greenslade wrote: On Tue, Feb 5, 2013 at 10:13 AM, Bulent Malik wrote: This task is not really suited for php. I would suggest looking into Ntop. It does exactly what you

Re: [PHP] how to calculate how much data does each ip address use ?

2013-02-05 Thread Sean Greenslade
On Tue, Feb 5, 2013 at 10:13 AM, Bulent Malik wrote: > > >> >This task is not really suited for php. I would suggest looking into > Ntop. >> >It does exactly what you described. >> >> >> Hello >> >> >> >> I have a freebsdbox firewall . also I have some internet customers. >> >> I want to save ho

Re: [PHP] how to calculate how much data does each ip address use ?

2013-02-05 Thread Peet Grobler
On 2013/02/01 4:58 PM, Sean Greenslade wrote: > This task is not really suited for php. I would suggest looking into Ntop. > It does exactly what you described. That's one option. I use a custom system, with perl and bash scripts collecting data and saving to rrd databases. php script displaying

RE: [PHP] how to calculate how much data does each ip address use ?

2013-02-05 Thread Bulent Malik
> >This task is not really suited for php. I would suggest looking into Ntop. > >It does exactly what you described. > > >> Hello > >> > >> I have a freebsdbox firewall . also I have some internet customers. > >> I want to save how much data they used in a table ( such as mysql > >>table ) for

RE: [PHP] how to calculate how much data does each ip address use ?

2013-02-01 Thread Mike Mackintosh
Original message From: Sean Greenslade Date: To: Bulent Malik Cc: php-general@lists.php.net Subject: RE: [PHP] how to calculate how much data does each ip address use ? On Feb 1, 2013 10:25 AM, "Bulent Malik" wrote: > > > > >This task is not

RE: [PHP] how to calculate how much data does each ip address use ?

2013-02-01 Thread Sean Greenslade
On Feb 1, 2013 10:25 AM, "Bulent Malik" wrote: > > > > >This task is not really suited for php. I would suggest looking into Ntop. > >It does exactly what you described. > > >> Hello > >> > >> I have a freebsdbox firewall . also I have some internet customers. > >> I want to save how much data th

RE: [PHP] how to calculate how much data does each ip address use ?

2013-02-01 Thread Bulent Malik
>This task is not really suited for php. I would suggest looking into Ntop. >It does exactly what you described. >> Hello >> >> I have a freebsdbox firewall . also I have some internet customers. >> I want to save how much data they used in a table ( such as mysql >> table ) for each ip addr

Re: [PHP] how to calculate how much data does each ip address use ?

2013-02-01 Thread Sean Greenslade
This task is not really suited for php. I would suggest looking into Ntop. It does exactly what you described. On Feb 1, 2013 9:40 AM, "Bulent Malik" wrote: > Hello > > I have a freebsdbox firewall . also I have some internet customers. I > want > to save how much data they used in a table ( su

[PHP] how to calculate how much data does each ip address use ?

2013-02-01 Thread Bulent Malik
Hello I have a freebsdbox firewall . also I have some internet customers. I want to save how much data they used in a table ( such as mysql table ) for each ip address. Apache2, php5 and mysql5.5 work on the box. How can I do it ? any script or tool. Thanks -- PHP General Mailing List (htt

Re: [PHP] how to build multilingual e-commerce website

2012-12-29 Thread Sachin Raut
Thanks all for your suggestions. I have decided to go through these 2 books & i will also talk to Magento developers. Once again thanks for your input regards Sachin Raut On Sat, Dec 29, 2012 at 9:20 AM, tamouse mailing lists < tamouse.li...@gmail.com> wrote: > On Fri, Dec 28, 2012 at 5:19 AM,

Re: [PHP] how to build multilingual e-commerce website

2012-12-28 Thread tamouse mailing lists
On Fri, Dec 28, 2012 at 5:19 AM, Sachin Raut wrote: > Dear Friends, > > I have to develop multilingual e-commerce (clothing) website. Could anyone > who has developed these kind of sites before guide me on how to start the > development or recommend any tutorial / book for developing these kind of

Re: [PHP] how to build multilingual e-commerce website

2012-12-28 Thread Matijn Woudt
Op 28 dec. 2012 12:20 schreef "Sachin Raut" het volgende: > > Dear Friends, > > I have to develop multilingual e-commerce (clothing) website. Could anyone > who has developed these kind of sites before guide me on how to start the > development or recommend any tutorial / book for developing these

Re: [PHP] how to build multilingual e-commerce website

2012-12-28 Thread Bastien
Bastien Koert On 2012-12-28, at 6:19 AM, Sachin Raut wrote: > Dear Friends, > > I have to develop multilingual e-commerce (clothing) website. Could anyone > who has developed these kind of sites before guide me on how to start the > development or recommend any tutorial / book for developing

[PHP] how to build multilingual e-commerce website

2012-12-28 Thread Sachin Raut
Dear Friends, I have to develop multilingual e-commerce (clothing) website. Could anyone who has developed these kind of sites before guide me on how to start the development or recommend any tutorial / book for developing these kind of sites? Would really appreciate any inut regarding this. reg

Re: [PHP] how to read emails with php

2012-12-09 Thread Michael Wallner
On 4 December 2012 19:24, Farzan Dalaee wrote: > Warning: imap_open() [function.imap-open]: Couldn't open stream > mail.mydomain.net:143/pop3INBOX in C:\xampp\htdocs\mail.php on line 6 > > this is my code > > $host = 'mail.mydomain.net:143/pop3'; > $user = 'x...@mydomain.net'; > $password = 'myPas

Re: [PHP] how to read emails with php

2012-12-05 Thread tamouse mailing lists
On Tue, Dec 4, 2012 at 12:24 PM, Farzan Dalaee wrote: > Warning: imap_open() [function.imap-open]: Couldn't open stream > mail.mydomain.net:143/pop3INBOX in C:\xampp\htdocs\mail.php on line 6 > > Warning: imap_check() expects parameter 1 to be resource, boolean > given in C:\xampp\htdocs\mail.php

Re: [PHP] how to read emails with php

2012-12-04 Thread Jim Lucas
On 12/04/2012 05:10 AM, Farzan Dalaee wrote: hi guys i want to open an email content ( subject ,body , attachment ) with php i use imap_php but its wont connect to host what should i do? thanx As others have suggested, try connecting using telnet from the same server you are running the PHP f

Re: [PHP] how to read emails with php

2012-12-04 Thread farzan.dalaee
I think so, so my code is correct and it should be working,  thanks you all for your time Best Regard Farzan DalaeeJonathan Sundquist wrote:It is very likely that the host you are using is blocking access to that port. Also depending on the host you are going to you may need to enable imap

Re: [PHP] how to read emails with php

2012-12-04 Thread Daniel Brown
On Tue, Dec 4, 2012 at 1:44 PM, Farzan Dalaee wrote: > Same error > I think its need something else for opening service like ssl setting or > somthing like that > Or this host im using block imap or pop3 access Per list rules, please don't top-post. Some things to consider:

Re: [PHP] how to read emails with php

2012-12-04 Thread Jonathan Sundquist
It is very likely that the host you are using is blocking access to that port. Also depending on the host you are going to you may need to enable imap as well. On Tue, Dec 4, 2012 at 12:44 PM, Farzan Dalaee wrote: > Same error > I think its need something else for opening service like ssl settin

Re: [PHP] how to read emails with php

2012-12-04 Thread Farzan Dalaee
Same error I think its need something else for opening service like ssl setting or somthing like that Or this host im using block imap or pop3 access Best Regard Farzan Dalaee On Dec 4, 2012 10:03 PM, "Jonathan Sundquist" wrote: > Try removing the call to the inbox and try getting a list of

Re: [PHP] how to read emails with php

2012-12-04 Thread Jonathan Sundquist
Try removing the call to the inbox and try getting a list of all the folders using imap_listmailbox($host, "*"); On Tue, Dec 4, 2012 at 12:24 PM, Farzan Dalaee wrote: > Warning: imap_open() [function.imap-open]: Couldn't open stream > mail.mydomain.net:143/pop3INBOX in C:\xampp\htdocs\mail.php o

  1   2   3   4   5   6   7   8   9   10   >