Re: [PHP] On one of my computers, php can't see an external javascript I included

2008-08-13 Thread Per Jessen
googling1000 wrote: > > Hi, > > Thanks already for replying. > How do you check for that??? > And, what do you have to do to force Apache to load it??? > You're on Windows, right? Sorry, I don't know anything about Windows. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.n

Re: [PHP] On one of my computers, php can't see an external javascript I included

2008-08-13 Thread googling1000
Hi, Thanks already for replying. How do you check for that??? And, what do you have to do to force Apache to load it??? Per Jessen wrote: > > googling1000 wrote: > >> >> I have apache and php on Windows. >> I have 3 computers. A php file is calling an external .js file. >> Two of my compute

Re: [PHP] On one of my computers, php can't see an external javascript I included

2008-08-13 Thread Per Jessen
googling1000 wrote: > > I have apache and php on Windows. > I have 3 computers. A php file is calling an external .js file. > Two of my computers have no problem calling a .js file, there's only > one machine that doesn't execute functions inside of the .js file. > > My .php file has the followi

[PHP] On one of my computers, php can't see an external javascript I included

2008-08-13 Thread googling1000
I have apache and php on Windows. I have 3 computers. A php file is calling an external .js file. Two of my computers have no problem calling a .js file, there's only one machine that doesn't execute functions inside of the .js file. My .php file has the following line in the beginning of the fil

[PHP] Re: A dumb question regarding sending email

2008-08-13 Thread Ross McKay
On Wed, 13 Aug 2008 15:46:47 + (UTC), Jonesy wrote: >I'd've thought with Aussie, Southern Cross-oriented globes, it would be >to the _right_ of Kalifornia and _up_ a bit. Yes, but I was translating from Strine to Wronglish for the North Americans ;) -- Ross McKay, Toronto, NSW Australia "I

Re: [PHP] Re: regex

2008-08-13 Thread Philip Thompson
On Aug 13, 2008, at 4:06 PM, Boyd, Todd M. wrote: -Original Message- From: Shawn McKenzie [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2008 3:31 PM To: php-general@lists.php.net Subject: [PHP] Re: regex Philip Thompson wrote: Figured it out. Just needed to stretch my brain a l

Re: [PHP] Re: regex

2008-08-13 Thread Philip Thompson
On Aug 13, 2008, at 3:31 PM, Shawn McKenzie wrote: Philip Thompson wrote: Figured it out. Just needed to stretch my brain a lil. On Aug 13, 2008, at 3:07 PM, Philip Thompson wrote: $pattern = '/(.*).php\?action=([^&]+)+/'; preg_match ($pattern, $subject, $matches); return $matches; } blegh

RE: [PHP] Re: regex

2008-08-13 Thread Boyd, Todd M.
> -Original Message- > From: Shawn McKenzie [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 13, 2008 3:31 PM > To: php-general@lists.php.net > Subject: [PHP] Re: regex > > Philip Thompson wrote: > > Figured it out. Just needed to stretch my brain a lil. > > > > On Aug 13, 2008, at 3:07

[PHP] Re: regex

2008-08-13 Thread Shawn McKenzie
Philip Thompson wrote: Figured it out. Just needed to stretch my brain a lil. On Aug 13, 2008, at 3:07 PM, Philip Thompson wrote: $pattern = '/(.*).php\?action=([^&]+)+/'; preg_match ($pattern, $subject, $matches); return $matches; } blegh ('somePage.php?action=doSomething&id='); ?> O

[PHP] regex

2008-08-13 Thread Philip Thompson
Ok, the important parts that I need to obtain from this are: somePage doSomething How can you modify the pattern above to grab the action appropriately? Sorry, my regex is a lil rusty! Thanks in advance, ~Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

Re: [PHP] Re: regex

2008-08-13 Thread Micah Gersten
Take a look at this function, it'll make things a little easier: http://us3.php.net/manual/en/function.parse-str.php Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Philip Thompson wrote: > Figured it out. Just needed to stretch my brain a lil. > > On Aug 13

[PHP] Re: regex

2008-08-13 Thread Philip Thompson
Figured it out. Just needed to stretch my brain a lil. On Aug 13, 2008, at 3:07 PM, Philip Thompson wrote: $pattern = '/(.*).php\?action=([^&]+)+/'; preg_match ($pattern, $subject, $matches); return $matches; } blegh ('somePage.php?action=doSomething&id='); ?> Ok, the important parts t

Re: [PHP] Class diagram util

2008-08-13 Thread Nathan Nobbe
On Wed, Aug 13, 2008 at 11:33 AM, Christoph Boget <[EMAIL PROTECTED]> wrote: > I'm curious, what utilities do you guys use, if any at all, to map > out/diagram your classes? I'm looking for a decent (I don't really > need a ton of bells and whistles) freeware app but my searches thus > far have p

Re: [PHP] phpguru.org back up

2008-08-13 Thread Stut
On 13 Aug 2008, at 17:39, Richard Heyes wrote: but I've been using the service since it launched and have never had a problem. Out of interest, when was that? Now you're asking... I think it was around April 2006 but if I'm honest I can't remember. Prior to that I was using a hosting compan

[PHP] Class diagram util

2008-08-13 Thread Christoph Boget
I'm curious, what utilities do you guys use, if any at all, to map out/diagram your classes? I'm looking for a decent (I don't really need a ton of bells and whistles) freeware app but my searches thus far have proven fruitless. thnx, Christoph -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] If Column Exists

2008-08-13 Thread VamVan
Interesting. Thanks guys!! On Wed, Aug 13, 2008 at 1:32 AM, Robin Vickery <[EMAIL PROTECTED]> wrote: > 2008/8/12 VamVan <[EMAIL PROTECTED]>: > > Hello, > > > > I am working on data migration for one mysql db to another using PHP. How > do > > I check if a particular table has a particular column.

Re: [PHP] More math fun

2008-08-13 Thread Robert Cummings
On Wed, 2008-08-13 at 07:47 -0700, Jim Lucas wrote: > Jay Blanchard wrote: > > [snip] > >> 1.7763568394E-15 is 0. The computer just had a rounding error > > somewhere. We > >> had this discussion a few weeks ago, the solution being to decide to > > what > >> accuracy you want the answer. Upto 14 de

Re: [PHP] phpguru.org back up

2008-08-13 Thread tedd
At 5:04 PM +0100 8/13/08, Richard Heyes wrote: Thanks. Fortunately I managed to get away with minimal data loss, and, unsurprisingly, I've now got backups. :-) -- Richard Heyes That's good to hear -- on both counts. Cheers, tedd -- --- http://sperling.com http://ancientstones.com htt

Re: [PHP] phpguru.org back up

2008-08-13 Thread Richard Heyes
> but I've been using the service > since it launched and have never had a problem. Out of interest, when was that? -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: A dumb question regarding sending email

2008-08-13 Thread tedd
At 12:47 AM +1000 8/14/08, Ross McKay wrote: On Wed, 13 Aug 2008 15:32:12 +0100, Richard Heyes wrote: NSW Australia North, South, West? Can't you make up your mind? :-) :) we move around a bit... though not so much for a while now! Good to see you backup. I mean, back up! (NSW is the sta

Re: [PHP] phpguru.org back up

2008-08-13 Thread Stut
On 13 Aug 2008, at 17:26, Richard Heyes wrote: If I may suggest ... if you have a second system that doesn't have a big load, you can simply rsync the data from one to the other every 24 hours or however many times you want. This way, when your primary system bites the dust, you can easily

Re: [PHP] phpguru.org back up

2008-08-13 Thread Richard Heyes
> If I may suggest ... if you have a second system that doesn't have a big > load, you can simply rsync the data from one to the other every 24 hours or > however many times you want. This way, when your primary system bites the > dust, you can easily switch to the backup one and keep running wh

Re: [PHP] phpguru.org back up

2008-08-13 Thread Richard Heyes
> And the forms are fully secured out. :) > You think... ;-) -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: A dumb question regarding sending email

2008-08-13 Thread Richard Heyes
> Good to see you backup. I mean, back up! I think both would apply now... :-) -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] phpguru.org back up

2008-08-13 Thread Wolf
Richard Heyes <[EMAIL PROTECTED]> wrote: > > So, which backup solution are you using? Or should I say which 12 backup > > solutions? ;) > > Lol. Not that sophisticated actually, trusty old tar and gzip, along > with regular downloads to my desktop so that they're in two locations. Befor

Re: [PHP] phpguru.org back up

2008-08-13 Thread Ashley M. Kirchner
Richard Heyes wrote: Lol. Not that sophisticated actually, trusty old tar and gzip, along with regular downloads to my desktop so that they're in two locations If I may suggest ... if you have a second system that doesn't have a big load, you can simply rsync the data from one to the other ev

Re: [PHP] Re: A dumb question regarding sending email

2008-08-13 Thread Richard Heyes
> I'd've thought with Aussie, Southern Cross-oriented globes Charlaton. :-) -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] phpguru.org back up

2008-08-13 Thread Richard Heyes
> So, which backup solution are you using? Or should I say which 12 backup > solutions? ;) Lol. Not that sophisticated actually, trusty old tar and gzip, along with regular downloads to my desktop so that they're in two locations. -- Richard Heyes http://www.phpguru.org -- PHP General Maili

Re: [PHP] phpguru.org back up

2008-08-13 Thread Richard Heyes
> Really? It doesn't work for me. > > http://www.phpguru.org/ > > > I'm getting the following : > > Unable to connect > Firefox can't establish a connection to the server at www.phpguru.org. > * The site could be temporarily unavailable or too busy. Try again in > a few > moments. >

Re: [PHP] phpguru.org back up

2008-08-13 Thread Richard Heyes
> Congratulations, Richard. > > Server crashes, data loss, and downtime are concerns for all of us. Thanks. Fortunately I managed to get away with minimal data loss, and, unsurprisingly, I've now got backups. :-) -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.p

[PHP] Re: A dumb question regarding sending email

2008-08-13 Thread Jonesy
On Thu, 14 Aug 2008 00:47:39 +1000, Ross McKay wrote: > On Wed, 13 Aug 2008 15:32:12 +0100, Richard Heyes wrote: > >>> NSW Australia >> >>North, South, West? Can't you make up your mind? :-) > >:) we move around a bit... though not so much for a while now! > > Good to see you backup. I mean, back u

Re: [PHP] phpguru.org back up

2008-08-13 Thread Wolf
Richard Heyes <[EMAIL PROTECTED]> wrote: > Hi, > > You'll be pleased to know (I'm sure) that phpguru.org is back up and > working (for the most part I would imagine). Glad to hear it! So, which backup solution are you using? Or should I say which 12 backup solutions? ;) Wolf -- PHP G

[PHP] Re: SOAP - return a list of items

2008-08-13 Thread Dan Joseph
Maybe more info will help: Here is what I have so far for the WSDL...

Re: [PHP] More math fun

2008-08-13 Thread Jim Lucas
Jay Blanchard wrote: [snip] 1.7763568394E-15 is 0. The computer just had a rounding error somewhere. We had this discussion a few weeks ago, the solution being to decide to what accuracy you want the answer. Upto 14 decimal places will give you 0 here!! I thought we had a different discuss

Re: [PHP] Re: A dumb question regarding sending email

2008-08-13 Thread Ross McKay
On Wed, 13 Aug 2008 15:32:12 +0100, Richard Heyes wrote: >> NSW Australia > >North, South, West? Can't you make up your mind? :-) :) we move around a bit... though not so much for a while now! Good to see you backup. I mean, back up! (NSW is the state of New South Wales, on the East Coast of Au

Re: [PHP] phpguru.org back up

2008-08-13 Thread David Giragosian
On 8/13/08, Richard Heyes <[EMAIL PROTECTED]> wrote: > > Hi, > > You'll be pleased to know (I'm sure) that phpguru.org is back up and > working (for the most part I would imagine). Congratulations, Richard. Server crashes, data loss, and downtime are concerns for all of us. --David.

Re: [PHP] Re: A dumb question regarding sending email

2008-08-13 Thread Richard Heyes
> NSW Australia North, South, West? Can't you make up your mind? :-) -- Richard Heyes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] phpguru.org back up

2008-08-13 Thread Richard Heyes
Hi, You'll be pleased to know (I'm sure) that phpguru.org is back up and working (for the most part I would imagine). -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] More math fun

2008-08-13 Thread Jay Blanchard
[snip] > 1.7763568394E-15 is 0. The computer just had a rounding error somewhere. We > had this discussion a few weeks ago, the solution being to decide to what > accuracy you want the answer. Upto 14 decimal places will give you 0 here!! I thought we had a different discussion a couple of weeks a

[PHP] SOAP - return a list of items

2008-08-13 Thread Dan Joseph
Hi, I am using the PHP5 SOAP Functions... I am trying to find some information on how to properly build a function into my web service to return a list of quotes. Each list will have a QuoteID, Origin, Destination, Name. Example: 1011, 48167, 90222, John Smith 1012, 54888, 19893, Joe Johnson e

[PHP] Re: A dumb question regarding sending email

2008-08-13 Thread tedd
Hi gang: Problem solved. I was tired last night and used "http:www.example.com" and wondered why it wouldn't work. Duh! I knew it was a dumb question that should have waited until I had a good night's sleep. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://e

Re: [PHP] If Column Exists

2008-08-13 Thread Robin Vickery
2008/8/12 VamVan <[EMAIL PROTECTED]>: > Hello, > > I am working on data migration for one mysql db to another using PHP. How do > I check if a particular table has a particular column. If not alter... > > Thanks > Use the information_schema: SELECT COUNT(*) AS column_exists FROM information_schem

[PHP] Anyone using Lighttpd + webdav and a PHP handler?

2008-08-13 Thread mike
i.e. using PUT and using a .php script as the handler for it? I can successfully PUT a file to /path/to/file-that-doesnt-exist.txt However, when I try to do a PUT to an existing .php script it gives me access denied, most likely due to the fact that a file exists. I don't want it to actually try

RE: [PHP] If Column Exists

2008-08-13 Thread Per Jessen
Jay Blanchard wrote: > [snip] > I am working on data migration for one mysql db to another using PHP. > How do > I check if a particular table has a particular column. If not alter... > [/snip] > > Use DESCRIBE TABLE; > Then you'd have to parse the output - how about SELECT FROM LIMIT 1 ?

RE: [PHP] More math fun

2008-08-13 Thread Robert Cummings
On Wed, 2008-08-13 at 08:14 +0100, Alex Chamberlain wrote: > 1.7763568394E-15 is 0. The computer just had a rounding error somewhere. We > had this discussion a few weeks ago, the solution being to decide to what > accuracy you want the answer. Upto 14 decimal places will give you 0 here!! I thoug

RE: [PHP] More math fun

2008-08-13 Thread Alex Chamberlain
1.7763568394E-15 is 0. The computer just had a rounding error somewhere. We had this discussion a few weeks ago, the solution being to decide to what accuracy you want the answer. Upto 14 decimal places will give you 0 here!! Alex > -Original Message- > From: Robert Cummings [mailto:[EMAI