Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

creating a hidden dependency on PHP in Java.

Name: Anonymous 2009-06-04 3:06

Is there a way to create a hidden(to browser) dependency on PHP in Java.

I was thinking something with encrypted key generation. Like a Password that is used to generate a hash on a time stamp that PHP could also do so they can have the same key every 10 seconds or so.

or is there something else super easy.

Name: Anonymous 2009-06-04 3:08

You mean like shitting and pissing at the same time?
It's harder than it sounds you know.

Name: Anonymous 2009-06-04 3:18

asdf's

Name: Anonymous 2009-06-04 3:27

This thread has been closed and replaced with the following thread:

Subject: Compiling Java code with a PHP compiler
Name:
Email:

It doesn't work.

Name: Anonymous 2009-06-04 8:48

>>4
System.out.print("DONGS"); is valid PHP.

Name: Anonymous 2009-06-04 9:15

>>5
System.out.print("DONGS"); is valid C.


#include <stdio.h>
#include <stdarg.h>
struct stream {
  int (*print)(const char *format,...);
};
struct {
  struct stream out;
} System;
void System_init() {
  System.out.print = printf;
}
int main() {
  System_init();

  System.out.print("DONGS");

  return 0;
}

Name: Anonymous 2009-06-04 9:21

>>6
$ cat >dongs.c
System.out.println("DONGS");

$ gcc dongs.c
dongs.c:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘.’ token


On the other hand:

$ php -r 'System.out.print("DONGS");'
DONGS

Name: Anonymous 2009-06-04 9:23

>>7
whats your'e point?

Name: Anonymous 2009-06-04 9:38

>>8
That >>4 is wrong and >>6 is misleading.

Name: Anonymous 2009-06-04 10:08

>>9
you can write Java in any language

Name: Anonymous 2009-06-04 10:11

>>10
is it because its TOTTALLY AWESOME

Name: Anonymous 2009-06-04 10:27

>>5,7
Is that even relevant to the conversation, or is it just your way of saying ``I read Xarn's blog''?

Name: Anonymous 2009-06-04 13:00

>>7
$ cat >dongs.java
System.out.println("DONGS");
$ javac dongs.java
dongs.java:1: 'class' or 'interface' expected
System.out.println("DONGS");
^
1 error

Name: ​​​​​​​​​​ 2010-10-26 3:01

Name: Anonymous 2011-02-03 0:26

Name: Anonymous 2011-02-04 13:26

Don't change these.
Name: Email:
Entire Thread Thread List