Log in

Administrator

  • All Jobs
  • Cunoscator mysql/php pentru modificare script php

Cunoscator mysql/php pentru modificare script php

Expiry Date:
Budget: RON50 per contract per contract

Rog cotatii urgent. Mai am un script similar de modificat pe care-l voi atribui castigatorului licitatiei.

Am urmatorul script php:

<!--?php </span -->
//
// sql2rss.php RSS feed generation from SQL Sample Configuration


$useOutputCaching = 0;


// The variable $outputCacheTTL controls how many seconds a cached copy of
// resulting RSS feed can be used before it must be recreated.
// $outputCacheTTL = 60; //cache files for 1 minute
$outputCacheTTL = 3600; //cache files for 1 hour
// $outputCacheTTL = 86400; //cache files for 1 day


// $ChannelTemplate is the XML file that contains the outer, , items
// for the produced feed. This MUST be a valid RSS 2.0 feed without any
// 's. It must also specify "UTF-8" encoding, since all the produced
// items will be in UTF-8.
$ChannelTemplate = 'sql2rss_ChannelTemplate.xml';

//
// $ItemTemplate is the ITEM file that contains the the template for .
// This MUST be a valid RSS 2.0 feed . It must also specify "UTF-8"
// encoding, since all the produced items will be in UTF-8.
$ItemTemplate = 'sql2rss_ItemTemplate.xml';

//
// $SQLQuery is a valid database query for your database
$SQLQuery = 'SELECT * FROM shorturl WHERE shortUrl NOT LIKE "%cuvant%" and status="active" ORDER BY expiryDate DESC LIMIT 125';

//
// $configFile is the configuration file with the database username and
// password
$DBconfigFile = 'sql2rss_DBconfig.inc.php';


// $debugLevel controls the amount of debugging information that is shown, if any.
// 0 = NONE (default)
// 1 = MySQL errors
// 2 =
// 3 = Informaiton for every step
//
$debugLevel = 0;

//
// Since we are calling sql2rss.php from here, we don't want
// to include a separate config file.
$ConfigFilename = 'DO_NOT_INCLUDE_CONFIG';
if (!isset($_REQUEST['buildConfig'])) {
@include_once('sql2rss.php');
}

?>

 

Ma intereseaza sa-i parsez din URL un parametru (cuvant), pe care sa-l foloseasca in interogare. Exemplu :

?CONFIGFILE=sql2rss_query.php?cuvant={KEYWORD}

Extra Dwoloads:
Currently, quotes are closed as wijob has past its expiry date. Quotes will be allowed when wijob is renewed
Posted: 1297 days ago
Lowest wiquote: RON25 per the contractHighest wiquote: RON25 per the contract
Your wiquote