Hello,
I try to use passthru() command to execute command line in my script.
At Telnet I can use following command to execute my java program and out put
is fine.
$java HelloWorld
So, I need to embed this command line in the script like this :
// java.php
?
passthru("java
I need to resize picture (JPEG,PNG) on the fly in PHP.
But, My server very restrictly. I just "user" neither root nor super user.
ImageMagik , GD Library not found on the system.
I have permission to use telnet.
I can use Java command line.
What should I do ?
Thanks
--
-Tuna-
--
PHP
PROTECTED]">news:[EMAIL PROTECTED]...
Hi -Tuna-,
@ 1:57:59 AM on 3/29/2001, nicuc.ac.jp wrote:
I need to resize picture (JPEG,PNG) on the fly in PHP.
But, My server very restrictly. I just "user" neither root nor super
user.
...
If you're not in a restricted shell, or some
Hello
I make change of your code by move some line to correct line and it's
work.
Here this a code
?PHP
header("Content-type: image/png");
$image= imagecreate(200,200) or die("Failed in call to
imagecreate()BR\n");
$blue = imageColorAllocate($image,0,0,255);
imageRectangle($image, 50, 50,
Not test your code with GIF yet (I not have GIF support).
In your book they have a result picture of this code ?
I try this by change imagegif($image) to imagepng($image)
and return blank image with specify width.
--
-Tuna-
""Thalis A. Kalfigopoulos"" [EMAIL PROTECTED] wrote in message
[EMAIL
This is not PHP problems but it's a programming problems.
Just paste your code here and remove the original one on you site.
Many people here will help.
--
-Tuna-
""Marthe Kristiansen"" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hey you guys!
I'm a new
session_register("name") ; = assign variable to session
session_unregister("name") ; = unassign the variable
make complete kill the session (and all the variable in session) use :
session_destroy() ;
--
-Tuna-
""Jacky"" [EMAIL PROTECTED] wrote in message
00b001c0be11$a9e2abe0$[EMAIL
$SERVER_NAME function that you looking for.
--
-Tuna-
""Paul Juliano"" [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
Hi,
What's the php function to find out what server a php page is located?
For example, the php page is at www.myserver.com. The php page should be
able
to
I use session in my Shopping cart program.
start with
session_start() ;
and register the value with
session_register('uid') ;
when I want to pass the session value to another page I use
echo "a href='somepage.php'click/a" ;
In 'somepage.php' I try to echo $uid the output that
I use session in my Shopping cart program.
start with
session_start() ;
and register the value with
session_register('uid') ;
when I want to pass the session value to another page I use
echo "a href='somepage.php'click/a" ;
In 'somepage.php' I try to echo $uid the output that
I thinks you should use eregi_replace
(http://www.php.net/manual/en/function.eregi-replace.php) and then
strip_tags (http://www.php.net/manual/function.strip-tags.php) to strip HTML
tag from string . so, you will get a plain text of the grab page.
--
-Tuna-
"Ed Lazor" [EMAIL PROTECTED] wrote
11 matches
Mail list logo