Re: [PHP] PHP not being read?

2010-04-24 Thread Peter Lind
On 25 April 2010 05:00, Gary wrote: > Karl > > On the laptop, the original machine, it has Vista, Firefox 3.6.3. Previewing > on testing server Apache (XAMPP )on the computer, not network > > On the tower, it is running XP Pro, Firefox 3.6.3. Previewing on local > testing server. > > Check that t

Re: [PHP] PHP not being read?

2010-04-24 Thread Karl DeSaulniers
different results is probably because you added another double quote further down in later versions. But if that's somehow not it, post the entire source code of your file on a site like http://pastie.org/ so we can have a closer look. Michiel __ Information from ESET Smart Secur

Re: [PHP] PHP not being read?

2010-04-24 Thread Gary
ssage in it to this extent. The reason why you got a number of different results is probably because you added another double quote further down in later versions. But if that's somehow not it, post the entire source code of your file on a site like http://pastie.org/ so

Re: [PHP] PHP not being read?

2010-04-24 Thread Karl DeSaulniers
eason why you got a number of different results is probably because you added another double quote further down in later versions. But if that's somehow not it, post the entire source code of your file on a site like http://pastie.org/ so we can have a closer look. Michiel __

Re: [PHP] PHP not being read?

2010-04-24 Thread Gary
There's a >>> double quote " right in front of the $hours variable on the fourth >>> line. >>> That's an unterminated string literal, a syntax error, which would >>> cause >>> PHP >>> to abort entirely. Your php's error

Re: [PHP] PHP not being read?

2010-04-24 Thread Karl DeSaulniers
it, post the entire source code of your file on a site like http://pastie.org/ so we can have a closer look. Michiel __ Information from ESET Smart Security, version of virus signature database 5057 (20100424) __ The message was checked by ESET Smart Security. http://www.es

Re: [PHP] PHP not being read?

2010-04-24 Thread Gary
gt; extent. > > The reason why you got a number of different results is probably because > you > added another double quote further down in later versions. > > But if that's somehow not it, post the entire source code of your file on > a > site like http://pastie.org/ so w

Re: [PHP] PHP not being read?

2010-04-24 Thread Michiel Sikma
On 25 April 2010 00:45, Gary wrote: > What would cause a machine not to read/process php? > > I have a laptop that I have been ever increasing using for php scripting. > I decided to do a simple experiment, it started out something like: > > $seconds=1; > $minutes=$seconds*60; > $hours=$minutes*

[PHP] PHP not being read?

2010-04-24 Thread Gary
? Thanks for your help. Gary __ Information from ESET NOD32 Antivirus, version of virus signature database 5057 (20100424) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Structured PHP studying

2010-04-24 Thread Ashley Sheridan
On Sat, 2010-04-24 at 15:46 +0100, Nathan Rixham wrote: > David McGlone wrote: > > On Friday 23 April 2010 07:45:16 Michiel Sikma wrote: > >> On 23 April 2010 13:15, David McGlone wrote: > >>> Is there a good strategy to studying PHP? > >>> > >>> For instance, is there a way to break everything d

Re: [PHP] Structured PHP studying

2010-04-24 Thread Nathan Rixham
David McGlone wrote: > On Friday 23 April 2010 07:45:16 Michiel Sikma wrote: >> On 23 April 2010 13:15, David McGlone wrote: >>> Is there a good strategy to studying PHP? >>> >>> For instance, is there a way to break everything down into small >>> managable topics? >>> >>> -- >>> Blessings, >>> Da

Re: [PHP] Question: Farsi characters showing as jibberish

2010-04-24 Thread Parham Doustdar
Hi, It probably did because I added the line, AddDefaultCharset UTF-8 to my .htaccess a few moments ago. :-) "Michiel Sikma" wrote in message news:o2p6cda1ded1004240726l272f04fbmdd2fb996e2580...@mail.gmail.com... > On 24 April 2010 16:07, Parham Doustdar wrote: > >> Hi Ashley and Michiel, >> >

Re: [PHP] Question: Farsi characters showing as jibberish

2010-04-24 Thread Michiel Sikma
On 24 April 2010 16:07, Parham Doustdar wrote: > Hi Ashley and Michiel, > > It appears it is something in Apache or my server program on Windows (I am > using Uniform Server; a portable webserver from > http://www.uniformserver.com). The reason I got to such a conclusion is > this: > > 1. I uploa

Re: [PHP] Question: Farsi characters showing as jibberish

2010-04-24 Thread Parham Doustdar
Hi again, That did work, indeed. Now, I guess that means that Apache is outputting the PHP as something other than UTF-8. In fact, googling, I came up with this line of .htaccess: AddDefaultCharset UTF-8 which works perfectly! Thank you, everyone, for yet again helping me out. "Ashley Sheridan

Re: [PHP] Re: replying to list (I give up)

2010-04-24 Thread Michiel Sikma
On 24 April 2010 16:14, Per Jessen wrote: > Ashley Sheridan wrote: > > >> > >> Is there an actual WoW client for Linux or you run in Wine like > >> environment? > >> > >> Thanks, > >> Tommy > >> > > > > I run it under Wine. Wine has come a long way since my first > > encounters with it a few year

RE: [PHP] Re: replying to list (I give up)

2010-04-24 Thread Ashley Sheridan
On Sat, 2010-04-24 at 16:14 +0200, Per Jessen wrote: > Ashley Sheridan wrote: > > >> > >> Is there an actual WoW client for Linux or you run in Wine like > >> environment? > >> > >> Thanks, > >> Tommy > >> > > > > I run it under Wine. Wine has come a long way since my first > > encounters wit

RE: [PHP] Re: replying to list (I give up)

2010-04-24 Thread Per Jessen
Ashley Sheridan wrote: >> >> Is there an actual WoW client for Linux or you run in Wine like >> environment? >> >> Thanks, >> Tommy >> > > I run it under Wine. Wine has come a long way since my first > encounters with it a few years back and run a surprising amount of > Windows-based software.

Re: [PHP] Question: Farsi characters showing as jibberish

2010-04-24 Thread Ashley Sheridan
On Sat, 2010-04-24 at 18:37 +0430, Parham Doustdar wrote: > Hi Ashley and Michiel, > > It appears it is something in Apache or my server program on Windows (I am > using Uniform Server; a portable webserver from > http://www.uniformserver.com). The reason I got to such a conclusion is > this: >

Re: [PHP] htmlentitites ENT_QUOTES in HTML attributes?

2010-04-24 Thread Michiel Sikma
On 23 April 2010 14:21, Jan G.B. wrote: > Hi List, > > I just figured, that the Browsers on my system do interpret ' > inside href or onclick attribute as a plain '. > > Imagine the user input is the following line: > > param2" foo';);alert(document.cookie);alert(' > > Which is being written by t

Re: [PHP] Question: Farsi characters showing as jibberish

2010-04-24 Thread Parham Doustdar
Hi Ashley and Michiel, It appears it is something in Apache or my server program on Windows (I am using Uniform Server; a portable webserver from http://www.uniformserver.com). The reason I got to such a conclusion is this: 1. I uploaded the pHP file to a free hosting website. Here is the URL: ht

Re: [PHP] Structured PHP studying

2010-04-24 Thread Ashley Sheridan
On Sat, 2010-04-24 at 07:14 -0400, David McGlone wrote: > On Friday 23 April 2010 07:45:16 Michiel Sikma wrote: > > On 23 April 2010 13:15, David McGlone wrote: > > > Is there a good strategy to studying PHP? > > > > > > For instance, is there a way to break everything down into small > > > manag

Re: [PHP] Structured PHP studying

2010-04-24 Thread Jason Pruim
On Apr 24, 2010, at 7:14 AM, David McGlone wrote: On Friday 23 April 2010 07:45:16 Michiel Sikma wrote: On 23 April 2010 13:15, David McGlone wrote: Is there a good strategy to studying PHP? For instance, is there a way to break everything down into small managable topics? -- Blessings, Da

Re: [PHP] Question: Farsi characters showing as jibberish

2010-04-24 Thread Ashley Sheridan
On Sat, 2010-04-24 at 15:38 +0200, Michiel Sikma wrote: > On 24 April 2010 14:45, Parham Doustdar wrote: > > > Hi, > > > > I have created a PHP file, and wrote a string of Farsi letters in it. In > > the > > head section of the HTML, I put: > > > > > > > > There appears to be something wrong wi

Re: [PHP] Re: replying to list (I give up)

2010-04-24 Thread Ashley Sheridan
On Sat, 2010-04-24 at 15:44 +0200, Michiel Sikma wrote: > On 23 April 2010 16:16, Kevin Kinsey wrote: > > > > > I've still got a Win98 box in service somewhere around here; I use > > it for audio recording. Someone (possibly even me) renamed most > > of the desktop icons ... OE's shortcut is "O

Re: [PHP] Re: replying to list (I give up)

2010-04-24 Thread Michiel Sikma
On 23 April 2010 16:16, Kevin Kinsey wrote: > > I've still got a Win98 box in service somewhere around here; I use > it for audio recording. Someone (possibly even me) renamed most > of the desktop icons ... OE's shortcut is "Outluck Depress". :-) > > Kevin D. Kinsey > > Say what you will about

Re: [PHP] Question: Farsi characters showing as jibberish

2010-04-24 Thread Michiel Sikma
On 24 April 2010 14:45, Parham Doustdar wrote: > Hi, > > I have created a PHP file, and wrote a string of Farsi letters in it. In > the > head section of the HTML, I put: > > > > There appears to be something wrong with Apache, or something, because no > matter whether I put that string in an ec

[PHP] Question: Farsi characters showing as jibberish

2010-04-24 Thread Parham Doustdar
Hi, I have created a PHP file, and wrote a string of Farsi letters in it. In the head section of the HTML, I put: There appears to be something wrong with Apache, or something, because no matter whether I put that string in an echo statement or just in an HTML with a php extention, the page

Re: [PHP] Structured PHP studying

2010-04-24 Thread David McGlone
On Friday 23 April 2010 10:15:46 Paul M Foster wrote: > On Fri, Apr 23, 2010 at 07:15:11AM -0400, David McGlone wrote: > > Is there a good strategy to studying PHP? > > > > For instance, is there a way to break everything down into small > > managable topics? > > Obviously, a good book will help. I

Re: [PHP] Structured PHP studying

2010-04-24 Thread David McGlone
On Friday 23 April 2010 07:45:16 Michiel Sikma wrote: > On 23 April 2010 13:15, David McGlone wrote: > > Is there a good strategy to studying PHP? > > > > For instance, is there a way to break everything down into small > > managable topics? > > > > -- > > Blessings, > > David M. > > Just build wh