No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
8 Posted Topics
check this out [CODE]<?php $subscr=$_REQUEST['subscr']; //url validation if (preg_match('|^http(s)?://[a-z0-9-]+(.[a-z0-9-]+)*(:[0-9]+)?(/.*)?$|i', $subscr)) { print "$subscr url OK."; } else { print "$subscr url not valid!"; } //echo("$subscr"); ?>[/CODE]
Hai i am building a site for validation of the RSS feeds and adding it in the database. When a user enters a rss web address i need to validate the address and if it contains a rss then i need to enter it into the site or else i …
Hai i am using the curl option to validate the site for the rss feed. my code is [CODE]<?php // create a new cURL resource $ch = curl_init(); $demo='http://chaitu09986025424.blog.co.in/feed/rss/'; // set URL and other appropriate options curl_setopt($ch, CURLOPT_URL, "http://validator.w3.org/feed/check.cgi?url=$demo"); curl_setopt($ch, CURLOPT_HEADER, false); // grab URL and pass it to the …
Hai I have some html files and i would like to display them in a random manner using the php. can any one help me out..I have been trying this one.. but it is not working.. [CODE]<?php $dir="./clock/"; $nimg="10"; $itype="html"; $rnumb=rand(1,$nimg); echo "<a href=".$dir."clock".$rnumb.".".$itype."></a>"; ?> [/CODE]
[CODE]<?php include("access.php"); mysql_select_db($dbname); $user="ym_chaitu"; //$e=mysql_query("select email from userlogin where username='$user'"); //$email=mysql_query($e,0); $query = mysql_query("SELECT username,password FROM userlogin WHERE username = '$user'") or die(mysql_error()); $data = mysql_result($query); echo $data; ?>[/CODE] this is my code,,when i am using it out, it is giving me an error Warning: Wrong parameter count for mysql_result() …
I am also facing the same issue. But could not able to find any absolute solution but i have found one thing if i use the vlc media player and windows media player then this problem occurs..
Hi Actually what u have done must work, But i cannot exactly tell what is that had happened in ur case. So try using the filezilla server on 2003 machine and using client upload the files on to the server.
For Hidden folder this is the trick Right Click under any drive and create a new folder. Now press F2 to rename the folder and type the following alt+0160 this would make you a folder with no name at all. Now right click and navigate to properties and to the …
The End.
ym_chaitu