Re: [PHP] [php] static html search engine for php static html site

2011-12-29 Thread Tamara Temple
Ashley Sheridan a...@ashleysheridan.co.uk wrote: Please don't top post. Wonder if said poster understands what that means -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [php] static html search engine for php static html site

2011-12-27 Thread Nathan Nobbe
On Mon, Dec 26, 2011 at 6:17 AM, HELP LINE izod...@gmail.com wrote: Does any know of a better static search engine that i can integrate to my static php html site. it should not be Google or yahoo bing. not sure if it's come up yet, but this might work for you, http://www.sphider.eu/ it's

Re: [PHP] [php] static html search engine for php static html site

2011-12-26 Thread Benjamin Hawkes-Lewis
On Mon, Dec 26, 2011 at 1:17 PM, HELP LINE izod...@gmail.com wrote: Does any know of a better static search engine that i can integrate to my static php html site. it should not be Google or yahoo bing. A search engine cannot itself be static, since it has to process variable user input. Though

Re: [PHP] [php] static html search engine for php static html site

2011-12-26 Thread HELP LINE
The site content is not using any database but hardcoded on template html and it's runing on a share hosting. But i need the option where user should be able to search the site content.. On Mon, Dec 26, 2011 at 2:33 PM, Benjamin Hawkes-Lewis bhawkesle...@googlemail.com wrote: On Mon, Dec 26,

Re: [PHP] [php] static html search engine for php static html site

2011-12-26 Thread Ashley Sheridan
HELP LINE izod...@gmail.com wrote: The site content is not using any database but hardcoded on template html and it's runing on a share hosting. But i need the option where user should be able to search the site content.. On Mon, Dec 26, 2011 at 2:33 PM, Benjamin Hawkes-Lewis

Re: [PHP] [php] static html search engine for php static html site

2011-12-26 Thread Izo duwa
The site is not a cms site but static html site, I just want to add search option to it but needs an alternative to google site search integration. i cant not use solr because its runing on a share hosting. thanks On Mon, Dec 26, 2011 at 9:07 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote:

Re: [PHP] [php] static html search engine for php static html site

2011-12-26 Thread Ashley Sheridan
Izo duwa izod...@gmail.com wrote: The site is not a cms site but static html site, I just want to add search option to it but needs an alternative to google site search integration. i cant not use solr because its runing on a share hosting. thanks On Mon, Dec 26, 2011 at 9:07 PM, Ashley

Re: [PHP] [php] static html search engine for php static html site

2011-12-26 Thread Izo duwa
the whole site is in php and all content should be searchable. I have tried zoom site search [http://www.wrensoft.com/zoom/] but the result was not good. I just need a simple site search functionality that I can install on a share hosting. it should be able to serach through the whole site files

Re: [PHP] PHP generated HTML has submit button which picks up the wrong url.

2010-02-06 Thread Michael A. Peters
Ashley Sheridan wrote: Bit of advice though, don't use Javascript to submit a form. Firstly, Javascript isn't available on all browsers, and on those it is available on, not everyone has it turned on. The W3C has the stats for Javascript being unavailable in a browser at about 5%. Yup. Just

Re: [PHP] PHP generated HTML has submit button which picks up the wrong url.

2010-02-05 Thread Joseph Thayne
This is actually a javascript issue rather than a PHP issue. What is happening is that the action of the form is what is being submitted. The action never changes. What you need to do is have the javascript change the action as well as submit the form (which means you will need to move it

Re: [PHP] PHP generated HTML has submit button which picks up the wrong url.

2010-02-05 Thread Ashley Sheridan
On Fri, 2010-02-05 at 14:33 -0600, Joseph Thayne wrote: This is actually a javascript issue rather than a PHP issue. What is happening is that the action of the form is what is being submitted. The action never changes. What you need to do is have the javascript change the action as

Re: [PHP] PHP generated HTML has submit button which picks up the wrong url.

2010-02-05 Thread Joseph Thayne
What you maybe ought to consider is using several submit buttons, and give each a name and a value. That way, your PHP script can check for a specifically named variable sent from the form. That way, you keep many people happy, and your site still works perfectly. The problem with doing it

Re: [PHP] PHP generated HTML has submit button which picks up the wrong url.

2010-02-05 Thread Robert Cummings
Joseph Thayne wrote: What you maybe ought to consider is using several submit buttons, and give each a name and a value. That way, your PHP script can check for a specifically named variable sent from the form. That way, you keep many people happy, and your site still works perfectly. The

Re: [PHP] Php generated html email

2007-10-23 Thread Richard Heyes
Ronald Wiplinger wrote: How can I create a html email directly from a web page via Php? The page will include tables, background colors and pictures within the tables. The received email should be readable without Internet connection (pictures, must be sent with the email)

RE: [PHP] Php generated html email

2007-10-22 Thread Jay Blanchard
[snip] How can I create a html email directly from a web page via Php? The page will include tables, background colors and pictures within the tables. The received email should be readable without Internet connection (pictures, must be sent with the email) [/snip] Google is your friend...

Re: [PHP] PHP and HTML Conventions

2004-07-12 Thread Matthew Sims
Hi all. I just wondered if the general convention was to use entirely PHP and simply encase HTML TAGs within that or use a mix and simply use PHP TAGs when required. -- - Michael Mason I'm trying to get myself to use PHP tags when required. When I first

RE: [PHP] PHP to HTML

2003-12-08 Thread Chris W. Parker
Steve Marquez mailto:[EMAIL PROTECTED] on Monday, December 08, 2003 12:28 PM said: Greetings! Hi. Is there a way to have PHP write an HTML file? Yes. Start here http://us2.php.net/manual/en/function.fwrite.php. Chris. -- Don't like reformatting your Outlook replies? Now there's relief!

Re: [PHP] PHP to HTML

2003-12-08 Thread Chris Shiflett
--- Steve Marquez [EMAIL PROTECTED] wrote: Is there a way to have PHP write an HTML file? Sure. This is no different from writing any other file. If you want it to write a file instead of outputting the content, a convenient way (my opinion) of doing this is to use ob_start() at the top of your

Re: [PHP] PHP process .html extension file

2003-11-17 Thread Jason Wong
On Monday 17 November 2003 18:03, BennyYim wrote: PHP server will interpret .php extension files (index.php) as default. What should I set if I want the PHP server also interpret .html files (e.g. index.html) before send to client? If using apache: AddType application/x-httpd-php .php

RE: [PHP] PHP 4.3.2, HTML and MSSQL2000

2003-11-07 Thread Jay Blanchard
[snip] Does it have something to do with the script being inside the div/div statement? div id=Oobj220 style=position:absolute;z-index:74;visibility:visible; left:612px;top:96px;width:110px;height:21px; span id=Ggeo201 class=dfltt ?php echo input type=text name=reportnum size=20 value=$reportnum;

Re: [PHP] PHP/JavaScript/HTML

2003-08-14 Thread Mauricio
John W. Holmes [EMAIL PROTECTED] To: Mauricio [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 10:05 AM Subject: Re: [PHP] PHP/JavaScript/HTML From: Mauricio [EMAIL PROTECTED] I wrote a JavaScript to set the values of a Select html object by client side. The values are copied

Re: [PHP] PHP/JavaScript/HTML

2003-08-05 Thread CPT John W. Holmes
From: Mauricio [EMAIL PROTECTED] I wrote a JavaScript to set the values of a Select html object by client side. The values are copied from another Select that I create getting the values from the database. After the user set the values he/she wants to add it in another form, for example, then

Re: [PHP] PHP/JavaScript/HTML

2003-08-05 Thread CPT John W. Holmes
From: Mauricio [EMAIL PROTECTED] On the Address Bar I can see: index.php?slcAdd=1slcAdd=2slcAdd=3 But when I get the value using $HTTP_GET_VARS['slcAdd']; it returns just the last value. What can I do to get them all? Name your select box as slcAdd[] and you'll have all of the values in an

Re: [PHP] PHP suexec: html files as PHP.

2003-07-29 Thread Curt Zirzow
* Thus wrote Joan McGalliard ([EMAIL PROTECTED]): Hi, I'm getting a little desperate here, and running out of places to ask. My hosting company changed - without warning - to PHP Suexec, which completely broke to sites. They haven't been able to tell me how to fix it, just vague

Re: [PHP] php and html differences

2003-03-02 Thread Sunfire
to know if i have layout problems or if the guy is taking his sight for granted... tnx - Original Message - From: Darren Young [EMAIL PROTECTED] To: 'Sunfire' [EMAIL PROTECTED] Sent: Sunday, March 02, 2003 3:22 PM Subject: RE: [PHP] php and html differences No, there are no test

Re: [PHP] php and html differences

2003-03-02 Thread Leif K-Brooks
If I was you, I would tell him he's insane. Sunfire wrote: hi.. i guess this is a php related question (well sort of) the person i work with decided that he was going to edit a few of my php scripts that make a web page out of variables and just different conditions that happen in the script..

Re: [PHP] php and html differences

2003-03-02 Thread Sunfire
Message - From: Larry Brown [EMAIL PROTECTED] To: Sunfire [EMAIL PROTECTED] Sent: Sunday, March 02, 2003 3:32 PM Subject: RE: [PHP] php and html differences 3 or more possible pages from one php page is what php was designed for. It dynamically creates the page depending on what choices

Re: [PHP] php and html differences

2003-03-02 Thread Sunfire
already did that.. he even said whats new... *fear that* if i work for someone like that?? hrm... - Original Message - From: Leif K-Brooks [EMAIL PROTECTED] To: Sunfire [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, March 02, 2003 3:55 PM Subject: Re: [PHP] php and html

Re: [PHP] php and html differences

2003-03-02 Thread Ernest E Vogelsinger
At 21:25 02.03.2003, Sunfire said: [snip] i guess this is a php related question (well sort of) the person i work with decided that he was going to edit a few of my php scripts that make a ... oh my god. he told me a few things that i dont quite

Re: [PHP] php and html differences

2003-03-02 Thread Ernest E Vogelsinger
At 21:54 02.03.2003, Sunfire said: [snip] well i told him it was probably java or something of the sort cuz he uses java in his pages sometimes expecially when it comes to buttons or something right, you can do some logic with JavaScript (don't confuse that

Re: [PHP] php and html differences

2003-03-02 Thread Sunfire
- Original Message - From: Ernest E Vogelsinger [EMAIL PROTECTED] To: Sunfire [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, March 02, 2003 5:58 PM Subject: Re: [PHP] php and html differences At 21:25 02.03.2003, Sunfire said: [snip] i

Re: [PHP] php and html differences

2003-03-02 Thread Jason Sheets
On Sun, 2003-03-02 at 16:55, Sunfire wrote: - Original Message - From: Ernest E Vogelsinger [EMAIL PROTECTED] To: Sunfire [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, March 02, 2003 5:58 PM Subject: Re: [PHP] php and html differences At 21:25 02.03.2003, Sunfire said

Re: [PHP] php and html differences

2003-03-02 Thread Sunfire
where could i get a templet editor from that is good and fairly easy to use? - Original Message - From: Jason Sheets [EMAIL PROTECTED] To: Sunfire [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, March 02, 2003 7:07 PM Subject: Re: [PHP] php and html differences On Sun, 2003-03-02

Re: [PHP] php and html differences

2003-03-02 Thread Jason Sheets
[EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, March 02, 2003 7:07 PM Subject: Re: [PHP] php and html differences On Sun, 2003-03-02 at 16:55, Sunfire wrote: - Original Message - From: Ernest E Vogelsinger [EMAIL PROTECTED] To: Sunfire [EMAIL PROTECTED] Cc: [EMAIL

Re: [PHP] php and html differences

2003-03-02 Thread Paul Nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Use Smarty(http://smarty.php.net/) and Maguma Studio(http://www.maguma.com/). ~Paul On Sunday 02 March 2003 07:13 pm, Sunfire wrote: where could i get a templet editor from that is good and fairly easy to use? [snip] - -- ~Paul Nicholson Design

RE: [PHP] .php to .html?

2002-09-29 Thread Peter Houchin
just save the files u create as .html make sure in your apache httpd.conf where you reference for .php that u have html in here as well and all will be sweet. eg in this line AddType application/x-httpd-php .php4 .php .htm .php3 .html anything you put in that line will be passed through php

Re: [PHP] .php to .html?

2002-09-29 Thread Jean-Christian Imbeault
Peter Houchin wrote: just save the files u create as .html make sure in your apache httpd.conf where you reference for .php that u have html in here as well and all will be sweet. eg in this line AddType application/x-httpd-php .php4 .php .htm .php3 .html Super! That helps *so* much!

RE: [PHP] php and html

2002-07-18 Thread Jay Blanchard
[snip] I am running into a situation where I need some serious help. My environment is: Workstation - W2k, Frontpage Server - Cobalt RaQ4i, Linux, Apache Problem: I need to access MySQL to display inventory information on the web page. When I have modified the httpd.conf file to parse html

Re: [PHP] PHP as HTML

2002-06-04 Thread Kevin Stone
AddType application/x-httpd-php .html AddType application/x-httpd-php .htm - Original Message - From: Tom Ray [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 04, 2002 2:41 PM Subject: [PHP] PHP as HTML Hey there- I'm trying to use an .htaccess file to parse .php files as

Re: [PHP] PHP as HTML

2002-06-04 Thread Richard Heyes
Tom Ray [EMAIL PROTECTED] wrote: I'm trying to use an .htaccess file to parse .php files as .html does anyone know how to do this? It doesn't work with the same structure as parsing the .shtml files. Assuming you're using the module version, add this into your .htaccess file:

Re: [PHP] PHP as HTML

2002-06-04 Thread Tom Ray
I tried this, and it just prompts me to download the file from the server. I can't see what the issue is. - Original Message - From: Kevin Stone [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 04, 2002 5:35 PM Subject: Re: [PHP] PHP as HTML AddType application/x-httpd-php

RE: [PHP] PHP as HTML

2002-06-04 Thread Peter
To: Kevin Stone; [EMAIL PROTECTED] Subject: Re: [PHP] PHP as HTML I tried this, and it just prompts me to download the file from the server. I can't see what the issue is. - Original Message - From: Kevin Stone [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 04, 2002 5:35 PM

Re: [PHP] PHP as HTML

2002-06-04 Thread Tom Ray
Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 5 June 2002 9:49 AM To: Kevin Stone; [EMAIL PROTECTED] Subject: Re: [PHP] PHP as HTML I tried this, and it just prompts me to download the file from the server. I can't see what the issue is. - Original Message - From

Re: [PHP] PHP as HTML

2002-06-04 Thread Pushkar Pradhan
AddType application/x-httpd-php .htm is PHP installed as a module or cgi ver? Cheers -Original Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 5 June 2002 9:49 AM To: Kevin Stone; [EMAIL PROTECTED] Subject: Re: [PHP] PHP as HTML I tried this, and it just

Re: [PHP] PHP as HTML

2002-06-04 Thread Tom Ray
-Original Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 5 June 2002 9:49 AM To: Kevin Stone; [EMAIL PROTECTED] Subject: Re: [PHP] PHP as HTML I tried this, and it just prompts me to download the file from the server. I can't see what the issue is. - Original Message

RE: [PHP] PHP in HTML

2002-05-17 Thread Peter
I find it better than having every page go thru php not to mention quicker. -Original Message- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: Friday, 17 May 2002 3:52 PM To: Peter Cc: [EMAIL PROTECTED] Subject: RE: [PHP] PHP in HTML On Fri, 17 May 2002, Peter wrote

RE: [PHP] PHP in HTML

2002-05-17 Thread Miguel Cruz
PROTECTED]] Sent: Friday, 17 May 2002 3:52 PM To: Peter Cc: [EMAIL PROTECTED] Subject: RE: [PHP] PHP in HTML On Fri, 17 May 2002, Peter wrote: there are also possible good reasons for sending .html files through php. like if you don't want users to know that your website is written

RE: [PHP] PHP in HTML

2002-05-17 Thread Peter
PROTECTED] Subject: RE: [PHP] PHP in HTML Do you really find it noticeable quicker? Benchmarks I've seen (none of them that current) don't seem to support that. Depending on the software versions involved, it seems to be anywhere from much faster through PHP to a few % slower. Certainly no major

Re: [PHP] PHP in HTML

2002-05-16 Thread Justin French
Your Apache config file will be set to only parse PHP pages if they have the .php extension this is a feature, not a big, because otherwise every html page on your server will be parsed, rather than just the php ones... you could modify your apache config iff you wished, but I wouldn't.

RE: [PHP] PHP in HTML

2002-05-16 Thread Peter
if your using apache for you web server .. in httpd.conf you can set it so you have the following config.. (this is on windows but same basically applies to other OS's) LoadModule php4_module c:/phpdev/php/sapi/php4apache.dll AddType application/x-httpd-php .php .html this will enable .html

Re: [PHP] PHP in HTML

2002-05-16 Thread Jerome Houston
yeah, just find in your web server where to tell it what kind of files to send through php. there are also possible good reasons for sending .html files through php. like if you don't want users to know that your website is written in php. -jerome Original Message Follows From:

RE: [PHP] PHP in HTML

2002-05-16 Thread Peter
snip there are also possible good reasons for sending .html files through php. like if you don't want users to know that your website is written in php. -jerome /snip a better way to do that would be to make up your own extension so instead of having your server use .php for php files make

Re: [PHP] PHP in HTML

2002-05-16 Thread Jason Wong
On Friday 17 May 2002 13:33, Jerome Houston wrote: yeah, just find in your web server where to tell it what kind of files to send through php. there are also possible good reasons for sending .html files through php. like if you don't want users to know that your website is written in php.

RE: [PHP] PHP in HTML

2002-05-16 Thread Miguel Cruz
On Fri, 17 May 2002, Peter wrote: there are also possible good reasons for sending .html files through php. like if you don't want users to know that your website is written in php. a better way to do that would be to make up your own extension so instead of having your server use .php for

Re: [PHP] PHP outside HTML

2001-12-05 Thread Tyler Longren
PHP can be used on the command line if necessary. Or the \n characters can be printed to a text file or some other document that use's \n. To compile PHP for use on the command line, don't specify a web server to compile it with. Example...instead of this: ./configure

RE: [PHP] PHP outside HTML

2001-12-05 Thread Martin Towell
it's so it's easier to read the output -Original Message- From: John Kolvereid [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 06, 2001 5:24 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP outside HTML Hi, I'm a little confused. I see the advantage of PHP within HTML. However, a

Re: [PHP] PHP outside HTML

2001-12-05 Thread David Robley
On Thu, 6 Dec 2001 16:54, John Kolvereid wrote: Hi, I'm a little confused. I see the advantage of PHP within HTML. However, a few of the examples of ECHO include the '\n' char. Since this is not valid within HTML, I conclude they are addressing this for OUTSIDE HTML. Please advise.

Re: [PHP] PHP outside HTML

2001-12-05 Thread Michael A. Peters
On Wed, 05 Dec 2001 22:24:08 -0800 John Kolvereid [EMAIL PROTECTED] mentioned: Hi, I'm a little confused. I see the advantage of PHP within HTML. However, a few of the examples of ECHO include the '\n' char. Since this is not valid within HTML, I conclude they are addressing this for

RE: [PHP] PHP within .html files

2001-08-16 Thread Jon Haworth
Apache can be set up to parse whatever files you like as .php (you could have .paul if you like...) - presumably your host has enabled this. If you have access to .htaccess files (or the main server config, httpd.conf), you can set this up on any Apache server with the line AddType

Re: [PHP] php in html-- what gives?

2001-07-24 Thread Ben Bleything
Put it in a .php file. Your webserver probably doesn't interpret PHP in HTML files (as is proper). If it MUST be in a HTML file, you'll have to set up your webserver to interpret php in html files... that process depends on your webserver. Ben On Tue, 24 Jul 2001, CGI GUY wrote: I'm trying