Re: [PHP] send fax

2002-03-17 Thread heinisch
At 17.03.2002 07:35, you wrote: Hi, is it possible to send automated faxes via PHP? Thanks in advance, Senih If your ISP or your server is able to, yes. something like exec(sendfax options,$foo); should do this. check out your system and ISP for more infos on it. Some ISP´s offer the sending of

Re: [PHP] retrieving remote web page

2002-03-17 Thread heinisch
At 17.03.2002 00:45, you wrote: Hi, I'm wanting to retrieve a remote page and extract information from it to insert into my own page. I know that this can be done with fopen, however the page I am wishing to retrieve is generated with a POSTed form. Is there any way that I can retrieve a page

Re: [PHP] Re: No Sense: [PHP] Update: [PHP] Weird?

2002-03-17 Thread heinisch
At 17.03.2002 17:09, you wrote: Hey folks, I read this with half of mind, but as I know, the function date needs something to convert from. $date = date (MD); for my opinion it should be called $date=date(MD,time()); or $date=date(MD,mktime(..)); then everything should work $to_path =

Re: [PHP] Copy *.*

2002-03-17 Thread heinisch
At 17.03.2002 03:10, you wrote: Does anyone know of another snippet any place where I can copy *.* (files and all sub-directories) from one drive to another? In other words, a backing-up function. The snippet I got from http://www.php.net/manual/en/function.copy.php has been a disaster. John

Re: [PHP] OBJECT£ºWHAT'S THE RALATION BETWEEN A,B AND C?

2002-03-17 Thread Oliver Heinisch
At 17.03.2002 10:01, you wrote: ?php class A { function A($i) { $this-value = $i; // try to figure out why we do not need a reference here $this-b = new B($this); } function createRef() { $this-c = new B($this); } function

Re: [PHP] Class Function Issue

2002-03-17 Thread heinisch
At 16.03.2002 22:24, you wrote: Hi! I'm building a class, and am trying to include an authorization function the code works when used outside of the class, but when I put it inside the class, for some reason my session variables won't get set. Am I attempting the impossible, or am I

Re: [PHP] Class Function Issue

2002-03-17 Thread heinisch
At 17.03.2002 10:49, you wrote: Thanks for the tip. I tried that... I passed $HTTP_SESSION_VARS as a parameter, and it didn't work. :/ I also built another function inside the class to set session variables: function SetSVAR($var,$value) { global

Re: [PHP] Saving data with cookies

2002-03-17 Thread heinisch
At 17.03.2002 18:21, you wrote: Hi list, I'm developing a system to store Resumes, since my form has a lot of fields, about 70, i'd like to have the ability to save the filled ones if my user wants to finish it later. Wha'ts the best way to implement this kind of feature. Maybe I could use

Re: [PHP] Formatting input text?

2002-03-16 Thread heinisch
At 16.03.2002 10:44, you wrote: I wonder whether this is possible? I would like to format a text input so that the first letter of the input (as the user is typing it in) would automatically be converted to Uppercase (capitals). Furthermore, if it is possible, I would like to pre-format the

Re: [PHP] From: Newman, PHP on non PHP servers?

2002-03-16 Thread heinisch
At 17.03.2002 08:02, you wrote: Ok say I have a top ten list of something in a MySql db on server lisa.philipnz.com which runs php scripts. Is it possable to call, using a javascript information from say http://www.geocities.com/philip_newman/ this list, will the PHP exacute on

Re: [PHP] php.ini and fixing timeouts

2002-03-16 Thread heinisch
At 16.03.2002 20:59, you wrote: hi folks, I'm running a php script from a console - it includes quite a lot of heavy database queries - and takes a while to run. Problem is that the the script keeps on timing out and I get Fatal error: Maximum execution time of 30 seconds exceeded ... I've

Re: [PHP] unable to view .php files in browser

2002-03-15 Thread heinisch
At 15.03.2002 17:28, you wrote: I am using php,mysql,apache combination on a linux machine. I used the INSTALL file available in php-4.0.6.tar to install PHP in static mode. Compilations and Installation go on fine with no errors. But when a test.php script containing: ? phpinfo(); ? is

Re: [PHP] SERVER INFO

2002-03-15 Thread Oliver Heinisch
At 16.03.2002 01:41, you wrote: Hi all, I appologise if this is off topic but I don't know who to ask. I hope you guys don't mind. Does any body know where I can find information about the steps of setting up a server(LINUX) so that people can find a certain URL address? I want to sent up a

Re: [PHP] Problems with TTF

2001-10-24 Thread Oliver Heinisch
At 24.10.01 12:37, you wrote: Warning: Could not find/open font in /sdr/httpd/Prisa/DATA/private/libs/graficos/intradia.php on line 57 Line 57: ImageTTFText ($O_imagen, 11, 0, 10, 20, $O_colorValor, arial.ttf,$s_Valor); arial.ttf is into the same dir. Any ideas? I had the same

[PHP] str_replace binary safe??

2001-10-22 Thread heinisch
Hi folks, following problem appeared on PHP 3.0.16 on LINUX I have a binary file, where I want to replace some letters I do the following: $filename = xyz.sdc; $fd = fopen( $filename, r+b ); // also tried r $x=filesize( $filename ); // this shows the correct filesize 22528 byte $contents =

Re: [PHP] str_replace binary safe??

2001-10-22 Thread Oliver Heinisch
At 22.10.01 21:36, you wrote: Hi folks, following problem appeared on PHP 3.0.16 on LINUX I have a binary file, where I want to replace some letters I do the following: $filename = xyz.sdc; $fd = fopen( $filename, r+b ); // also tried r $x=filesize( $filename ); // this shows the

Re: [PHP] how to bring selected rows to upper page

2001-05-09 Thread heinisch
At 09.05.01 09:28, you wrote: Hello friends, I want to prepare a page as attached. But main problem is how can I bring the data to upper page when lower page's row is selected. I want to take all data on selected row to the upper pages fileds. please help me. Murat If you sent a php-made page

Re: [PHP] Variables in variable names

2001-05-09 Thread heinisch
At 09.05.01 23:08, you wrote: Hello, I need some help (newbie). I have some variable names with the form: $name_1 $name_2 $name_3 $name_4... I want to access them by doing something like this: $i=0 $name_$i This doesn't work, how do I include another variable in the name of a variable?. What

Re: [PHP] Pattern matching and replacement!

2001-05-08 Thread heinisch
At 08.05.01 10:03, you wrote: Hello all, I have a slight problem. I am storing an email template in a MySQL DB. Portions of the email have text that need to be replaced with variable values when run through the script ex: snip Sehr geehrte(r) Frau/Herr {%Last_Name%} , Dies ist eine

Re: [PHP] money print out with two digits after , e.g. 49,00

2001-05-08 Thread heinisch
At 08.05.01 16:34, you wrote: I want to changes 49.4 --- 49,4 49,4 49,40 Try this ? $totaal=49.4; $totaal=str_replace(.,,,sprintf(%2.2f,$totaal)); echo TOTAL after =$totaalbr; ? Oliver -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Really easy question

2001-05-06 Thread heinisch
At 06.05.01 22:03, you wrote: Thanks very much for your help on this, turns out there wasnt anything wrong with it, I was trying to view the page with Netscape 4.7 on hte Linux machine and getting blank pages, if I viewed it with IE 5.5 on a windows machine then everything works fine...I have

Re: [PHP] converting fields from a fixed length text file into an array

2001-05-06 Thread heinisch
At 06.05.01 23:28, you wrote: :Please forgive me for having posted this more than once. I am trying to reword it here to make it more plain. --- I have a fixed length text file I'm trying to import and send into MySQL. A record line is about 1600 characters long and includes many

Re: [PHP] Search

2001-05-05 Thread heinisch
At 04.05.01 22:44, you wrote: I need some sciprt to search my site. My site has about 700 pages. Also all the pages are HTML Pages Use grep Oliver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] Sorry, what is PWS

2001-05-05 Thread heinisch
It´s time for me to ask: What is PWS? I wanna know what I´m reading about ;-) TIA Oliver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] how?

2001-05-04 Thread heinisch
At 04.05.01 15:32, you wrote: // Read myfile.TXT into $lines, The sentence in your textfile is I have to check my E-Mails $var unnecessary $var1 $var=for; $var1=Quotes; $fp=fopen(filename,mode); //open database connection while(!feof($fp)) { $buffer=fgets($fp,how many bytes);

Re: [PHP] textarea -- what happens to my new lines

2001-05-03 Thread heinisch
At 13:10 03.05.01 +0200, you wrote: I am making a e-card page, and I am having a problem with with my message box which is a textarea when I am previewing or saving/recalling the text all the newline characters are gone. Any good ideas! Thanks Lars Stampe Try textarea name=foo rows=10 cols=50

RE: [PHP] textarea -- what happens to my new lines

2001-05-03 Thread heinisch
At 14:34 03.05.01 +0200, you wrote: change wrap ! textarea name=textfield cols=45 rows=5 wrap=physical/textarea physical means pyhsical not HARD echo nl2br($textfield); //turns your nl´s in br´s That should work Oliver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

RE: [PHP] Maximum execution time of 30 seconds exceeded...

2001-05-03 Thread heinisch
At 08:32 03.05.01 -0500, you wrote: set_time_limit(n) where n is number of seconds (or 0 for no time limit) but DO NOT SET 0 on production-servers, your ISP will, after he killed the processes, kill you :-) -Original Message- From: Jon Haworth [mailto:[EMAIL PROTECTED]] Sent: Thursday,

Re: [PHP] Working with numbers

2001-05-03 Thread Oliver Heinisch
At 01:39 04.05.01 -0400, you wrote: Ok Jennifer lets do some basics ;-) I've done some searching on the php site for more info about double and float etc, but I don't really understand anything I found. Can someone give me an explanation about the difference between decimal, float, double?

[PHP] Strange behaviour of mktime() in objects

2001-05-02 Thread heinisch
Hi folks, I have to make several conversions from / to timestamp (seconds in the UNIX-Epoche) here you see two snippets of my code File1 the testfile ? /* Testpage for Class timeStuff named test_sts_timestuff.html */ includests_timestuff.html; $STST = new timeStuff;

Re: [PHP] How to compile PDFLIB in FreeBSD 4.3

2001-05-01 Thread heinisch
At 11:25 02.05.01 +0800, you wrote: I try to use configure to config pdflib in FreeBSD when i make it, i got a error messages cd bind/php make make: no target to make. *** Error code 2 (ignored) -- first you have to make the pdflib then you have to make install (the include and lib files have

Re: [PHP] IMAGE

2001-05-01 Thread heinisch
At 23:30 01.05.01 -0300, you wrote: Hy guys how can i know the width and height of an image? [ r a f a e l f a r i a] _ [EMAIL PROTECTED] WebMaster Universo Online - http://www.uol.com.br try GetImageSize(string filename, array[imageinfo]); oliver -- PHP General

[PHP] Storing php-code in mysqlDB

2001-04-27 Thread heinisch
Hi folks, I try to store phpcode in a mysql-database, to have them ready, when they´ll be needed When I request these, it seems that they will not be parsed. Any suggestion? some code: // the result comes from an object function while ($obj - Fetchinto($row)) // as long as there are results {

<    1   2