Re: [PHP] Sending headers to server

2013-08-02 Thread Karim Geiger
Hi Miguel, On 08/02/2013 10:50 AM, Miguel Guedes wrote: Hi Karim, On 01/08/13 15:40, Karim Geiger wrote: Works for me. What happens exactly? Do you get a 200? That's exactly right - I always get a 200. How can I diagnose this? Try getting the complete header by using curl -v

Re: [PHP] Sending headers to server

2013-08-02 Thread Miguel Guedes
... * Connected to localhost (127.0.0.1) port 80 (#0) GET /header-test.php HTTP/1.1 User-Agent: curl/7.29.0 Host: localhost Accept: */* HTTP/1.1 200 OK Date: Fri, 02 Aug 2013 14:32:47 GMT Server: Apache/2.2.22 (Ubuntu) X-Powered-By: PHP/5.4.9-4ubuntu2.2 Status: 500 Internal Server Error

Re: [PHP] Sending headers to server

2013-08-02 Thread Karim Geiger
/7.29.0 Host: localhost Accept: */* HTTP/1.1 200 OK Date: Fri, 02 Aug 2013 14:32:47 GMT Server: Apache/2.2.22 (Ubuntu) X-Powered-By: PHP/5.4.9-4ubuntu2.2 Status: 500 Internal Server Error Vary: Accept-Encoding Content-Length: 0 Content-Type: text/html * Connection #0 to host

Re: [PHP] Sending headers to server

2013-08-02 Thread Miguel Guedes
This is strange. I've just found out that the headers are sent correctly if I access the website outside of localhost. I don't understand why. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Just passing this along: Free Book

2013-08-02 Thread Tamara Temple
: ruby-talk, rubyonrails-talk, php-general) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general Digest 1 Aug 2013 14:23:11 -0000 Issue 8316

2013-08-01 Thread php-general-digest-help
php-general Digest 1 Aug 2013 14:23:11 - Issue 8316 Topics (messages 321748 through 321749): Re: SELECT data base on a upper level SELECT 321748 by: Jim Giner Sending headers to server 321749 by: Miguel Guedes Administrivia: To subscribe to the digest, e-mail: php

[PHP] Re: SELECT data base on a upper level SELECT

2013-08-01 Thread Jim Giner
: $sel = Department = '$d'; OR if you have selected a department $d and a manager $m: $sel = Department ='$d' and Manager='$m'; One query. A variable 'where' clause. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Sending headers to server

2013-08-01 Thread Miguel Guedes
Hello List, I'm running PHP 5.4.9 as CGI (via apache 2.2.22) and can't seem to be able to send headers to the server. Both, header('Status: 500 Internal Server Error'); and, header('HTTP/1.1 500 Internal Server Error', true, 500); result in nothing happening on the client side. What am I

Re: [PHP] Sending headers to server

2013-08-01 Thread Karim Geiger
Hi MiguelOn 08/01/2013 04:04 PM, Miguel Guedes wrote: Hello List, I'm running PHP 5.4.9 as CGI (via apache 2.2.22) and can't seem to be able to send headers to the server. Both, header('Status: 500 Internal Server Error'); and, header('HTTP/1.1 500 Internal Server Error', true

Re: [PHP] POST action

2013-08-01 Thread Larry Garfield
On 7/29/13 3:02 PM, Paul M Foster wrote: On Mon, Jul 29, 2013 at 11:50:01AM -0500, Larry Garfield wrote: On 7/28/13 9:23 PM, Paul M Foster wrote: On Sun, Jul 28, 2013 at 08:46:06PM -0500, Larry Garfield wrote: [snip] Except as noted above. This is all home-grown, using native PHP

Re: [PHP] POST action

2013-08-01 Thread Paul M Foster
! So there! ;-P Paul -- Paul M. Foster http://noferblatz.com http://quillandmouse.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: SELECT data base on a upper level SELECT

2013-08-01 Thread iccsi
Department, Manager, supervisor, Group Leader,Employees where $sel; Then when the user selects a department $d: $sel = Department = '$d'; OR if you have selected a department $d and a manager $m: $sel = Department ='$d' and Manager='$m'; One query. A variable 'where' clause. -- PHP General

Re: [PHP] Re: SELECT data base on a upper level SELECT

2013-08-01 Thread jomali
selects a department $d: $sel = Department = '$d'; OR if you have selected a department $d and a manager $m: $sel = Department ='$d' and Manager='$m'; One query. A variable 'where' clause. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] POST action

2013-08-01 Thread Robert Cummings
. This message is intended solely for the addressee(s). Disclosure, copying, and distribution are prohibited unless authorized. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general Digest 1 Aug 2013 01:37:14 -0000 Issue 8315

2013-07-31 Thread php-general-digest-help
php-general Digest 1 Aug 2013 01:37:14 - Issue 8315 Topics (messages 321743 through 321747): Re: php 5.3.15 and exception for disabled_functions 321743 by: Bálint Horváth 321744 by: Josef Karliak OPcache Instead of APC Now? 321745 by: Timmy Turner 321746

[PHP] SELECT data base on a upper level SELECT

2013-07-31 Thread iccsi
for manager and supervisor and so on. I can use iframe or jQuery to do every level, but it needs to call iframe or jQuery to 5 levels. I would like to know are there any better way to handle this situation, Your help and information is great appreciated, Regards, Iccsi, -- PHP General Mailing List

php-general Digest 30 Jul 2013 07:22:16 -0000 Issue 8314

2013-07-30 Thread php-general-digest-help
php-general Digest 30 Jul 2013 07:22:16 - Issue 8314 Topics (messages 321740 through 321742): OpenLDAP password policy response 321740 by: Andrius Kulbis Re: POST action 321741 by: Paul M Foster php 5.3.15 and exception for disabled_functions 321742 by: Josef

[PHP] php 5.3.15 and exception for disabled_functions

2013-07-30 Thread Josef Karliak
Hi there, in the php.ini file I've disabled some functions (exec and similar). In the php script we must use binary execution - so I had to enable function exec again. And here is a question - does php have an option, that I could set : this binary file could use this disabled

Re: [PHP] php 5.3.15 and exception for disabled_functions

2013-07-30 Thread Bálint Horváth
Hi, Maybe you think for ini_set() http://php.net/manual/en/function.ini-set.php On Tue, Jul 30, 2013 at 9:22 AM, Josef Karliak karl...@ajetaci.cz wrote: Hi there, in the php.ini file I've disabled some functions (exec and similar). In the php script we must use binary execution - so I

Re: [PHP] php 5.3.15 and exception for disabled_functions

2013-07-30 Thread Josef Karliak
...@ajetaci.cz wrote: Hi there, in the php.ini file I've disabled some functions (exec and similar). In the php script we must use binary execution - so I had to enable function exec again. And here is a question - does php have an option, that I could set : this binary file could use this disabled

[PHP] OPcache Instead of APC Now?

2013-07-30 Thread Timmy Turner
I was looking through the changelog for PHP 5.5 and noticed the Zend OPcache. Will this be replacing APC? (Is APC still being maintained?) The reason I'm asking is because I use APC's data caching feature heavily, which Zend's OPcache (currently) does not offer. Given that APC's shared memory

[PHP] Re: OPcache Instead of APC Now?

2013-07-30 Thread Jan Ehrhardt
Timmy Turner in php.general (Tue, 30 Jul 2013 19:02:43 +0200): I was looking through the changelog for PHP 5.5 and noticed the Zend OPcache. Will this be replacing APC? (Is APC still being maintained?) The reason I'm asking is because I use APC's data caching feature heavily, which Zend's OPcache

php-general Digest 29 Jul 2013 16:50:06 -0000 Issue 8313

2013-07-29 Thread php-general-digest-help
php-general Digest 29 Jul 2013 16:50:06 - Issue 8313 Topics (messages 321731 through 321739): Re: POST action 321731 by: Larry Garfield 321732 by: Jim Giner 321733 by: Ashley Sheridan 321734 by: Jim Giner 321735 by: Robert Cummings 321736

Re: [PHP] POST action

2013-07-29 Thread Larry Garfield
of the request. I don't fully understand that stuff myself, either.) No I don't check for this. - You have a number field (HTML5). Does your PHP code handle someone submitting a string anyway? I don't use HTML5 tags like this, since they are not universally supported. However, I check

[PHP] OpenLDAP password policy response

2013-07-29 Thread Andrius Kulbis
the message code and message text about password expiration is, but I can't manage to parse that message from response. I set the password policy request server control before the bind with ldap_set_option(). Any workaround or what am I doing wrong? pre ?php $address = 'x.x.x.x'; $dn

Re: [PHP] POST action

2013-07-29 Thread Paul M Foster
On Mon, Jul 29, 2013 at 11:50:01AM -0500, Larry Garfield wrote: On 7/28/13 9:23 PM, Paul M Foster wrote: On Sun, Jul 28, 2013 at 08:46:06PM -0500, Larry Garfield wrote: [snip] Except as noted above. This is all home-grown, using native PHP functions designed to do these things

php-general Digest 28 Jul 2013 17:14:49 -0000 Issue 8312

2013-07-28 Thread php-general-digest-help
php-general Digest 28 Jul 2013 17:14:49 - Issue 8312 Topics (messages 321726 through 321730): Re: From 24/7/2013 to 2013-07-24 321726 by: Jim Giner 321727 by: Robert Cummings 321728 by: Tamara Temple 321729 by: Tamara Temple POST action 321730

[PHP] POST action

2013-07-28 Thread iccsi
form action=action.php method=post pYour name: input type=text name=name //p pYour age: input type=text name=age //p pinput type=submit //p /formIn the PHP tutorial manual, it says that we can have post action to the form itself just like above coding.I would like to know in the real projects

Re: [PHP] POST action

2013-07-28 Thread Larry Garfield
On 07/28/2013 12:14 PM, iccsi wrote: form action=action.php method=post pYour name: input type=text name=name //p pYour age: input type=text name=age //p pinput type=submit //p /formIn the PHP tutorial manual, it says that we can have post action to the form itself just like above coding.I

Re: [PHP] POST action

2013-07-28 Thread Jim Giner
On 7/28/2013 1:26 PM, Larry Garfield wrote: On 07/28/2013 12:14 PM, iccsi wrote: form action=action.php method=post pYour name: input type=text name=name //p pYour age: input type=text name=age //p pinput type=submit //p /formIn the PHP tutorial manual, it says that we can have post action

Re: [PHP] POST action

2013-07-28 Thread Ashley Sheridan
the PHP tutorial manual, it says that we can have post action to the form itself just like above coding.I would like to know in the real projects, can we have action to the same PHP file, since that we only need have one filebut not 2 files foe POST request,Your help and information is great

Re: [PHP] POST action

2013-07-28 Thread Jim Giner
//p pinput type=submit //p /formIn the PHP tutorial manual, it says that we can have post action to the form itself just like above coding.I would like to know in the real projects, can we have action to the same PHP file, since that we only need have one filebut not 2 files foe POST request

Re: [PHP] POST action

2013-07-28 Thread Robert Cummings
On 13-07-28 01:14 PM, iccsi wrote: form action=action.php method=post pYour name: input type=text name=name //p pYour age: input type=text name=age //p pinput type=submit //p /formIn the PHP tutorial manual, it says that we can have post action to the form itself just like above coding.I

Re: [PHP] POST action

2013-07-28 Thread Robert Cummings
//p pYour age: input type=text name=age //p pinput type=submit //p /formIn the PHP tutorial manual, it says that we can have post action to the form itself just like above coding.I would like to know in the real projects, can we have action to the same PHP file, since that we only need have one

Re: [PHP] POST action

2013-07-28 Thread Larry Garfield
UTF-7 instead of UTF-8 for certain parts of the request. I don't fully understand that stuff myself, either.) - You have a number field (HTML5). Does your PHP code handle someone submitting a string anyway? - Are you checking all of those correctly every single time you write a form

Re: [PHP] POST action

2013-07-28 Thread Paul M Foster
understand that stuff myself, either.) No I don't check for this. - You have a number field (HTML5). Does your PHP code handle someone submitting a string anyway? I don't use HTML5 tags like this, since they are not universally supported. However, I check that numbers look like numbers on return

php-general Digest 26 Jul 2013 09:18:07 -0000 Issue 8310

2013-07-26 Thread php-general-digest-help
php-general Digest 26 Jul 2013 09:18:07 - Issue 8310 Topics (messages 321704 through 321715): Re: What wrong am I doing now? 321704 by: Karl-Arne Gjersøyen 321705 by: Matijn Woudt 321706 by: Sebastian Krebs 321707 by: Jim Giner 321708 by: Matijn Woudt

php-general Digest 26 Jul 2013 21:29:46 -0000 Issue 8311

2013-07-26 Thread php-general-digest-help
php-general Digest 26 Jul 2013 21:29:46 - Issue 8311 Topics (messages 321716 through 321725): Re: From 24/7/2013 to 2013-07-24 321716 by: Přemysl Fiala 321717 by: Karl-Arne Gjersøyen 321718 by: Jim Giner 321719 by: Jim Giner 321720 by: Alejandro

[PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Karl-Arne Gjersøyen
I want is a way to rewrite contents of a variable like this: From 24/7/2013 to 2013-07-24 Is there a way in PHP to do this? Thank you very much. Karl

Re: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Přemysl Fiala
: --- $lagret_dato = $_POST['lagret_dato']; foreach($lagret_dato as $dag){ $dag = explode(/, $dag); rsort($dag); $dag = implode(-, $dag); var_dump($dag); What I want is a way to rewrite contents of a variable like this: From 24/7/2013 to 2013-07-24 Is there a way in PHP

Re: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Karl-Arne Gjersøyen
(-, $dag); var_dump($dag); What I want is a way to rewrite contents of a variable like this: From 24/7/2013 to 2013-07-24 Is there a way in PHP to do this? Thank you very much. Karl

Re: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Jim Giner
: ; var_dump($newdag); echo br**br; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Jim Giner
-2407 that you want. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RES: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Alejandro Michelin Salomon
Use this: echo preg_replace('#(\d{2})/(\d{2})/(\d{4})#' , \\3-\\2-\\1, '24/07/2013' ); RESULT = 2013-07-24 Alejandro M.S -Mensagem original- De: Jim Giner [mailto:jim.gi...@albanyhandball.com] Enviada em: sexta-feira, 26 de julho de 2013 11:12 Para: php-general@lists.php.net Assunto

Re: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread jomali
(/, $dag); rsort($dag); $dag = implode(-, $dag); var_dump($dag); What I want is a way to rewrite contents of a variable like this: From 24/7/2013 to 2013-07-24 Is there a way in PHP to do this? Thank you very much. Karl $conv_date = str_replace('/', '-','24/7/2013

Re: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Robert Cummings
as $dag){ $dag = explode(/, $dag); rsort($dag); $dag = implode(-, $dag); var_dump($dag); What I want is a way to rewrite contents of a variable like this: From 24/7/2013 to 2013-07-24 Is there a way in PHP to do this? Thank you very much. Karl $conv_date

Re: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread jomali
to 2013-07-24 Is there a way in PHP to do this? Thank you very much. Karl $conv_date = str_replace('/', '-','24/7/2013'); echo date('Y-m-d', strtotime($conv_date)); Result: 2013-07-24 It would be better if you reformatted first since this is ambiguous when you have the following date

RES: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Alejandro Michelin Salomon
; PHP Mailinglist Assunto: Re: [PHP] From 24/7/2013 to 2013-07-24 On Fri, Jul 26, 2013 at 1:08 PM, Robert Cummings rob...@interjinn.comwrote: On 13-07-26 11:42 AM, jomali wrote: On Fri, Jul 26, 2013 at 5:18 AM, Karl-Arne Gjersøyen karlar...@gmail.com wrote: Below is something I try

Re: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Robert Cummings
like this: From 24/7/2013 to 2013-07-24 Is there a way in PHP to do this? Thank you very much. Karl $conv_date = str_replace('/', '-','24/7/2013'); echo date('Y-m-d', strtotime($conv_date)); Result: 2013-07-24 It would be better if you reformatted first since this is ambiguous when you

Re: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Jim Giner
want is a way to rewrite contents of a variable like this: From 24/7/2013 to 2013-07-24 Is there a way in PHP to do this? Thank you very much. Karl $conv_date = str_replace('/', '-','24/7/2013'); echo date('Y-m-d', strtotime($conv_date)); Result: 2013-07-24 It would be better if you

Re: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Robert Cummings
. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Tamara Temple
); rsort($dag); You want to reverse the array, not sort it :) array_reverse(). $dag = implode(-, $dag); var_dump($dag); What I want is a way to rewrite contents of a variable like this: From 24/7/2013 to 2013-07-24 Is there a way in PHP to do this? Thank you very

Re: [PHP] From 24/7/2013 to 2013-07-24

2013-07-26 Thread Tamara Temple
augh, apologies; i didn't see all the other replies…. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general Digest 24 Jul 2013 12:19:21 -0000 Issue 8309

2013-07-24 Thread php-general-digest-help
php-general Digest 24 Jul 2013 12:19:21 - Issue 8309 Topics (messages 321698 through 321703): Re: /tmp/directory 321698 by: Daniel Brown 321702 by: Tedd Sperling Re: How to extract php source code from joomla 321699 by: Yoinier Hernandez Nieves 321701

[PHP] What wrong am I doing now?

2013-07-24 Thread Karl-Arne Gjersøyen
| +---+ 2 rows in set (0.00 sec) mysql // My PHP code looks like this. // - $sql = SELECT DATE_FORMAT(dato, '%e-%c-%Y') FROM transportdokument WHERE dato = '2013-07-20' AND dato = '2013-07-24' GROUP BY dato DESC; $resultat

[PHP] Fwd: What wrong am I doing now?

2013-07-24 Thread Karl-Arne Gjersøyen
http://www.php.net/manual/en/datetime.format.php have the solution. Sorry for asking before I look at php.net!!! Karl -- Forwarded message -- From: Karl-Arne Gjersøyen karlar...@gmail.com Date: 2013/7/24 Subject: What wrong am I doing now? To: PHP Mailinglist php-general

Re: [PHP] What wrong am I doing now?

2013-07-24 Thread Matijn Woudt
') | +---+ | 24-7-2013 | | 23-7-2013 | +---+ 2 rows in set (0.00 sec) mysql // My PHP code looks like this. // - $sql = SELECT DATE_FORMAT(dato, '%e-%c-%Y') FROM

Re: [PHP] Fwd: What wrong am I doing now?

2013-07-24 Thread Sebastian Krebs
-- Forwarded message -- From: Karl-Arne Gjersøyen karlar...@gmail.com Date: 2013/7/24 Subject: What wrong am I doing now? To: PHP Mailinglist php-general@lists.php.net mysql SELECT DATE_FORMAT(dato, '%e-%c-%Y') FROM transportdokument WHERE dato = '2013-07-20' AND dato = '2013-07-24

[PHP] Re: What wrong am I doing now?

2013-07-24 Thread Jim Giner
-2013 | | 23-7-2013 | +---+ 2 rows in set (0.00 sec) mysql // My PHP code looks like this. // - $sql = SELECT DATE_FORMAT(dato, '%e-%c-%Y') FROM transportdokument WHERE dato = '2013-07-20

Re: [PHP] Re: What wrong am I doing now?

2013-07-24 Thread Matijn Woudt
; +-**--+ | DATE_FORMAT(dato, '%e-%c-%Y') | +-**--+ | 24-7-2013 | | 23-7-2013 | +-**--+ 2 rows in set (0.00 sec) mysql // My PHP code looks like

Re: [PHP] Re: What wrong am I doing now?

2013-07-24 Thread Jim Giner
Jim, He already has that... - Matijn oops -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Quick Q.

2013-07-24 Thread Richard Quadling
PHP 5.5+ is (from news) - Windows XP and 2003 support dropped. Does that mean no longer executes (as is seemingly what I'm seeing) or just no longer supported/developed? Just going to look into getting to the bottom of the CHM build issues and only have an XP license of Windows. Will drop

Re: [PHP] Quick Q.

2013-07-24 Thread Matijn Woudt
On Wed, Jul 24, 2013 at 10:45 PM, Richard Quadling rquadl...@gmail.comwrote: PHP 5.5+ is (from news) - Windows XP and 2003 support dropped. Does that mean no longer executes (as is seemingly what I'm seeing) or just no longer supported/developed? Just going to look into getting

Re: [PHP] COM - Assigning to method.

2013-07-24 Thread Richard Quadling
On 15 July 2013 16:27, Andrew Ballard aball...@gmail.com wrote: On Mon, Jul 15, 2013 at 4:21 AM, Adam Nicholls inkysp...@gmail.com wrote: Hi Andrew Thanks for this. But I'm still getting errors. I think I need to explain a bit more. Unfortunately there isn't a PHP API

Re: [PHP] Quick Q.

2013-07-24 Thread Richard Quadling
On 24 July 2013 21:54, Matijn Woudt tijn...@gmail.com wrote: On Wed, Jul 24, 2013 at 10:45 PM, Richard Quadling rquadl...@gmail.comwrote: PHP 5.5+ is (from news) - Windows XP and 2003 support dropped. Does that mean no longer executes (as is seemingly what I'm seeing) or just

Re: [PHP] Quick Q.

2013-07-24 Thread Matijn Woudt
On Wed, Jul 24, 2013 at 10:59 PM, Richard Quadling rquadl...@gmail.comwrote: On 24 July 2013 21:54, Matijn Woudt tijn...@gmail.com wrote: On Wed, Jul 24, 2013 at 10:45 PM, Richard Quadling rquadl...@gmail.comwrote: PHP 5.5+ is (from news) - Windows XP and 2003 support dropped

php-general Digest 23 Jul 2013 13:05:02 -0000 Issue 8308

2013-07-23 Thread php-general-digest-help
php-general Digest 23 Jul 2013 13:05:02 - Issue 8308 Topics (messages 321692 through 321697): Re: /tmp/directory 321692 by: Matijn Woudt 321694 by: Tedd Sperling Re: How to extract php source code from joomla 321693 by: Ashley Sheridan 321695 by: Tedd

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

2013-07-23 Thread Tedd Sperling
On Jul 23, 2013, at 12:15 AM, elk dolk elkd...@yahoo.com wrote: I study for MSc degree at university. Are you in an advanced class? Ok, congratulations -- you are studying for an MSc -- but that didn't answer the question. So, let me repeat the question: [1] Are you in an advanced PHP

Re: [PHP] /tmp/directory

2013-07-23 Thread Daniel Brown
see, I have a client where his host has apparently changed the /tmp/ directory permissions such that old php/mysql scripts cannot write to the /tmp/ directory anymore -- they did at one time. So, how do I fix it? Cheers, tedd Switch host? /tmp is required by the FHS and POSIX standards

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

2013-07-23 Thread Yoinier Hernandez Nieves
gateway , user login and user activity log . You can use Prestashop, Magento, Oscommerce, etc, and modify at you're needed. project Two : Implementing of a B2B sell-side portal with negotiation mechanism. You can modify above softwares to this purpose. Thanks As I am familiar with php and My.SQL

Re: [PHP] Foreach and mydql_query problem

2013-07-23 Thread Karl-Arne Gjersøyen
It works now and it was a php thing.When I combine a for and while loop together with Limit in my query it works. Karl mandag 22. juli 2013 skrev Liam følgende: Shouldn't $_POST['number_of_itemsi'] be $_POST['number_of_items'] Kind Regards, Liam. 3Sharp Ltd. T: 0845 6018370 F: 0845

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

2013-07-23 Thread richard gray
an application in PHP... the code and architecture is (well it was the last time I had the dubious pleasure of working with it...) truly awful Rich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] /tmp/directory

2013-07-23 Thread Tedd Sperling
believe it was released at the end of 2004). Thanks Daniel. tedd _ t...@sperling.com http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general Digest 22 Jul 2013 08:03:50 -0000 Issue 8306

2013-07-22 Thread php-general-digest-help
php-general Digest 22 Jul 2013 08:03:50 - Issue 8306 Topics (messages 321666 through 321668): Foreach and mydql_query problem 321666 by: Karl-Arne Gjersøyen 321667 by: Tamara Temple 321668 by: Stuart Dallas Administrivia: To subscribe to the digest, e-mail

[PHP] Foreach and mydql_query problem

2013-07-22 Thread Karl-Arne Gjersøyen
Hello again. I have this this source code that not work as I want... THe PHP/HTHML form fields is generated by a while loop and looks like this: input type=number name=number_of_items[] size=6 value=?hp echo $item; ? required=required the php source code look like this: ?php if(!empty($_POST

Re: [PHP] Foreach and mydql_query problem

2013-07-22 Thread Tamara Temple
On Jul 22, 2013, at 1:19 AM, Karl-Arne Gjersøyen karlar...@gmail.com wrote: Hello again. I have this this source code that not work as I want... THe PHP/HTHML form fields is generated by a while loop and looks like this: input type=number name=number_of_items[] size=6 value=?hp echo

Re: [PHP] Foreach and mydql_query problem

2013-07-22 Thread Stuart Dallas
On 22 Jul 2013, at 08:04, Tamara Temple tamouse.li...@gmail.com wrote: On Jul 22, 2013, at 1:19 AM, Karl-Arne Gjersøyen karlar...@gmail.com wrote: Hello again. I have this this source code that not work as I want... THe PHP/HTHML form fields is generated by a while loop and looks like

Re: [PHP] PHP and Powershell

2013-07-22 Thread Serge Fonville
in response to the lastest post to the thread I will snip off some content here. (Sorry first time at this) The ultimate goal is to pull the two variables so I can pass them forward via a PHP script to a MySQL Database. (ie iqn.2013-04.com.widget:Target1 and NotConnected in this case) I

Re: [PHP] Foreach and mydql_query problem

2013-07-22 Thread Karl-Arne Gjersøyen
2013/7/22 Tamara Temple tamouse.li...@gmail.com On Jul 22, 2013, at 1:19 AM, Karl-Arne Gjersøyen karlar...@gmail.com wrote: Hello again. I have this this source code that not work as I want... THe PHP/HTHML form fields is generated by a while loop and looks like this: input type

Re: [PHP] Foreach and mydql_query problem

2013-07-22 Thread Karl-Arne Gjersøyen
2013/7/22 Stuart Dallas stu...@3ft9.com On 22 Jul 2013, at 08:04, Tamara Temple tamouse.li...@gmail.com wrote: On Jul 22, 2013, at 1:19 AM, Karl-Arne Gjersøyen karlar...@gmail.com wrote: Hello again. I have this this source code that not work as I want... THe PHP/HTHML form fields

[PHP] Re: Foreach and mydql_query problem

2013-07-22 Thread Tim Streater
clause. Seems to me you should make sure your WHERE is correct. -- Cheers -- Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Foreach and mydql_query problem

2013-07-22 Thread Stuart Dallas
this this source code that not work as I want... THe PHP/HTHML form fields is generated by a while loop and looks like this: input type=number name=number_of_items[] size=6 value=?hp echo $item; ? required=required the php source code look like this: ?php if(!empty($_POST

[PHP] Re: Foreach and mydql_query problem

2013-07-22 Thread Karl-Arne Gjersøyen
that will be updated is that (or those) that match your WHERE clause. Seems to me you should make sure your WHERE is correct. Thanks, Tim. Yes the form is generated in a while loop and have input type=number name=number_of_items[] size=6 value=?php echo $item; ?. This field is in several product rows and when

Re: [PHP] Foreach and mydql_query problem

2013-07-22 Thread Karl-Arne Gjersøyen
...@gmail.com wrote: Hello again. I have this this source code that not work as I want... THe PHP/HTHML form fields is generated by a while loop and looks like this: input type=number name=number_of_items[] size=6 value=?hp echo $item; ? required=required the php source code

Re: [PHP] Foreach and mydql_query problem

2013-07-22 Thread Stuart Dallas
...@gmail.com wrote: On Jul 22, 2013, at 1:19 AM, Karl-Arne Gjersøyen karlar...@gmail.com wrote: Hello again. I have this this source code that not work as I want... THe PHP/HTHML form fields is generated by a while loop and looks like this: input type=number name=number_of_items[] size

Re: [PHP] /tmp/directory

2013-07-22 Thread Tedd Sperling
On Jul 22, 2013, at 11:20 AM, Tedd Sperling t...@sperling.com wrote Hi gang: I should know this, but I don't. Where is the /tmp/ directory? You see, I have a client where his host has apparently changed the /tmp/ directory permissions such that old php/mysql scripts cannot write

Re: [PHP] /tmp/directory

2013-07-22 Thread Ken Robinson
such that old php/mysql scripts cannot write to the /tmp/ directory anymore -- they did at one time. So, how do I fix it? Cheers, tedd Let me add -- the PHP version I am working with is 4.3.10. I know... tedd The version of PHP should have nothing to do with this problem. The /tmp directory

Re: [PHP] /tmp/directory

2013-07-22 Thread Larry Martell
/ directory? You see, I have a client where his host has apparently changed the /tmp/ directory permissions such that old php/mysql scripts cannot write to the /tmp/ directory anymore -- they did at one time. So, how do I fix it? Cheers, tedd Let me add -- the PHP version I am working

[PHP] /tmp/directory

2013-07-22 Thread Tedd Sperling
Hi gang: I should know this, but I don't. Where is the /tmp/ directory? You see, I have a client where his host has apparently changed the /tmp/ directory permissions such that old php/mysql scripts cannot write to the /tmp/ directory anymore -- they did at one time. So, how do I fix

Re: [PHP] Foreach and mydql_query problem

2013-07-22 Thread Jim Giner
defined, and you are assigning each to $itemi but then you use $item in your query. Very Confusing!! Perhaps if you clean up the errors you might see better results. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP and Powershell

2013-07-22 Thread Alan Loos
-mail and/or the accompanying attachment(s) is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender by return e-mail. From: Serge Fonville [mailto:serge.fonvi...@gmail.com] Sent: Monday, July 22, 2013 4:09 AM To: Alan Loos Cc: php-general

Re: [PHP] /tmp/directory

2013-07-22 Thread Tedd Sperling
...@sperling.com wrote I should know this, but I don't. Where is the /tmp/ directory? Let me add -- the PHP version I am working with is 4.3.10. I know... df /tmp should show you where it's mounted. And sys_get_temp_dir() will tell you the path. # php ? print sys_get_temp_dir

Re: [PHP] /tmp/directory

2013-07-22 Thread Larry Martell
/ directory permissions such that old php/mysql scripts cannot write to the /tmp/ directory anymore -- they did at one time. So, how do I fix it? Cheers, tedd Let me add -- the PHP version I am working with is 4.3.10. I know... df /tmp should show you where it's mounted. -- PHP

Re: [PHP] Foreach and mydql_query problem

2013-07-22 Thread Jim Lucas
to include a unique identifier in your query so your query updates a specific record. } // THE PHP/HTML Form below: include('../../tilkobling.php'); --- move this to the top of the script $sql = SELECT * FROM transportdokument WHERE dato = '$dagens_dato' AND signatur = '$brukernavn

Re: [PHP] /tmp/directory

2013-07-22 Thread Tamara Temple
On Jul 22, 2013, at 10:20 AM, Tedd Sperling t...@sperling.com wrote: Hi gang: I should know this, but I don't. Where is the /tmp/ directory? You see, I have a client where his host has apparently changed the /tmp/ directory permissions such that old php/mysql scripts cannot write

[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
. project Two : Implementing of a B2B sell-side portal with negotiation mechanism. As I am familiar with php and My.SQL and I have only 20 days to complete 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

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

2013-07-22 Thread Ashley Sheridan
of products, payment gateway , user login and user activity log . project Two : Implementing of a B2B sell-side portal with negotiation mechanism. As I am familiar with php and My.SQL and I have only 20 days to complete those projects ! I thought it's better to use Joomla I'll

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

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