No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello all I have installed fantastico deluxe but when I try to install any script it gave me error You do not have access to that database (wrdp1)! can any body help me out on this please |
|
Hello I need to install magento on my server and for this it requires pdo_mysql I am trying to install pdo_mysql via whm option "Easy Apache" I tick the pdo_mysql option but after apache rebuilding process the phpinfo not showing pdo_mysql Do I need to enable it some where I … |
|
I am using the following code for playlist in jwplayer as shown in this page http://www.longtailvideo.com/blog/20697/jw-player-57-all-about-html5-playlists <div id="html5playlist"></div> <script type="text/javascript"> jwplayer("html5playlist").setup({ modes: [ { type: "html5" }, { type: "flash", src: "http://player.longtailvideo.com/player.swf" } ], playlist: [ { levels: [ { file: "http://content.bitsontherun.com/videos/bkaovAYt-364766.mp4" }, { file: "http://content.bitsontherun.com/videos/bkaovAYt-1287469.webm" } ], image: "http://content.bitsontherun.com/thumbs/bkaovAYt-480.jpg", … |
|
In my country youtube is blocked. my website is based on embedding youtube videos through a custom player (jwplayer), so id like to have a php proxy for embedded videos to unlock those for my contry users i dont have a clue how to solve this issue and hope to … |
|
I have a problem that I'm sure is a piece of cake for you guys to work out. I have a small index.php script here which creates a php file (with text appended from the index.php script) each time the page is visited. The problem is that I can only … |
|
Hello I have a php script that resides in a single folder I want to run the same script in each folder wihout manually uploading the php file in each file for example I have mysite.com/folder/script.php and folder has different subfolders so I want to create a php file that … |
|
Hello, The following script writes to a file include.php <?php $path = "./files/"; $path2="http://".$_SERVER['SERVER_NAME'].dirname($_SERVER["PHP_SELF"])."/files/"; //echo $path2; $folder = opendir($path); $start=""; $Fnm = "./include.php"; $inF = fopen($Fnm,"w"); fwrite($inF,$start."\n"); while( $file = readdir($folder) ) { if (($file != '.')&&($file != '..')&&($file != 'index.htm')) { $result="{\nlevels: [\n{ file: \"$path2$file\" }\n],\n\ntitle: \"$file\"\n},\n"; fwrite($inF,$result); } … |
|
I am using the following form to take input and then set an action <form action="" method="post"> <select name="page_option"> <option value="go1">Go 1</option> <option value="go2">Go 2</option> </select> <input type="submit" value="Change home.php" /> </form> Instead of this I want to have two buttons side by side,one button has text GO1 while other … |
|
Hello I want to have 4 files index.php go1.php go2.php admin.php in admin.php I want a switch command to switch between go1.php and go2.php for example in admin.php there must be two buttons go1 and go2 when I click on go1 index.php will behave as go1.php and when I click … |
|
The following code generates a new php file playlist.php which contains the code as in $start $result variable $path = "./files/"; $path2="http://".$_SERVER['SERVER_NAME'].dirname($_SERVER["PHP_SELF"])."/files/"; //echo $path2; $folder = opendir($path); $start="<asx version='3.0'>\n<title>Example ASX playlist</title>"; $Fnm = "./playlist.php"; $inF = fopen($Fnm,"w"); fwrite($inF,$start."\n"); while( $file = readdir($folder) ) { if (($file != '.')&&($file != '..')&&($file … |
|
I am trying to use bad words filter but I want to load the bad words from a txt file on my server but some how failed to do so.here is my bad words filter code function badWordFilter(&$text, $replace) { $patterns = array( '/butt/i', '/poop/i', '/crap/i' ); $replaces = array( … |