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
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
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
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,
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
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:
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
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
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
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
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
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
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
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)
[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...
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
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!
--- 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
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
[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;
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
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
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
* 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
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
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..
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
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
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
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
- 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
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
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
[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
-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
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
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!
[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
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
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:
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
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
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
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
-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
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
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
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
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.
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
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:
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
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.
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
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
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
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.
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
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
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
60 matches
Mail list logo