Content Type
Profiles
Forums
Events
Everything posted by YoussefGamil
-
Paint in Java!
YoussefGamil replied to YoussefGamil's topic in Web Development (HTML, Java, PHP, ASP, XML, etc.)
THANKS VERY MUCH I have used : repaint(X,Y,W,H); to re-draw the images -
Hi, I have a small problem in RE-draw any image! I mean when I replace any image with other the screen goes white for a sec then the other image appears. thanks,..
-
Creating tables Side by Side
YoussefGamil replied to jnickrand's topic in Web Development (HTML, Java, PHP, ASP, XML, etc.)
What do you mean by "side by side"? -
I think I have found it.... It's a code to pass Data to PHP using "POST" method URL myURL=null; URLConnection urlConn=null; DataOutputStream printout=null; DataInputStream input=null; try{ url=new URL(getCodeBase(),"Picks/"+"writeToFile.php"); }catch(Exception easidghih){} try{ urlConn=myURL.openConnection(); }catch(Exception w){JOptionPane.showMessageDialog(null,"openConnection() error");} try{ urlConn.setDoInput(true); urlConn.setUseCaches(false); }//end of try catch(Exception a){JOptionPane.showMessageDialog(null,"Exception here");} try{ printout=new DataOutputStream(urlConn.getOutputStream()); String content="File="+URLEncoder.encode(username+".txt","UTF-8")+"&text="+URLEncoder.encode(Long.toString(number),"UTF-8"); printout.writeBytes(content); printout.flush(); printout.close(); }//end of try catch(Exception f){JOptionPane.showMessageDialog(null,"error 2");}
-
google doesn't search my page
YoussefGamil replied to sunny747's topic in Web Development (HTML, Java, PHP, ASP, XML, etc.)
Yeah,... See this example: <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="generator" CONTENT="Microsoft FrontPage 5.0"> <META NAME="author" CONTENT="Kai Doragon"> <META NAME="description" CONTENT="This page is dedicated to Anime Desktop themes, like Gundam Wing."> <META NAME="keywords" CONTENT="Kai's Kreations, original, desktop themes, anime, Gundam Wing, wallpaper, Duo, Wufei, Quatre, Zechs, Heero, Trowa, e-cards, greeting cards"> Hope to work after using the META-TAG.. -
I need to put a class in a package...So,.. I wrote: package PACKAGE_NAME; in the first line of the class and put it in a directry with the package name.. All I need to know how to compile this class and set it's CLASSPATH? Please Help,.. Thanks
-
Cookies in PhP?HOW TO?
YoussefGamil replied to YoussefGamil's topic in Web Development (HTML, Java, PHP, ASP, XML, etc.)
Yes,..It's on the same domain The Problem is soulved now!!! by using "$HTTP_SERVER_VARS['cookie'];" insead of "$_COOKIE['cookie'];". But, why "$_COOKIE['cookie']" didn't work?!! Nevermind -
Free host for Java Applets?
YoussefGamil replied to YoussefGamil's topic in Web Development (HTML, Java, PHP, ASP, XML, etc.)
YES... It's client side.. Java Applet finally worked but, in another web-host!! I don't know where was the problem with the old free hosting side. But,Never mind!! Thanks 4 all -
Free host for Java Applets?
YoussefGamil replied to YoussefGamil's topic in Web Development (HTML, Java, PHP, ASP, XML, etc.)
Java is Client Side... So,...Why should I pay for Java Hosting???... e.g. 4Java.Ca .... There is many of free web-hosting like Jeeran (KSA) which Java Applet doesn't run in it's free hosting section. -
Hi, As I think the easies way is to create Inline Frame in the page!! ... I have tested a lot of ActiveXobjects to read/write file in my localhost (I mean in the hard disk only). But,.. I think there is a way in using JavaScript in this position (for that aim) .... I will reply to this as soon as I find the answer
-
PHP ServerSocket...HowTO?
YoussefGamil replied to YoussefGamil's topic in Web Development (HTML, Java, PHP, ASP, XML, etc.)
Thanks after all.. but, It doesn't work!!!!