[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 {

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 file

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 M

[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 setTimeStamp($wert); ?> File2 the Classfile "; } $this -> TS = mktime(12,00,00,$pieces[1],$pieces[3],$pieces[0]); echo "T

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 when I am previewing or saving/recalling the text >all the newline characters are gone. Any good ideas! > >Thanks >Lars Stampe Try this make "hard" LF´s Oliver --

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 ! "physical means pyhsical" not HARD echo nl2br($textfield); //turns your nl´s in ´s That should work Oliver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

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: Thursda

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 byte

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] 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

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 man

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: > >Sehr geehrte(r) Frau/Herr {%Last_Name%} , >Dies ist eine autom

Re: [PHP] PHP + LIBPNG how?

2001-05-08 Thread heinisch
At 08.05.01 15:14, you wrote: >I have compiled PHP with this options, > >./configure --with-zlib=/usr/local/src/zlib --with-png=/usr/local/src/libpng > --with-gd=/usr/local/src/gd --with-pgsql=/usr/local/pgsql --with-apache=../ >apache --enable-track-vars mmh - sounds good, did you test the php

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 "; ?> Oliver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To cont

Re: [PHP] progession bar

2001-05-08 Thread heinisch
At 09.05.01 12:32, you wrote: > >Hi all >Does any one know how to do the progession bar to mesure the time out? >Like give it 1 minute for the bar to progress, I got some logic here but >something still unclear to me. >The procedures I see are >1. get curren time when the page is loaded >2. add

Re: [PHP] Weirdest error I've ever had....

2001-05-08 Thread heinisch
At 06.05.01 12:00, you wrote: >Alright I have a simple file writing script. Nothing special. in one >part I use this code: > $data[$x] = str_replace("","\n", $data[$x]); >to replace break tags with page breaks. Problem is that for some >reason it is adding wierd tags to the file. It only doe

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

2001-05-08 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

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 >variab

Re: [PHP] calculating US holidays

2002-04-15 Thread heinisch
Oh, I love these 32 second answers ;-) Just type it in google and zapp http://php.resourceindex.com/Functions_and_Classes/Date_and_Time/ 1st page, second answer ! G Oliver At 15.04.2002 13:05, you wrote: > >That's fine for fixed dates, and I have that figured out, but presidents >day, memorial d

Re: [PHP] official statement about PHP file extensions?

2002-04-19 Thread heinisch
At 19.04.2002 13:32, you wrote: > >Hi, > >Is there any official statement (by php.net) about which file extension you >should use when using PHP (1, 2, 3 or 4)? I know that's server related, but >isn't there a standard? > >http://www.fatcow.com/help/php.shtml states when using PHP4, you should >u

[PHP] 3dim Array problem

2002-04-19 Thread heinisch
Hi Folks, I have a problem assigning an 3dim array, maybe I´m to tired today to see the mistake, but PHP thinks, that it finds "Illegal string index" at the marked line. could someone verify this, maybe find my mistake?? FYI getDbAns(), talk2DB are substitutions for DB - related routines, and the

Re: [PHP] official statement about PHP file extensions?

2002-04-19 Thread heinisch
At 19.04.2002 14:21, you wrote: > > >Is there any official statement (by php.net) about which file > extension you > > >should use when using PHP (1, 2, 3 or 4)? I know that's server > related, but > > >isn't there a standard? > > This only belongs to the settings your webserver allows. > > f

Re: [PHP] 3dim Array problem ** SOLVED **

2002-04-20 Thread heinisch
I was too tired, but a coffee and a c* and everything woks fine :) Just forgot to init the array correctly ! At 19.04.2002 15:24, you wrote: > >Hi Folks, >I have a problem assigning an 3dim array, maybe I´m to tired today to see the >mistake, but PHP thinks, that it finds "Illegal string index" a

Re: [PHP] how to avoid executing whole script

2002-04-20 Thread heinisch
At 20.04.2002 15:06, you wrote: > >Hi, >I'm new to php, I want to do the foll: in my code: >display an array of names to the user, >up, down, top and bottom buttons are provided so that the user can change >the order of the names (e.g. if original array: "a, b, c, d, e and user >selects e and pre

Re: [PHP] debugger

2002-04-20 Thread heinisch
At 20.04.2002 21:15, you wrote: >Hi to all!!! >Can anyone tell me how to debug in PHP? >When I use ASP simply I write "stop" (VB) or "debugger" (JSCRIPT) to set a >breakpoint and open the Microsoft Script Debugger. >With PHP I can't find a way to do a similar thing. >I downloaded the DBG PHP debu

Re: [PHP] mail() + attachement

2002-04-20 Thread heinisch
At 20.04.2002 22:44, you wrote: > >Is it possible to send with mail an attachment .. if yes, how ??? > >Greetings >wolf Hi Wolf, just ask google, or the archives there are a few classes and functions which will do what you want. If you like OOP you will find certains under http://www.phpclasses.o

Re: [PHP] Php and SQL Server 2000 - Help Needed

2002-04-22 Thread heinisch
At 22.04.2002 14:04, you wrote: > >Hi all of you >I 'm desesperatly trying to connect to my MS SQL server 2000 demo version >using a php script (executed by a form), running Easyphp (apache) as Web >server, under Win 2000 Pro F Sp1. > >It says >Warning: MS SQL message: Échec de la connexion de

RE: [PHP] security

2002-04-22 Thread heinisch
At 22.04.2002 15:17, you wrote: > >Search archives, as a tip I'd suggest to encrypt the Credit Card numbers >with RC4 or some other algorithm. Maxim, I don´t agree your suggestion, as I mentioned earlier on the list, avoid storing CC numbers unless it´s absolutely necessary, you´ve got a good

Re: [PHP] If else question

2002-04-23 Thread heinisch
Aeh, sorry - but is the 1 you test for actual a number or is it a string? I had made this mistakes earlier, so also try if ( $quantity == "1") Maybe I´m absolutely wrong, (PHP 3 knowledge) but Oliver At 23.04.2002 10:48, you wrote: >Ok you asked for it. >Don't say I didn't warn you. > >ses

Re: [PHP] authentication

2002-04-23 Thread heinisch
At 23.04.2002 09:52, you wrote: > >I have one directory that is protected with an .htaccess file on my server >where I store all member content. What I want to do is have a page where >members can log in, and after they have entered there user name and password >I what the php script to authentic

Re: [PHP] problem compiling Apche 2.0.35 and PHP 4.2.0

2002-04-23 Thread heinisch
My 2 eurocents, Start compiling without mysql, esoob ( what´s that??) and see if it works. - write a bug report - try to get a rpm from redhat and see if this will work. - check out which sources they used, maxbe there´s a difference to the one you have. So you can try it with the sorces from the

Re: [PHP] comparing time

2002-04-24 Thread heinisch
At 24.04.2002 11:05, you wrote: >Hello, > >How can I compare time? So I have to check a difference of 12 or 24 hours >this mean I have to compare the time between the days too.. > >How I can make this comparing >just comparing hour with hou and then minute with minute or is possible >all of them

Re: [PHP] Removing Irregular characters

2002-04-24 Thread heinisch
At 24.04.2002 19:03, you wrote: > >Hello > >I have a form that is to entered into a MySQL database. >A couple of the feilds must contain irregular characters, such as >(/\+;]{'.,<:"?>}|_~`) > >What MySQL Field type should I use? >varchar doesn't work. Even this is a definitive mysql-question, t

Re: [PHP] Multi language support

2002-04-24 Thread heinisch
At 24.04.2002 15:29, you wrote: > >Hi all, > >What needs to be done for multi language support in PHP. >I am using redhat linux & new to HTML programming. >I want to know the mechanism to make the output available in different >languages. >Thanks in advance for any help > >--Shailendra S. Meh

Re: [PHP] Getting page with fopen

2002-04-25 Thread heinisch
At 25.04.2002 11:01, you wrote: > > > Google is probably trying to send you a cookie in which case you cannot use > > fopen. You need to use curl or snoopy(?). > >Thanx, that could be the problem. Unfortunatly, curl is not compiled in my >php-version, and what is snoopy?! ;-) Any other ideas/exam

Re: [PHP] Displaying dates

2002-04-25 Thread heinisch
At 25.04.2002 11:46, you wrote: >How can i display a dynamic page showing last month and next month and the >month before > >eg >this moth is >how do i add 1 to the month or -1 to the month? Several methods mktime() where you put last month(s) via (date("m") -1) getting the actual day of the

Re: [PHP] GD: º becomes $

2002-04-25 Thread heinisch
At 25.04.2002 18:03, you wrote: > When I create an image, º becomes $. Actually a small $. (pratically >half-sized). Maybe it's a "s" with a tail. I really have never seen this >character before :-) > > An example: > >$im = @ImageCreate (450, 500) > or exit ("Cannot Initialize new GD imag

Re: [PHP] 1. ImageTTFBox not working and 2. System command

2002-04-27 Thread heinisch
At 27.04.2002 18:59, you wrote: >Hi all, > >I have problem with TTF support on my vhost. PHP says it has no ttf support. >The configure command is: > > './configure' '--prefix=/opt/php' '--enable-exif' '--with-apxs' > '--enable-memory-limit=yes' '--enable-track-vars' '--enable-trans-sid'

[PHP] OOP-related question

2002-04-29 Thread heinisch
This is done on PHP 3.0.16 Hi folks, I have a problem with these HTTP_ vars. I have a mainpage, call it main. There is an include which carries several settings and other includes like my abstract db-layer class. I include this in my class-function, which works fine for the most variables but $S

Re: [PHP] image generation Problems (jpeg)

2002-04-29 Thread heinisch
At 29.04.2002 20:02, you wrote: >= >PLEASE CC ALL AWNSERS TO [EMAIL PROTECTED] >= >hi, im having a few problems installing GD, ill start from the top: >I need Jpeg support in my PHP installation, and unfortunatly, GD

Re: [PHP] image generation Problems (jpeg)

2002-04-29 Thread heinisch
At 29.04.2002 15:24, you wrote: >At 29.04.2002 20:02, you wrote: >>= >>PLEASE CC ALL AWNSERS TO [EMAIL PROTECTED] >>= > >>hi, im having a few problems installing GD, ill start from the top: >>I need Jpeg support in m

Re: [PHP] PHP "ignoring" dotfiles, permissions

2002-04-29 Thread heinisch
At 30.04.2002 00:01, you wrote: >>Just a hunch: do you get the same permissions output for the dotfiles as >>the normal ones? > >Thanks for the idea. I am not sure what you mean by "permissions output" >but it is same owner and an "ls -la" gives > >-rwxr-xr-x 1 frank wheel 27 Apr 29 23:05

Re: [PHP] Pixel Length of text message

2002-04-29 Thread heinisch
At 29.04.2002 10:17, you wrote: > >In html/css you can set a font size in pixels -- in my experience this >means a letter takes the same number of pixels, regardless of >resolution. With php, can I use string length and font pixel size to >determine the length of a given string on a screen? Does

Re: [PHP] Files sorted by date?

2002-04-30 Thread heinisch
At 30.04.2002 17:24, you wrote: > >Hi there, > >I got a number of files in the directory "/reviews/txt" which are reviews. >They are submitted by people all over the world. > >Can someone please tell me what I need to do so that I can display them in >date order, newest at the top on a webpage? >

Re: [PHP] odd behavior

2002-05-01 Thread heinisch
At 30.04.2002 18:29, you wrote: > >When I run this the first time, file.txt contains value of 30. Then I add 15 >to it with following script and file now contains value of 45. I look at >file.txt after write and it does indeed contain number 45. But when I run >script 24 hours later via cron job,

Re: [PHP] Virus I-Worm/Klez.H (Someone does not like me)

2002-05-02 Thread heinisch
Sorry if this mail sounds like flame, but "google" (49) is your friend, or if you like a lot of pages use www.alltheweb.com (494). Thats a good side of Opera 6, there are two fields, where you can enter searchwords, one for google, one for alltheweb. Makes it easier to search and one does it more

Re: [PHP] Controlling Word Files (FDA Concern)

2002-05-03 Thread heinisch
At 03.05.2002 14:11, you wrote: >Does anyone know of how to put a Word file on a web page without the user >being able to save it to their hard drive? And also another issue of making >it so they can't print it. > >Thanks, Gary Aeh, -If one could see the content on a webpage, it has it already on

[PHP] var-vars question

2002-05-07 Thread heinisch
Hi folks, Linux, PHP3 I have the following problem: I have an object, which creates a form, wherein there are selects, which names accord to values in the database. But I didn´t get it to have a variable var, I´m sure it´s just a small thing, but I cannot see it Any suggestions ? TIA Oliver ec

[PHP] Direction to file-upload ?

2002-05-14 Thread heinisch
Hi Folks, after studying and searching manual/archives, I didn´t find the explanation to upload multiple files from a "single ". What I want is to let the user select multiple files from the files-box appearing in the browser and let him/her upload this selection. If I put a second '' then a secon

Re: [PHP] can't upload files

2002-05-15 Thread heinisch
At 15.05.2002 12:33, you wrote: >I am using this script: to upload a picture file and I get the error below: >"Unable to create 'hgh6.gif': Permission denied in >/home/vhtdocs/archipro/do_upload.php on line 13 >Couldn't copy the file!" - What am I doing wrong > > > >File to Upload: > > > > > >u

Re: [PHP] How program automatic 'filler forms' robots?

2002-05-15 Thread heinisch
At 15.05.2002 15:20, you wrote: > >Hello, I am interested on some info - how do robots work to fill web >forms authomatically? >Sometimes I notice a blurr code to be manually writen to avoid these >robots when filling forms, but I am interested in programm just one of >these machines. Is it nece

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: > >is exec

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 t

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 >lisa.

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 ...

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 sendi

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

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_p

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. >

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

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) { > > glob

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 u

Re: [PHP] Two easy HTML/CSS questions

2002-03-18 Thread heinisch
At 18.03.2002 13:18, you wrote: > >I know I shouldn't be asking these questions on this mailing list but >you guys are ALWAYS EXTREMELY helpful... > >1) I want a a text link to change color when the mouse is hovering over >top of it. How do I do this? Im sure it's some CSS thingy. You´re right

Re: [PHP] apache, php user names

2002-03-19 Thread heinisch
At 18.03.2002 17:28, you wrote: Even if I think you´ll not be able (should not be able) to put files elswehere than /home/~myname: > >On a shared hosting provider, I have an account like: > >/home/~myname/www/ >and >/home/~myname/resources/ > >As far as I know, apache can only access what's in th

Re: [PHP] How do I make tab spaces in a mail?

2002-03-19 Thread heinisch
At 19.03.2002 21:40, you wrote: > >Hi! >I have read several tricks of how to remove white spaces but how to create >them? > >I wan´t to build a normal textmail like this: >$message=" >productitemspriceamount >book22550 >cd-rom 315

Re: [PHP] Can anyone help me with this problem(uploads via a form)?

2002-03-19 Thread heinisch
At 19.03.2002 14:16, you wrote: > >I'm having a problem with file uploads via a HTML form. I've no luck getting >it to work. After a bit of research I think I've determined that the problem >lies with my host having safe mode enabled and setting a open_basedir that >is outside my scope. > Hi Jac

[PHP] How to parse db-stored code

2002-03-20 Thread heinisch
Hi Folks, I have stored several selects in a mysql-db, it is possible to parse the answer, but I couldn´t remember how. f.e. the answer on a query is: select * from somewhere where foo='$foo' and foofoo='$foofoo' this is a string, what is the method to make the $foo-vars "real" vars? TIA Oliver

[PHP] Re:SOLVED [PHP] How to parse db-stored code

2002-03-20 Thread heinisch
At 20.03.2002 12:17, you wrote: SOLVED ! > > I have stored several selects in a mysql-db, > > it is possible to parse the answer, but I couldn´t remember how. > > f.e. > the answer on a query is: > > select * from somewhere where foo='$foo' and foofoo='$foofoo' > > this is a string, what is the m

Re: [PHP] HTMLnetscape issue

2002-03-20 Thread heinisch
At 20.03.2002 13:11, you wrote: > >Hi, > >Sorry for repeating myself, but am lost and still can't find a solution >to the following problem, I need to specify a background image for >like the code below: > > > > > >This code works EVERYWHERE (in all browsers) but Netscape Navigator 4.

RE: [PHP] HTMLnetscape issue

2002-03-20 Thread heinisch
At 20.03.2002 13:38, you wrote: >STILL DOESN'T WORK :( > >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Sent: 20 ÂÅÒÅÚÎÑ 2002 Ò. 13:29 >To: [EMAIL PROTECTED] >Subject: Re: [PHP] HTMLnetscape issue > >At 20.03.2002 13:11, you wrote: > > > >Hi, > > > >Sorry for re

Re: [PHP] Assignment operator proposal

2002-03-20 Thread heinisch
At 21.03.2002 00:36, you wrote: >Hi all! > >I'd like to hear from a single one of you who isn't tired of code similar to > > if (!$whatever) { >$whatever=something; > } >?> > >or else > > if ($whatever) > { >$somethingelse=$whatever; > } >?> > >How about a new asignment operator whic

Re: [PHP] something weird is going on...

2002-03-20 Thread heinisch
At 20.03.2002 16:28, you wrote: > >Sorry bringing Netscape issue up again but I seem to have found >something... >And to illustrate the problem, here's the file: >http://kulchitski.com/problem/ Hi Val, for me it looks OK, no fault to see. (NS405,451,475) I´d suggest, that you enclose your width

Re: [PHP] Apache

2002-03-21 Thread heinisch
At 21.03.2002 03:18, you wrote: >Errmm... i don't know any apache groups, but >if you want to do what you ask, just read the >documentation, it's easy :-) > >jtjohnston wrote: >>Anyone know of a good apache group? >>I want to hide the structure of a directory when there is no idex.html >>present

Re: [PHP] Re: Tool to remove comments??

2002-03-23 Thread heinisch
At 23.03.2002 00:05, you wrote: > >there's also two tools called sed and grep that are available on any unix >system. and probably easily gettable on windblows. > >That can probably remove most comments. I know, and use these on LINUX, but I don´t want to spend time to develop something which i

Re: [PHP] oracle exec

2002-03-25 Thread heinisch
At 25.03.2002 15:10, you wrote: > > >hi.. is there any way to use the php oracle function to check to see if >there are any records in the selected set before calling ora_fetch? >ora_exec doesn't error if ther are no records, and ora_num_rows doesn't >return the numbe of rows in the set., > >than

RE: [PHP] Regular Expressions? Help!

2002-03-25 Thread heinisch
At 25.03.2002 14:26, you wrote: > >Perhaps it is how I am calling the $lines in a while loop.? I have tried >`$cmd`, exec(), exec($cmd, $ouput) (to capture the output as an array), >system(), shell_exec(). None of them let me capture the STDOUT from the >program. There has to be a way to do th

Re: [PHP] Loading Images

2002-03-26 Thread heinisch
At 26.03.2002 12:47, you wrote: > >I don't have any code for this, but I'm hoping someone can point me in the >right direction. I want to load images or navigation menus dynamically. Is >it possible to build a database of images and then use php to display >them? Or something along these lines. I

Re: [PHP] Getting QUALITY text on an image

2002-03-27 Thread heinisch
At 26.03.2002 23:56, you wrote: > >Here's the situation. > >I run the website for a macintosh user folding@home team. > >We are providing certificates for users who have done a signifigant amount >of work for the team. > >I have jpeg templates and I'm using ImageTTFBBox and ImageTTFText to write

[PHP] Question on eval()

2002-03-27 Thread heinisch
Hi Folks, I save an ascii-sentence, representing my vars and their values in the db after I request them, I try to eval them. here is what I get back from the db $scar=\"3\";$anrede=\"Herr\";$pf_name=\"wert\";$pf_kontem=\"tzrtzetrz\";$pf_kontel=\"zuoioopöl\";$zeit=\"\";$pf_wt=\"löjlköjklö\";$sto=\

[PHP] Question on eval()

2002-03-27 Thread heinisch
Hi Folks, I save an ascii-sentence, representing my vars and their values in the db after I request them, I try to eval them. here is what I get back from the db $scar=\"3\";$anrede=\"Herr\";$pf_name=\"wert\";$pf_kontem=\"tzrtzetrz\";$pf_kontel=\"zuoioopöl\";$zeit=\"\";$pf_wt=\"löjlköjklö\";$sto=\

RE: [PHP] Question on eval() SOLVED

2002-03-27 Thread heinisch
At 27.03.2002 10:54, you wrote: Rick thank you, the problem wasn´t ' ', but stripslashes. The data come from a database, so no ' s come with them. That´s good to see, if you send selects via terminal directly to mysql. Thanks again Oliver > >Note that vars[1] is created with ' ' so that the $-nam

Re: [PHP] Deleted Files

2002-03-27 Thread heinisch
At 27.03.2002 14:27, you wrote: > >It seems that in using the PHP delete file function, I have inadvertently >deleted the root folder instead, waxing the majority of my PHP files. Is >there a recovery mechanism on Windows or am I getting burned by playing with >fire? > >J Look in your "wastebin"

Re: [PHP] HELP PLEASE!

2002-03-28 Thread heinisch
At 27.03.2002 21:20, you wrote: Even if I didn´t read your code exactly, the fault is the do while loop replace it with something like this while ($row = mysql_fetch_array($result)) { for($i=0,$i < count($row);$i++) { // add something to make it fancy like a table or so

Re: [PHP] Need some help on security with php and mysql

2002-03-28 Thread heinisch
Did you restart mysql ? could you see your entrances when using mysql on console with master/masterpassword? Oliver At 28.03.2002 10:37, you wrote: >Hello all, >I am using php and mysql with phpmyadmin. I am trying to set up a username >and password in mysql so that when I use >if(!$db_conn = my

Re: [PHP] Question about database-driven web sites.

2002-03-29 Thread heinisch
At 29.03.2002 10:22, you wrote: >Hello, > >What will a database-driven web site do for? How does it releive stress on >me? >What is it good for? Why should I learn it? Thanks, Think of a template, You set up a design , and put database data in it. If you have any changes on your website, you´ll

Re: [PHP] not about php... about server for php .. its apache question if anybody feelin like answering , thanks

2002-04-03 Thread heinisch
At 03.04.2002 01:59, you wrote: > >Hey [EMAIL PROTECTED], > > Im new at this so i got some problems that i would like to solve. > First i have Linux Debian 2.2.19 version running on my poor server > :) and i installed apache web server...everything goes well... i can > access peoples webs

Re: [PHP] Can't AddType .htm

2002-04-03 Thread heinisch
At 02.04.2002 23:44, you wrote: >I run Linux, Apache and PHP4.06. >I want PHP to parse .htm documents. >I have done this before on other servers with no problem by editing the >following line in my httpd.conf. > >AddType application/x-httpd-php .htm .php .php4 .php3 > >But after restarting it doe

Re: [PHP] auto submit

2002-04-03 Thread heinisch
At 03.04.2002 11:22, you wrote: > >Is the folowing possible to do? > >I fill in a form and press submit. >Then I read a record from a database. With this data it submits to the >read submits url. After 10 seconds, it reads the next record and submits >that data. etc etc > >So I don't have to pu

Re: [PHP] FAQ (again) ... we have a plan!

2002-04-03 Thread heinisch
At 03.04.2002 12:08, you wrote: >I'm getting a bit interested in this; here's how I >suggest we proceed. >+ introduction to php.net > charter - the purpose of this newsgroup > posting guidelines and etiquette > be specific > be terse > descriptive subject > include exact er

Re: [PHP] Authorize.net

2002-04-04 Thread heinisch
At 04.04.2002 03:03, you wrote: >I know that this is way off topic, but I was wondering if someone could help >me. I couldn't think of anywhere else to look for info. So here are my >questions. If someone could help me out or point me in the direction of a >good resource I would be very grateful.

Re: [PHP] checkbox doesn't pass?

2002-04-04 Thread heinisch
At 04.04.2002 15:23, you wrote: > > >I have a html form with some "text" (T1) and "checkbox" (C1) fields to pass >it to a php script. > >Accessing "text" fields has no problem. > >There is a problem when I use >$C1=$HTTP_POST_VARS['C1'] >to take the value of C1 (ON) >If it is not checked, then it

Re: [PHP] php_oci8 Lib on win32

2002-04-04 Thread heinisch
At 04.04.2002 18:05, you wrote: > >Hi all, I'm new to the list (and php too...) >I noticed that using the binary distribution of php_oci8.dll with oracle >8.0.5 leads to an error becouse of the lob functions (not supplied with >8.0.5 oci or not implemented in oracle 8.0.5 ?), so that I had to rec

RE: [PHP] session variables

2002-04-04 Thread heinisch
At 04.04.2002 13:18, you wrote: >Apparently under the bug report database for bug number 16043, my >exactly problem was described. According to the PHP team, this >windows/apache1.3.23/php4.1.2 session not writing to file bug has been >fixed in the 4.2.0RC1 binaries. I've patched my php4apache.

Re: [PHP] Removing Properties from Word DOC

2002-04-04 Thread heinisch
At 04.04.2002 13:34, you wrote: > >I need to alter the document properties of Word DOCS that our users >upload via php. Does anyone know how to do this? (I am running PHP on >a Linux box). > >David There´s a program out in the internet, which converts .doc to txt, also .xls to txt you can downl

Re: [PHP] PHP and mySQL...

2002-04-04 Thread heinisch
At 04.04.2002 18:39, you wrote: >Using MS Windows 98, Apache, PHP and mySQL. > >I've installed Apache on my hard drive to test a database driven website >using PHP and mySQL. > >Could somebody lead me through the steps if I want to continue using the >mySQL database and PHP when the site goes liv

Re: [PHP] Can I use php to " Print " a document?

2002-04-05 Thread heinisch
At 05.04.2002 14:26, you wrote: >Is there any functions or command that I can print out a page or a document >without using the browsers' print? If you have compiled php as standalone (I think it´s called the cgi) you can use the exec("lpd docname"), if you have a printer on your box, or in your

RE: [PHP] mysql_fetch_array()

2002-04-05 Thread heinisch
At 05.04.2002 12:31, you wrote: > >Jason, > >This is for an events calendar, I want all the dates form the db but when I >am generating the individual days for the calendar I need to know whether >there is an event for that day, hence pulling out all the dates from the db. >As I am looping throug

Re: [PHP] regular expressions: HUGE speed differences

2002-04-06 Thread heinisch
PIII 400MHz, 512Mb, SuSe 6.4, 2.2.14 smp, php 3.0.16, Completed in 0.76187908649445 seconds PIII 350MHz, 256Mb, Suse 7.3, 2.4.9, php 4.0.6, Completed in 2.6342689990997 seconds File Size:28537kb, But for "real tests", send the original file you use direct BTW How the hell did you develop this

Re: [PHP] F/U on Returned Mail

2002-04-06 Thread heinisch
At 06.04.2002 08:33, you wrote: >In line 6 (below) I tried both "Return_Path:<[EMAIL PROTECTED]>" and >"[EMAIL PROTECTED]". I still don't get back the e-mail sent to a >non-existent address. > >Can you help? > > >(1) (2) mail("[EMAIL PROTECTED]", >(3) "Test", >(4) "Test", >(5) "From:SBW Researc

  1   2   >