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
>
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
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
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
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";
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
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";
>
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"
> 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
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);
#
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
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
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!
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
>
>
>
> 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
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
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
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
> 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,
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
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
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
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
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
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
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
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
$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
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)
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
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
I study for MSc degree at university.
Are you in an advanced class?
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
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?
I am allowed to use tools or code by hand , it does not matter ,the professor
wants to have the source code.
; 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
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
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
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
-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
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
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
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
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
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
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
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.
>
>
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
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
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
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
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
> >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
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
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
>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
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
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
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,
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
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
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
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
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
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
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
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
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:
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
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
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
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 mail.mydomain.ne
What does it say when you call imap_errors or imap_last_error?
On Tue, Dec 4, 2012 at 10:02 AM, Farzan Dalaee wrote:
> 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
> wrote:
> >> hi guys
> >> i
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 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
On Tue, Dec 4, 2012 at 8: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
Start by finding out why it won't connect. Check the logs on the
server if you ca
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
On Sat, Nov 17, 2012 at 1:51 AM, Enumag wrote:
> Hi, there is a bug I'd like to be fixed and even a patch is available. But
> there is still no reaction at all after 2 years. What else can I do to get
> the bug fixed?
>
> https://bugs.php.net/bug.php?id=45351 - patch available from 2010-06-13
> ht
On Sat, 17 Nov 2012, Enumag wrote:
Hi, there is a bug I'd like to be fixed and even a patch is available. But
there is still no reaction at all after 2 years. What else can I do to get
the bug fixed?
https://bugs.php.net/bug.php?id=45351 - patch available from 2010-06-13
https://bugs.php.net/b
Hi, there is a bug I'd like to be fixed and even a patch is available. But
there is still no reaction at all after 2 years. What else can I do to get
the bug fixed?
https://bugs.php.net/bug.php?id=45351 - patch available from 2010-06-13
https://bugs.php.net/bug.php?id=48724 - patch available from
Sorry for the top post but I don't have my laptop with me and, well frankly
I'm too tired to be arsed!
I think the confusion is coming from the word bind. I don't think man
people at aware of he difference between binding a socket and having it
listen on the port to which it's bound.
People... wh
Il 14/09/2012 21:19, Jim Lucas ha scritto:
On 09/13/2012 04:15 PM, Tonix (Antonio Nati) wrote:
Jim, sorry but you did not read carefully my posts.
Since the fist post, I ALWAYS spoke about connections a PHP script may
open autonomously (what you name second connection).
I'm never speaking abo
On 09/13/2012 04:15 PM, Tonix (Antonio Nati) wrote:
Jim, sorry but you did not read carefully my posts.
Since the fist post, I ALWAYS spoke about connections a PHP script may
open autonomously (what you name second connection).
I'm never speaking about listening/intercepting/using the original
On 09/12/2012 08:21 AM, Daniel Brown wrote:
On Wed, Sep 12, 2012 at 10:18 AM, Tonix (Antonio Nati)
wrote:
Is PHP able to 'force' binding IP? I hoped there was an external directive I
did not see, but probably this is a PHP lack.
Not at all. Essentially, PHP is an interface to underlyi
Hello,
is there a way how to track for allowed memory size on ? I receive this
error in one class that process sql querys. I want to check somehow when
query is processed do php return this error and if this is happened to
log sql query in file to can I optimize it latter.
I.D.
--
PHP Genera
Are you looking to use sockets? That's the only thing I can think of
when you speak of binding to an ip address/port...
http://php.net/manual/en/book.sockets.php ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Il 14/09/2012 00:09, Jim Lucas ha scritto:
On 09/13/2012 12:55 PM, Tonix (Antonio Nati) wrote:
Il 13/09/2012 21:41, Jim Lucas ha scritto:
On 09/13/2012 12:28 PM, Tonix (Antonio Nati) wrote:
You are speaking about incoming connections, I suppose.
I'm speaking about connections started from
On 09/13/2012 12:55 PM, Tonix (Antonio Nati) wrote:
Il 13/09/2012 21:41, Jim Lucas ha scritto:
On 09/13/2012 12:28 PM, Tonix (Antonio Nati) wrote:
You are speaking about incoming connections, I suppose.
I'm speaking about connections started from within PHP.
Which is a response to the incom
Il 13/09/2012 21:41, Jim Lucas ha scritto:
On 09/13/2012 12:28 PM, Tonix (Antonio Nati) wrote:
You are speaking about incoming connections, I suppose.
I'm speaking about connections started from within PHP.
Which is a response to the incoming connection.
And so? There is no relation betwe
On 09/13/2012 12:28 PM, Tonix (Antonio Nati) wrote:
You are speaking about incoming connections, I suppose.
I'm speaking about connections started from within PHP.
Which is a response to the incoming connection.
Unless you are talking about PHP being ran from cron or the CLI.
if you are tal
Il 13/09/2012 18:19, Mihamina Rakotomandimby ha scritto:
On 09/12/2012 04:53 PM, Tonix (Antonio Nati) wrote:
PHP script can freely choose which IP to bind.
PHP doesnt bind at all.
The HTTP server (Apache, Lighthttpd,...) does.
PHP is called only when the HTTP server wants (you configure it th
Il 13/09/2012 18:16, Mihamina Rakotomandimby ha scritto:
On 09/12/2012 07:02 PM, Daniel Brown wrote:
So, the answer is no, PHP is not able to do that.
There is an (heavy) BASEDIR directive for disk, but nothing
equivalent (and
simpler) for IP.
That's correct. However, that doesn't mean
On 09/12/2012 04:53 PM, Tonix (Antonio Nati) wrote:
PHP script can freely choose which IP to bind.
PHP doesnt bind at all.
The HTTP server (Apache, Lighthttpd,...) does.
PHP is called only when the HTTP server wants (you configure it that
way): make Apache handle PHP on conditionnal REMOTE_HO
On 09/12/2012 07:02 PM, Daniel Brown wrote:
So, the answer is no, PHP is not able to do that.
There is an (heavy) BASEDIR directive for disk, but nothing equivalent (and
simpler) for IP.
That's correct. However, that doesn't mean you can't put in a
feature request at https://bugs.php.net/
Il 12/09/2012 17:52, Tommy Pham ha scritto:
On Wed, Sep 12, 2012 at 7:18 AM, Tonix (Antonio Nati)
wrote:
Il 12/09/2012 16:08, Tommy Pham ha scritto:
On Wed, Sep 12, 2012 at 6:53 AM, Tonix (Antonio Nati)
wrote:
Is there a way to force a PHP script to bind to a prefixed IP?
Actually, while y
On Wed, Sep 12, 2012 at 11:38 AM, Tonix (Antonio Nati)
wrote:
>
> So, the answer is no, PHP is not able to do that.
> There is an (heavy) BASEDIR directive for disk, but nothing equivalent (and
> simpler) for IP.
That's correct. However, that doesn't mean you can't put in a
feature request a
On Wed, Sep 12, 2012 at 7:18 AM, Tonix (Antonio Nati)
wrote:
> Il 12/09/2012 16:08, Tommy Pham ha scritto:
>
>> On Wed, Sep 12, 2012 at 6:53 AM, Tonix (Antonio Nati)
>> wrote:
>>>
>>> Is there a way to force a PHP script to bind to a prefixed IP?
>>>
>>> Actually, while you can assign more IPs to
Il 12/09/2012 17:21, Daniel Brown ha scritto:
On Wed, Sep 12, 2012 at 10:18 AM, Tonix (Antonio Nati)
wrote:
Is PHP able to 'force' binding IP? I hoped there was an external directive I
did not see, but probably this is a PHP lack.
Not at all. Essentially, PHP is an interface to underlyin
On Wed, Sep 12, 2012 at 10:18 AM, Tonix (Antonio Nati)
wrote:
>
> Is PHP able to 'force' binding IP? I hoped there was an external directive I
> did not see, but probably this is a PHP lack.
Not at all. Essentially, PHP is an interface to underlying
software, OS commands, and APIs. You'd ha
Il 12/09/2012 16:08, Tommy Pham ha scritto:
On Wed, Sep 12, 2012 at 6:53 AM, Tonix (Antonio Nati)
wrote:
Is there a way to force a PHP script to bind to a prefixed IP?
Actually, while you can assign more IPs to Apache for listening, assigning
domains to specific IPs, it looks like any PHP scri
On Wed, Sep 12, 2012 at 6:53 AM, Tonix (Antonio Nati)
wrote:
>
> Is there a way to force a PHP script to bind to a prefixed IP?
>
> Actually, while you can assign more IPs to Apache for listening, assigning
> domains to specific IPs, it looks like any PHP script can freely choose
> which IP to bin
1 - 100 of 5040 matches
Mail list logo