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 azizsa...@gmail.com wrote: On Sat, Nov 2, 2013 at 1:03 PM, Ajay Garg ajaygargn...@gmail.com wrote: Hi

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 ajaygargn...@gmail.com 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 capture uploaded file data

2013-09-28 Thread Bastien
Thanks, Bastien On Sep 27, 2013, at 12:56 AM, Mariusz Drozdowski scheme...@wp.pl 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,

[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

[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 building

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 ajaygargn...@gmail.com wrote: Hi all. I have a scenario, wherein I need to do something like this :: ### $original_url = /autologin.php; $username = ajay;

[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 to send post-variables in a Location header

2013-08-26 Thread ma...@behnke.biz
Ajay Garg ajaygargn...@gmail.com 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;        

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 ajaygargn...@gmail.com wrote: Hi all. I have a scenario, wherein I need to do something like this :: ### $original_url = /autologin.php; $username = ajay;

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 ajaygargn...@gmail.com wrote: Hi all. I have a scenario, wherein I need to do something like this :: ### $original_url = /autologin.php; $username = ajay; $password =

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

2013-08-19 Thread Larry Garfield
On 08/17/2013 06:26 PM, Camilo Sperberg wrote: On 16 aug. 2013, at 19:17, Tamara Temple tamouse.li...@gmail.com 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] How can I submit more than 2000 items of data?

2013-08-19 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 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 aesbo...@gmail.com 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

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 aesbo...@gmail.com: 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?

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 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 completely retired and out

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 php...@ehrhardt.nl 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

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 chopins.x...@gmail.com wrote: you can use JSON post 2013/8/19 aesbovis aesbo...@gmail.com: Hello there I am making a little web-based-tool for our studio to

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 aesbo...@gmail.com 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

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 old is this version of PHP?

2013-08-19 Thread Jeff Burcher
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 completely retired and out of support. 5.3 is on security-only life

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

2013-08-19 Thread Sebastian Krebs
- 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.net Subject: Re: [PHP] how old is this version of PHP? Larry Garfield wrote

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 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 stu...@3ft9.com wrote: On 19 Aug 2013, at 10:49, aesbovis aesbo...@gmail.com 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

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 tijn...@gmail.com wrote: On Mon, Aug 19, 2013 at 11:54 AM, Stuart Dallas stu...@3ft9.com wrote: On 19 Aug 2013, at 10:49, aesbovis aesbo...@gmail.com wrote: I know Javascript can solve it, but I don't want to use Js. Thank you all the same. I

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 stu...@3ft9.com wrote: On 19 Aug 2013, at 15:56, Matijn Woudt tijn...@gmail.com wrote: On Mon, Aug 19, 2013 at 11:54 AM, Stuart Dallas stu...@3ft9.com wrote: On 19 Aug 2013, at 10:49, aesbovis aesbo...@gmail.com wrote: I know Javascript can

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 tijn...@gmail.com wrote: On Mon, Aug 19, 2013 at 5:20 PM, Stuart Dallas stu...@3ft9.com wrote: On 19 Aug 2013, at 15:56, Matijn Woudt tijn...@gmail.com wrote: On Mon, Aug 19, 2013 at 11:54 AM, Stuart Dallas stu...@3ft9.com wrote: On 19 Aug 2013, at

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 stu...@3ft9.com 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

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

2013-08-19 Thread Larry Garfield
- 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.net Subject: Re: [PHP] how old is this version of PHP? Larry Garfield wrote: 5.2.9

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 tijn...@gmail.com 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

[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

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

2013-08-17 Thread Camilo Sperberg
On 16 aug. 2013, at 19:17, Tamara Temple tamouse.li...@gmail.com 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 Extension

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 unrea...@gmail.com wrote: On 16 aug. 2013, at 19:17, Tamara Temple tamouse.li...@gmail.com 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

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 shahinarabbani.sh...@gmail.com 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

[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

[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 see all sessions sets in server

2013-08-04 Thread Matijn Woudt
On Sun, Aug 4, 2013 at 11:02 AM, Farzan Dalaee farzan.dal...@gmail.comwrote: 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?

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 tijn...@gmail.com wrote: On Sun, Aug 4, 2013 at

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, Matijn

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, at 14:44,

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 farzan.dal...@gmail.com 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

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

2013-08-04 Thread Ashley Sheridan
Farzan Dalaee farzan.dal...@gmail.com 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

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 a...@ashleysheridan.co.ukwrote: Farzan Dalaee farzan.dal...@gmail.com 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

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 a...@ashleysheridan.co.uk wrote: Farzan Dalaee farzan.dal...@gmail.com 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

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

2013-08-04 Thread Ashley Sheridan
Matijn Woudt tijn...@gmail.com wrote: On Sun, Aug 4, 2013 at 4:00 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: Farzan Dalaee farzan.dal...@gmail.com 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

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! I'm

[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) or

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 karlar...@gmail.comwrote: Hello again, folks! I wish to delete records in my database that is older than 3 months. $todays_date =

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 karlar...@gmail.com wrote: Hello again, folks! I wish to

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ć ndu...@gmail.com $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 Schick
On Fri, Aug 2, 2013 at 2:02 PM, Karl-Arne Gjersøyen karlar...@gmail.com wrote: 2013/8/2 Dušan Novaković ndu...@gmail.com $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

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 simonsimc...@gmail.com wrote: On Fri, Aug 2, 2013 at 2:02 PM, Karl-Arne Gjersøyen

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

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

[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 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 XAMPP's

[PHP] How to extract php source code from joomla

2013-07-22 Thread elk dolk
- From: Ashley Sheridan a...@ashleysheridan.co.uk To: elk dolk elkd...@yahoo.com Cc: php-general@lists.php.net 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

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

2013-07-22 Thread Ashley Sheridan
be grateful if you can give me an advice thank you - Forwarded Message - From: Ashley Sheridan a...@ashleysheridan.co.uk To: elk dolk elkd...@yahoo.com Cc: php-general@lists.php.net php-general@lists.php.net Sent: Monday, July 22, 2013 11:45 PM Subject: Re: [PHP] How to extract

[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
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? At

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 elkd...@yahoo.com 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,

[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?

[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

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 am...@purdue.edu wrote: Hi all, I am using PHP-FPM with Apache 2.4. I periodically change

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

2013-07-16 Thread Amiya Maji
/2013 9:48 PM (GMT-05:00) To: Amiya Maji am...@purdue.edu 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

[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 ;

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

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

2013-06-01 Thread Tamara Temple
Csanyi Pal csanyi...@gmail.com 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

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 dae...@daevid.com 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

[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 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

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 way? Is your ticketing

[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 div id=#submenu.../div (so based on its ID and tagname) and inside it to insert my PHP/HTML code. how can i do that ? thx. A. --

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

2013-04-11 Thread tamouse mailing lists
On Apr 11, 2013 6:35 AM, Rafnews raf.n...@gmail.com 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 div id=#submenu.../div (so based on its ID and tagname) and inside it to

[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:

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

2013-03-12 Thread ma...@behnke.biz
Norah Jones nh.jone...@gmail.com 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

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 bma...@ihlas.net.tr wrote: This task is not really suited for php. I would suggest looking into Ntop. It

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 aa...@aaronholmes.net 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 bma...@ihlas.net.tr wrote:

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 each ip address.

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 Sean Greenslade
On Tue, Feb 5, 2013 at 10:13 AM, Bulent Malik bma...@ihlas.net.tr 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

[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

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 bma...@ihlas.net.tr wrote: Hello I have a freebsdbox firewall . also I have some internet customers. I want to save how much data they used in

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 address.

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 bma...@ihlas.net.tr 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 they

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

2013-02-01 Thread Mike Mackintosh
Original message From: Sean Greenslade zootboys...@gmail.com Date: To: Bulent Malik bma...@ihlas.net.tr 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 bma...@ihlas.net.tr

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,

[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.

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 imsachinr...@gmail.com 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 /

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

2012-12-28 Thread Matijn Woudt
Op 28 dec. 2012 12:20 schreef Sachin Raut imsachinr...@gmail.com 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

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 imsachinr...@gmail.com 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

Re: [PHP] how to read emails with php

2012-12-09 Thread Michael Wallner
On 4 December 2012 19:24, Farzan Dalaee farzan.dal...@gmail.com 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';

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 farzan.dal...@gmail.com 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

[PHP] how to read emails with php

2012-12-04 Thread Farzan Dalaee
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to read emails with php

2012-12-04 Thread Daniel Brown
On Tue, Dec 4, 2012 at 8:10 AM, Farzan Dalaee farzan.dal...@gmail.com 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 Start by finding out why it won't connect. Check the logs on

Re: [PHP] how to read emails with php

2012-12-04 Thread Farzan Dalaee
i dont have access to log files on server On Azar 14, 1391, at 5:51 PM, Daniel Brown wrote: On Tue, Dec 4, 2012 at 8:10 AM, Farzan Dalaee farzan.dal...@gmail.com 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

Re: [PHP] how to read emails with php

2012-12-04 Thread Jonathan Sundquist
What does it say when you call imap_errors or imap_last_error? On Tue, Dec 4, 2012 at 10:02 AM, Farzan Dalaee farzan.dal...@gmail.comwrote: i dont have access to log files on server On Azar 14, 1391, at 5:51 PM, Daniel Brown wrote: On Tue, Dec 4, 2012 at 8:10 AM, Farzan Dalaee

Re: [PHP] how to read emails with php

2012-12-04 Thread Farzan Dalaee
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 on line 10 Notice: Unknown: Can't open mailbox

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 farzan.dal...@gmail.comwrote: Warning: imap_open() [function.imap-open]: Couldn't open stream mail.mydomain.net:143/pop3INBOX in

  1   2   3   4   5   6   7   8   9   10   >