Re: [PHP] web page grab

2001-04-22 Thread nicuc.ac.jp
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

[PHP] PHPSESSID in session

2001-04-20 Thread nicuc.ac.jp
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 "click" ; In 'somepage.php' I try to echo $uid the output that correct My question is why m

[PHP] PHPSESSID in session

2001-04-20 Thread nicuc.ac.jp
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 "click" ; In 'somepage.php' I try to echo $uid the output that correct My question is why m

Re: [PHP] Help would be appreciated

2001-04-05 Thread nicuc.ac.jp
I'm not figure out what your question is. -- -Tuna- ""Richard Kurth"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am trying to write a script that pulls data from a data base and then > writes the script to be run again by php. I have added a sample be

Re: [PHP] current location

2001-04-05 Thread nicuc.ac.jp
$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 abl

Re: [PHP] how do I delete session

2001-04-05 Thread nicuc.ac.jp
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 PROTECT

Re: [PHP] Safety with PHP.

2001-04-03 Thread nicuc.ac.jp
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

Re: [PHP] libpng error

2001-04-02 Thread nicuc.ac.jp
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 [EMAI

Re: [PHP] libpng error

2001-04-01 Thread nicuc.ac.jp
Hello I make change of your code by move some line to correct line and it's work. Here this a code \n"); $blue = imageColorAllocate($image,0,0,255); imageRectangle($image, 50, 50, 150, 150, $blue); imagepng($image); // I MOVE THIS LINE imagedestroy($image); ?> Hope this will help. -Tuna-

Re: [PHP] Which way to make the thumbnail on the fly

2001-03-28 Thread nicuc.ac.jp
[EMAIL 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. > ...

[PHP] Which way to make the thumbnail on the fly

2001-03-28 Thread nicuc.ac.jp
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 Genera

[PHP] Problem to run java command line with passthru()

2001-03-28 Thread nicuc.ac.jp
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 But call through b