39,323 Topics

Member Avatar for
Member Avatar for galaxygal

[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 …

Member Avatar for galaxygal
0
902
Member Avatar for mgee

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......

Member Avatar for Airshow
0
44
Member Avatar for codewalkz

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 …

Member Avatar for codewalkz
0
241
Member Avatar for abhax

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 …

Member Avatar for cwarn23
0
173
Member Avatar for muralibobby2015

hello, i want to display names of upcoming birthdays whose between "today" to "end of every month". how to do this

Member Avatar for venkat0904
-1
86
Member Avatar for darkagn

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 …

Member Avatar for darkagn
0
221
Member Avatar for codewalkz

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 …

0
210
Member Avatar for smartness

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 …

Member Avatar for kireol
0
82
Member Avatar for davidm23

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 …

Member Avatar for davidm23
0
179
Member Avatar for levsha

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 …

Member Avatar for levsha
0
122
Member Avatar for SKANK!!!!!

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 …

Member Avatar for ShawnCplus
0
47
Member Avatar for HITMANOF44th

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 …

Member Avatar for HITMANOF44th
0
85
Member Avatar for jimmiller96

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 …

Member Avatar for kireol
0
167
Member Avatar for loligator

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' => …

Member Avatar for nav33n
0
155
Member Avatar for brandonmofiki

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 …

Member Avatar for Atli
0
232
Member Avatar for mhran419

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"> …

0
51
Member Avatar for bigjoke

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 …

Member Avatar for pritaeas
0
135
Member Avatar for Stefano Mtangoo

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?

Member Avatar for Stefano Mtangoo
0
123
Member Avatar for ym_chaitu

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 …

Member Avatar for cwarn23
0
152
Member Avatar for lifeworks

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 …

Member Avatar for lifeworks
0
85
Member Avatar for SKANK!!!!!
Member Avatar for rajabhaskar525

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.......

Member Avatar for chrishea
0
87
Member Avatar for cguan_77

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 …

Member Avatar for cguan_77
1
170
Member Avatar for lili.edryana

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... …

Member Avatar for Atli
0
186
Member Avatar for NeeedYourHelppp

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

Member Avatar for brandonmofiki
0
122
Member Avatar for dalypen

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 …

Member Avatar for Stefano Mtangoo
0
349
Member Avatar for muralibobby2015

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

Member Avatar for czilika
0
74
Member Avatar for twomers

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 …

Member Avatar for twomers
1
203
Member Avatar for ruwanaru

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` ( …

Member Avatar for ruwanaru
0
140
Member Avatar for ayesha789

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.

Member Avatar for Devoted Hosting
0
76

The End.