39,323 Topics

Member Avatar for
Member Avatar for shankmuchlove

I m trying to integrate java in php. I use xampp 1.6.8, with php version 5.2.6. I m trying to call java classes and methods from php. I had set php.ini as extension=php_java.dll [java] java.class.path="\xampp\php\extensions\php_java.jar" java.library="\xampp\jdk1.5.0_10\jre\bin\jvm.dll" java.library.path="\xampp\php\extensions\php_java.dll" java.home="\xampp\jdk1.5.0_10" I get the error as Fatal error: java() [<a href='function.java'>function.java</a>]: Unable to …

0
62
Member Avatar for praveen_dusari

hi all, i am using codeigniter for a shopping cart for my admin panel i created a first method mentioned [URL="http://philsturgeon.co.uk/news/2009/07/Create-an-Admin-panel-with-CodeIgniter"]here [/URL] for this iam getting error failed to open stream 'D:\wamp\www\codeigniter\admin/system/codeigniter/CodeIgniter.php’ i need to add ../ in this line [code=php]require_once BASEPATH.'codeigniter/CodeIgniter'.EXT;[/code] how to do this i am getting error …

Member Avatar for Banderson
0
104
Member Avatar for tulipputih

Hello, anybody can suggest me on how to do exact match in php ( for search purpose). From my reading I understand that we need to use " ". What is the correct syntax for this? Is preg-match important here. Thank you.

Member Avatar for praghna
0
88
Member Avatar for cali_dotcom

i'm parsing a csv file with ajax and php, although i think i did everything right, nothing happens when i click on the link. here is the code: [code] here is the html: <div id="brandContainer"> <ul id="brandNav"> <li class="categorypage" id="face"><a href="javascript:showCD('a','brandPage')">A</a></li> </ul> <div id="brandPage"></div> </div> here is the ajax/javascript: var …

Member Avatar for Banderson
0
178
Member Avatar for xuexue

hi guys, i want to include the icon of the type of file am uploading, is that possible????

Member Avatar for diafol
0
101
Member Avatar for garry_u

Hi, I need a social network site built using PHPFox. I want all the components , video, pic, chat, forum, blog etc setup. Required skills: * Software engineering education * Social networking API experience * SMTP/POP programming experience * Web services * LAMP or .NET (you convince me which) * …

Member Avatar for NatashaA
0
482
Member Avatar for xuexue

the question is that, what if i have a separate folder wherein the files i wanted to replace the name is located? example, the uploads folder contain all the uploaded file, now the user can edit the file's information, let's say the filename, how about that?

Member Avatar for diafol
0
76
Member Avatar for ChintuChowdary

Hi To All.. How to create cms(Content Management Site) without using database in php... Thanks In Advance...

Member Avatar for diafol
0
66
Member Avatar for xuexue

i could get the size of the file i uploaded, however, i want to convert it to MB, i dont want to make some computations, is there any easy way to do that????

Member Avatar for xuexue
0
78
Member Avatar for tones1986

I have created a drop down list from a SQL query as follows: [code=php] <?php echo '<form action ="boat_info.php" method="POST">'; $query = "select SHIP_NAME from SHIP"; $result = mysql_query($query, $link); if (mysql_num_rows($result)) { echo "<select name='boat' value='bname'>Ship Name: </option>"; while ($row = mysql_fetch_row($result)) { print("<option value=\"$row[0]\" name =\"bname[]\">$row[0]</option>"); } } …

Member Avatar for cybersat
0
977
Member Avatar for borntowin_786

//php file [code=php]$strSheetName = 'test'; $objXLApp = new COM( "excel.application" ) or die( "unable to start MSExcel" ); $objXLApp->Workbooks->Open( "path/test.xls" ); $objXLSheet = $objXLApp->ActiveWorkBook->WorkSheets( $strSheetName ); $i=3; do { $strCellName = 'B'.$i; $objXLCell = $objXLSheet->Range( $strCellName); $i++; echo $objXLCell->Value()."<br>"; }while($objXLCell->Value()); echo $i; //print $objXLCell->Value(); //objXLsheet.Range("A1:A100") //print "Cell $strCellName in $strSheetName: …

Member Avatar for borntowin_786
0
139
Member Avatar for k2k

i just downloaded a login script and the code below is the php backend for the login. It is originally using md5 encryption and decryption for the password. For some reason I want to manage the password without encryption for now. my database has a member with login name and …

Member Avatar for k2k
0
119
Member Avatar for xuexue

hi guys! this is my problem, let's say the user wants to edit the file's information, not the file itself. example, i have Document1.doc, that is my file, what i want is that the user could edit the information, let's say the time it was uploaded, the filename and not …

Member Avatar for xuexue
0
1K
Member Avatar for CFROG

I'm working on a script that handles a member sign up. Upon submission of new member info the script queries the users table to check for duplicate user name (in this case an email) and return an error if duplicate is found. If not I want it to just submit …

Member Avatar for humbug
0
137
Member Avatar for xuexue

hi guys, i already have a working upload.php, now the problem is that the file cannot accept pdf files? but other than that, it works very well, what do you think should i do with this? [code] echo"<form enctype='multipart/form-data' action='fileRecs.php' method='POST'>"; echo "<input type='hidden' name='MAX_FILE_SIZE' value =1000000/>"; echo "Choose a …

Member Avatar for xuexue
0
76
Member Avatar for cali_dotcom

hi, im not such a php expert and i want to parse a csv file located at [URL="http://www.totalbeauty.com/resource/lists"]http://www.totalbeauty.com/resource/lists[/URL]. does anyone know how i can do this, what to watch out for, the best way to do this and just general tips for parsing files. thanks..

Member Avatar for almostbob
0
128
Member Avatar for veledrom

Hi, This is actual link [inlinecode]http://www.xyz.com/list.php?id=1[/inlinecode] How can i show it like this [inlinecode]http://www.xyz.com/?id=1[/inlinecode] in the address bar? Thanks

Member Avatar for diafol
0
59
Member Avatar for codemaker

I find it hard to explain so I'm going to write down my code test.php [code=php]<?php if ($_GET['value']=="1") { $x='It is working fine'; exit(); } ?> <html lang="en"> <head> <script type="text/javascript" src="ajax.js"></script> </head> <body> <form method="post" action=""> <select name="s" onchange="makerequest('test.php?value='+ this.value)"> <option value="">Select One</option> <option value="1">One</option> </select><br/> <input type="text" id="res" …

Member Avatar for diafol
0
244
Member Avatar for kbjustin

Basically I have created a site where someone can view a table which contains information about various servers. They can also create a report from this table selecting the fields they want to see in their report. Each field can be selected through a checkbox and there are 16 different …

Member Avatar for kbjustin
0
79
Member Avatar for vikter

Hi, Kindly assist me on how to come up with a php script that can send sms via a cell-phone connected to my computer using AT&T commands

Member Avatar for Salem
0
127
Member Avatar for jameswoodhouse

Hi there, basically i'm trying to write a php script that allows me to retrieve the tour dates for my band from a MySQL table. I want the gigs.php page to show every upcoming gig that there is. On gigs.php i want a link to gigarchive.php which features all passed …

Member Avatar for diafol
0
145
Member Avatar for hitman123

I have created a search box which potentially works. But I wish to insert the results in to the text box rather than having them on the page. I've been working on this for literally 3 days but getting no where, please help. I have a text box and a …

0
48
Member Avatar for xuexue

i want to access the information of my uploaded file in php, let's say that i have Document1.doc, i want to edit its information, let's say the time it was uploaded, its filename and like that, not necessarily the file itself. thanks in advance...

Member Avatar for diafol
0
95
Member Avatar for thatko

Hi everybody, I tried to login [URL="http://muare.vn/Dangnhap.aspx?returnUrl=/forum/default.aspx?group=2"]this site [/URL] by cURL. But i keep getting this error: [QUOTE]Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed …

Member Avatar for diafol
0
417
Member Avatar for whiteyoh

Hi All, Im trying to find a method to allow files to be: 1. Uploaded and stored in a mysql database 2. List them, with "change" and "delete" options 3. Allow them to be downloaded, or even just viewed I have tried using blobs, but to no avail. I have …

Member Avatar for diafol
0
97
Member Avatar for gmchun83

I just want to dispay all row from mysql table but got error as following: Note:I am using hostgator and try to display 40,000 query. [CODE]Warning: mysql_query() [function.mysql-query]: Unable to save result set in /home/firstint/buygadget/sitemapg.php on line 11 Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in …

Member Avatar for Menster
0
101
Member Avatar for xuexue

hi guys, i have my upload.php, now the problem is that it does not download pdf files, it says that there is a problem with regards to the uploading. can you help me??? thanks in advance...

Member Avatar for xuexue
0
1K
Member Avatar for elamigosam

Hi I was wondering if there is a way to make a tutorials website with php, like html tutorial, show code in the site. then... have a database with the tutorials then pull the title in a tutorials.php site then to be able to add html code and php code …

Member Avatar for diafol
0
104
Member Avatar for srimks

Does anyone has "Leave Application Format" where leave is categorised into SICK & EARN LEAVE, here one needs to enter information into mysql throught PHP and retrive it. I have few queries, how do I take care of following - (1) If any public holidays comes between SL or EL …

Member Avatar for guru12
0
80
Member Avatar for gagan22

Hi all, I am working on an application. In this application i am using one form and in this form i am using security_code is neccessary to fill and that code should be correct. But problem is that when i am running this submit form on localhost or on my …

Member Avatar for gagan22
0
133

The End.