39,323 Topics
| |
[code=php] exec('java -version', $javaver); print_r($javaver); echo "<br />"; exec('java -jar start.jar', $output); print_r($output); echo "<br />"; exec('java -jar post.jar /home/content/j/a/n/jandtesting/html/solr/example/exampledocs/solr.xml /home/content/j/a/n/jandtesting/html/solr/example/exampledocs/monitor.xml', $output2); print_r($output2); [/code] I've never attempted anything with java before. I'm trying to get started on the solr tutorial -- a java based search engine based on Lucene. I … | |
am a final yr student n am required to come up wit a project.......ive run out of ideas n if someone out there can help me with the topic that can carry me through all be very greatful.....i jas need topics that i can chose from......thnks guys...... | |
i must be able to extract the results of this query and use it as another value for "Parent" in the succeeding "THE SAME QUERY". Right here, the value of parent in WHERE clause is "1". Now, I want to create the same query but the value of the parent … | |
Hey all, i have been using php for past one month only and now im using javascripts with php too... but my javascript functions have grown out of proportion ... I want to make a SEPARATE file for JAVASCRIPT just like we do it for EXTERNAL CSS... how can i … | |
hello, i want to display names of upcoming birthdays whose between "today" to "end of every month". how to do this | |
Hi all, I have seen code of the form: [code=php] if(file_exists("foo.php") include("foo.php"); else include("blah.php"); [/code] As far as I know, this is perfectly legal in php. What I was wondering was is it possible to do the following in in-line code in PHP? [code=php] if(file_exists("foo.php") // contains a specialised version … | |
I am currently working on an MLM System which supports Unilevel with Dynamic Compression. So far, though the below code looks really messy, it was able to get what I want which is to get the Unilevel 8 Levels Deep. The system should run this way: 1 is sponsor of … | |
Hi DaniWeb users. I am creating a mp3 shop cart script, and I need a function to create a unique id of multiple items in the cart. for example in cart are these id's: [U]1,6,21,5[/U] base64 would make this: [U]MSw2LDIxLDU= [/U] I need it only alphanumeric as it is ment … | |
Hi dear friends, a few days before I did a work in simple html and css. As the same service is going to add some database operations they have asked me to re do the same with php. Is it possible to add the new pages alone in php. Or … | |
I have two HTML pages, each has a form. The user is supposed to fill out the input fields in one, then click a submit button that will send him to the next page, where he would fill out the rest of the fields of his questionaire, click a submit … | |
i need all the 24 timezones and i have to display them all. how do i display the date and time in all 24 timezones? im using time() to put the time into the mysql database now i need to use date() to display the date and time in all … | |
ok i can post the script if you guys want its kinda on the large side mostly i just need to bounce some ideas off you i made a event calendar and now i am making a script to email users of the current months events i have this working … | |
I'm not really sure which forum this belongs in, but please bear with me as I try to explain what I am looking to do. I have a PHP web site designed to display status updates from several dozen computers around the world. Up until now an administrator updates a … | |
So here's the code: [code=php] function procRestSearch($searchQuery){ //Don't forget to have $searchquery defined before calling this function $intSearchCounter = 0; //Used to set the arrays $searchResult = mysql_query($searchQuery); while($searchRow = mysql_fetch_array($searchResult, MYSQL_ASSOC)){ //Change/Add/Delete the variables below to match what data needs to be returned $strRest = array($intSearchCounter => array('restID' => … | |
I have developed an RSS Feed in php. (can be found at [url]http://www.mofikiworldwide.com[/url] by clicking the rss icon in the top right) My reason for using php to develop the feed was so that I wouldn't have to manually update a feed in an xml file everytime I needed to … | |
i want to create list load from db countries and then full second list from db when condition true. code run in opera successfully but in IE Not run... I'm beginner and using Smarty Templates. first code country.tpl second show_country.php third country.js[code]<html> <head> <script type="text/javascript" src="css/country.js"></script> </head> <body> <table align="center"> … | |
Hi everyone, I am tasked to alter the front-end of the database and have been given the whole wad of PHP files and also an .SQL file. My question is, Why i cant see any changes to the database front-end when i change the .sql file. (I tried creating a … | |
Hi all, I want to do simple query to do the Join Here is illustartion of my query which gives error [CODE=SQL]"SELECT * FROM table1, INNER JOIN table2 ON table1.colx = table2.colx LIMIT 30"[/CODE] What goes wrong here? | |
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 … | |
Hi Im new to OO PHP, been reading through my book and in one example they are using a class structure in a shopping cart. I have used session variables in the past for shopping carts, can I assume that if I create a class, which has a cart_contents array … | |
i want to style highlight_string() how can i style it? | |
hi all, i want expandable veritical menu . when click on header it will another page with expandable state is same as previous one. any one having this script help me....... | |
hi guys, need your help on this..any ideas is greatly appreciated..i got this form mailer from this site: [url]http://www.dtheatre.com/scripts/sour...e/formmail.txt[/url] but how to configure in php the form mailer that if in my form got two options (like the code below) that if the user choose this particular option then it … | |
hello everyone.. i would to ask about my simple code here.. it's not working.. i actually want to display a forum badge which is data are received from the database. And i stucked at putting the avatar to a portion of the badge..i mean it looks like facebook profile badge... … | |
I need help to make a Text based mafia game. I cant code :L But im willing to try and learn. The game i am thinking of should be something like Gangster Bliss or Gangster Paradise :) Anybody willing to help me? :D | |
Hi, I got this for nfl pickem program and installed it on my website.I use yahoo web hosting. I have most apps working but the signup form is killing me. when user go to my webpage and try to signup, it just takes you to a blank page. here is … | |
hello, i want to build a internal mailing system in website. only registered users can send mails to each other. i have taken "compose mail","inbox","sent items","trash". i want to create database now. can you please tell me cloumn names for this | |
Hi all. First off this is my first interaction with jquery (and I hope this is the correct forum to put questions about this in, if not might a mod take the liberity of moving it to the correct forum?), so apologies if I'm overlooking an entire room made of … | |
I need a help with php i have a query it generate result that list of cars and i want is divide in to pages here im giving the table structure and the php file can help me on this [B]Table Structute[/B] [CODE] CREATE TABLE IF NOT EXISTS `cars` ( … | |
Hi dear all I want to take snapshot of webpage and then save it into a folder. please tell me the basics , i am new to it. |
The End.