Posts
 
Reputation
Joined
Last Seen
Ranked #621
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
88% Quality Score
Upvotes Received
16
Posts with Upvotes
14
Upvoting Members
15
Downvotes Received
3
Posts with Downvotes
2
Downvoting Members
3
7 Commented Posts
~131.12K People Reached
Interests
Programming
PC Specs
Desktop 2 GHz Intel Core 2 Duo, 4GB RAM, 500GB HDD, Snow Leopard 10.6.4
Favorite Tags

146 Posted Topics

Member Avatar for moderate_rock48
Member Avatar for martin5211

FPDF is a class that provides a useful way to deal with PDF documents using dynamic content. Sometimes, according to a special circumstance, also would be valuable to send directly the PDF as attachment e.g. send an invoice automatically after processing a payment. In this example we use a html …

Member Avatar for Dani
0
22K
Member Avatar for needs_help

[IMG]http://www.visibone.com/php/phpskinnysheetback.gif[/IMG] A PHP cheat sheet

Member Avatar for Ciara_1
0
883
Member Avatar for mutago
Member Avatar for kroken

Use [ICODE]String message = request.getParameter("message");[/ICODE] on the servlet to extract each input field value, the following snippet will do the rest: [CODE] import java.io.IOException; import java.util.Properties; import javax.servlet.*; import javax.servlet.http.*; import javax.mail.*; import javax.mail.internet.*; public class ContactServlet extends HttpServlet { public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException{ String …

Member Avatar for harpreetfervaha
0
2K
Member Avatar for woocha

Maybe you could start renting a dedicated server with [URL="http://www.centos.org/"]centos[/URL], [URL="http://www.cpanel.net/index.html"]cpanel[/URL] and webhost manager, and a billing script.

Member Avatar for Shashikant_1
0
386
Member Avatar for crasher

"Computer-based diagnosis of hearth diseases using x-ray imaging techniques and neural networks" sounds cool for me

Member Avatar for Amiet_1
-1
2K
Member Avatar for lisy

In editData.jsp the textboxes appears before calling request.getParameter() for each variable. For that reason every textbox is empty. Try to move the block of get parameters above, next to variable declarations.

Member Avatar for stultuske
0
3K
Member Avatar for Devendra1

[QUOTE]java.lang.Exception: Port 8083 already in use.[/QUOTE] Seems to be that maybe there is another instance running on the server.

Member Avatar for afterU
0
4K
Member Avatar for wavyaquaeyes

If the page only shows the code that's because the PHP interpreter isn't running. Look at your [COLOR="Green"]httpd.conf[/COLOR] (Apache configuration file) and look if the line that says 'LoadModule php5_module' isn't commented with [COLOR="Red"]#[/COLOR] sign. Also, look for 'Listen' should say 'Listen 80' so you can put simply [url]http://localhost/[/url] on …

Member Avatar for dineshnbhatia
1
20K
Member Avatar for webguru07
Member Avatar for Vonzarovitzch
0
3K
Member Avatar for whiteyoh

It seems to be a permission issue with profile folder. Grant access to everyone on these folders temporarily.

Member Avatar for martin5211
0
118
Member Avatar for krip_101

Appears to be something related with encoding... There is missing two parenthesis at the end. Some array exceeded the length. I did correct indentation with Eclipse, looks better now.

Member Avatar for krip_101
-2
197
Member Avatar for kroken

If the method sessionDestroyed() is declared static it's possible to access it from the logout method using [ICODE]SessionCounter.sessionDestroyed()[/ICODE].

Member Avatar for martin5211
0
190
Member Avatar for usiyalla
Member Avatar for coding101

There is a class named Apache Commons Lang that provides a method to check is String: [URL="http://commons.apache.org/lang/api-2.5/org/apache/commons/lang/StringUtils.html#isAlpha(java.lang.String)"]API documentation[/URL] [URL="http://commons.apache.org/lang/download_lang.cgi"]Download[/URL]

Member Avatar for Dhruv Gairola
0
187
Member Avatar for fahadyousaf

Create a JAR file, it is executable in almost all brand new computers with Java Runtime Environment installed.

Member Avatar for apines
0
104
Member Avatar for blknmld69

I found some errors in your code: [CODE] import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; /** The Main class creates the GUI for the Dorm and Meal charges. */ public class Main extends JFrame { private JPanel dormPanel; private …

Member Avatar for jon.kiparsky
0
907
Member Avatar for darkhat
Member Avatar for StaticX

It's viable to use several panels (could be three) and use e.g. setLocation(130,10) to change the position of the panels. Setting a different background with setBackground(Color.white) and setSize(width,height) could help too in the positioning.

Member Avatar for hanvyj
0
147
Member Avatar for Javarat

Remove the static modifiers in your Book class. Also you need to pass a new Book object on each iteration, e.g. [ICODE]mybooks.add(new Book(a_title, a_author,a_publisher, a_isbn));[/ICODE] if you have a constructor to initialize these variables.

Member Avatar for martin5211
0
272
Member Avatar for neo_31591
Member Avatar for fregley

Have you tried to do drag&drop these files into src/ of the Project Explorer (Eclipse) and then select "copy"?

Member Avatar for fregley
0
240
Member Avatar for J.Killa

Use length() with strings. The library [URL="http://commons.apache.org/lang/download_lang.cgi"]Apache Commons Lang[/URL] provides isNumeric() to check strings. I'll give you an example, don't forget to download and add this external jar into your project: [CODE] import org.apache.commons.lang.StringUtils; public class StringTest { public static void main(String[] args) { String s = "12345"; System.out.println(s.length()); if(StringUtils.isNumeric(s)) …

Member Avatar for J.Killa
0
251
Member Avatar for nikita.chandra

Have you tried OpenCMS at [URL="http://www.opencms.org/"]http://www.opencms.org/[/URL]? It's truly open source.

Member Avatar for fishsmith
0
223
Member Avatar for basilix

Add a hidden field and modify the value from Javascript. Then you can extract the values using request.getParameter()

Member Avatar for basilix
0
273
Member Avatar for rohan_tahil

Your external IP is not accessible from intranet, it is a common issue. If you did the right steps, try to access to your wan address from an outside location.

Member Avatar for martin5211
0
121
Member Avatar for Roebuc

To generate a PDF into PHP, there are two techniques: PDFLib or FPDF. PDFLib has some restrictions on licencing (commercial applications), I encourage to use FPDF because is free and Open Source, although PDFLib is rough and more complete (use your criterion). At [URL="http://fpdf.org"]http://fpdf.org[/URL] there are a place to download …

Member Avatar for Nandkishore354
0
1K
Member Avatar for martin5211

Hello everybody, I worked long hours this evening trying to unthread the whole thing and still not working... I don't know why. The page display the results using normal code in JSP (no jstl tags). When using jstl tags the page results in blank screen, no posts. Here is the …

Member Avatar for martin5211
0
2K
Member Avatar for Dean_Grobler
Member Avatar for martin5211
0
98
Member Avatar for sugumarclick

This is an simple approach to dispatch a value to index.jsp index.html: [CODE] <html> <body> <h1 align="center">Select Person</h1> <form method="POST" action="Person.do"> <select name="person" size="1"> <option value="[email protected]">Fred</option> </select> <br><br> <center><input type="Submit"></center> </form> </body></html> [/CODE] result.jsp: [CODE] <p> <% // request email from servlet String email = (String)request.getAttribute("email"); // print email out.println("<br>"+email); …

Member Avatar for Stefano Mtangoo
0
3K
Member Avatar for letheredge

You could use a non-enterprise JavaBean, then use <jsp:setProperty> and <jsp:getProperty>

Member Avatar for martin5211
0
83
Member Avatar for supra

For Java Swing projects I suggest to use SQLite. Mysql for web. Everything you need is the MySQL Connector/J to start.

Member Avatar for martin5211
0
175
Member Avatar for mmitchell73

Try $_GET instead of $_POST to get parameters every time you use URL method. Also, try to remove the single quotes on the SQL query. Use it on the array index. [code=php] $sql= sprintf("INSERT INTO pre_vent (center, custID, yStart, yAcquired, yOther, comments) VALUES ('%s','%s', ... )", mysql_real_escape_string($_GET['center']), mysql_real_escape_string($_GET['custID']), ... ); …

Member Avatar for ram007
0
1K
Member Avatar for jjemphoung

Would be nice to know what type of error appears on your friend's computer. Since ISP DNS is not involved, the problem seems more like wrong ip address.

Member Avatar for jjemphoung
0
190
Member Avatar for seularts

The issue seems to be located on RecursiveDirectoryIterator or ZipArchive classes. An alternative solution would be to use [COLOR="Green"]exec("zip -r ...")[/COLOR]

Member Avatar for seularts
0
126
Member Avatar for lwaterfo

This code segment seems to be fine. This error doesn't show the line number? Try to find the last things you've worked, the syntax error is there.

Member Avatar for almostbob
0
2K
Member Avatar for ppetree

$value is an array or a simple variable like 'text'? If that's variable, the resultant code should be: [CODE] for($i=0; $i<$cntFields; $i++) { $a = $structure[$i]; $b = $structure[$i]; echo "Field = $a / Value = $b<br>\n"; // at this point I need the following: // $a should = "email" …

Member Avatar for cwarn23
0
119
Member Avatar for nertos

With player.getPlayerState() will return 0 is end. The complete Youtube API is located in this page: [URL="http://code.google.com/apis/youtube/js_api_reference.html#Playback_status"]http://code.google.com/apis/youtube/js_api_reference.html#Playback_status[/URL]

Member Avatar for martin5211
0
123
Member Avatar for design.eng
Re: ID's

Every user session generates environment variables on the server (ip address, browser type, etc). With these variables $_SESSION and $_SERVER you can distinguish between each user.

Member Avatar for metalix
0
117
Member Avatar for Venom Rush

Is this what you're looking? [CODE=sql]SELECT * FROM `teams_types` JOIN `teams` ON teams_types.team = teams.id JOIN `product_types` ON teams_types.product_type = product_types.id[/CODE]

Member Avatar for Venom Rush
0
120
Member Avatar for mpc123

The code segment seems correct. Are you tried with empty() instead of is_null()?

Member Avatar for mpc123
0
112
Member Avatar for ajithperuva

The result will be displayed into an array: [code=php]preg_match_all("/([\s]*)([_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*([ ]+|)@([ ]+|)([a-zA-Z0-9-]+\.)+([a-zA-Z]{2,}))([\s]*)/i", $syntax, $matches); echo "<pre>"; print_r($matches);[/code]

Member Avatar for martin5211
0
91
Member Avatar for Antgrant

If you have NTFS (Windows) partitions on that disk, all partitions will be displayed as read-only. Things you need, install NTFS-3G.

Member Avatar for martin5211
0
126
Member Avatar for NoID

Could you explain more what you're looking? To block a virtual host, it's possible to use $_SERVER['SERVER_NAME'] into a condition then header() to redirect to a blank page. But if you're looking to block a site in your computer, all you need is to edit the hosts file.

Member Avatar for martin5211
0
79
Member Avatar for pssubash

You need PEAR installed first to execute `pecl install` command. I suggest to follow this guide: [URL="http://php.net/manual/en/install.pecl.php"]http://php.net/manual/en/install.pecl.php[/URL] Also this guide can help too: [URL="http://freestylesystems.co.uk/blog/installng-pecl-uploadprogress-extension-drupal-filefield-module"]http://freestylesystems.co.uk/blog/installng-pecl-uploadprogress-extension-drupal-filefield-module[/URL]

Member Avatar for martin5211
0
108
Member Avatar for tressureme

This is a source code example to calculate that expression with any value, you can test it at [URL="http://agec.ath.cx/eq"]http://agec.ath.cx/eq[/URL], two functions to calculate each ± result, and one condition to put the two values (the real one and the imaginary) in the imaginary case (b < 4ac), tomorrow I'll inspect …

Member Avatar for Rashakil Fol
-4
829
Member Avatar for The Dude

ant, anti, establish, disestablish, men, arian, bliss, mental, base and we could add the word "mentat" from Dune too :-) [B]Sternocleidomastoid[/B]

Member Avatar for kaninelupus
-1
3K
Member Avatar for danielkull

I think Zend Framework wins using LiveDocx component: [URL="http://www.phplivedocx.org/downloads/"]http://www.phplivedocx.org/downloads/[/URL] Antiword would be an alternative, it's a UNIX app, can be executed from PHP using exec() [CODE] <?php exec('/usr/local/bin/antiword /opt/lampp/htdocs/example.doc', $output); ?> [/CODE]

Member Avatar for martin5211
0
128
Member Avatar for amy.damnit

That's weird, the question is from which address was downloaded the PHP Developer Tools. There is a version from Zend based on the latest Eclipse 3.4 that could work. Try this: [URL="http://www.zend.com/en/community/pdt"]http://www.zend.com/en/community/pdt[/URL]

Member Avatar for shanimal
0
108

The End.