According to my research on the subject.
I think the PHP interpreter takes source and convert to CGI and C.
What do you think about this?
Thanks
User Profile
Collapse
-
How does PHP interpreter work?
Hello,
I decided to ask this question here on bytes.com after I googled and retrieved nothing from the different search queries I did.
To make my question more clear I'd like to mention here my own understanding of how C compiler works.
C compiler takes a source file (hello.c e.g) and translate/convert it to assembler after making the links and at the end it makes object file which can be executed by the machine.... -
I solved it, but with a bizarre solution :)
I just have to recall the constructor of DataPlayer, even after doing this in the constructor of UI class.
Example: (see line 10, 18 and 32)
Code:public class PlayerPanel extends JPanel { private ArrayList<Player> pList; private DataPlayer dp; private Player p; private int identifier = 1;
Leave a comment:
-
Yes
Ofcourse I close it after every SQL statement in the finally block.
You mean con= null and then con.close() ?
I don't have to do that for other methodes which
Thanks....Leave a comment:
-
-
con = (org.apache.der by.impl.jdbc.Em bedConnection40 ) #2003
Kr,...Leave a comment:
-
It is really bizarre, because when I debug, and get into these lines:
Code:con = db.getConnection(); stmt = con.createStatement(); ResultSet rs = stmt.executeQuery(sql);
And here:
stmt = con.createState ment(); ==> It throws exception wich...Leave a comment:
-
Hi, thanks.
Yes I am able to run the hole application to manage players, teams, matches, records, .. all things, all classes and all methodes except that one (selectPlayer) and all methodes to save data in all classes I use the same structure, and they all work perfect except that method in the class DataPlayer.
Kr,Leave a comment:
-
SQLException : No current connection? Why ?
Hi,
I have a database class I use to get and drop db connections:
Code:public class Database { protected static Connection c; //.... /// .. c = DriverManager.getConnection .... public Connection getConnection() { return c; } public void dropConnection() { try { c.close();
-
event or delegate?
Hi, what is the difference and where should I use event of delegate?
Thank u so much
Kr, -
-
which solution u advising me to use for login system
hi, i don't know if there is a design pattern for this, but this is the case:
my java application to manage players, coaches, teams and matches.
only one administrator is allowed to add, change of delete players, teams ..
and only users with high permission are allowed to add matches or delete them from the database.
i was thinking about this solution:
add a new table to my DB: tblusers... -
true
true
a mathod to produce a barcode (some graphics you can print out for the player).
thank u
kr,
e...Leave a comment:
-
Thank you, that is what I also do, the string or bytes I get as return value when I read a barcode with barcode reader, I use it as unique id.
I am now looking for a good working solution on how to generate a barcode which gives you the code (bytes for example) you have in the table as unique id....Leave a comment:
-
Thanks but i am sorry to say I don't understand your response.
I asked what should I do to generate a barcode on basis of an array of chars?
All I know is when I take the barcode reader and scan a barcode, the output is like this in (player_id)
Kr,
F....Leave a comment:
-
Generate barcode from a string in java
Hello
I have a table of players, each player in the team should have unique barcode:
The barcode scanner returns an array of chars.
The next player_id = char++, example:
aaa
aab
aac
...
aba
aca
..
baa
Or muybe another solution?
Kr,... -
C# with Java: where to pay attention?
Hi all,
I have basic knowledge of Java, and now I started to learn C#, but I'de like to ask about the main differences and where I should pay more attention to prevent confusion between those 2 OOP languages.
Example
Code:String str = "eryesnobuytrer"; Console.WriteLine(str.Length); String str = "eryesnobuytrer"; System.out.println(str.length());
No activity results to display
Show More
Leave a comment: