[PHP] php 5.3.6

2011-06-20 Thread Fatih P.
Hi Guys, installed php 5.3.6 TS VC9 and apache 2.2.19 OpenSSL 1.0 compiled with VC9 on windows 2003 R2 but now having strange problem that post variables are not parsed. i have tried file_gets_contents(php://input); this problems is there especially when i post strings starting with capital

Re: [PHP] php 5.3.6

2011-06-20 Thread Fatih P.
, Jun 20, 2011 at 9:15 PM, Daniel Brown danbr...@php.net wrote: On Mon, Jun 20, 2011 at 15:09, Fatih P. fatihpirist...@gmail.com wrote: Hi Guys, installed php 5.3.6 TS VC9 and apache 2.2.19 OpenSSL 1.0 compiled with VC9 on windows 2003 R2 but now having strange problem that post variables

Re: [PHP] 【N級、 S級、AAA級 財布、バッグ!】【ブランド館】

2011-06-20 Thread Fatih P.
ban it :) 2011/6/21 ad...@buskirkgraphics.com I see that it is actually from rjck...@gmail.com I am not bilingual in Japanese but this is what I can make out it is an Advertisement. (A/the N class, S class, AAA class purse, bag! ) (A/the brand mansion) Japanese highest level copy brand 激

Re: [PHP] URL Rewriting

2011-06-22 Thread Fatih P.
try RewriteEngine on RewriteRule ^theme([0-9]+).php$ /index.php?theme=$1 [L] On Wed, Jun 22, 2011 at 11:22 PM, Silvio Siefke li...@silvio-siefke.dewrote: Hello, is there a chance with php to use rewriting? Like Example: mysite.com/theme.php?id=1 to theme.php theme2.php etc. I

Re: [PHP] Get all the keys from a hierarchical hash

2011-06-24 Thread Fatih P.
use recursive calls to fetch them all in one array and there will be memory cost. refer array_keys function: http://php.net/manual/en/function.array-keys.php not sure but this should be working. function *get_keys_recursive*($arr) { while (list($k, $v) = each($arr)) { if (is_array($v)

Re: [PHP] Re: Php filter validate url

2011-06-26 Thread Fatih P.
Guys, when you reply a mail, You should write your reply on the top of it, not at the bottom of it. makes it easier to follow. On Sun, Jun 26, 2011 at 11:44 PM, Shawn McKenzie nos...@mckenzies.netwrote: On 06/26/2011 12:31 PM, Adam Tong wrote: Hi, I wanted tu use php filters for

Re: [PHP] Re: Php filter validate url

2011-06-26 Thread Fatih P.
well, anyway ignore it then On Sun, Jun 26, 2011 at 11:57 PM, Stuart Dallas stu...@3ft9.com wrote: On Sunday, 26 June 2011 at 22:50, Fatih P. wrote: Guys, when you reply a mail, You should write your reply on the top of it, not at the bottom of it. makes it easier to follow

Re: [PHP] Re: Php filter validate url

2011-06-26 Thread Fatih P.
the mailing list does. Fatih P. fatihpirist...@gmail.com writes: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php headers are set and sent by gmail itself Content-Type: multipart/alternative; boundary=00151747b53cf2927204a6a46ebb

[PHP] caching problem

2011-06-27 Thread Fatih P.
Hi guys, the code files are being cached. and modifications in methods are skipped and not executed. is there any parameter that i can pass it from ini file? this has been so annoying for me. restarting apache, windows, etc does not even help. im running apache 2.2.19, php ts 5.3.6 on windows

Re: [PHP] caching problem

2011-06-27 Thread Fatih P.
On Tue, Jun 28, 2011 at 7:40 AM, Nilesh Govindarajan cont...@nileshgr.comwrote: On 06/28/2011 10:56 AM, Fatih P. wrote: Hi guys, the code files are being cached. and modifications in methods are skipped and not executed. is there any parameter that i can pass it from ini file

Re: [PHP] caching problem

2011-06-28 Thread Fatih P.
On Tue, Jun 28, 2011 at 5:12 PM, ad...@buskirkgraphics.com wrote: Faith, I actually did read from the beginning of the message. That does not make sense. PHP files are cached intentionally, the system does not Cache PHP on its own. Sounds to me like you have an issue re-declaring an

Re: [PHP] caching problem

2011-06-28 Thread Fatih P.
On Tue, Jun 28, 2011 at 5:30 PM, Stuart Dallas stu...@3ft9.com wrote: On Tue, Jun 28, 2011 at 4:23 PM, Fatih P. fatihpirist...@gmail.comwrote: On Tue, Jun 28, 2011 at 5:12 PM, ad...@buskirkgraphics.com wrote: Faith, I actually did read from the beginning of the message. That does

Re: [PHP] caching problem

2011-06-28 Thread Fatih P.
On Tue, Jun 28, 2011 at 6:39 PM, ad...@buskirkgraphics.com wrote: Fatih, I am sorry spell check auto corrected your name, I was not changing your name on purpose. It was not my intension to piss you off. I understand your frustration, trust me. I am running 5.3.6 on Windows Server

Re: [PHP] newline and return issues in string

2011-10-11 Thread Fatih P.
On 10/11/2011 04:44 PM, Richard Quadling wrote: On 11 October 2011 12:58,ad...@buskirkgraphics.com wrote: I have come across an issue with my string that I would like to find a faster way to resolve. It seems there are new lines and returns at different positions of the string. First I

Re: [PHP] Auto CRUD Generator

2011-11-26 Thread Fatih P.
On 11/26/2011 10:20 PM, Muhammad Hassan Samee wrote: is there any class/script that can automatically create a CRUD [Create,Read,Update,Delete] grid table for any database table .? Hi Hassan, check my blog there are some functions I have been working on. it might give you some ideas.

Re: [PHP] Syntax problem PDO and bindvalue

2011-12-12 Thread Fatih P.
On Mon, Dec 12, 2011 at 4:22 PM, FeIn aci...@gmail.com wrote: I don't think you're suppose to end your queries with a semicolon. Try: you can end your queries with semicolon in prepared statements. How can I see the prepared SQL statement before it is executed? try- var_dump ($statement);

Re: [PHP] OOP problems

2011-12-15 Thread Fatih P.
On 12/15/2011 01:05 PM, Alex Pojarsky wrote: I'm not sure I've understood you correctly, but you may try something like the following primitive autoloader (I didn't debug it, it's just an example): class Base { protected $_path = ''; public function construct($base_path) {

Re: [PHP] Converting a Unicode code to related charachter

2011-12-18 Thread Fatih P.
there is iconv to do this. you should better check that. On Sun, Dec 18, 2011 at 11:33 AM, Ali Asghar Toraby Parizy aliasghar.tor...@gmail.com wrote: Hi. As I was writing a php code last week, I struggled with a function that was supposed to convert Unicode code to a character. At last I

Re: [PHP] Need Part-time Coder

2011-12-27 Thread Fatih P.
On Wed, Dec 28, 2011 at 12:54 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Tue, 2011-12-27 at 17:29 -0500, John R. Cornell II wrote: Email PHP sample for consideration ?php echo hello world; ? Reply to list with a few more details for a more detailed reply ;) ?php echo ;)

Re: [PHP] Question about date calculations

2011-12-29 Thread Fatih P.
On Thu, Dec 29, 2011 at 11:40 PM, Frank Arensmeier farensme...@gmail.comwrote: 29 dec 2011 kl. 22.22 skrev Eric Lommatsch: So far in looking at the functions that are available at http://www.php.net/manual/en/ref.datetime.php I have not been able to figure out how to do what I need to

Re: [PHP] Question about date calculations

2011-12-29 Thread Fatih P.
On 12/30/2011 12:19 AM, ad...@buskirkgraphics.com wrote: -Original Message- From: Fatih P. [mailto:fatihpirist...@gmail.com] Sent: Thursday, December 29, 2011 5:10 PM To: Frank Arensmeier Cc: Eric Lommatsch; php-general@lists.php.net Subject: Re: [PHP] Question about date calculations

Re: [PHP] php sendmail_from

2012-01-09 Thread Fatih P
On Mon, 2012-01-09 at 13:53 -0500, alexus wrote: I need to change sendmail from field, I added following to my .htaccess: php_value sendmail_from 'x...@xxx.xxx' and tried to send out an email, but it still comes from apache@FQDN through phpinfo(); I see as local value my email address

Re: [PHP] Re: ArrayInterator always true

2012-01-28 Thread Fatih P.
2012/1/28 Mihai Anghel mihaigrim1...@gmail.com If you enable notices you will see that PHP outputs this : Notice: ArrayIterator::next(): Array was modified outside object and internal position is no longer valid.This line seems to be the problem //Test if next stream is an option for (

Re: [PHP] What's Your Favorite Design Pattern?

2012-02-07 Thread Fatih P.
mostly MVC, Singleton and Factory. depends on requirements.

Re: [PHP] how to execute Exe file in system

2012-02-17 Thread Fatih P.
On Fri, Feb 17, 2012 at 1:26 PM, Negin Nickparsa nickpa...@gmail.comwrote: I have a Gams application http://interfaces.gams-software.com/doku.php?id=env%3aspawning_gams_from_php which I want to run it through php code after trying many things finally I found that for running in commmand

Re: [PHP] how to execute Exe file in system

2012-02-17 Thread Fatih P.
give the full path of trnsport_php.gms too. shell_exec should be working fine on windows as well.

Re: [PHP] how to execute Exe file in system

2012-02-17 Thread Fatih P.
replace \ in path with / then should work fine on windows too.

Re: [PHP] how to execute Exe file in system

2012-02-17 Thread Fatih P.
On Fri, Feb 17, 2012 at 2:19 PM, Stuart Dallas stu...@3ft9.com wrote: On 17 Feb 2012, at 12:12, Negin Nickparsa wrote: if (($out = system(' C:/Program Files/GAMS23.7/gams.exe C:/Program Files/GAMS23.7/trnsport_php.gms')) !== FALSE) { print('Not error!'); printf('Output is %s', $out);

Re: [PHP] how to execute Exe file in system

2012-02-17 Thread Fatih P.
ERRORNULL maybe program Files which has space should have something like \ which I don't know ha? or because of Null It is correct? means false.. it cannot find the path. you have problem with path.

Re: [PHP] how to execute Exe file in system

2012-02-17 Thread Fatih P.
me files of C:\Program Files\GAMS23.7 then it shoud run the command gams.exe transport.gms without giving pathfiles what's wrong here? what reason is here for setting path files? On Fri, Feb 17, 2012 at 5:06 PM, Fatih P. fatihpirist...@gmail.comwrote: ERRORNULL maybe program Files which

Re: [PHP] how to execute Exe file in system

2012-02-17 Thread Fatih P.
well then fix it. i m not using editor.

Re: [PHP] Test

2012-02-20 Thread Fatih P.
On Mon, Feb 20, 2012 at 8:57 PM, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: Does this work? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php it works

Re: [PHP] Selecting checkboxes based on SQL query

2012-02-23 Thread Fatih P.
On Thu, Feb 23, 2012 at 8:49 PM, Rick Dwyer rpdw...@earthlink.net wrote: Hello all. I perform a SQL query like the following: $sql = 'select * from my_table where id=10 It returns the the following array for 3 records: Array ( [0] = Array ( [cb] = 2 ) [1] = Array ( [cb] = 6 ) [2] =

Re: [PHP] Selecting checkboxes based on SQL query

2012-02-23 Thread Fatih P.
array to look like the above one: Array ( [0] = Array ( [cb] = 2 ) [1] = Array ( [cb] = 6 ) [2] = Array ( [cb] = 1 ) ) --Rick On Feb 23, 2012, at 2:08 PM, Fatih P. wrote: On Thu, Feb 23, 2012 at 8:49 PM, Rick Dwyer rpdw...@earthlink.net wrote: Hello all. I perform a SQL query like

Re: [PHP] Apache 2.4.1 and php?

2012-02-24 Thread Fatih P.
On Fri, Feb 24, 2012 at 3:58 AM, Daniel Fenn danielx...@gmail.com wrote: Hi, Just a quick question, will I be able to run Apache 2.4.1 and php 5.3.10 together? Or will I need to wait for php to be updated? I'm setting this up on CentOs 6.2 Regards, Daniel Fenn -- PHP General Mailing

Re: [PHP] time/task reporting

2012-03-01 Thread Fatih P.
On Thu, Mar 1, 2012 at 10:43 AM, Robert Nilsson rob...@myself.com wrote: Hi, Ok, I admit -I'm lazy! Been asked to make a reporting tool, what and how many hours spent on Possible with a save option, to enable continuously adding during the week, before sending off by mail to manager and

Re: [PHP] Mime Mail problem

2012-03-28 Thread Fatih P.
On Wed, Mar 28, 2012 at 9:26 PM, Alexis phplis...@antonakis.co.uk wrote: I am hitting my head over a problem with Mime Mail...which i am hoping some kind some can help me out on please The email is sent out fine and when viewing the source, appears to be fine, however neither the body of the

Re: [PHP] Mime Mail problem

2012-03-28 Thread Fatih P.
On Wed, Mar 28, 2012 at 11:44 PM, Alexis phplis...@antonakis.co.uk wrote: If I insert the full stop after the \n then the output stops just before the fullstop. Currently I have \r\n \r\n That is a space between the two sets of \r\n's. I tried it without any spaces and still got the same

Re: [PHP] PDO question

2012-11-28 Thread Fatih P.
On Wed, Nov 28, 2012 at 9:22 PM, Jim Lucas li...@cmsws.com wrote: On 11/28/2012 12:58 PM, ad...@buskirkgraphics.com wrote: Guys, I am not quiet sure what is happening but every time i try to connect to a remote host it refers back to localhost. $pdo = new

Re: [PHP] Sorry bout that...

2012-12-21 Thread Fatih P.
yah. we were just talking about that here too. On Fri, Dec 21, 2012 at 8:22 AM, Steven Staples sstap...@mnsi.net wrote: I would like to let everyone know that the world didn't end this morning like it was supposed too. Sorry, carry on about your business. And HAPPY FRIDAY!!! Steven