[PHP] After a PHP script timeout, Apache logs the error but may not cleanly exit the script

2013-10-06 Thread Meta Seller Admin
we've been using the latest versions of all packages. We're having problems with PHP script timeouts, which although rare, are behaving erratically and causing severe problems when they do occur. The timeouts are always recorded in the Apache log, and sometimes the script and everyth

[PHP] Script

2013-05-23 Thread Last Hacker Always onpoint
Hi please the script am using is an auto generated script: simple machine function, and its having problems. So please I'l like to ask if anyone can give me a cool music site script like music212.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub

Re: [PHP] Images can execute php script?

2012-09-23 Thread Maciek Sokolewicz
the file b) how your webserver is set up / configured PHP scripts are executed using the PHP interpreter. This means, that for a PHP script to be executed, the server needs to: 1. assume the requested file is a PHP script 2. run the PHP interpreter, and provide it the requested file 3. return the ou

RE: [PHP] Images can execute php script?

2012-09-23 Thread admin
> Jpgs can hold other data rather than image data > One thing to try is to run strip_tags($image) to remove any php code > http://stackoverflow.com/questions/3499173/my-php-site-was-hacked-by-codes-u ploaded-as-image > http://josephkeeler.com/2009/04/php-upload-security-the-1x1-jpeg-hack/ > > Bast

Re: [PHP] Images can execute php script?

2012-09-23 Thread shiplu
On Sun, Sep 23, 2012 at 9:57 PM, admin wrote: > Today I seen a hack into php that has rocked me to my foundation. > I seen a picture uploaded onto a server using php and when php displayed > the > image, phpinfo() was executed and displayed. > > Does this problem exist in PHP 5.2.17 +? > How do y

Re: [PHP] Images can execute php script?

2012-09-23 Thread Bastien
Bastien Koert On 2012-09-23, at 11:57 AM, "admin" wrote: > Today I seen a hack into php that has rocked me to my foundation. > I seen a picture uploaded onto a server using php and when php displayed the > image, phpinfo() was executed and displayed. > > Does this problem exist in PHP 5.2.17

[PHP] Images can execute php script?

2012-09-23 Thread admin
Today I seen a hack into php that has rocked me to my foundation. I seen a picture uploaded onto a server using php and when php displayed the image, phpinfo() was executed and displayed. Does this problem exist in PHP 5.2.17 +? How do you stop it? Sorry, I have never known of this before today.

[PHP] Re: php script can't self reference

2012-06-20 Thread Maciek Sokolewicz
On 20-06-2012 15:55, Tim Dunphy wrote: Hello list, I just wanted to bounce a slight issue that I'm having off you regarding self referencing a php script. Moving from the 'sendemail.htm' page where a form is used to the 'sendemail.php' page that is in the form acti

Re: [PHP] long running php script won't complete :(

2012-06-05 Thread rene7705
On Mon, Jun 4, 2012 at 6:52 PM, Matijn Woudt wrote: > On Mon, Jun 4, 2012 at 5:57 PM, rene7705 wrote: >> Hi. >> >> I've got a piece of code that builds up a multi-meg test array for my >> opensourced http://mediabeez.ws/products/htmlMicroscope var_dump() >> improvement, and when I run it for long

Re: [PHP] long running php script won't complete :(

2012-06-04 Thread Matijn Woudt
On Mon, Jun 4, 2012 at 5:57 PM, rene7705 wrote: > Hi. > > I've got a piece of code that builds up a multi-meg test array for my > opensourced http://mediabeez.ws/products/htmlMicroscope var_dump() > improvement, and when I run it for longer than about 20 minutes, the > browser just calls it quits.

[PHP] long running php script won't complete :(

2012-06-04 Thread rene7705
Hi. I've got a piece of code that builds up a multi-meg test array for my opensourced http://mediabeez.ws/products/htmlMicroscope var_dump() improvement, and when I run it for longer than about 20 minutes, the browser just calls it quits.. :( Firefox, and chrome. I'd like to do this with a browse

Re: [PHP] howto get pgUp, pgDn, delete, home and end keycodes in CLI PHP script

2012-05-04 Thread Andres Gonzalez
Thank you for your reply Stuart, I will look at ncurses extensions. -Andres Stuart Dallas wrote: On 4 May 2012, at 15:48, Andres Gonzalez wrote: I am trying to code a CLI PHP script that will give me the keycodes for these (and other) keyboard keys. I want to basically block until the

Re: [PHP] howto get pgUp, pgDn, delete, home and end keycodes in CLI PHP script

2012-05-04 Thread Stuart Dallas
On 4 May 2012, at 15:48, Andres Gonzalez wrote: > I am trying to code a CLI PHP script that will give me the keycodes for these > (and other) keyboard keys. I want to basically block until the user presses a > single key, then I want to process that event without the user having to &g

Re: [PHP] howto get pgUp, pgDn, delete, home and end keycodes in CLI PHP script

2012-05-04 Thread Andres Gonzalez
etc, only codes for regular keys. -Andres David OBrien wrote: ? On Fri, May 4, 2012 at 10:48 AM, Andres Gonzalez mailto:and...@packetstorm.com>> wrote: I am trying to code a CLI PHP script that will give me the keycodes for these (and other) keyboard keys. I want to basically

Re: [PHP] howto get pgUp, pgDn, delete, home and end keycodes in CLI PHP script

2012-05-04 Thread David OBrien
 On Fri, May 4, 2012 at 10:48 AM, Andres Gonzalez wrote: > I am trying to code a CLI PHP script that will give me the keycodes for > these (and other) keyboard keys. I want to basically block until the user > presses a single key, then I want to process that event without the user &g

[PHP] howto get pgUp, pgDn, delete, home and end keycodes in CLI PHP script

2012-05-04 Thread Andres Gonzalez
I am trying to code a CLI PHP script that will give me the keycodes for these (and other) keyboard keys. I want to basically block until the user presses a single key, then I want to process that event without the user having to press the Enter key after pressing a single key. I have tried

[PHP] Script failing on extension_dir

2012-04-09 Thread George R Smith
All, I am tying to install php that will talk to the database I us (QM, a pick type database). As I am new to pdp don’t have much experience in figuring out what the qm_ext_build script is failing. Thanks for you help in advance. george I am trying to run following: root@dell350:/usr/qmsys/qmph

Re: [PHP] Script execution after window close

2012-03-04 Thread Nibin V M
ok..thanks guys...I will check further then. thanks for your inputs :) On Sun, Mar 4, 2012 at 9:59 PM, Govinda wrote: > >>> in factI really need to remove the file ( which will be created for > >>> every access - making a copy from another location ). I can't leave > that > >>> file alone for

Re: [PHP] Script execution after window close

2012-03-04 Thread Ashley Sheridan
On Sun, 2012-03-04 at 11:29 -0500, Govinda wrote: > >>> in factI really need to remove the file ( which will be created for > >>> every access - making a copy from another location ). I can't leave that > >>> file alone for ever in the user disk space! :( > >> > >> Fine, so delete it after a

Re: [PHP] Script execution after window close

2012-03-04 Thread Govinda
>>> in factI really need to remove the file ( which will be created for >>> every access - making a copy from another location ). I can't leave that >>> file alone for ever in the user disk space! :( >> >> Fine, so delete it after a period of inactivity > > ok..I have script which will run ba

Re: [PHP] Script execution after window close

2012-03-04 Thread Nibin V M
ok..I have script which will run based on some values in "user's" homedir. In fact I have tried to run the script from a various locations; but it didn't work as expected like it run from each users homedir. So, when the user access the page, it will copy the actual script to the user's homedir a

Re: [PHP] Script execution after window close

2012-03-04 Thread Stuart Dallas
On 4 Mar 2012, at 15:31, Nibin V M wrote: > in factI really need to remove the file ( which will be created for > every access - making a copy from another location ). I can't leave that > file alone for ever in the user disk space! :( Ash is right in that this is exactly what sessions are us

Re: [PHP] Script execution after window close

2012-03-04 Thread Govinda
> in factI really need to remove the file ( which will be created for > every access - making a copy from another location ). I can't leave that > file alone for ever in the user disk space! :( Fine, so delete it after a period of inactivity -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Script execution after window close

2012-03-04 Thread Nibin V M
in factI really need to remove the file ( which will be created for every access - making a copy from another location ). I can't leave that file alone for ever in the user disk space! :( On Sun, Mar 4, 2012 at 9:01 PM, Ashley Sheridan wrote: > ** > On Sun, 2012-03-04 at 20:49 +0530, Nibin V

Re: [PHP] Script execution after window close

2012-03-04 Thread Ashley Sheridan
On Sun, 2012-03-04 at 20:49 +0530, Nibin V M wrote: > Hello, > > I need to run a few commands when a user close the browser tab. That is, I > have a php page ( index.php ) and it will create a temporary file to track > some stuffs. That temporary file should be removed, when the user close the >

[PHP] Script execution after window close

2012-03-04 Thread Nibin V M
Hello, I need to run a few commands when a user close the browser tab. That is, I have a php page ( index.php ) and it will create a temporary file to track some stuffs. That temporary file should be removed, when the user close the browser tab. Is there any way to achieve this? Thank you, -- R

RE: RE: RE: [PHP] passing variables to php script

2012-01-13 Thread David Savage
thanks for your assistance. From: Tim Streater [mailto:t...@clothears.org.uk] Sent: Fri 1/13/2012 9:37 AM To: David Savage Cc: PHP General List Subject: Re: RE: RE: [PHP] passing variables to php script On 13 Jan 2012 at 15:05, David Savage wrote: > I o

Re: RE: RE: [PHP] passing variables to php script

2012-01-13 Thread Curtis Maurand
Tim Streater wrote: > On 13 Jan 2012 at 15:05, David Savage wrote: > >> I open the html file up from a windows explorer window (Q:\asterisk\), >> and so >> IE opens it up, but the problem lies in the fact that I cannot find >> apache >> service running in the background...haven't figured out wh

Re: RE: RE: [PHP] passing variables to php script

2012-01-13 Thread Curtis Maurand
Make sure IIS is not running. That'll cause all kinds of trouble. Tim Streater wrote: > On 13 Jan 2012 at 15:05, David Savage wrote: > >> I open the html file up from a windows explorer window (Q:\asterisk\), >> and so >> IE opens it up, but the problem lies in the fact that I cannot find >>

Re: RE: RE: [PHP] passing variables to php script

2012-01-13 Thread Tim Streater
On 13 Jan 2012 at 15:05, David Savage wrote: > I open the html file up from a windows explorer window (Q:\asterisk\), and so > IE opens it up, but the problem lies in the fact that I cannot find apache > service running in the background...haven't figured out why yet. The "test > configuration"

Re: RE: [PHP] passing variables to php script

2012-01-12 Thread Tim Streater
ngs is preventing the acctnum, year, and > month from being passed to the php script. You say: I opened the html file using IE 6.0 I don't like the sound of that. Do you mean you double-clicked the file and it opened in IE or do you mean you put Q:\... into the IE address bar or

Re: [PHP] passing variables to php script

2012-01-12 Thread Matijn Woudt
find whatever settings is preventing the > acctnum, year, and month from being passed to the php script. No, Don't open the html file from the drive! If you have installed apache, you can open IE and go to http://localhost, this will show your web site running. If you put the files from Q:\AST

RE: [PHP] passing variables to php script

2012-01-12 Thread David Savage
eb server. The php statements I posted were the first few statements in the script, so apparently the script didn't see the variables, so I'll have to review the httpd.conf and php.ini files to find whatever settings is preventing the acctnum, year, and month from being passed to the php

Re: [PHP] passing variables to php script

2012-01-10 Thread Ellis Antaya
HP processor. Make sure your .php target is within a >>> > PHP supported web space. >>> If a default application is set within windows for php, the script >>> submitting to Q will be executed. >>> >>> >> >> But wouldn't Windows at

Re: [PHP] passing variables to php script

2012-01-10 Thread Ashley Sheridan
gt; > > interpreted by a PHP processor. Make sure your .php target is within a > > > > PHP supported web space. > > > If a default application is set within windows for php, the script > > > submitting to Q will be executed. > > > > > > >

Re: [PHP] passing variables to php script

2012-01-10 Thread Marco Behnke
> PHP supported web space. >> If a default application is set within windows for php, the script >> submitting to Q will be executed. >> >> > > But wouldn't Windows attempt to execute the PHP script as if it were a > CLI script, not as if it were within a web serve

Re: [PHP] passing variables to php script

2012-01-10 Thread Matijn Woudt
>> >>>> calls> >>>> >> >>>> >> >>>> >> >> Stupid question . where have you copied your script? Is it lying on >> >> a webserver? Then I would guess that you are submitting the form on your >> >&

Re: [PHP] passing variables to php script

2012-01-10 Thread Ashley Sheridan
upid question . where have you copied your script? Is it lying on > >> a webserver? Then I would guess that you are submitting the form on your > >> webserver which hits the PHP script on your Desktop PC which in tunr > >> invokes the PHP command line interpreter who ha

Re: [PHP] passing variables to php script

2012-01-10 Thread Marco Behnke
;>> >>>> Generate pdf file of LD, Toll Free, and Directory Assistance >>>> calls>>> >>>> >>>> >> Stupid question . where have you copied your script? Is it lying on >> a webserver? Then I would guess that you a

Re: [PHP] passing variables to php script

2012-01-10 Thread Mike Mackintosh
stance >>> calls>> >>> >>> > > Stupid question . where have you copied your script? Is it lying on > a webserver? Then I would guess that you are submitting the form on your > webserver which hits the PHP script on your Desktop PC which in tunr

Re: [PHP] passing variables to php script

2012-01-10 Thread Marco Behnke
ve you copied your script? Is it lying on a webserver? Then I would guess that you are submitting the form on your webserver which hits the PHP script on your Desktop PC which in tunr invokes the PHP command line interpreter who has no idea what you mean by $_POST. Try changing the form

Re: [PHP] passing variables to php script

2012-01-10 Thread Donovan Brooke
David Savage wrote: OK...I admit I'm new at thisI have this html file: Generate pdf file of LD, Toll Free, and Directory Assistance calls Account Number: Year (4 digit): Month (2 digit): to which I would input an account number, 4 digit year, then 2 digit month. Then click Su

Re: [PHP] passing variables to php script

2012-01-10 Thread Tedd Sperling
On Jan 6, 2012, at 12:53 PM, David Savage wrote: > -snip- > WHAT AM I DOING WRONG ? David: Where do I start? First, make sure your html is correct. Second, you have to check your super globals to see if they have been defined before attempting to get data from them. Try reviewing the code her

Re: [PHP] passing variables to php script

2012-01-06 Thread Ashley Sheridan
On Fri, 2012-01-06 at 11:53 -0600, David Savage wrote: > OK...I admit I'm new at thisI have this html file: > > > Generate pdf file of LD, Toll Free, and Directory Assistance > calls > > > Account Number: > Year (4 digit): > Month (2 digit): > > > > > > to which I would input

[PHP] passing variables to php script

2012-01-06 Thread David Savage
OK...I admit I'm new at thisI have this html file: Generate pdf file of LD, Toll Free, and Directory Assistance calls Account Number: Year (4 digit): Month (2 digit): to which I would input an account number, 4 digit year, then 2 digit month. Then click Submit. What I see in t

Re: [PHP] PHP script won't run in the background

2011-11-30 Thread Alain Williams
On Wed, Nov 30, 2011 at 01:01:48PM +0100, richard gray wrote: > >You need a bit more info, get a backtrace with 'where'. > Thanks for the response Alain - below is the output:- Ah, much more useful . > [rich@LeMans] (/Web/scripts)> gdb --pid=3294 > GNU gdb 6.3.50-20050815 (Apple version gdb-

Re: [PHP] PHP script won't run in the background

2011-11-30 Thread Alain Williams
e machine -- I cannot compile my own build of PHP > because of this problem -> https://bugs.php.net/bug.php?id=60268 -- so I > am completely stuck :( The point is that you need to completely disassociate the process from the tty. Install the daemonize program, then use it to run your PHP

Re: [PHP] PHP script won't run in the background

2011-11-30 Thread richard gray
On 23/11/2011 18:49, Alain Williams wrote: On Wed, Nov 23, 2011 at 06:14:07PM +0100, richard gray wrote: Reading symbols for shared libraries + done 0x000101d057ee in __ioctl () Any clues? To me it looks like PHP cli is trying to do some I/O but I'm just a dumb developer... :) ioctl on a

Re: [PHP] PHP script won't run in the background

2011-11-30 Thread richard gray
On 29/11/2011 17:16, Daniel Brown wrote: On Sat, Nov 19, 2011 at 09:33, richard gray wrote: This happens because PHP is writing to STDOUT, of course, and then the command line redirection grabs that information and puts it into the file. Unfortunately, by itself, this won't work in the backgro

Re: [PHP] PHP script won't run in the background

2011-11-23 Thread Alain Williams
On Wed, Nov 23, 2011 at 06:14:07PM +0100, richard gray wrote: > Reading symbols for shared libraries + done > 0x000101d057ee in __ioctl () > > Any clues? To me it looks like PHP cli is trying to do some I/O but I'm > just a dumb developer... :) ioctl on a tty is typically used to set it int

Re: [PHP] PHP script won't run in the background

2011-11-23 Thread richard gray
On 23/11/2011 11:05, Laruence wrote: Hi: I mean, do you built your php with readline support, or do you load readline.so into PHP? if so, remove it, then try again. and you also can use: gdb --pid={the pid of the stopped php} then you will find where the php hangs. thanks I d

Re: [PHP] PHP script won't run in the background

2011-11-23 Thread Laruence
Hi: I mean, do you built your php with readline support, or do you load readline.so into PHP? if so, remove it, then try again. and you also can use: gdb --pid={the pid of the stopped php} then you will find where the php hangs. thanks On Wed, Nov 23, 2011 at 1:04 AM, richard gray

Re: [PHP] PHP script won't run in the background

2011-11-22 Thread richard gray
On 22/11/2011 05:51, Laruence wrote: did you run php with readline? try run the script without php-readline. thanks No - the script was just a basic string echo - no readline was involved. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP script won't run in the background

2011-11-21 Thread Laruence
On Sat, Nov 19, 2011 at 11:27 PM, richard gray wrote: > >> Laruence, while that may be a helpful answer to a few people in the know, I think a clue is better, leave some space for the people to dance. :) >> just replying back with a single line like that isn't really going to help >> the people w

Re: [PHP] PHP script won't run in the background

2011-11-21 Thread Richard Quadling
On 19 November 2011 14:33, richard gray wrote: > Hi all > > Hope someone can help me with a weird issue I have... > > I am trying to run a php CLI script in the background and it just won't run > - it has a status of Stopped SIGTOU (Trying to write output) - Here are the > details > > OS > Mac OS

Re: [PHP] PHP script won't run in the background

2011-11-19 Thread richard gray
Laruence, while that may be a helpful answer to a few people in the know, just replying back with a single line like that isn't really going to help the people who are having this problem. At least explain why you suggested that, or what it does for those on the list that don't know, especial

Re: [PHP] PHP script won't run in the background

2011-11-19 Thread richard gray
On 19/11/2011 16:09, Laruence wrote: $ stty -tostop makes no difference # stty -tostop # php -f test.php >test.log 2>&1 & # jobs # [1]+ Stopped(SIGTTOU)php -f test.php > test.log 2>&1 Any other ideas? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

Re: [PHP] PHP script won't run in the background

2011-11-19 Thread Ashley Sheridan
On Sat, 2011-11-19 at 23:09 +0800, Laruence wrote: > $ stty -tostop > > thanks > > On Sat, Nov 19, 2011 at 10:33 PM, richard gray wrote: > > Hi all > > > > Hope someone can help me with a weird issue I have... > > > > I am trying to run a php CLI script in the background and it just won't run >

[PHP] PHP script won't run in the background

2011-11-19 Thread richard gray
Hi all Hope someone can help me with a weird issue I have... I am trying to run a php CLI script in the background and it just won't run - it has a status of Stopped SIGTOU (Trying to write output) - Here are the details OS Mac OS X Lion 10.7.2 PHP PHP 5.3.6 with Suhosin-Patch (cli) (built:

Re: [PHP] PHP script won't run in the background

2011-11-19 Thread Laruence
$ stty -tostop thanks On Sat, Nov 19, 2011 at 10:33 PM, richard gray wrote: > Hi all > > Hope someone can help me with a weird issue I have... > > I am trying to run a php CLI script in the background and it just won't run > - it has a status of Stopped SIGTOU (Trying to write output) - Here are

Re: [PHP] Script ID?

2011-05-22 Thread tedd
At 1:47 PM -0400 5/21/11, Adam Richardson wrote: On Sat, May 21, 2011 at 10:11 AM, tedd <t...@sperling.com> wrote: Hi gang: Okay, so,what's the "best" (i.e., most secure) way for your script to identify itself *IF* you plan on using that information later, such as t

Re: [PHP] Script ID?

2011-05-21 Thread tedd
At 6:29 PM +0100 5/21/11, Stuart Dallas wrote: On Sat, May 21, 2011 at 6:00 PM, Peter Lind <peter.e.l...@gmail.com> wrote: -snip- This was fun... we should do it again sometime! ;) No, this wasn't fun. As I said before, is email is a bad way to communicate. B

Re: [PHP] Script ID?

2011-05-21 Thread Adam Richardson
On Sat, May 21, 2011 at 10:11 AM, tedd wrote: > Hi gang: > > Okay, so,what's the "best" (i.e., most secure) way for your script to > identify itself *IF* you plan on using that information later, such as the > value in an action attribute in a form? > > For example, I was using: > > $self = basen

Re: [PHP] Script ID?

2011-05-21 Thread Stuart Dallas
On Sat, May 21, 2011 at 6:00 PM, Peter Lind wrote: > On 21 May 2011 18:42, Stuart Dallas wrote: > > On Sat, May 21, 2011 at 5:33 PM, Peter Lind > wrote: > >> > >> On 21 May 2011 18:26, Stuart Dallas wrote: > >> > >> *snip* > >> > >> > http://en.wikipedia.org/wiki/Defensive_programming > >> > Y

Re: [PHP] Script ID?

2011-05-21 Thread Tamara Temple
On May 21, 2011, at 9:11 AM, tedd wrote: Hi gang: Okay, so,what's the "best" (i.e., most secure) way for your script to identify itself *IF* you plan on using that information later, such as the value in an action attribute in a form? For example, I was using: $self = basename($_SERVER[

Re: [PHP] Script ID?

2011-05-21 Thread Stuart Dallas
On Sat, May 21, 2011 at 5:33 PM, Peter Lind wrote: > On 21 May 2011 18:26, Stuart Dallas wrote: > > *snip* > > > http://en.wikipedia.org/wiki/Defensive_programming > > You do things your way and I'll do things my way. Best of luck to you. > > Thank you for your condescending tone. Best of luck t

Re: [PHP] Script ID?

2011-05-21 Thread Peter Lind
On 21 May 2011 18:42, Stuart Dallas wrote: > On Sat, May 21, 2011 at 5:33 PM, Peter Lind wrote: >> >> On 21 May 2011 18:26, Stuart Dallas wrote: >> >> *snip* >> >> > http://en.wikipedia.org/wiki/Defensive_programming >> > You do things your way and I'll do things my way. Best of luck to you. >>

Re: [PHP] Script ID?

2011-05-21 Thread Peter Lind
On 21 May 2011 18:26, Stuart Dallas wrote: *snip* > http://en.wikipedia.org/wiki/Defensive_programming > You do things your way and I'll do things my way. Best of luck to you. Thank you for your condescending tone. Best of luck to you too. Regards Peter -- WWW: plphp.dk / plind.dk LinkedIn:

Re: [PHP] Script ID?

2011-05-21 Thread Stuart Dallas
On Sat, May 21, 2011 at 5:14 PM, Peter Lind wrote: > On 21 May 2011 18:05, Stuart Dallas wrote: > > On Sat, May 21, 2011 at 4:57 PM, Peter Lind > wrote: > >> > >> On 21 May 2011 17:34, Stuart Dallas wrote: > >> > On Sat, May 21, 2011 at 4:24 PM, Peter Lind > >> > wrote: > >> >> > >> >> On 21

Re: [PHP] Script ID?

2011-05-21 Thread Peter Lind
On 21 May 2011 18:05, Stuart Dallas wrote: > On Sat, May 21, 2011 at 4:57 PM, Peter Lind wrote: >> >> On 21 May 2011 17:34, Stuart Dallas wrote: >> > On Sat, May 21, 2011 at 4:24 PM, Peter Lind >> > wrote: >> >> >> >> On 21 May 2011 17:18, Stuart Dallas wrote: >> >> >> >> *snip* >> >> >> >> >>

Re: [PHP] Script ID?

2011-05-21 Thread Stuart Dallas
On Sat, May 21, 2011 at 5:02 PM, Ashley Sheridan wrote: > On Sat, 2011-05-21 at 16:53 +0100, Stuart Dallas wrote: > > On Sat, May 21, 2011 at 4:48 PM, Ashley Sheridan > wrote: > > > On Sat, 2011-05-21 at 16:47 +0100, Stuart Dallas wrote: > > > > On Sat, May 21, 2011 at 4:42 PM, Ashley Sheridan >

Re: [PHP] Script ID?

2011-05-21 Thread Stuart Dallas
On Sat, May 21, 2011 at 4:57 PM, Peter Lind wrote: > On 21 May 2011 17:34, Stuart Dallas wrote: > > On Sat, May 21, 2011 at 4:24 PM, Peter Lind > wrote: > >> > >> On 21 May 2011 17:18, Stuart Dallas wrote: > >> > >> *snip* > >> > >> >> Again, this depends upon what your url scheme looks like -

Re: [PHP] Script ID?

2011-05-21 Thread Ashley Sheridan
On Sat, 2011-05-21 at 16:53 +0100, Stuart Dallas wrote: > On Sat, May 21, 2011 at 4:48 PM, Ashley Sheridan > wrote: > > > On Sat, 2011-05-21 at 16:47 +0100, Stuart Dallas wrote: > > > > On Sat, May 21, 2011 at 4:42 PM, Ashley Sheridan > > wrote: > > > > > On Sat, 2011-05-21 at 16:34 +0100, Stua

Re: [PHP] Script ID?

2011-05-21 Thread Peter Lind
On 21 May 2011 17:34, Stuart Dallas wrote: > On Sat, May 21, 2011 at 4:24 PM, Peter Lind wrote: >> >> On 21 May 2011 17:18, Stuart Dallas wrote: >> >> *snip* >> >> >> Again, this depends upon what your url scheme looks like - and without >> >> knowing that, there's simple no clue as to whether o

Re: [PHP] Script ID?

2011-05-21 Thread Stuart Dallas
On Sat, May 21, 2011 at 4:48 PM, Ashley Sheridan wrote: > On Sat, 2011-05-21 at 16:47 +0100, Stuart Dallas wrote: > > On Sat, May 21, 2011 at 4:42 PM, Ashley Sheridan > wrote: > > > On Sat, 2011-05-21 at 16:34 +0100, Stuart Dallas wrote: > > > > On Sat, May 21, 2011 at 4:24 PM, Peter Lind wrote

Re: [PHP] Script ID?

2011-05-21 Thread Ashley Sheridan
On Sat, 2011-05-21 at 16:47 +0100, Stuart Dallas wrote: > On Sat, May 21, 2011 at 4:42 PM, Ashley Sheridan > wrote: > > > On Sat, 2011-05-21 at 16:34 +0100, Stuart Dallas wrote: > > > > On Sat, May 21, 2011 at 4:24 PM, Peter Lind wrote: > > > > > On 21 May 2011 17:18, Stuart Dallas wrote: > >

Re: [PHP] Script ID?

2011-05-21 Thread Stuart Dallas
On Sat, May 21, 2011 at 4:42 PM, Ashley Sheridan wrote: > On Sat, 2011-05-21 at 16:34 +0100, Stuart Dallas wrote: > > On Sat, May 21, 2011 at 4:24 PM, Peter Lind wrote: > > > On 21 May 2011 17:18, Stuart Dallas wrote: > > > > *snip* > > > > >> Again, this depends upon what your url scheme looks

Re: [PHP] Script ID?

2011-05-21 Thread Ashley Sheridan
On Sat, 2011-05-21 at 16:34 +0100, Stuart Dallas wrote: > On Sat, May 21, 2011 at 4:24 PM, Peter Lind wrote: > > > On 21 May 2011 17:18, Stuart Dallas wrote: > > > > *snip* > > > > >> Again, this depends upon what your url scheme looks like - and without > > >> knowing that, there's simple no c

Re: [PHP] Script ID?

2011-05-21 Thread Stuart Dallas
On Sat, May 21, 2011 at 4:24 PM, Peter Lind wrote: > On 21 May 2011 17:18, Stuart Dallas wrote: > > *snip* > > >> Again, this depends upon what your url scheme looks like - and without > >> knowing that, there's simple no clue as to whether or not this is a > >> good solution to the problem (tho

Re: [PHP] Script ID?

2011-05-21 Thread Peter Lind
On 21 May 2011 17:18, Stuart Dallas wrote: *snip* >> Again, this depends upon what your url scheme looks like - and without >> knowing that, there's simple no clue as to whether or not this is a >> good solution to the problem (though it might be a good solution to A >> problem). > > Again, I di

Re: [PHP] Script ID?

2011-05-21 Thread Stuart Dallas
On Sat, May 21, 2011 at 4:07 PM, Peter Lind wrote: > On 21 May 2011 17:01, Stuart Dallas wrote: > > On Sat, May 21, 2011 at 3:35 PM, Peter Lind > wrote: > >> > >> On 21 May 2011 16:18, Stuart Dallas wrote: > >> > On Sat, May 21, 2011 at 3:11 PM, tedd wrote: > >> > > >> >> Hi gang: > >> >> > >

Re: [PHP] Script ID?

2011-05-21 Thread Peter Lind
On 21 May 2011 17:01, Stuart Dallas wrote: > On Sat, May 21, 2011 at 3:35 PM, Peter Lind wrote: >> >> On 21 May 2011 16:18, Stuart Dallas wrote: >> > On Sat, May 21, 2011 at 3:11 PM, tedd wrote: >> > >> >> Hi gang: >> >> >> >> Okay, so,what's the "best" (i.e., most secure) way for your script t

Re: [PHP] Script ID?

2011-05-21 Thread Stuart Dallas
On Sat, May 21, 2011 at 3:35 PM, Peter Lind wrote: > On 21 May 2011 16:18, Stuart Dallas wrote: > > On Sat, May 21, 2011 at 3:11 PM, tedd wrote: > > > >> Hi gang: > >> > >> Okay, so,what's the "best" (i.e., most secure) way for your script to > >> identify itself *IF* you plan on using that inf

Re: [PHP] Script ID?

2011-05-21 Thread Peter Lind
On 21 May 2011 16:18, Stuart Dallas wrote: > On Sat, May 21, 2011 at 3:11 PM, tedd wrote: > >> Hi gang: >> >> Okay, so,what's the "best" (i.e., most secure) way for your script to >> identify itself *IF* you plan on using that information later, such as the >> value in an action attribute in a fo

RE: [PHP] Script ID?

2011-05-21 Thread admin
run. Just be careful I noticed with integers it will fail to hold the value if it has a leading zero. Richard L. Buskirk -Original Message- From: tedd [mailto:t...@sperling.com] Sent: Saturday, May 21, 2011 10:11 AM To: PHP General Subject: [PHP] Script ID? Hi gang: Okay, so,

Re: [PHP] Script ID?

2011-05-21 Thread Ashley Sheridan
On Sat, 2011-05-21 at 10:11 -0400, tedd wrote: > Hi gang: > > Okay, so,what's the "best" (i.e., most secure) way for your script to > identify itself *IF* you plan on using that information later, such > as the value in an action attribute in a form? > > For example, I was using: > > $self =

RE: [PHP] Script ID?

2011-05-21 Thread admin
I use define('page1, 1); Richard L. Buskirk -Original Message- From: tedd [mailto:t...@sperling.com] Sent: Saturday, May 21, 2011 10:11 AM To: PHP General Subject: [PHP] Script ID? Hi gang: Okay, so,what's the "best" (i.e., most secure) way for your script to

Re: [PHP] Script ID?

2011-05-21 Thread Stuart Dallas
On Sat, May 21, 2011 at 3:11 PM, tedd wrote: > Hi gang: > > Okay, so,what's the "best" (i.e., most secure) way for your script to > identify itself *IF* you plan on using that information later, such as the > value in an action attribute in a form? > > For example, I was using: > > $self = basena

[PHP] Script ID?

2011-05-21 Thread tedd
Hi gang: Okay, so,what's the "best" (i.e., most secure) way for your script to identify itself *IF* you plan on using that information later, such as the value in an action attribute in a form? For example, I was using: $self = basename($_SERVER['SCRIPT_NAME']); However, that was suscepti

Re: [PHP] opening a new window from php script

2011-03-28 Thread Ashley Sheridan
On Mon, 2011-03-28 at 17:44 +0200, Grega Leskovšek wrote: > I would still like to offer in my CMS to be able to choose in which > browser I want to display the current page. Is this possible or I in > program can open only default browser? Can I at least choose wheter to > open a new tab or a new

Re: [PHP] opening a new window from php script

2011-03-28 Thread Grega Leskovšek
I would still like to offer in my CMS to be able to choose in which browser I want to display the current page. Is this possible or I in program can open only default browser? Can I at least choose wheter to open a new tab or a new window? Thanks in advance, -- When the sun rises I receive and whe

Re: [PHP] opening a new window from php script

2011-03-27 Thread Richard Quadling
On 26 March 2011 10:22, Ashley Sheridan wrote: > On Fri, 2011-03-25 at 18:05 -0700, Tommy Pham wrote: > >> On Fri, Mar 25, 2011 at 2:59 PM, Grega Leskovšek wrote: >> > I am working on CMS designed to those who are unfamiliar  with a >> > computer world and I want to offer a task where on a push o

Re: [PHP] opening a new window from php script

2011-03-26 Thread Ashley Sheridan
On Fri, 2011-03-25 at 18:05 -0700, Tommy Pham wrote: > On Fri, Mar 25, 2011 at 2:59 PM, Grega Leskovšek wrote: > > I am working on CMS designed to those who are unfamiliar with a > > computer world and I want to offer a task where on a push of a button > > it will save current working page in te

[PHP] Re: opening a new window from php script

2011-03-25 Thread Geoff Lane
On Friday, March 25, 2011, Grega Leskovšek wrote: > Do I have to use target="_new" - I can not do this - I am working > this for my University seminar and it has to be valid HTML5. I guess that this is an HTML issue rather than PHP. However: Despite what the W3C validator might claim, I understa

Re: [PHP] opening a new window from php script

2011-03-25 Thread Tommy Pham
On Fri, Mar 25, 2011 at 2:59 PM, Grega Leskovšek wrote: > I am working on CMS designed to those who are unfamiliar  with a > computer world and I want to offer a task where on a push of a button > it will save current working page in textarea/s and open this page in > a new tab or in a new window.

[PHP] opening a new window from php script

2011-03-25 Thread Grega Leskovšek
I am working on CMS designed to those who are unfamiliar with a computer world and I want to offer a task where on a push of a button it will save current working page in textarea/s and open this page in a new tab or in a new window. I googled some, but am still not sure how can I do it. Do I hav

Re: [PHP] Re: Delaying $(document).ready() in jQuery until php script finish

2011-03-12 Thread Tommy Pham
On Sat, Mar 12, 2011 at 2:40 AM, David Hutto wrote: >> >> As I mentioned below, if PHP is sluggish, shouldn't it be brought up >> to the PHP developers instead?  Why would you try include more >> complexity? > > I'm sure it has, it's called benchmarks. And they can't top C or > Fortran, last I saw

Re: [PHP] Re: Delaying $(document).ready() in jQuery until php script finish

2011-03-12 Thread David Hutto
> > As I mentioned below, if PHP is sluggish, shouldn't it be brought up > to the PHP developers instead?  Why would you try include more > complexity? I'm sure it has, it's called benchmarks. And they can't top C or Fortran, last I saw. But that is not the point. And did you not see my point abou

Re: [PHP] Re: Delaying $(document).ready() in jQuery until php script finish

2011-03-12 Thread Tommy Pham
On Sat, Mar 12, 2011 at 1:31 AM, David Hutto wrote: > On Sat, Mar 12, 2011 at 4:10 AM, Tommy Pham wrote: >> On Sat, Mar 12, 2011 at 12:06 AM, David Hutto wrote: >>> On Sat, Mar 12, 2011 at 2:59 AM, Tommy Pham wrote: On Fri, Mar 11, 2011 at 11:39 PM, David Hutto wrote: > On Sat, Mar 12

Re: [PHP] Re: Delaying $(document).ready() in jQuery until php script finish

2011-03-12 Thread David Hutto
On Sat, Mar 12, 2011 at 4:31 AM, Tommy Pham wrote: > On Sat, Mar 12, 2011 at 12:22 AM, David Hutto wrote: >> This isn't a C/PHP question, or optimization, it's a matter of PHP >> isn't always the center of attention, in terms of a development >> process. In each language there are advocates, and

  1   2   3   4   5   6   7   8   9   10   >