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

2013-03-04 Thread Terry Ally (Gmail)
You could echo HTML code e.g. Number: *Submit* or include it as one of your form attributes: ** First name: Last name: On 4 March 2013 07:16, Maciek Sokolewicz wrote: > On 4-3-2013 6:44, John Taylor-Johnston wrote: > >> I have many different submit button. >> >> >> >> When php

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

2013-03-04 Thread Maciek Sokolewicz
On 4 March 2013 09:32, Terry Ally (Gmail) wrote: > You could echo HTML code e.g. Which is still purely HTML and has nothing whatsoever to do with PHP. > > > Number: > Submit > > > or include it as one of your form attributes: > > > First name: > Last name: > > Again, pure HTML, and

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

2013-03-04 Thread Terry Ally (Gmail)
I was using an example and NOT intended to show ASP. On 4 March 2013 08:35, Maciek Sokolewicz wrote: > On 4 March 2013 09:32, Terry Ally (Gmail) wrote: > > You could echo HTML code e.g. > Which is still purely HTML and has nothing whatsoever to do with PHP. > > > > > > > Number: > > Submit >

Re: [PHP] Very Large File Splatter

2013-03-04 Thread Richard Quadling
On 22 February 2013 21:04, Brian Smither wrote: > PHP 5.4.4-TS-VC9 on Windows XP SP3 NTFS non-system drive with 18GB free. > > I dare not try to replicate this. As such, I cannot firmly place the blame on > PHP. > > I have peppered a PHP application with a call to a function which > appends-only

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

2013-03-04 Thread John Taylor-Johnston
> You could echo HTML code e.g. Which is still purely HTML and has nothing whatsoever to do with PHP. > > > Number: > Submit > > > or include it as one of your form attributes: > > > First name: > Last name: > > Again, pur

[PHP] Re: Open form in new window

2013-03-04 Thread Tim Streater
On 04 Mar 2013 at 17:10, John Taylor-Johnston wrote: > Submit will not > submit the form contents. Nothing to stop your OpenWindow() function doing a submit as in: Submit function OpenWindow (formPtr) { // Some actions formPtr.submit (); } Personally I never submit

[PHP] Not counting my own page visits

2013-03-04 Thread Angela Barone
Hello, I have a script that counts hits to all the pages in my site and emails me a report nightly. However, it also counts my visits to my site, and when I'm coding, I'm hitting a lot of my pages, repeatedly. I'd like to find a way to not count my page visits. At first, I th

Re: [PHP] Not counting my own page visits

2013-03-04 Thread Tommy Pham
On Mon, Mar 4, 2013 at 9:47 AM, Angela Barone wrote: > Hello, > > I have a script that counts hits to all the pages in my site and > emails me a report nightly. However, it also counts my visits to my site, > and when I'm coding, I'm hitting a lot of my pages, repeatedly. I'd like to

Re: [PHP] Open form in new window

2013-03-04 Thread John Taylor-Johnston
If you want to open a new page in response to a submit button press (using PHP) you may be out of luck. I don't know of a way to do it without involving another language. Opening a different page in the *same* window, yes. Otherwise, no. But watch the other replies. Maybe someone knows somet

Re: [PHP] Not counting my own page visits

2013-03-04 Thread Ashley Sheridan
Angela Barone wrote: >Hello, > > I have a script that counts hits to all the pages in my site and >emails me a report nightly. However, it also counts my visits to my >site, and when I'm coding, I'm hitting a lot of my pages, repeatedly. >I'd like to find a way to not count my page visi

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

2013-03-04 Thread Matijn Woudt
On Mon, Mar 4, 2013 at 6:10 PM, John Taylor-Johnston < john.taylor-johns...@cegepsherbrooke.qc.ca> wrote: > > You could echo HTML code e.g. >> >> Which is still purely HTML and has nothing whatsoever to do with PHP. >> >> > >> > >> > Number: >> > Submit<**/button> >> > >

Re: [PHP] Not counting my own page visits

2013-03-04 Thread Angela Barone
On Mar 4, 2013, at 9:52 AM, Tommy Pham wrote: > What about ignoring $_SERVER['REMOTE_ADDR'] or $_SERVER['REMOTE_HOST'] > where that matches your public IP or FQDN? Hi Tommy, I am checking for $_SERVER['REMOTE_ADDR'] but how would I check that against mine? I don't have a static IP. Tha

Re: [PHP] Not counting my own page visits

2013-03-04 Thread Angela Barone
On Mar 4, 2013, at 9:56 AM, Ashley Sheridan wrote: > set a cookie with a long life and check for that, discounting visits when > either are true Hi Ash, I don't know anything about cookies. It sounds complicated to me. Is there a simple way to set one? Thanks, Angela -- PHP General M

Re: [PHP] Not counting my own page visits

2013-03-04 Thread Ashley Sheridan
On Mon, 2013-03-04 at 10:15 -0800, Angela Barone wrote: > On Mar 4, 2013, at 9:56 AM, Ashley Sheridan wrote: > > set a cookie with a long life and check for that, discounting visits when > > either are true > > Hi Ash, > > I don't know anything about cookies. It sounds complicated to me.

[PHP] PHP Web Developer Opportunity

2013-03-04 Thread Allison Garcia
*SMALL WORLD LABS is looking for a PHP WEB DEVELOPER * Small World Labs is looking for a PHP Web Developer to be a part of our team. The position is focused on managing, supporting and expanding the Small World Labs social collaboration and online community platform. This role will interface with

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

2013-03-04 Thread Paul M Foster
On Mon, Mar 04, 2013 at 05:39:00PM +, Tim Streater wrote: > On 04 Mar 2013 at 17:10, John Taylor-Johnston > wrote: > > > Submit will not > > submit the form contents. > > Nothing to stop your OpenWindow() function doing a submit as in: > > Submit > > > function OpenWindow (formPtr) >

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

2013-03-04 Thread Paul M Foster
On Mon, Mar 04, 2013 at 06:58:41PM +0100, Matijn Woudt wrote: > On Mon, Mar 4, 2013 at 6:10 PM, John Taylor-Johnston < > john.taylor-johns...@cegepsherbrooke.qc.ca> wrote: > > > > You could echo HTML code e.g. > >> > >> Which is still purely HTML and has nothing whatsoever to do with PHP. > >

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

2013-03-04 Thread Ashley Sheridan
On Mon, 2013-03-04 at 15:22 -0500, Paul M Foster wrote: > On Mon, Mar 04, 2013 at 06:58:41PM +0100, Matijn Woudt wrote: > > > On Mon, Mar 4, 2013 at 6:10 PM, John Taylor-Johnston < > > john.taylor-johns...@cegepsherbrooke.qc.ca> wrote: > > > > > > You could echo HTML code e.g. > > >> > > >>

[PHP] Re: Open form in new window

2013-03-04 Thread Tim Streater
On 04 Mar 2013 at 20:17, Paul M Foster wrote: > On Mon, Mar 04, 2013 at 05:39:00PM +, Tim Streater wrote: >> Personally I never submit forms. I use ajax to communicate with PHP >> scripts and do something with the data that is returned by the script. >> You can see a simple example at http:

[PHP] Re: Open form in new window

2013-03-04 Thread Jim Giner
On 3/4/2013 12:44 AM, John Taylor-Johnston wrote: I have many different submit button. When php processes value="Enter Data", I would like to open a new window, but only if I click this one. Possible? I knw ther is an HTML target="" thingy. Can PHP do anything magic? Just put the DPRmode b

Re: [PHP] Not counting my own page visits

2013-03-04 Thread Angela Barone
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 > only you visit that contains a setcookie() call (it only need be set once). > From there on, you can check the $_COOKIES super global for the presence of > your c

Re: [PHP] Not counting my own page visits

2013-03-04 Thread David Robley
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 only you visit that contains a setcookie() call (it only need be set >> once). From there on, you can check the $_COOKIES super global for

Re: [PHP] Not counting my own page visits

2013-03-04 Thread Ashley Sheridan
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 only you visit that contains a setcookie() call (it only need be set > >>

Re: [PHP] [ad] [free+opensource] htmlMicroscope (nested array viewer/dumper) upgraded - now allows for even larger arrays

2013-03-04 Thread Ravi Gehlot
I like PHPUnit for that matter. It does a good job of debugging. Ravi. On Sat, Dec 22, 2012 at 8:41 AM, rene7705 wrote: > Hi Folks. > > URL: http://fancywebapps.com/products/htmlMicroscope > > Just wanted to let you all know that I've completed a long overdue > upgrade to my free htmlMicroscop

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 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 only you v

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