* On 15-01-02 at 12:09
* Yogesh Mahadnac said
Hi all! I want to develop a search engine in PHP for a
portal that I'm working on at the moment, and I'd be glad if
someone could please show me how to do it, or if anyone knows
of a link where i can find a tutorial for that.
I
Scott -
You can just write it as a pipe-delimited file, write it
to the file, and then read it back in. Use implode and explode:
$company = array(Item 1, Item 2, Item 3, Item 4);
#-
#
# Output array
#
$output_string = implode(|, $company);
write
I'm stumped on this one.. I set up PHP 4.04/Apache/Mysql 3.23
on my Windows 98 box for development purpouses. Its been
working flawlessly for 2-3 years now (using the same
configuration files, etc).
However, as of 3 days ago, i can't get it to execute a simple
select * from table query. Here's
to explain it to a colleague.
I should 'pretend' to send a letter to php-general
next time :p
-greg
-Original Message-
From: Greg Schnippel [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 22, 2001 9:48 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Mysterious MYSQL Error..
I'm stumped on this one.. I
I wrote a custom blog/CMS script that I use to generate RSS feeds.
Every so often, in the process of cutting and pasting from other sites
I will inadvertently enter a bad character that RSS doesn't like which
causes the whole feed to break. (For example, versions of quotation
marks or long
Try this article on Evolt:
http://www.evolt.org/article/Storing_form_array_data_to_MySQL_using_PHP/18/60222/
that covers the whole process with good code examples..
- schnippy
On 8/9/05, Jesús Alain Rodríguez Santos [EMAIL PROTECTED] wrote:
Hi, I have 5 chekboxes in a page, I would like
Try doing a pattern match on the server string and then using Header
to redirect them if its coming from the old server:
if (preg_match(/ces.ncsu/i, $_SERVER[HTTP_HOST])) {
header(Location: http://www.nc4h.org;);
}
- schnippy
On 8/10/05, Robert Sossomon [EMAIL PROTECTED] wrote:
I'll reply soon off list, as I don't think it appropriate to give
potential spammers an archive full of new tricks.
I don't know -- I think its always better to discuss this in the open
if there is a real security risk that people should be aware of.
A couple days after your posting to
Good answer, I think thats what they were looking for but just in case:
Most of the breadcrumb classes out there (at least the ones that showed up
in an initial google search) use either the existing directory/file
structure or a hard-coded array of your site structure to create the
On 2/27/06 6:20 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
When users input is displayed for others then themself I try to filter out
html tags too.
I type cast all relevant variables before processing them as one last check.
Type casting forces the variable to be of the type you
Try Civiccrm -
http://www.openngo.org/
CiviCRM is the first open source and freely downloadable constituent
relationship management solution. CiviCRM is web-based,
internationalized, and designed specifically to meet the needs of
advocacy, non-profit and non-governmental groups.
I use this with
... When I tried saving it with an xml extension and
adding a .htaccess file to the directory in which the file was saved, I get
prompted to save the file instead of being able to view the file in a
browser. The only line in the .htaccess file is AddType
application/x-httpd-php xml.
I had
have you tried googling on +application framework +php..
that seems like what you're looking for and several of these projects are
commercial-grade and open source.
i use dbasis as my application framework and highly recommend it -- its a
component of the syntaxCMS project. i have also used
I have a large data tree that I wanted to display in an outline
format. I used a textbook tree recursion function to go through the
data and display it as nested unordered lists:
function outputTree($id) {
if (checkChildObjectExists($id)) {
print ul;
$child =
14, 2005 7:46 am, Greg Schnippel wrote:
I have a large data tree that I wanted to display in an outline
format. I used a textbook tree recursion function to go through the
data and display it as nested unordered lists:
function outputTree($id) {
if (checkChildObjectExists($id
If you're looking for a light-weight, threaded discussion script, I
can recommend this class from xhawk.net
http://www.xhawk.net/projects/discussion/
I like it because I can quickly integrate this into blogs or galleries
by just instantiating a new board instance for each object id or
article.
Hi -
It sounds like you're trying to implement something similar to google
suggest which uses ajax to allow a user to navigate through a large
list of entries. The google suggest method does use a lot of calls
to the database but its asynchronous which eliminates cumbersome page
loads.
found this a couple of days ago on Digg:
http://www.csarven.ca/hiding-email-addresses
A comprehensive list of methods on how to hide email addresses in
source code from spam bots. Includes; CSS, Javascript, Forms, Images,
Obfuscation, Authentication, Flash, Unicode, Encryption and other
methods.
I doubt if this can be done, but it there a way to detect a spambot
as compared to a SE indexing your site? They are both basically the
same, right?
Yes, if you can assume that a spambot will be doing sneaky things to
hide its origin or identity. The bad behavior project has been
trying to
Has anyone developed a really good defense against email injection attacks?
I'm waging a prolonged campaign against these luser hordes on a number
of non-profit sites I help maintain. I've tried to secure all of the
feedback forms using the function below that I cobbled together from
various php
I'm trying to make sure my email form cannot be used for spam or
injecting additional code and addresses in any way.
// CHECK FOR SPAM ATTEMPTS AND REMOVE THEM
snip
I had a similar problem with my contact form and went down a similar
path of trying to clean up the user-input with
On 2/21/06, cKc Consultants [EMAIL PROTECTED] wrote:
An email form that uses a simple server side php code to send the variable
values managed to send:
snip
Try looking for articles on 'email injection'. This is a really good
place to start for a description of the security risk and ways to
From the archives:
The number of free PHP web hosts is growing . More and more are
offering MySQL options too! Each category below is in alphabetic order.
Some don't require banners :
http://www.1st-home.net/ (requires affiliate signups)
http://www.mycgiserver.com/
23 matches
Mail list logo