[PHP] Working with external images

2003-10-13 Thread Voodoo
I'm trying to write a script that can work with images as google does. I've got an image with some unknown width and height, and I want to be able to get this properties and use them to create a dynamic page with new size attributes. For example, if the image has 400x600 px, I want to display the

php-general Digest 13 Oct 2003 06:55:39 -0000 Issue 2352

2003-10-13 Thread php-general-digest-help
php-general Digest 13 Oct 2003 06:55:39 - Issue 2352 Topics (messages 165917 through 165929): Call object reference and member function in 1 step 165917 by: sturgis III PHP uninstall/reinstall 165918 by: Benjamin Howarth 165922 by: Shadow Re: Can't find oci.h

Re: [PHP] mail() php in message

2003-10-13 Thread Onno Kuipers
Chris Hayes wrote: message of the mail. I know how the to put html in the message: $message = ' in stead of print td $gebruikerbooks /td; do $message .= td $gebruikerbooks /td; A little clarification: * Just instead of echoing it directly to the browser, add it to your variable

[PHP] php convert html to pdf

2003-10-13 Thread hycn office
hi all ~ where can find the free of charge complete script ? remarks : i am using web hosting , so cant install anything thank you -_- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Working with external images

2003-10-13 Thread Voodoo
Just found it. If anyone is interested, $src_image=myImage; $picsize=getimagesize($src_image); $source_x = $picsize[0]; $source_y = $picsize[1]; echo $source_x. x .$source_y; Thanks anyway, Voodoo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] mail() php in message

2003-10-13 Thread Manuel Lemos
Hello, On 10/13/2003 05:02 AM, Onno Kuipers wrote: My server runs PHP and Mysql. Normaly I can put some php in my .php-files wich will create a html file for the clients. (you all know this of course). My question now is: How can I put that html (created with PHP) in the message off the mail.

Re: [PHP] mail() php in message

2003-10-13 Thread Onno Kuipers
Manuel Lemos wrote: Hello, On 10/13/2003 05:02 AM, Onno Kuipers wrote: My server runs PHP and Mysql. Normaly I can put some php in my .php-files wich will create a html file for the clients. (you all know this of course). My question now is: How can I put that html (created with PHP) in the

[PHP] From PHP to C and viceversa

2003-10-13 Thread Antonio Bernabei
Hi, I have apache under linux and I want to exchange data from a php script to a c programm (some strings): is it possible? Can anyone help me? Thanks Antonio Bernabei -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail() php in message

2003-10-13 Thread Onno Kuipers
Manuel Lemos wrote: Hello, On 10/13/2003 05:02 AM, Onno Kuipers wrote: My server runs PHP and Mysql. Normaly I can put some php in my .php-files wich will create a html file for the clients. (you all know this of course). My question now is: How can I put that html (created with PHP) in the

[PHP] feedback form

2003-10-13 Thread merryE
I create a feedback form in html and the action si to post to the php. It doesn't wotk well and i don't know what's is the problem. please help me to look at it. Tell me the errors, thank's. This is the form.php code: ? php $toaddress = [EMAIL PROTECTED]; $subject = Feedback testing;

[PHP] Object and properties

2003-10-13 Thread Cosmin
Is there a way to find out all the properties from an object? For instance if I have: --- class test { var $a; var $b; var $c; function test(){} } $example= new test(); --- , is there a function to tell me that the

RE: [PHP] feedback form

2003-10-13 Thread Fernando Melo
mail($toaddress, $subject, $mailconten); should be mail($toaddress, $subject, $mailcontent); -Original Message- From: merryE [mailto:[EMAIL PROTECTED] Sent: 12 October 2003 22:52 To: [EMAIL PROTECTED] Subject: [PHP] feedback form I create a feedback form in html and the action si to

RE: [PHP] feedback form

2003-10-13 Thread Fernando Melo
mail($toaddress, $subject, $mailconten); should be mail($toaddress, $subject, $mailcontent); -Original Message- From: merryE [mailto:[EMAIL PROTECTED] Sent: 12 October 2003 22:52 To: [EMAIL PROTECTED] Subject: [PHP] feedback form I create a feedback form in html and the action si

Re: [PHP] Object and properties

2003-10-13 Thread Pavel Jartsev
Cosmin wrote: Is there a way to find out all the properties from an object? ... Try this: http://www.php.net/manual/en/function.get-object-vars.php -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] awful newbie question

2003-10-13 Thread Marek Kilimajer
It is called Paamayim Nekudotayim ;) and is explaned here: http://www.php.net/manual/en/keyword.paamayim-nekudotayim.php Paul Freedman wrote: Marek - Thanks for your help. Unfortunately, my ignorance is more extensive than I had believed. In your reply, ... echo 'Q::qzml() ... what is the

RE: [PHP] Major wierdness - ack!

2003-10-13 Thread Ford, Mike [LSS]
On 10 October 2003 21:28, James Johnson wrote: Hi, I'm getting so frustrated with this. I have put some error trapping code in my site with the following code (an included file): ?php ob_start(); error_reporting(E_ALL); set_error_handler('pc_error_handler');

RE: [PHP] Sessions

2003-10-13 Thread Ford, Mike [LSS]
On 11 October 2003 02:23, Lowell Allen wrote: I'm trying to track down some issues with my site, and am trying to decide if it's a session variable issue. On a random basis, it appears that session vars are being dumped, deleted, or unset, as the site will break. Queries based on session

RE: [PHP] newbie question

2003-10-13 Thread Ford, Mike [LSS]
On 12 October 2003 23:36, Eugene Lee wrote: On Mon, Oct 13, 2003 at 03:23:53AM +1000, Wang Feng wrote: 1. An optional padding specifier that says what character will be used for padding the results to the right string size. This may be a space character or a 0 (zero character). The

[PHP] unset() un-appropriate ?

2003-10-13 Thread Ciprian Trofin
I have a form with 3 checkboxes x1,x2,x3. I want to build an array of values from the checked boxes; I choosed the following approach: 1. build an array with all values 2. eliminate from array the values using unset CODE: $x = array($_POST['x1'],$_POST['x2'],$_POST['x3']); do { for

Re: [PHP] Search for an exact string inside of another string

2003-10-13 Thread Rory McKinley
Hi What you are looking for is a regular expression function, I would suggest the following: if(ereg($str1, $str2) == 1) { /*Found Bob in string*/ } else { /*didn't find Bob } Rory McKinley Nebula Solutions +27 82 857 2391 [EMAIL PROTECTED] There are 10 kinds of people in this world, those who

[PHP] preg_replace newb

2003-10-13 Thread Justin French
Hi, Trying to get this working, without any luck: $str = preg_replace(!a href='(.*?)'(.*?)/a!,'{link|\\2|\\1}',$str); FWIW, I'm aware that this doesn't ANY WHERE NEAR cover all instances of a link, but in this case, I KNOW that the link will have the above format, because it was generated by

Re: [PHP] Output control - IE problem with flush()

2003-10-13 Thread Marek Kilimajer
Guess what? No, unless you hack into users computer and install mozilla instead ;). Do you really need tables? CSS can do just about anything. Duncan wrote: Hi, I am currently working with the output control functions and they work like a charm - as long as I don't start using IE to view my

Re: [PHP] unset() un-appropriate ?

2003-10-13 Thread David Otton
On Mon, 13 Oct 2003 12:47:44 +0200, you wrote: I have a form with 3 checkboxes x1,x2,x3. I want to build an array of values from the checked boxes; I choosed the following approach: 1. build an array with all values 2. eliminate from array the values using unset For some reason, the code

[PHP] \n \t don't work!!!

2003-10-13 Thread Wang Feng
Guys, These codes are copied from the manual: * echo (this is the simplest, an SGML processing instruction\n); echo This spans multiple lines. The newlines will be output as well; echo This spans\nmultiple lines. The

Re: [PHP] \n \t don't work!!!

2003-10-13 Thread Chris Hayes
At 13:22 13-10-03, you wrote: Guys, These codes are copied from the manual: * echo (this is the simplest, an SGML processing instruction\n); echo This spans multiple lines. The newlines will be output as well; echo This

Re: [PHP] \n \t don't work!!!

2003-10-13 Thread Marek Kilimajer
It DOES work, look at the source html code. Wang Feng wrote: Guys, These codes are copied from the manual: * echo (this is the simplest, an SGML processing instruction\n); echo This spans multiple lines. The newlines will be

[PHP] Re: I can't make 'read_tag.php' file

2003-10-13 Thread Bas
This just says: Parse error: parse error, unexpected T_STRING, expecting ')' in C:\pub\read-tags.php on line 12 Manuel VáZquez Acosta [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Try this: function readTag($filenane, $tagtype, $degub = false) // I prefer boolean for debug :) {

Re: [PHP] phpmyadmin form onsubmit

2003-10-13 Thread Marek Kilimajer
Again, check phpmyadmin html source code. If your query begins with anything potentionaly destructive (DELETE, ALTER, DROP ...) it displays a confirm (not alert). John Taylor-Johnston wrote: What about some javascript to alert() and decide if the form executes like phpmyadmin does:

Re: [PHP] \n \t don't work!!!

2003-10-13 Thread Wang Feng
They do work but you will not see that in the rendered html page (in a browser). Have a look at the source of the produced page and you will see the linebreaks. The page source shows: htmlbody/body/html I suppose

Re: [PHP] unset() un-appropriate ?

2003-10-13 Thread Jason Wong
On Monday 13 October 2003 18:47, Ciprian Trofin wrote: I have a form with 3 checkboxes x1,x2,x3. I want to build an array of values from the checked boxes; I choosed the following approach: 1. build an array with all values 2. eliminate from array the values using unset The checkboxes that

Re: [PHP] I can't make 'read_tag.php' file

2003-10-13 Thread Bas
This works!!! I am a newbie to PHP and i8 knop really nothing about Regular Expressions!!! Thanks!!! Curt Zirzow [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] * Thus wrote Bas ([EMAIL PROTECTED]): --- And with this, it needs the file 'test.tag' --- bttag=bassie I am

Re: [PHP] \n \t don't work!!!

2003-10-13 Thread Wang Feng
Ok, Now I see what happen (maybe). So, the \n is not for the browser output, but for the *view source*? So, it's different from the echo br? If so, what's the deal to do that? --- Makes it look nice if the user view the source code? cheers, feng - Original Message - From: Chris

Re: [PHP] \n \t don't work!!!

2003-10-13 Thread Marek Kilimajer
Wang Feng wrote: The page source shows: htmlbody/body/html The problem might be right here --+ (closing html tag)| html | headtitleHello World

RE: [PHP] ftp_connect() issues

2003-10-13 Thread Phil Ewington - 43 Plc
I can still connect to the ftp server from my client machine using any number of FTP apps, I also created an ftp test tool, on the same server as I am currently having problems, that lets you enter an ftp host, username password to see if it can connect and login. I can login to other ftp

[PHP] Connecting to Linux server from windows

2003-10-13 Thread Binay
Hi all ! I have PHP (4.3.2) running on windows 2k. Now i want to connect to a Linux Server and execute some commands and get the results back to win2k server. How can i achiece this. Please help me out. Thanks in advance Binay

[PHP] Error in creating BTML(BT Markup Language)

2003-10-13 Thread Bas
I am trying to make an BTML-parser. (BTML-Some Markup Language invented by Me) I have 3 files: read-tags.php: --- ?php function parseTags($file) { /* readfile... here */ $filedata = file_get_contents($file); $tag_match = !bttag=(\w*)\s*([^]*)\s*/bttag!is; preg_match_all($tag_match,

Re: [PHP] Connecting to Linux server from windows

2003-10-13 Thread Mohamed Lrhazi
How about CURL and telnet? see http://php.net/curl On Mon, 2003-10-13 at 08:12, Binay wrote: Hi all ! I have PHP (4.3.2) running on windows 2k. Now i want to connect to a Linux Server and execute some commands and get the results back to win2k server. How can i achiece this. Please

Re: [PHP] Error in creating BTML(BT Markup Language)

2003-10-13 Thread Pavel Jartsev
Bas wrote: ... echo IMG SRC=\ . $bttags['image'] . \; Seems that U don't have closing double-quote () in line above. It should be: echo IMG SRC=\ . $bttags['image'] . \; -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg_replace newb

2003-10-13 Thread Mohamed Lrhazi
I would try a petern like this: $pattern=!a href='([^]*)'([^]*)/a! check the docs for greedy not greedy thingy... Mohamed~ On Mon, 2003-10-13 at 06:27, Justin French wrote: Hi, Trying to get this working, without any luck: $str = preg_replace(!a

Re: [PHP] Error in creating BTML(BT Markup Language)

2003-10-13 Thread Bas
Now I get the output: (in html, if you get a mail, you get the real output.) HTMLHEADTITLEWelcome! /TITLE/HEADBODYH1Welcome! /h1brbr / bNotice/b: Undefined index: text in bC:\pub\include\btml.php/b on line b13/bbr / IMG SRC=noimage.gif /body/html Pavel Jartsev [EMAIL PROTECTED] wrote in

RE: [PHP] From PHP to C and viceversa

2003-10-13 Thread Gregory Kornblum
I have apache under linux and I want to exchange data from a php script to a c programm (some strings): is it possible? Yes in multiple ways. First off you need to figure out if you have the source for the C application. If so you can use sockets, the MySQL client API, and various other

Re: [PHP] newbie question

2003-10-13 Thread 'Eugene Lee'
On Mon, Oct 13, 2003 at 10:32:18AM +0100, Ford, Mike [LSS] wrote: : : On 12 October 2003 23:36, Eugene Lee wrote: : : The PHP manual is vague in several sections. I wonder how bug : reports get submitted for it? : : http://bugs.php.net/report.php and select Documentation

RE: [PHP] PHP Installation Problems

2003-10-13 Thread Daniel Perez Clavero
RE: [PHP] PHP Installation ProblemsThis is my experience, I never chose the PHP installation pack, I prefer the uncompressed version, modify the php.ini and put the right dlls into the WINNT\System32 folder... I do not know what windows is going to permit to the installation program (registry

Re: [PHP] \n \t don't work!!!

2003-10-13 Thread Eugene Lee
On Mon, Oct 13, 2003 at 09:48:56PM +1000, Wang Feng wrote: : : Ok, Now I see what happen (maybe). : : So, the \n is not for the browser output, but for the *view source*? So, : it's different from the echo br? : : If so, what's the deal to do that? --- Makes it look nice if the user view : the

Re: [PHP] \n \t don't work!!!

2003-10-13 Thread Steve Buehler
If you want it to work with \n, then you will need to use the pre/pre tags. Otherwise you need to translate the \n's into br tags. \n is NOT an html tag so when you print them to the browser, it adds lines to the source, but as you might already know, a new line in the source of an html page

Re: [PHP] preg_replace newb

2003-10-13 Thread Justin French
Mohamed, I still can't seem to get it working: ? $str = a href='somewhere/else.html'foo/a; $str = preg_replace(!a href='([^]*)'([^]*)/a!,'blah',$str); echo $str; ? echo's 'a href='somewhere/else.html'foo/a' rather than 'blah' Justin On Monday, October 13, 2003, at 10:17 PM, Mohamed Lrhazi

Re: [PHP] \n \t don't work!!!

2003-10-13 Thread Steve Buehler
Do what I do, use both the \n and the br tags. I am not worried about anybody else thinking the source is nice looking, I do it for debugging so that I can see how the source comes out in a readable format. Steve At 06:48 AM 10/13/2003, you wrote: Ok, Now I see what happen (maybe). So, the

Re: [PHP] \n \t don't work!!!

2003-10-13 Thread Wang Feng
Thank you all for pointing me to the *right* direction!!! Now I really understand why and what I can do with the \n in php. :-) cheers, feng - Original Message - From: Eugene Lee [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 13, 2003 10:58 PM Subject: Re: [PHP] \n \t

Re: [PHP] \n \t don't work!!!

2003-10-13 Thread Steve Buehler
To give tabs in html, you might want to try using nbsp; nbsp; nbsp; instead of \t Steve At 06:57 AM 10/13/2003, you wrote: Wang Feng wrote: The page source shows: htmlbody/body/html The problem might be right here

RE: [PHP] \n \t don't work!!!

2003-10-13 Thread Jay Blanchard
[snip] To give tabs in html, you might want to try using nbsp; nbsp; nbsp; instead of \t [/snip] And one other thing I didn't see mentioned http://www.php.net/nl2br -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] \n \t don't work!!!

2003-10-13 Thread Eugene Lee
On Mon, Oct 13, 2003 at 08:10:39AM -0500, Jay Blanchard wrote: : : [snip] : To give tabs in html, you might want to try using nbsp; nbsp; nbsp; : instead of \t : [/snip] : : And one other thing I didn't see mentioned http://www.php.net/nl2br Note that nl2br() is XHTML compliant, which means it

Re: [PHP] preg_replace newb

2003-10-13 Thread Eugene Lee
On Mon, Oct 13, 2003 at 11:00:36PM +1000, Justin French wrote: : : On Monday, October 13, 2003, at 10:17 PM, Mohamed Lrhazi wrote: : : I would try a petern like this: : : $pattern=!a href='([^]*)'([^]*)/a! : : check the docs for greedy not greedy thingy... : : Mohamed, : : I still can't

[PHP] Error in BTML parser 2

2003-10-13 Thread Bas
This error is not so stupid as a deleted closing . Okay, for all of you who missed my code here is it again: read-tags.php --- ?php // Tag Parser v1.1 // v1.0 First release(not working) // v1.1 Edited: // Uses Regular Expressions function parseTags($file) { /* readfile... here */

Re: [PHP] From PHP to C and viceversa

2003-10-13 Thread Antonio Bernabei
Thank you for your answer, I have to develop an application for a small LAN (4 pcs) What I need is to store some data in a personally cryptographed manner (two way as I need to store and be able to retrieve data), so no one can just sit in front of the pc where the server is (linux or win200 I

RE: [PHP] From PHP to C and viceversa

2003-10-13 Thread Gregory Kornblum
I have to develop an application for a small LAN (4 pcs) What I need is to store some data in a personally cryptographed manner (two way as I need to store and be able to retrieve data), so no one can just sit in front of the pc where the server is (linux or win200 I have to decide), copy the data

Re: [PHP] Error in BTML parser 2

2003-10-13 Thread Curt Zirzow
* Thus wrote Bas ([EMAIL PROTECTED]): This error is not so stupid as a deleted closing . Okay, for all of you who missed my code here is it again: read-tags.php --- ?php // Tag Parser v1.1 // v1.0 First release(not working) // v1.1 Edited: // Uses Regular Expressions function

Re: [PHP] ftp_connect() issues

2003-10-13 Thread Raditha Dissanayake
easiest way i know to debug FTP is with good old telnet. just type telnet yourserver.com 21 If there is a firewall in the way you will get a time out. If not you can login with user youname pass your pass btw if you have access to the FTP server's log file that will probably tell you what's

[PHP] Restarting Apache without screwing up running scripts?

2003-10-13 Thread Donald Tyler
Hi, We are building an Intranet for our company and I was wondering how people deal with having to restart the server when its running an intranet. Obviously if there is a complex process running and the server restarts in the middle of it then its going to screw a lot of stuff up. The

[PHP] provide flag -X when connecting to mysql

2003-10-13 Thread Victor Spång Arthursson
Using the command line client when connecting to mysql makes it possible to provide the flag -X to get the result as XML directly from mysql. What I wonder is if its possible in some way to provide this flag via php to get the result as it appears in the command line client, that is, as xml?

Re: [PHP] Connecting to Linux server from windows

2003-10-13 Thread Raditha Dissanayake
SOAP Binay wrote: Hi all ! I have PHP (4.3.2) running on windows 2k. Now i want to connect to a Linux Server and execute some commands and get the results back to win2k server. How can i achiece this. Please help me out. Thanks in advance Binay -- Raditha Dissanayake.

Re: [PHP] Restarting Apache without screwing up running scripts?

2003-10-13 Thread Marek Kilimajer
# apachectl graceful snip from manpage: gracefulGracefully restarts the Apache daemon by send­ ing it a SIGUSR1. If the daemon is not run­ ning, it is started. This differs from a nor­ mal restart in that currently open

[PHP] php variable

2003-10-13 Thread Onno Kuipers
Hello, If i set a variabele in lets say 'script one'. When i jump into 'script two', is there a way (without cookies) to read the variable set in 'script one' Like: SCRIPTONE.PHP: html body ?php $var=¨How are you¨; ? form method=post action=scripttwo.php table tr td style=vertical-align:

Re: [PHP] Error in BTML parser 2

2003-10-13 Thread Bas
Yes! It works!!! This is also an good beginner-HTML. If you have improvements then i like it from you to post them in an reply or email me. Regards, Bas Curt Zirzow [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] * Thus wrote Bas ([EMAIL PROTECTED]): This error is not so stupid as

Re: [PHP] Restarting Apache without screwing up running scripts?

2003-10-13 Thread Curt Zirzow
* Thus wrote Marek Kilimajer ([EMAIL PROTECTED]): # apachectl graceful Its also wise to run a 'configtest' # apachectl configtest It is a bummer if apache doesn't restart cause there is something wrong with the config. Curt -- My PHP key is worn out PHP List stats since 1997:

RE: [PHP] php variable

2003-10-13 Thread Jay Blanchard
[snip] $var=¨How are you¨; THE PROBLEM IS THAT I ALSO WANT TO USE $VAR IN SCRIPTTWO. [/snip] Pleace $var in a hidden form element. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] provide flag -X when connecting to mysql

2003-10-13 Thread Marek Kilimajer
No, it is not. But there are plenty of classes that can do it for you. Victor Spång Arthursson wrote: Using the command line client when connecting to mysql makes it possible to provide the flag -X to get the result as XML directly from mysql. What I wonder is if its possible in some way to

Re: [PHP] php variable

2003-10-13 Thread Marek Kilimajer
Read about sessions in the manual. Onno Kuipers wrote: Hello, If i set a variabele in lets say 'script one'. When i jump into 'script two', is there a way (without cookies) to read the variable set in 'script one' Like: SCRIPTONE.PHP: html body ?php $var=¨How are you¨; ? form method=post

Re: [PHP] php variable

2003-10-13 Thread Onno Kuipers
Jay Blanchard wrote: [snip] $var=¨How are you¨; THE PROBLEM IS THAT I ALSO WANT TO USE $VAR IN SCRIPTTWO. [/snip] Pleace $var in a hidden form element. I tried... something like this input type=hidden name=var2 value=¨?php print $var2; ?¨ but it doesn't work. Maybe you mean something totaly

[PHP] Yes!!! BTML v1.0 is here!!!

2003-10-13 Thread Bas
It is freely avialable!!! Here is the sourcecode: 2 files are used to parse: read-tags.php --- ?php // Tag Parser v1.11 // v1.0 First release(not working) // v1.1 Edited: // Uses Regular Expressions // v1.11 Edited: // Edited to use with BTML function parseTags($file) { /* readfile...

Re: [PHP] Restarting Apache without screwing up running scripts?

2003-10-13 Thread Marek Kilimajer
This command automatically checks the configuration files via configtest before initiating the restart to make sure Apache doesn't die. So it is not necessery. Curt Zirzow wrote: * Thus wrote Marek Kilimajer ([EMAIL PROTECTED]): # apachectl graceful Its also wise to run a 'configtest' #

[PHP] Re: Yes!!! BTML v1.0 is here!!!

2003-10-13 Thread Bas
Yes, i think that you want to know the structure of the BTML-file: bttag=btml /bttag bttag=title Title of the page /bttag bttag=text Here any valid HTML-MARKUP br /bttag bttag=image Path to a image /bttag This is the structure of a BTML file. I hope that you have improvements. If this changes

RE: [PHP] PNG to GIF conversion

2003-10-13 Thread Howard Cohodas
If you are still looking for an on-the-fly GIF encoder for PHP in a windows environment, let me know. Howard -Original Message- From: John Ryan [mailto:[EMAIL PROTECTED] Sent: Saturday, October 11, 2003 4:50 PM To: [EMAIL PROTECTED] Subject: [PHP] PNG to GIF conversion How do I do

Re: [PHP] mail() php in message

2003-10-13 Thread Marek Kilimajer
Onno Kuipers wrote: thanx a lot! I think this will help. . oops works only with PHP 4... and I ... euh PHP3.. Is there another method to do this before I even think of upgrading? You can write your own. But I would upgrade. -- PHP General Mailing List

[PHP] Re: Exec() wont run program

2003-10-13 Thread steve
Curt Zirzow wrote: What is gedit? it looks like the gnu text editor command. most X applications wont run from the webserver in most cases. Curt, I'm trying to understand why most X applications wont run from the webserver in most cases. If nothing else, you should at least be able to run a

[PHP] what is the best PHP editor?

2003-10-13 Thread DougD
I currently use EditPlus - and like it -- is there anything else out there that is better and still reasonably priced. Thanks. -Doug -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] what is the best PHP editor?

2003-10-13 Thread Chris Boget
I currently use EditPlus - and like it -- is there anything else out there that is better and still reasonably priced. I am not sure what you would consider reasonably priced, but the best editor I've come across is Visual Slick Edit. Bar none, the best and most feature rich editor I've come

[PHP] Re: Yes!!! BTML v1.0 is here!!!

2003-10-13 Thread Comex
?php function parseTags($file) { /* readfile... here */ $filedata = file_get_contents($file); $tag_match =(!bttag=(\w*)\s*(.*?)\s*/bttag!is); preg_match_all($tag_match, $filedata, $matches); for ($i=0; $i count($matches[0]); $i++) { $tagname = $matches[1][$i]; $tag['tagname'] =

Re: [PHP] mail() php in message

2003-10-13 Thread Manuel Lemos
Hello, On 10/13/2003 06:13 AM, Onno Kuipers wrote: My server runs PHP and Mysql. Normaly I can put some php in my .php-files wich will create a html file for the clients. (you all know this of course). My question now is: How can I put that html (created with PHP) in the message off the mail.

Re: [PHP] php variable

2003-10-13 Thread Comex
[EMAIL PROTECTED] Onno Kuipers: Jay Blanchard wrote: [snip] $var=¨How are you¨; THE PROBLEM IS THAT I ALSO WANT TO USE $VAR IN SCRIPTTWO. [/snip] Pleace $var in a hidden form element. I tried... something like this input type=hidden name=var2 value=¨?php print $var2; ?¨ but it

RE: [PHP] what is the best PHP editor?

2003-10-13 Thread Chris W. Parker
Chris Boget mailto:[EMAIL PROTECTED] on Monday, October 13, 2003 10:00 AM said: I am not sure what you would consider reasonably priced, but the best editor I've come across is Visual Slick Edit. Bar none, the best and most feature rich editor I've come across in the last few years.

[PHP] Re: what is the best PHP editor?

2003-10-13 Thread Rob Adams
I like EditPlus too, but recently I've been using UltraEdit. http://www.ultraedit.com/ $35 registration. Has great column mode support. I use the macros and templates all the time. Has a word file for PHP. -- Rob Dougd [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I currently

[PHP] FTP resumepos

2003-10-13 Thread Andrei Popovici
Can anyone help me understand how the parameter resumepos from ftp_get function can be used? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Journals and Magazined

2003-10-13 Thread Karam Chand
Hello I just shifted to PHP from ASP and I am impressed. I have a query though - Apart from sites like phpbuilder.com etc. which is the most read English magazines read by PHP developers. I know PHP Arch..nebody reading something else...just querying...might subscribe to one of them.

[PHP] OT project

2003-10-13 Thread Didier McGillis
I'm starting a pretty involved project and would like to get some help lookin for 1 php/sql/linux person and 1 database person for some assistance. will answer/talk about the project off list with those interested. compensation available. serious inquires only.

[PHP] FTP Errors

2003-10-13 Thread Ian
Hi, I was wondering if anyone knew how to retrieve connection error information when using FTP in php? By this I mean, when connecting to a ftp server that is full, ftp_connect just returns FALSE, and not the 421 error returned by the server. FALSE is also the response given when attempting to

Re: [PHP] provide flag -X when connecting to mysql

2003-10-13 Thread Victor Spång Arthursson
2003-10-13 kl. 16.39 skrev Marek Kilimajer: No, it is not. But there are plenty of classes that can do it for you. Can you recommend any? Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] what is the best PHP editor?

2003-10-13 Thread Ryan A
Hey Chris, After reading your post I too downloaded SlickEdit...I personally use a mix of Zend and EditPlus Just opened slickEdit and it seems a bit complicated but more java oriented...mind telling me why you have such a preference for this? Cheers, -Ryan A http://bestwebhosters.com I

Re: [PHP] FTP resumepos

2003-10-13 Thread Curt Zirzow
* Thus wrote Andrei Popovici ([EMAIL PROTECTED]): Can anyone help me understand how the parameter resumepos from ftp_get function can be used? ftp_get will first seek the value 'resumepos' within the 'remote_file', before it starts to write to 'local_file'. Curt -- My PHP key is worn out

Re: [PHP] Re: what is the best PHP editor?

2003-10-13 Thread Daniel Guerrier
http://www.phpedit.net It's good. How good, is up to you. --- Rob Adams [EMAIL PROTECTED] wrote: I like EditPlus too, but recently I've been using UltraEdit. http://www.ultraedit.com/ $35 registration. Has great column mode support. I use the macros and templates all the time. Has a

Re: [PHP] what is the best PHP editor?

2003-10-13 Thread Chris Boget
Hey Chris, After reading your post I too downloaded SlickEdit...I personally use a mix of Zend and EditPlus Just opened slickEdit and it seems a bit complicated but more java oriented...mind telling me why you have such a preference for this? It's actually C/C++/Java oriented. But you

Re: [PHP] provide flag -X when connecting to mysql

2003-10-13 Thread Marek Kilimajer
No, I haven't used any, but search www.phpclasses.org and choose the one with the best rating. Victor Spång Arthursson wrote: 2003-10-13 kl. 16.39 skrev Marek Kilimajer: No, it is not. But there are plenty of classes that can do it for you. Can you recommend any? Sincerely Victor --

Re: [PHP] Re: what is the best PHP editor?

2003-10-13 Thread Rob Adams
I actually tried this a while ago, and must've had a really early version. It showed a lot of promise, but there were too many problems, and the error text was mostly German, so I couldn't tell what was wrong or how to fix it. I'll have to give it another shot now. -- Rob Daniel Guerrier

[PHP] header() function for displaying an opened PDF document.

2003-10-13 Thread Scott Fletcher
I seem to be having problem with sending the PDF document to the browser to be open on screen. I kept getting the error message, it say 'Windows cannot open this file'. Here's my sample script, so what am I doing wrong?... --snip-- header(Content-Type: application/pdf);

Re: [PHP] what is the best PHP editor?

2003-10-13 Thread Jonathan Villa
What's the matter? No one likes Zend Studio? On Mon, 2003-10-13 at 12:00, Chris Boget wrote: I currently use EditPlus - and like it -- is there anything else out there that is better and still reasonably priced. I am not sure what you would consider reasonably priced, but the best editor

Re: [PHP] Re: what is the best PHP editor?

2003-10-13 Thread Scott Fletcher
Yea, I tried it from before and it seem to be somewhat limit. The only good thing about it is that with each of the newer version, it get better and better. I have been sticking to Visual Slick Edit along the way. It would have been nice if it can transfer files between two webservers if this

[PHP] Re: header() function for displaying an opened PDF document.

2003-10-13 Thread Kevin Stone
Forget the content length and disposition headers. Just set the content type then output the file.. header(Content-type: application/pdf); readfile(junk.pdf); - Kevin Scott Fletcher [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I seem to be having problem with sending the PDF

Re: [PHP] php variable

2003-10-13 Thread Scott Fletcher
Should also work if you use the POST method... Comex [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [EMAIL PROTECTED] Onno Kuipers: Jay Blanchard wrote: [snip] $var=¨How are you¨; THE PROBLEM IS THAT I ALSO WANT TO USE $VAR IN SCRIPTTWO. [/snip] Pleace $var in a hidden

Re: [PHP] php variable

2003-10-13 Thread Scott Fletcher
Page 1 input type=hidden name=var2 value=test Page 2 echo $_REQUEST['var2']; //or echo $_POST['var2']; //== //Sometime noticed some glitch with $_POST because sometime PHP think the data go to $_GET... //So, to prevent future headache, I use $_REQUEST['var2'] at all time...

Re: [PHP] Restarting Apache without screwing up running scripts?

2003-10-13 Thread Scott Fletcher
Wow! I didn't know that. I have been using apachectl restart all the time. Now I feel better that this feature will allow Apache to be running until people logged off of the website (by the mean of terminating the apache connection) Thanks!!! Marek Kilimajer [EMAIL PROTECTED] wrote in

[PHP] Re: php convert html to pdf

2003-10-13 Thread Scott Fletcher
I'm not aware of any such feature that would convert the HTML to PHP. You can use the FPDF library to generate a PDF stuffs without installing or compiling or anything of thsoe sort. You can find it at www.fpdf.org. It is free and it is pretty nice. Scott F. Hycn Office [EMAIL PROTECTED]

  1   2   >