Re: [PHP] Lightweight web server for Windows?

2009-11-19 Thread Peter Ford
O. Lavell wrote: > > Also, it is not for daily use. I have two desktop computers and a server > for that. This is for when I have to go by train or something. > > Essentially it is just an extra plaything. > Does the battery still hold enough charge for a train journey - that always seems to b

RE: [PHP] dynamic meta tag and title app?

2009-11-19 Thread Ashley Sheridan
On Wed, 2009-11-18 at 21:42 -0800, Daevid Vincent wrote: > > Actually, you can make a site today that uses JAvascript to enhance > > functionality. > > I'd say a fits that category. You can live without it. > > > Something as simple as a title for a page shouldn't be > > relying on Javascript

Re: [PHP] Lightweight web server for Windows?

2009-11-19 Thread richard
Hi, > What do people on this list use as an ultra-lightweight web server (with > PHP capability of course) on Windows? I have an old but still well > functioning laptop that I have just given a second life by installing > Windows Fundamentals (a stripped down version of XP). This works > surprisin

[PHP] Using $$

2009-11-19 Thread Arno Kuhl
I was looking at some old code that I'm convinced once worked but now using php5 it doesn't seem to work anymore. $input = "_REQUEST"; if (is_array($$input)) { // do something } I know $_REQUEST is an array, but $$input is NULL (I was expecting it == $_REQUEST). I also tried ${$input} b

Re: [PHP] Lightweight web server for Windows?

2009-11-19 Thread O. Lavell
Peter Ford wrote: > O. Lavell wrote: >> >> Also, it is not for daily use. I have two desktop computers and a >> server for that. This is for when I have to go by train or something. >> >> Essentially it is just an extra plaything. >> >> > Does the battery still hold enough charge for a train jo

Re: [PHP] Lightweight web server for Windows?

2009-11-19 Thread O. Lavell
richard wrote: > I would have recommended Omni HTTPd, but it seems it is no more. Anyone > know what happened to it? Funny, how it seems that there aren't so many choices for this in the Windows world. > Regardless, I'd recommend buying a server > (cheap or otherwise) running your target enviro

Re: [PHP] Noob question: Making search results clickable.

2009-11-19 Thread Nisse Engström
On Wed, 18 Nov 2009 10:31:59 -0500, Paul M Foster wrote: > Replace your query with: > > "SELECT title, id FROM videos WHERE topid1 = '$topic'" > > or whatever index you have to select a particular video from your table. > > Replace your echo statement above with: > > echo "$row[title]"; Witho

Re: [PHP] Noob question: Making search results clickable.

2009-11-19 Thread Paul M Foster
On Thu, Nov 19, 2009 at 03:53:55PM +0100, Nisse Engström wrote: > On Wed, 18 Nov 2009 10:31:59 -0500, Paul M Foster wrote: > > > Replace your query with: > > > > "SELECT title, id FROM videos WHERE topid1 = '$topic'" > > > > or whatever index you have to select a particular video from your table.

Re: [PHP] dynamic meta tag and title app?

2009-11-19 Thread tedd
At 11:30 AM -0500 11/18/09, Jack S wrote: Hello All, Does anyone have a reference to a program that may be out there to help with using a single header.php for a site, but then dynamically loads different keywords , titles etc based on what page is including the header file? Sample: If home pag

Re: [PHP] Noob question: Making search results clickable.

2009-11-19 Thread Ashley Sheridan
On Thu, 2009-11-19 at 10:09 -0500, Paul M Foster wrote: > On Thu, Nov 19, 2009 at 03:53:55PM +0100, Nisse Engström wrote: > > > On Wed, 18 Nov 2009 10:31:59 -0500, Paul M Foster wrote: > > > > > Replace your query with: > > > > > > "SELECT title, id FROM videos WHERE topid1 = '$topic'" > > > > >

Re: [PHP] dynamic meta tag and title app?

2009-11-19 Thread Jack S
Hi Todd, This looks like a good starting point for me. I was going to use $_SERVER['PHP_SELF']; but I think ($_SERVER['SCRIPT_NAME']); in your example will always return just the script info and not additionally passed information, which will save me trouble shooting later! Thanks!!! On Thu, N

[PHP] Drupal Developers and Themers Needed in Orlando, Florida

2009-11-19 Thread Israel Ekpo
I am not sure if this is the right place for this message but please contact me if you are interested. Hi There, My name is Israel Ekpo and I work as a technical lead for Bonnier Corporation. Bonnier Corporation is a major publishing organization with offices in the US, headquarters in Stockholm

Re: [PHP] Noob question: Making search results clickable.

2009-11-19 Thread Paul M Foster
On Thu, Nov 19, 2009 at 03:07:42PM +, Ashley Sheridan wrote: > On Thu, 2009-11-19 at 10:09 -0500, Paul M Foster wrote: > > > Ahem. You are correct. I should have escaped the double quotes. I've > *never* made this kind of mistake before. ;-} > > Paul > > -- > Paul M.

RE: [PHP] Noob question: Making search results clickable.

2009-11-19 Thread Ford, Mike
> -Original Message- > From: Nisse Engström [mailto:news.nospam.0ixbt...@luden.se] > Sent: 19 November 2009 14:54 > To: php-general@lists.php.net > Subject: Re: [PHP] Noob question: Making search results clickable. > > On Wed, 18 Nov 2009 10:31:59 -0500, Paul M Foster wrote: > > > Replace

RE: [PHP] Using $$

2009-11-19 Thread Ford, Mike
> -Original Message- > From: Arno Kuhl [mailto:ak...@telkomsa.net] > Sent: 19 November 2009 12:23 > > I was looking at some old code that I'm convinced once worked but > now using > php5 it doesn't seem to work anymore. > > $input = "_REQUEST"; > if (is_array($$input)) { > // do somet

Re: [PHP] dynamic meta tag and title app?

2009-11-19 Thread tedd
At 10:48 AM -0500 11/19/09, Jack S wrote: Hi Todd, This looks like a good starting point for me. I was going to use $_SERVER['PHP_SELF']; but I think ($_SERVER['SCRIPT_NAME']); in your example will always return just the script info and not additionally passed information, which will save me tr

Re: [PHP] Noob question: Making search results clickable.

2009-11-19 Thread Bastien Koert
On Thu, Nov 19, 2009 at 11:46 AM, Paul M Foster wrote: > On Thu, Nov 19, 2009 at 03:07:42PM +, Ashley Sheridan wrote: > >> On Thu, 2009-11-19 at 10:09 -0500, Paul M Foster wrote: >> > > > >> >>     Ahem. You are correct. I should have escaped the double quotes. I've >>     *never* made this k

Re: [PHP] dynamic meta tag and title app?

2009-11-19 Thread Paul M Foster
On Thu, Nov 19, 2009 at 01:09:48PM -0500, tedd wrote: > At 10:48 AM -0500 11/19/09, Jack S wrote: >> Hi Todd, >> >> This looks like a good starting point for me. >> I was going to use $_SERVER['PHP_SELF']; but I think >> ($_SERVER['SCRIPT_NAME']); in your example will always return just the >> sc

[PHP] need browser auto-form predictable fill-in randomizer addon

2009-11-19 Thread Daevid Vincent
I have a form with probably 100+ elements from input, checkbox, select boxes, textareas, etc. It's extremely tedious to fill these in all the time and submit while developing/testing. Anyone know of a plugin to Firefox (or IE for that matter) that will fill in the fields, select stuff, check stuf

Re: [PHP] need browser auto-form predictable fill-in randomizer addon

2009-11-19 Thread Ashley Sheridan
On Thu, 2009-11-19 at 13:15 -0800, Daevid Vincent wrote: > I have a form with probably 100+ elements from input, checkbox, select > boxes, textareas, etc. It's extremely tedious to fill these in all the time > and submit while developing/testing. > > Anyone know of a plugin to Firefox (or IE for

[PHP] Re: need browser auto-form predictable fill-in randomizer addon

2009-11-19 Thread O. Lavell
Daevid Vincent wrote: > I have a form with probably 100+ elements from input, checkbox, select > boxes, textareas, etc. It's extremely tedious to fill these in all the > time and submit while developing/testing. If it is tedious for you it will be tedious for your future users. And as a rule, th

[PHP] Proposed 5.3.1 Release announcement

2009-11-19 Thread Johannes Schlüter
The PHP development team would like to announce the immediate availability of PHP 5.3.1. This release focuses on improving the stability of the PHP 5.3.x branch with over 100 bug fixes, some of which are security related. All users are encouraged to upgrade to this release. Security Enh

[PHP] 5.3.1 Release announcement

2009-11-19 Thread Johannes Schlüter
The PHP development team would like to announce the immediate availability of PHP 5.3.1. This release focuses on improving the stability of the PHP 5.3.x branch with over 100 bug fixes, some of which are security related. All users are encouraged to upgrade to this release. Security Enh

[PHP] need a find/replace command to fix my require_once

2009-11-19 Thread Daevid Vincent
I was reading this: http://pear.php.net/manual/en/standards.including.php and it states: "Note: include_once and require_once are statements, not functions. Parentheses should not surround the subject filename." I never knew that. I've always (wrongly) used: require_once('/path/t

Re: [PHP] Noob question: Making search results clickable.

2009-11-19 Thread Nisse Engström
On Thu, 19 Nov 2009 17:02:53 -, "Ford, Mike" wrote: >> -Original Message- >> From: Nisse Engström [mailto:news.nospam.0ixbt...@luden.se] >> >> Without actually checking, I don't think "$row[...]" >> is going to work in double quoted strings. I'm pretty >> sure it needs to be in braces

Re: [PHP] Noob question: Making search results clickable.

2009-11-19 Thread Nisse Engström
On Thu, 19 Nov 2009 15:07:42 +, Ashley Sheridan wrote: > On Thu, 2009-11-19 at 10:09 -0500, Paul M Foster wrote: >> >> Ahem. You are correct. I should have escaped the double quotes. I've >> *never* made this kind of mistake before. ;-} > > Gonna go to PHP hell for that faux pas! I'll see y

RE: [PHP] Using $$

2009-11-19 Thread Arno Kuhl
-Original Message- From: Ford, Mike [mailto:m.f...@leedsmet.ac.uk] Sent: 19 November 2009 07:06 PM To: php-general@lists.php.net Subject: RE: [PHP] Using $$ > -Original Message- > From: Arno Kuhl [mailto:ak...@telkomsa.net] > Sent: 19 November 2009 12:23 > > I was looking at some