Re: [PHP] A Strange Problem

2013-06-21 Thread tamouse mailing lists
On Jun 20, 2013 7:20 PM, Tedd Sperling t...@sperling.com wrote: On Jun 20, 2013, at 7:12 PM, Stuart Dallas stu...@3ft9.com wrote: Whatever the reason for this, I'd recommend you always specify a path relative to the current script. In PHP 5.3+: $fcontents =

Re: [PHP] Re: limit access to php page

2013-05-30 Thread tamouse mailing lists
On May 30, 2013 8:10 AM, Jim Giner jim.gi...@albanyhandball.com wrote: On 5/29/2013 9:38 PM, tamouse mailing lists wrote: Okay, first off, your application *has* to have some entry point that *is* accessible to a browser; otherwise nothing will find it. Once again - I was wrong in my

Re: [PHP] Looking for a good working PDO and/or mysqli database class to get started with OOP

2013-05-30 Thread tamouse mailing lists
On Thu, May 30, 2013 at 8:45 PM, Stephen stephe...@rogers.com wrote: On 13-05-30 09:36 PM, dealTek wrote: Hi all, Thanks for your help... I'm looking for a very good, pre made, working PDO and/or mysqli database class (in a wrapper) - to get started with, that has all the basic needs like

Re: [PHP] limit access to php page

2013-05-29 Thread tamouse mailing lists
On Wed, May 29, 2013 at 6:11 PM, Tim Dunphy bluethu...@gmail.com wrote: Hello list, I've created an authentication page (index.php) that logs into an LDAP server, then points you to a second page that some folks are intended to use to request apache redirects from the sysadmin group

Re: [PHP] Re: limit access to php page

2013-05-29 Thread tamouse mailing lists
On Wed, May 29, 2013 at 8:14 PM, Jim Giner jim.gi...@albanyhandball.com wrote: On 5/29/2013 7:11 PM, Tim Dunphy wrote: Hello list, I've created an authentication page (index.php) that logs into an LDAP server, then points you to a second page that some folks are intended to use to request

Re: [PHP] Re: limit access to php page

2013-05-29 Thread tamouse mailing lists
On Wed, May 29, 2013 at 8:20 PM, Glob Design Info i...@globdesign.com wrote: On 5/29/13 6:14 PM, Jim Giner wrote: On 5/29/2013 7:11 PM, Tim Dunphy wrote: Hello list, I've created an authentication page (index.php) that logs into an LDAP server, then points you to a second page that some

Re: [PHP] json_decode mistery

2013-05-25 Thread tamouse mailing lists
On Fri, May 24, 2013 at 2:06 AM, Radek Krejča radek.kre...@starnet.cz wrote: {result_ok:true,result_message:null,client_name:Radek Krej\u010da} How odd -- when i run that through json_decode, it works fine: $d = '{result_ok:true,result_message:null,client_name:Radek Krej\u010da}'; echo Initial:

Re: [PHP] json_decode mistery

2013-05-25 Thread tamouse mailing lists
On Sat, May 25, 2013 at 3:14 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Fri, May 24, 2013 at 2:06 AM, Radek Krejča radek.kre...@starnet.cz wrote: {result_ok:true,result_message:null,client_name:Radek Krej\u010da} How odd -- when i run that through json_decode, it works fine

Re: [PHP] json_decode mistery

2013-05-25 Thread tamouse mailing lists
On Sat, May 25, 2013 at 3:21 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Sat, May 25, 2013 at 3:14 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Fri, May 24, 2013 at 2:06 AM, Radek Krejča radek.kre...@starnet.cz wrote: {result_ok:true,result_message:null

Re: [PHP] Random

2013-05-23 Thread tamouse mailing lists
On Thu, May 23, 2013 at 3:51 PM, Last Hacker Always onpoint lasthack...@gmail.com wrote: Hey I need code for random number 1-30 for my site. function rand_from_1_to_30() { return 4; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-16 Thread tamouse mailing lists
Back to the OP's request, Ken Pugh's Interface Oriented Design goes quite a long way in describing OO* and directly to the heart of why interfaces make so much sense as a way of designing your code. It does not show PHP examples, it tries to remain agnostic to language.

Re: [PHP] Re: Sync CSV files with MySQL Database.

2013-05-12 Thread tamouse mailing lists
On Sat, May 11, 2013 at 9:41 AM, Jim Giner jim.gi...@albanyhandball.com wrote: On 5/11/2013 12:57 AM, Carlos Sura wrote: Hello mates, Perhaps this seems to be a silly question, but it is not to me, here is the scenario: I know how to import CSV files with PHP to a MySQL database, the

Re: [PHP] undef func

2013-05-10 Thread tamouse mailing lists
On Fri, May 10, 2013 at 12:23 PM, Daniel Brown danbr...@php.net wrote: On Fri, May 10, 2013 at 6:15 AM, georg georg.chamb...@telia.com wrote: Hello ! im increasingly frustrated on my effort to get PHP/ODBC going with Apache on Linux (did it on MS XP, that was trixy but this is worse, nothing

Re: [PHP] filesize question

2013-05-08 Thread tamouse mailing lists
know anything about joomla. tamouse mailing lists tamouse.li...@gmail.com wrote: On Tue, May 7, 2013 at 8:16 AM, Curtis Maurand cur...@maurand.com wrote: Hello, I'm feeding a filename to a php script on the command line (command line program). I run the following against it: $inputline

Re: [PHP] filesize question

2013-05-07 Thread tamouse mailing lists
On Tue, May 7, 2013 at 8:16 AM, Curtis Maurand cur...@maurand.com wrote: Hello, I'm feeding a filename to a php script on the command line (command line program). I run the following against it: $inputline = fread($inputfile, filesize($argv[1])); I'm getting an error complaining that the

Re: [PHP] Problems with array_push?

2013-05-07 Thread tamouse mailing lists
On Tue, May 7, 2013 at 4:28 PM, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: [snip]Globals being used in a function. [/snip] *smacks forehead* It bites me all the time, too. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problems with array_push?

2013-05-07 Thread tamouse mailing lists
On Tue, May 7, 2013 at 9:42 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Tue, May 7, 2013 at 4:28 PM, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: [snip]Globals being used in a function. [/snip] *smacks forehead* It bites me all the time, too. (Might be worth

Re: [PHP] generate onfly PDF

2013-05-04 Thread tamouse mailing lists
On Sat, May 4, 2013 at 3:31 PM, Rafnews raf.n...@gmail.com wrote: On 04.05.2013 23:05, Tedd Sperling wrote: On May 4, 2013, at 5:00 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Rafnews raf.n...@gmail.com wrote: Is there a solution to generate onfly PDF from HTML page, and from data

Re: [PHP] Load testing an app

2013-04-24 Thread tamouse mailing lists
On Tue, Apr 23, 2013 at 8:04 AM, Andrew Ballard aball...@gmail.com wrote: On Tue, Apr 23, 2013 at 2:29 AM, Adam Richardson simples...@gmail.com wrote: On Mon, Apr 22, 2013 at 10:41 PM, Andrew Ballard aball...@gmail.com wrote: The other developer in our office spent some time profiling the site

Re: [PHP] mysql_connect noob question

2013-04-21 Thread tamouse mailing lists
On Sat, Apr 20, 2013 at 9:37 PM, Glob Design Info i...@globdesign.com wrote: Night now this is just a test server. On the real thing I'll do it right. On 4/20/13 10:58 AM, Tedd Sperling wrote: On Apr 20, 2013, at 11:44 AM, Stuart Dallas stu...@3ft9.com wrote: On 20 Apr 2013, at 16:25, Jim

Re: [PHP] Looking for complete entered URL

2013-04-21 Thread tamouse mailing lists
On Sat, Apr 20, 2013 at 1:51 PM, Angela Barone ang...@italian-getaways.com wrote: I've written a script that logs all visits to a web site, complete with referrer and IP address. It also logs all 4xx errors. What I'd like to add to this is, if someone adds extra code after the

Re: [PHP] Re: mysql_connect noob question

2013-04-21 Thread tamouse mailing lists
On Sun, Apr 21, 2013 at 5:20 AM, Glob Design Info i...@globdesign.com wrote: I am aware of the security implications. I will deal with that later. Right now I am just trying to get the WS architecture working. I'm wondering, if you can get it to work with the creds in the script, why do you

Re: [PHP] mysql_connect noob question

2013-04-21 Thread tamouse mailing lists
On Sun, Apr 21, 2013 at 9:12 AM, Tedd Sperling tedd.sperl...@gmail.com wrote: On Apr 21, 2013, at 9:32 AM, Stuart Dallas stu...@3ft9.com wrote: However, a more important question for me is why you are doing this. You say you are aware of the security implications, and that you'll deal with

Re: [PHP] mysql_connect noob question

2013-04-21 Thread tamouse mailing lists
On Sun, Apr 21, 2013 at 9:49 AM, Stuart Dallas stu...@3ft9.com wrote: On 21 Apr 2013, at 15:46, tamouse mailing lists tamouse.li...@gmail.com wrote: On Sun, Apr 21, 2013 at 9:12 AM, Tedd Sperling tedd.sperl...@gmail.com wrote: On Apr 21, 2013, at 9:32 AM, Stuart Dallas stu...@3ft9.com

Re: [PHP] mysql_connect noob question

2013-04-21 Thread tamouse mailing lists
On Fri, Apr 19, 2013 at 3:43 PM, Glob Design Info i...@globdesign.com wrote: I know this has probably been answered already. When I pass a user name and password from a form to my PHP script and then pass those to mysql_connect it doesn't connect. When I paste those exact same values into

Re: [PHP] mysql_connect noob question

2013-04-21 Thread tamouse mailing lists
After all this, the OP remains unenlightened. This is just a waste of time. You are doing this wrong. There are existing tools that do what your client wants. A command line tool is not the same as the php library. are all met with I don't want to learn, just tell me what isn't working. Too bad.

Re: [PHP] mysql_connect noob question

2013-04-20 Thread tamouse mailing lists
* (But with the real user name, not just 'user') Thanks, On 4/19/13 3:28 PM, tamouse mailing lists wrote: On Fri, Apr 19, 2013 at 3:43 PM, Glob Design Info i...@globdesign.com wrote: I know this has probably been answered already. When I pass a user name and password from a form to my PHP script

Re: [PHP] Newbie Question - Parse XML with PHP...

2013-04-20 Thread tamouse mailing lists
This will be brief as I'm on a tablet... On Apr 19, 2013 5:53 PM, dealTek deal...@gmail.com wrote: On Apr 19, 2013, at 3:32 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: page1.php is sending out to credit card company - getting processed - then coming back to the *same page1

Re: [PHP] mysql_connect noob question

2013-04-19 Thread tamouse mailing lists
On Fri, Apr 19, 2013 at 3:43 PM, Glob Design Info i...@globdesign.com wrote: I know this has probably been answered already. When I pass a user name and password from a form to my PHP script and then pass those to mysql_connect it doesn't connect. When I paste those exact same values into

Re: [PHP] Newbie Question - Parse XML with PHP...

2013-04-19 Thread tamouse mailing lists
On Fri, Apr 19, 2013 at 4:04 PM, dealTek deal...@gmail.com wrote: On Apr 19, 2013, at 1:33 PM, Sebastian Krebs krebs@gmail.com wrote: A webpage is a file, that (usually) a browser downloads and parses. You'll do exactly the same :-) I don't know exactly, but you can try to pass the URL

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

Re: [PHP] search array

2013-04-11 Thread tamouse mailing lists
On Thu, Apr 11, 2013 at 1:37 PM, Russell Brackett rbrack...@capitolabs.com wrote: I need help with this code to echo all items in the general database and not just the fields I'm searching for. ?php // filter function function cleanInput($input) { $search = array('OEM

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

2013-04-11 Thread tamouse mailing lists
On Thu, Apr 11, 2013 at 1:12 PM, Rafnews raf.n...@gmail.com wrote: On 11.04.2013 19:19, Jim Giner wrote: On 4/11/2013 10:48 AM, Rafnews wrote: On 11.04.2013 13:34, Rafnews wrote: Hi, I would like to insert a piece of HTML code inside several pages. all pages are differently named. i

Re: [PHP] webform spam prevention

2013-04-04 Thread tamouse mailing lists
On Apr 4, 2013 3:57 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Captchas are not very accessible. Not only do you often need a near super-human ability to identify the scrawl that's displayed, but if you can't actually see very well to start with (maybe your vision isn't perfect or you

Re: [PHP] webform spam prevention

2013-04-03 Thread tamouse mailing lists
These folks might have direction for you: http://textcaptcha.com/really (And my apologies for top posting. It seems Google has forced their new mail compose widget upon me. I can no longer use my own editor to smoothly and easily edit message, and Google forces the top post.) On Tue, Apr 2, 2013

Re: [PHP] PHP-FPM with Apache 2.4, forward all request for all virtual host

2013-04-03 Thread tamouse mailing lists
Sorry, in all of that, I don't see what the question is? On Wed, Apr 3, 2013 at 3:27 PM, Jose Nobile jose.nob...@gmail.com wrote: Hi, In Apache 2.2 http://httpd.apache.org/docs/2.2/ forward all request that point to phisical .php file to PHP-FPM http://php-fpm.org/ is as follow: LoadModule

Re: [PHP] webform spam prevention

2013-04-03 Thread tamouse mailing lists
I'd love to learn how to do that WITHOUT A MOUSE On Wed, Apr 3, 2013 at 8:10 PM, jomali jomali3...@gmail.com wrote: On Wed, Apr 3, 2013 at 7:33 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: These folks might have direction for you: http://textcaptcha.com/really (And my apologies

Re: [PHP] variable type - conversion/checking

2013-03-16 Thread tamouse mailing lists
On Fri, Mar 15, 2013 at 8:34 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Thu, Mar 14, 2013 at 7:02 PM, georggeorg.chamb...@telia.com** I have tried to find a way to check if a character string is possible to test whether it is convertible to an intger ! The op wasn't about

Re: [PHP] rather a HTML Q; however 2-FRAME

2013-03-15 Thread tamouse mailing lists
On Fri, Mar 15, 2013 at 5:00 AM, georg georg.chamb...@telia.com wrote: I have a need to make a pure display in a (HTML tagged area defined by) FRAME now so far I have only succeeded in making output into a frame by landing a clicked tag to open the new doc (href or src) in a specified frame.

Re: [PHP] rather a HTML Q; however 2-FRAME

2013-03-15 Thread tamouse mailing lists
On Fri, Mar 15, 2013 at 9:11 AM, georg georg.chamb...@telia.com wrote: Actually I think you are right; what I would have liked (as a natural extension of the depression:) is actually a FRAME tag that stands without the FRAMESET and which as target=framename instead of the frame defining

Re: [PHP] variable type - conversion/checking

2013-03-15 Thread tamouse mailing lists
On Fri, Mar 15, 2013 at 4:00 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: ** On Fri, 2013-03-15 at 04:57 -0500, tamouse mailing lists wrote: On Fri, Mar 15, 2013 at 3:55 AM, Peter Ford p...@justcroft.com wrote: On 15/03/13 06:21, Jim Lucas wrote: On 3/14/2013 4:05 PM, Matijn

Re: [PHP] PHP context editor

2013-03-15 Thread tamouse mailing lists
On Fri, Mar 15, 2013 at 4:03 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Fri, 2013-03-15 at 12:05 +0100, Sebastian Krebs wrote: 2013/3/15 Karim Geiger gei...@b1-systems.de Hi Georg, On Thu, 2013-03-14 at 23:10 +0100, georg wrote: hello, annyone knows of some good PHP

Re: [PHP] rather a HTML Q; however 2-FRAME

2013-03-15 Thread tamouse mailing lists
On Fri, Mar 15, 2013 at 10:36 AM, Jim Giner jim.gi...@albanyhandball.com wrote: On 3/15/2013 10:11 AM, georg wrote: Actually I think you are right; what I would have liked (as a natural extension of the depression:) is actually a FRAME tag that stands without the FRAMESET and which as

Re: FW: [PHP] Accessing Files Outside the Web Root

2013-03-14 Thread tamouse mailing lists
On Mar 13, 2013 7:06 PM, David Robley robl...@aapt.net.au wrote: Dale H. Cook wrote: At 05:04 PM 3/13/2013, Dan McCullough wrote : Web bots can ignore the robots.txt file, most scrapers would. and at 05:06 PM 3/13/2013, Marc Guay wrote: These don't sound like robots that would

Re: [PHP] Re: Generating CRUD code for normalized db

2013-03-14 Thread tamouse mailing lists
On Mar 13, 2013 1:52 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Wed, 2013-03-13 at 19:24 +0100, Marco Behnke wrote: Am 13.03.13 12:57, schrieb Gary: ma...@behnke.biz wrote: Do us all a favor abnd stay away from open source if you do not honor the work us wannabes

Re: [PHP] Re: Populate input from another form

2013-03-08 Thread tamouse mailing lists
On Fri, Mar 8, 2013 at 9:17 PM, Jim Giner jim.gi...@albanyhandball.com wrote: On 3/8/2013 2:45 PM, John Taylor-Johnston wrote: I have a form form action=CRTP_Query.php id=CRTP_Query method=post target=_CRTPinput value=Query form=CRTP_Query type=submit/form OnSubmit, I want to include data

Re: [PHP] PHP Web Developer Opportunity

2013-03-06 Thread tamouse mailing lists
On Tue, Mar 5, 2013 at 6:42 PM, Matijn Woudt tijn...@gmail.com wrote: On Wed, Mar 6, 2013 at 1:34 AM, Tedd Sperling t...@sperling.com wrote: On Mar 5, 2013, at 7:18 PM, Matijn Woudt tijn...@gmail.com wrote: On Wed, Mar 6, 2013 at 1:16 AM, Tedd Sperling t...@sperling.com wrote: On Mar 4,

Re: [PHP] Strange Error calling method of wsdl based SOAP client

2013-03-06 Thread tamouse mailing lists
On Wed, Mar 6, 2013 at 1:36 PM, Tobiah tshep...@rcsreg.com wrote: I'm talking to the Membersuite SOAP api. They have a Get() method and a Save() method for objects. I call Get(), and get an object back representing an individual. I pass it back to Save() and I get this: Fatal error:

Re: [PHP] PHP 5.4 Help

2013-03-06 Thread tamouse mailing lists
On Wed, Mar 6, 2013 at 10:41 AM, Great Recordings, LLC mu...@great-recordings.com wrote: I need help from someone knowledgeable about PHP and I hope I am seeking it in the right place. I beg your forgiveness if this is not the right place. I purchased a software (1-2-3 Music) a few years

Re: [PHP] Re: Open form in new window

2013-03-05 Thread tamouse mailing lists
On Tue, Mar 5, 2013 at 8:37 AM, Jim Giner jim.gi...@albanyhandball.com wrote: On 3/4/2013 11:04 PM, tamouse mailing lists wrote: I would like to just take a step back and ponder what the user experience of this will be. Click a submit button, one of *many* as the OP says, and a new browser

Re: [PHP] Cold Intermediate Programmer trying to modularize website...

2013-03-05 Thread tamouse mailing lists
:22 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: Have you considered setting this up in wordpress? I'm not familiar with Charter as an ISP, or what they offer. I'm guessing they are on a consumer web hosting plan? Something to look at might be if there's a low-tier commercial

Re: [PHP] Cold Intermediate Programmer trying to modularize website...

2013-03-05 Thread tamouse mailing lists
On Tue, Mar 5, 2013 at 5:55 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Tue, Mar 5, 2013 at 12:42 PM, Barry Smith scs.bns...@gmail.com wrote: I know less about WordPress than I do about Joomla, but I did notice a template site that I cannot find any support for (cool templates

Re: [PHP] Not counting my own page visits

2013-03-04 Thread tamouse mailing lists
On Mon, Mar 4, 2013 at 5:58 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2013-03-05 at 10:19 +1030, David Robley wrote: Angela Barone wrote: On Mar 4, 2013, at 11:33 AM, Ashley Sheridan wrote: You can manually write a cookie on your machine, or use a special script that

Re: [PHP] Re: Open form in new window

2013-03-04 Thread tamouse mailing lists
I would like to just take a step back and ponder what the user experience of this will be. Click a submit button, one of *many* as the OP says, and a new browser window opens? I don't think that is how most people experience the web these days. Technicalities of how one does this notwithstanding,

Re: [PHP] Introduction ... !

2013-03-02 Thread tamouse mailing lists
On Sat, Mar 2, 2013 at 10:35 AM, Jay Blanchard jay.blanch...@sigmaphinothing.org wrote: [snip] Speak for yourself, I'm an autumn turkey! -Stuart [/snip] My body is an Autumn turkey, my head says differently - save on certain mornings when too much popping and cracking occurs. See, you

Re: [PHP] Joining fixed text to a SUBJECT variable

2013-03-02 Thread tamouse mailing lists
On Sat, Mar 2, 2013 at 5:04 AM, Michael CALDER mikecal...@optusnet.com.au wrote: -- G'day , G'day, cobber! Here is the current contact2.php file - but the SUBJECT only shows as RVRA Contact Form - Others have addressed that, as well as not needing the stripslashes. If you will permit, I

Re: [PHP] Close enough to Friday...

2013-03-01 Thread tamouse mailing lists
On Thu, Feb 28, 2013 at 9:59 PM, Adam Richardson simples...@gmail.com wrote: On Thu, Feb 28, 2013 at 10:19 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: Congratulations on ditching the Dreamweaver Templates! Now, as to preprocessing: how does this benchmark out? Have you noticed

Re: [PHP] Introduction ... !

2013-03-01 Thread tamouse mailing lists
On Fri, Mar 1, 2013 at 11:56 AM, Daniel Brown danbr...@php.net wrote: On Fri, Mar 1, 2013 at 12:54 PM, Jim Giner jim.gi...@albanyhandball.com wrote: What gives you such optimism? I recently saw a list of languages in use and PHP has dropped quite a bit over the last 5 or more years. Being

Re: [PHP] Holding datetimes in a DB.

2013-03-01 Thread tamouse mailing lists
On Fri, Mar 1, 2013 at 11:53 AM, Matijn Woudt tijn...@gmail.com wrote: On Fri, Mar 1, 2013 at 11:49 AM, Richard Quadling rquadl...@gmail.comwrote: Hi. My heads trying to remember something I may or may not have known to start with. If I hold datetimes in a DB in UTC and can represent a

Re: [PHP] Close enough to Friday...

2013-02-28 Thread tamouse mailing lists
On Thu, Feb 28, 2013 at 7:50 PM, Adam Richardson simples...@gmail.com wrote: Just wanted to toss this out as something I quick developed in case it could help others: https://github.com/AdamJonR/PreHP Essentially, I just wanted a quick pre-processor that would work with PHP so I could limit

Re: [PHP] Stupid question

2013-02-27 Thread tamouse mailing lists
On Wed, Feb 27, 2013 at 2:42 AM, Sebastian Krebs krebs@gmail.com wrote: 2013/2/27 tamouse mailing lists tamouse.li...@gmail.com Well, *I* have a stupid question: is $lhv = expr the same as $lhv = expr ?? Yes :) Because an operator = doesn't exists, thus the lexer will split them

Re: [PHP] Cold Intermediate Programmer trying to modularize website...

2013-02-26 Thread tamouse mailing lists
Have you considered setting this up in wordpress? On Tue, Feb 26, 2013 at 5:14 PM, Barry Smith scs.bns...@gmail.com wrote: Yes, Jim, and tamouse, Apologies for the length of this response. I am asking for help organizing the rewrite of the site, from a LOT of HTMLs that have 90% in common,

Re: [PHP] Stupid question

2013-02-26 Thread tamouse mailing lists
On Tue, Feb 26, 2013 at 4:41 PM, Jim Lucas li...@cmsws.com wrote: On 02/26/2013 01:27 PM, Curtis Maurand wrote: I have the following: $dsn = mysqli://$username:$password@$hostname2/$database; $options = array( 'debug' = 3, 'result_buffering' = false, ); $dbh = MDB2::factory($dsn,

Re: [PHP] Arrays

2013-02-26 Thread tamouse mailing lists
On Mon, Feb 25, 2013 at 9:51 PM, Karl DeSaulniers k...@designdrumm.com wrote: Never mind. I found a different function that reads out the children as well into the array. function xml_parse_into_assoc($data) { $p = xml_parser_create();

Re: [PHP] Big File Upload how to catch stream

2013-02-25 Thread tamouse mailing lists
On Sun, Feb 24, 2013 at 1:10 PM, Wim wim.stock...@gmail.com wrote: Hello, I have been looking how to upload big files more than 1GB , with php but it doesn't work well. I guess php POST multipart method is to memory consuming. Is there a way , like in the apache.commons to catch the stream

Re: [PHP] File Upload MultiPart

2013-02-24 Thread tamouse mailing lists
On Sun, Feb 24, 2013 at 1:07 PM, user@domain.invalid wrote: Hello, I have been looking how to upload big files more than 1GB , with php but it doesn't work well. I guess php POST multipart method is to memory consuming. Is there a way , like in the apache.commons to catch the stream and

Re: [PHP] Cold Intermediate Programmer trying to modularize website...

2013-02-22 Thread tamouse mailing lists
On Fri, Feb 22, 2013 at 1:48 PM, scs.bns...@gmail.com wrote: Intro -- Sorry to post in php.general . Just found the newserver, and I'm still trying to figure out where to post this question. Thus, I posted in .general ... either to get help or find out in which newsgroup I should post my

Re: [PHP] parsing select multiple=multiple

2013-02-21 Thread tamouse mailing lists
On Thu, Feb 21, 2013 at 8:46 AM, Jim Giner jim.gi...@albanyhandball.com wrote: I *have* heard claims that something like this is preferrable, though: if (FALSE === $variable) I believe I read a comment somewhere once that writing your IF statements that way helped to trigger an error

Re: [PHP] phpinfo()

2013-02-20 Thread tamouse mailing lists
On Wed, Feb 20, 2013 at 1:31 PM, Stuart Dallas stu...@3ft9.com wrote: -Stuart -- Sent from my leaf blower -- Did you get the 4G model, or is this just the WiFi version? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] parsing select multiple=multiple

2013-02-20 Thread tamouse mailing lists
On Tue, Feb 19, 2013 at 1:02 PM, John Taylor-Johnston john.taylor-johns...@cegepsherbrooke.qc.ca wrote: tamouse mailing lists wrote: I hate arrays. :D Here's a small snippet showing how it works, I hope: foreach ($DPRpriority as $item = $value) { echo li .$item.: .$value['name

Re: [PHP] parsing select multiple=multiple

2013-02-18 Thread tamouse mailing lists
On Mon, Feb 18, 2013 at 6:54 PM, John Taylor-Johnston john.taylor-johns...@cegepsherbrooke.qc.ca wrote: I am capable with select name=DPRpriority. (I suppose I did it correctly? :p ) But I haven't the first clue how to parse a select multiple and multiply select name=DPRtype. Would anyone

Re: [PHP] parsing select multiple=multiple

2013-02-18 Thread tamouse mailing lists
On Mon, Feb 18, 2013 at 7:28 PM, John Taylor-Johnston john.taylor-johns...@cegepsherbrooke.qc.ca wrote: select multiple=multiple name=DPRtype form=DPRform option value=1. Crimes Against Persons1. Crimes Against Persons/option option value=2. Disturbances2.

Re: [PHP] OOP to run sequential SQL queries?

2013-02-17 Thread tamouse mailing lists
On Sun, Feb 17, 2013 at 10:00 AM, AmirBehzad Eslami behzad.esl...@gmail.com wrote: We have a bunch of SQL-queries, they should be executed in a sequential order, with a defensive programming style in mind. We were thinking to implement the solution as Stored Procedures instead of a PHP

Re: [PHP] Apache to serve RESTful requests using PHP

2013-02-09 Thread tamouse mailing lists
On Sat, Feb 9, 2013 at 12:21 PM, Stuart Dallas stu...@3ft9.com wrote: On 9 Feb 2013, at 16:42, AmirBehzad Eslami behzad.esl...@gmail.com wrote: We're a developing a PHP-driven web service with a RESTful API, and we have a dedicated Linux server for that with 6GB of RAM. I would personally

Re: [PHP] Integer

2013-02-01 Thread tamouse mailing lists
On Fri, Feb 1, 2013 at 10:40 PM, Ron Piggott ron.pigg...@actsministries.org wrote: In the following the “2.” means a moderator response and “25” is the account # of the moderator. ?php $author = 2.00025 ? How can I get the 25 by itself? - I want to drop the “2.” and

Re: [PHP] Integer

2013-02-01 Thread tamouse mailing lists
On Fri, Feb 1, 2013 at 11:27 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Fri, Feb 1, 2013 at 10:40 PM, Ron Piggott ron.pigg...@actsministries.org wrote: In the following the “2.” means a moderator response and “25” is the account # of the moderator. ?php $author

Re: [PHP] Web User Management

2013-01-30 Thread tamouse mailing lists
On Wed, Jan 30, 2013 at 10:21 AM, Jonathan Sundquist jsundqu...@gmail.com wrote: For Zend Framework 2, take a look at https://github.com/ZF-Commons/ZfcUser On Wed, Jan 30, 2013 at 10:19 AM, Adolfo Olivera olivera.ado...@gmail.comwrote: You can take a look at the classes from the Zend

Re: [PHP] What needs to configure to run php exec for socket connection?

2013-01-27 Thread tamouse mailing lists
On Sun, Jan 27, 2013 at 3:10 AM, jupiter jupiter@gmail.com wrote: Hi, I have a client.php which calls an external python socket client program exec(Client.py), the Client.py calls sockobj.connect((localhost, 6)) to connect socket. If I run the client.php from Linux command line $

Re: [PHP] Re: [PHP-DEV] new FTP function

2013-01-18 Thread tamouse mailing lists
On Fri, Jan 18, 2013 at 9:43 AM, Daniel Brown danbr...@php.net wrote: On Fri, Jan 18, 2013 at 10:33 AM, KISE wowk...@gmail.com wrote: Paul Dragoonis, Actually it wont work i did tried it before, if the dir end with / it will list the directories inside the path you gave it and if it doesn't

Re: [PHP] Re: [PHP-DEV] new FTP function

2013-01-18 Thread tamouse mailing lists
On Fri, Jan 18, 2013 at 9:26 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Fri, Jan 18, 2013 at 9:43 AM, Daniel Brown danbr...@php.net wrote: On Fri, Jan 18, 2013 at 10:33 AM, KISE wowk...@gmail.com wrote: Paul Dragoonis, Actually it wont work i did tried it before, if the dir

Re: [PHP] PHP programming a members only access site

2013-01-13 Thread tamouse mailing lists
On Sun, Jan 13, 2013 at 11:05 AM, Stephen stephe...@rogers.com wrote: I know there are existing solutions for this, but the ones I have found are complex, turnkey and don't really facilitate learning. When learning is the goal, writing your own is probably the best course. When deploying a live

Re: [PHP] Can't connect to MySQL via PHP

2013-01-12 Thread tamouse mailing lists
On Sat, Jan 12, 2013 at 4:49 PM, admin ad...@buskirkgraphics.com wrote: As much as the php list would like to force people from using mysql, I guess you should not have invented it, if you don't want people to still use it. It's not this php list. It's the php developers. mysql* functions are

Re: [PHP] Pear Page2

2013-01-05 Thread tamouse mailing lists
On Sat, Jan 5, 2013 at 8:52 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote On Sat, 2013-01-05 at 15:23 +0100, Silvio Siefke wrote: On Sat, 05 Jan 2013 07:53:04 + Ashley Sheridan a...@ashleysheridan.co.uk wrote: I'm not sure quite what you'd expect such a module to do? Is this for

Re: [PHP] Boolean type forced on string assignment inside if statement

2013-01-04 Thread tamouse mailing lists
On Fri, Jan 4, 2013 at 1:56 AM, Sebastian Krebs krebs@gmail.com wrote: 2013/1/4 tamouse mailing lists tamouse.li...@gmail.com Bit operators are not comparing values, they're COMBINING values. Technically spoken they're comparing bits, whereas boolean operators does the same, but treaten

Re: [PHP] Boolean type forced on string assignment inside if statement

2013-01-04 Thread tamouse mailing lists
On Fri, Jan 4, 2013 at 4:25 PM, Sebastian Krebs krebs@gmail.com wrote: 2013/1/4 tamouse mailing lists tamouse.li...@gmail.com On Fri, Jan 4, 2013 at 1:56 AM, Sebastian Krebs krebs@gmail.com wrote: 2013/1/4 tamouse mailing lists tamouse.li...@gmail.com Bit operators

Re: [PHP] Pear Page2

2013-01-04 Thread tamouse mailing lists
On Fri, Jan 4, 2013 at 8:18 PM, Silvio Siefke siefke_lis...@web.de wrote: Is there something similar to Pear/Page2 module, that can working with HTML5? Would phptal be of use? http://phptal.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] variable placeholders in a text file

2012-12-31 Thread tamouse mailing lists
On Mon, Dec 31, 2012 at 2:37 PM, Nelson Green nelsongree...@hotmail.com wrote: On Mon, 31 Dec 2012 14:47:20 Stephen D wrote: Yes! Easy standard stuff. $title = 'Mr.; $user_name = 'John Doe'; $message = Hello $title $user_name Just define the value for the variables before

Re: [PHP] variable placeholders in a text file

2012-12-31 Thread tamouse mailing lists
On Mon, Dec 31, 2012 at 5:47 PM, Stephen stephe...@rogers.com wrote: The common stuff for every page is defined in the file include.php. I define the variable $markup in that file. Here is the definition for $markup $markup=HEREDOC [[snippy]] HEREDOC; By using require_once instead of

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] Strange string stuff -- maybe everything is ending...

2012-12-22 Thread tamouse mailing lists
On Fri, Dec 21, 2012 at 7:06 PM, Jim Giner jim.gi...@albanyhandball.com wrote: That actually makes sense tho. Afterall, a string is truly only one memory allocation whereas array elements are basically multiple vars having the same name. So - how can you unset one char in a string? That

Re: [PHP] Noobie starting to learn OOP for databases needs help

2012-12-17 Thread tamouse mailing lists
On Sun, Dec 16, 2012 at 9:38 AM, dealTek deal...@gmail.com wrote: Noobie starting to learn oop for databases from here: Cool. :) mysql_insert_id (depricated?) or mysqli_insert_id() (I am using mySql 5.3) The mysqli version would be preferred, since you're using mysqli in that class. 2 - how

Re: [PHP] storing searching docs

2012-12-15 Thread tamouse mailing lists
On Dec 13, 2012 4:50 PM, Jim Giner jim.gi...@albanyhandball.com wrote: Thanks for all the posts. After reading and googling all afternoon, I think the best approach for me is: Create two macros in Word (done!) to export each of my .doc files to .txt and .pdf formats. Create a sql table to

Re: [PHP] storing searching docs

2012-12-15 Thread tamouse mailing lists
On Dec 13, 2012 4:50 PM, Jim Giner jim.gi...@albanyhandball.com wrote: Thanks for all the posts. After reading and googling all afternoon, I think the best approach for me is: Create two macros in Word (done!) to export each of my .doc files to .txt and .pdf formats. Create a sql table to

Re: [PHP] storing searching docs

2012-12-15 Thread tamouse mailing lists
On Dec 15, 2012 7:29 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Dec 13, 2012 4:50 PM, Jim Giner jim.gi...@albanyhandball.com wrote: Thanks for all the posts. After reading and googling all afternoon, I think the best approach for me is: Create two macros in Word (done

Re: [PHP] Formatting -- defining sections of code

2012-12-15 Thread tamouse mailing lists
On Dec 14, 2012 9:49 AM, Andy McKenzie amckenz...@gmail.com wrote: Hey folks, kind of a strange question here. Basically, I've been trying to move my style from self taught to Oh yeah, there IS a standard for this. One of the things I frequently want to do is define sections of my code: to

Re: [PHP] storing searching docs

2012-12-15 Thread tamouse mailing lists
On Sat, Dec 15, 2012 at 11:21 AM, Jim Giner jim.gi...@albanyhandball.com wrote: On 12/15/2012 8:26 AM, tamouse mailing lists wrote: On Dec 13, 2012 4:50 PM, Jim Giner jim.gi...@albanyhandball.com wrote: Thanks for all the posts. After reading and googling all afternoon, I think the best

Re: [PHP] storing searching docs

2012-12-15 Thread tamouse mailing lists
On Sat, Dec 15, 2012 at 11:22 AM, Jim Giner jim.gi...@albanyhandball.com wrote: On 12/15/2012 8:29 AM, tamouse mailing lists wrote: On Dec 13, 2012 4:50 PM, Jim Giner jim.gi...@albanyhandball.com wrote: Thanks for all the posts. After reading and googling all afternoon, I think the best

Re: [PHP] Session ?

2012-12-07 Thread tamouse mailing lists
On Fri, Dec 7, 2012 at 2:04 PM, Jim Giner jim.gi...@albanyhandball.com wrote: On 12/7/2012 2:59 PM, Daniel Brown wrote: On Fri, Dec 7, 2012 at 2:54 PM, Jim Giner jim.gi...@albanyhandball.com wrote: What if my sub-domain names are not in the form of 'a.domain.com' and 'b.domain.com'.

Re: [PHP] Re: shared memory on php servers?

2012-12-05 Thread tamouse mailing lists
On Tue, Dec 4, 2012 at 7:02 AM, Alessandro Pellizzari a...@amiran.it wrote: Il Tue, 04 Dec 2012 11:49:22 +0100, rene7705 ha scritto: I'm wondering, what's the fastest way to put a large and deep array() structure in shared memory on a PHP server? Using MongoDB. :) +++ -- PHP General

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

  1   2   3   4   >