Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Ann’s that is causing the page errors
Old 12-30-2008, 08:05 AM Ann’s that is causing the page errors
PWS
Novice Talker

Posts: 14
Name: R Pearson
Trades: 0
HI all

I have a little problem that I require a little help with and it’s to do with the following php // set up filtering.

I kind of grasp the concept of magic quotes but I am wondering how best I can include for example the term St Ann’s . I think it’s the single quote in Ann’s that is causing the page errors.

Just one other thing, I am just starting out using php so treat me like a 6 yr old when replying.

Thanks in anticipation to overcoming this problem for me at least.

PHP Code:
<?php
require_once 'C:\Downloads\xampp\htdocs\***\***\***\carp.php';
/*** Setup Code ***/
CarpConf('cache-method','mysql');
CarpConf('mysql-connect',1);
CarpConf('mysql-database','******');
CarpConf('mysql-username','*****');
CarpConf('mysql-password','*****');
/*** End Setup Code ***/
// Add any desired configuration settings before CarpCacheShow
// using "CarpConf" and other functions

/*CarpConf('cborder','link');*/
CarpConf('biurl','<h3><a rel="nofollow" href="');
CarpConf('aiurl','">');
CarpConf('ailink','</a></h4>');
/*CarpConf('bidesc','<i>');*/
CarpConf('bidesc','<p class="CarpConf">');
CarpConf('aidesc','</p><p class="CarpConf">');
CarpConf('maxidesc',447);
/*CarpConf('atruncidesc','...');*/

// set up filtering
CarpConf('filterin','google|yahoo|rankings|St Ann’s');

CarpConf('bi','</p><p>');
CarpConf('ai','</p><p>');
CarpConf('cborder','title');
CarpConf('linktarget',1);


CarpConf('bcb','</p><p class="CarpTitle">');
CarpConf('clinkstyle','font-weight: bold; text-decoration: none; color: #C33; font-size: 16px;');
/*CarpConf('poweredby','');*/
CarpConf('cacheinterval',120); // refresh the cache every 2 hours
CarpConf('cacheinterval',15); // wait 15 minutes after an error before trying again
CarpConf('bilink','</p><h4>');
/*CarpConf('ailink','</h4>');*/
CarpConf('maxitems',5);
CarpCacheShow('http://www.*******/***);
?>
PWS is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-30-2008, 08:17 AM Re: Ann’s that is causing the page errors
Novice Talker

Posts: 6
Trades: 0
CarpConf('filterin','google|yahoo|rankings|St Ann\'s');
NicholasD is offline
Reply With Quote
View Public Profile
 
Old 12-30-2008, 08:35 AM Re: Ann’s that is causing the page errors
PWS
Novice Talker

Posts: 14
Name: R Pearson
Trades: 0
Hi

Thanks for your help.

RESOLVED
PWS is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Ann’s that is causing the page errors
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.27213 seconds with 12 queries