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

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 the www

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 31545;

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

[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 method to

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 td like the code below: tr td background=images/bottomcell_bg.gif/td /tr This code works EVERYWHERE (in

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 repeating myself,

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 which would shut up

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... snip 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 g J

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 is

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., thanks!

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

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 the

[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=\2\; (values

[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=\2\; (values

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

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 =

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 websites

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 doesn't do

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 push

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. snip + introduction to php.net charter - the purpose of this newsgroup posting guidelines and etiquette be specific be terse descriptive subject include exact error

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 is not set at

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

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

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 download

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 live and

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 through all

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) ?php (2) mail([EMAIL PROTECTED], (3) Test, (4) Test, (5) From:SBW Research [EMAIL

Re: [PHP] Mystery Binary Characters in My Files

2002-04-06 Thread heinisch
At 06.04.2002 08:36, you wrote: I read in the contents of an old mysql database, and made XML files out of the data contained in it. The total job came out to about 6800 files, or Documents. I'm finding that, sporadically, when reading these XML files, and passing the xmldata to sablotron, I'm

Re: [PHP] superglobals -sessions-clookies

2002-04-06 Thread heinisch
At 06.04.2002 12:48, you wrote: I think I've got down how to use the new superglobals with data sent from forms using whichever method needed. Now I need to learn how to do it with sessions! this is what I'm trying to accomplish. my website/ client list is growing and I want to add the

Re: [PHP] How to convert a website to a txtfile....?

2002-04-07 Thread heinisch
At 06.04.2002 17:51, you wrote: Hi! I have this website with a webshop that customers can order some products. And when the products are listed up in the cart on the screen, would I like to get the output into a new txtfile and save it on the server. Then it is possible to get it faxed, and

Re: [PHP] Emulating a browser, parse cookies with PHP

2002-04-08 Thread heinisch
At 07.04.2002 16:22, you wrote: Hi, I'm trying to make a PHP script that would go in a website and log in. The website uses cookie to authenticate with its services. I made HTTP GET requests using fsockopen and parsed the results back into a variable. However I cannot find the cookie

Re: [PHP] Question

2002-04-08 Thread heinisch
At 08.04.2002 13:00, you wrote: How to convert or discover from IPadress country visitors on my web ? roman You have to make a DNSLOOKUP If you have a linux box (server setup) you can use system(nslookup -timeout=3 -retry=1 .$value) where $value is the IP-Number. This gives you the real name

Re: [PHP] SELECT + PARSE ERROR

2002-04-08 Thread heinisch
At 08.04.2002 14:23, you wrote: Hy, I try to do a SELECT but when I test my code I Have a parse error. If someone can explain to me why. Code: $db = mysql_connect(newsmanga_db); $req = SELECT * FROM dvds WHERE nomdvd='.$nom..$i' ; /// PARSE ERROR IN THIS LINE Try this : $req = SELECT * FROM

Re: [PHP] Transfer Session Vars to different server

2002-04-08 Thread heinisch
At 08.04.2002 13:12, you wrote: Hi, I have two servers with Apache PHP - carrying out different tasks. However, I have got a task that requires one application to use both servers. One of the units holds a bunch of session vars - which I would like to transfer to the other unit, when scripts

Re: [PHP] Problems with libgd.so under linux

2002-04-08 Thread heinisch
At 08.04.2002 14:56, you wrote: Php works in general (phpinfo()). The gd-lib however will not work for some reason. I tried extension=libgd.so in php.ini without any result. Anyone familiar with this problem? /M Green Too few arguments ;-) Did you already compiled GD ? Did you compile php with

RE: [PHP] Question

2002-04-08 Thread heinisch
At 08.04.2002 11:33, you wrote: How does that tell you where something is? Quick quiz, some obvious high-profile examples off the top of my head: netvigator.com ntlworld.com snip Ok, Ok I have to add more details to my mail. If you need more informations, after retrieving the IP you

Re: [PHP] counter for HIGH traffic site

2002-04-08 Thread heinisch
If it should be fast, avoid using mysql, just write a file with your number, if there´s a new request, get your number, add one and write it back. So you avoid mysql-SQL parsing, opening Database, searching data, send to process, php putting in var... just open, read, add, write, close HTH

Re: [PHP] another try...

2002-04-08 Thread heinisch
At 08.04.2002 17:15, you wrote: Ok I know you guys are tired of hearing from me on here but I tried to do it a different way and now I am getting a parse error on line 6... here is the code, ?php $dir_name = /path/to/images/directory/; $dir = opendir($dir_name); while ($file_name =

Re: [PHP] Outputting Array Values

2002-04-09 Thread heinisch
At 09.04.2002 08:33, you wrote: That´s an easy on ;-) Hello everyone! I'm fairly new to PHP, but I do know JavaScript, which is both a blessing and a hinderance, as there are many syntax similarities, but a subtle amount of difference which means I usually screw something trivial up in my

Re: [PHP] How to cope with too long words which make the table to wide?

2002-04-09 Thread heinisch
At 09.04.2002 14:15, you wrote: Hi there, I am wondering what to do with a word that is to long for a table field. What I have is an application, where users can upload pics and give a caption. so if the caption contains to long words like aaa the whole site looks mixed

Re: [PHP] displaying form data

2002-04-12 Thread heinisch
At 12.04.2002 05:23, you wrote: I have a form processor that displays a confirmation screen showing the submitted form values to the user after they submit the form. This confirmation screen's contents are generated by the script itself. However, I'd like to be able to redirect the results to

[PHP] Differences in old php/apach. to new php/apach. cookie process?

2002-04-12 Thread heinisch
Hi Folks, Does anybody know if there are differences in cookieprocessing between A.Suse 2.2.14-SMP/apache 1.3.12 / PHP 3.0.16 and B.Suse 2.4.9 /apache 1.3.20 / PHP 4.0.6 I have moved working pages from A to B, and now (Win)Opera 6.01 will not accept cookies from the, formerly working, pages. I

Re: [PHP] Different directory/test locally

2002-04-12 Thread heinisch
At 12.04.2002 14:48, you wrote: Hello. I still can't manage to test locally the pages in my notebook, without using the htdocs directory. As i told you, i managed to install the all the stuff correctly, made my first test with a php script in the htdocs Apache instalation folder, but when i

Re: [PHP] form mail with attachment

2002-04-13 Thread heinisch
At 13.04.2002 03:17, you wrote: i have this code for my form mail: ?php mail ([EMAIL PROTECTED], $subject, From: $name\r\nEmail: $email\r\nWebsite: $website\r\nMessage: $message, From: $email\r\n); ? i need to add an attachment file with the variable $file. what do i need to add in the

Re: [PHP] first time user

2002-04-14 Thread heinisch
At 13.04.2002 12:04, you wrote: hi folks, i am somewhat like a new newbie, just read my first php tutorial, installed an apache server on my windows and php on top for testing , first question is : is this the right place for me here to ask questions or is this newsgroup rather for advanced

Re: [PHP] Differences in old php/apach. to new php/apach. cookie process?

2002-04-14 Thread heinisch
Sorry, but this problem hasn´t been solved yet, It drives me crazy. At 12.04.2002 17:41, I wrote: Hi Folks, Does anybody know if there are differences in cookieprocessing between A.Suse 2.2.14-SMP/apache 1.3.12 / PHP 3.0.16 and B.Suse 2.4.9 /apache 1.3.20 / PHP 4.0.6 I have moved working pages

Re: [PHP] first time user

2002-04-14 Thread heinisch
At 14.04.2002 14:55, you wrote: Thank's Oliver, now i have come up to this: ? print (a href=german$PHP_SELFlink german/a); ? echo 'a href=german/'.$PHP_SELF.'/link german/a); It should like this, but I don´t know your encironment, so I put some / in hope you get it fixed or if you want to cat

Re: [PHP] graphing packages

2002-04-15 Thread heinisch
At 14.04.2002 19:14, you wrote: hey ppl, I need to create some fairly complex graphs dynamically, and I need to be able to specify line, bar, or pie charts. Are there any PHP packages that someone could point me to that would fill my needs. Thanks Have a look at : http://www.phpclasses.org/

Re: [PHP] Php Config OCX missing in IIS Win2k

2002-04-15 Thread heinisch
At 14.04.2002 22:23, you wrote: When I install php after installing the IIS under win2k Wrong list, you should ask the windowsPHP list ! The setup said Due to missing OCX control , the automatic configuration can not be done. ...-_- how can I fix this problem? I tried google, here´s

Re: [PHP] Internet Explorer - BACK Button - Passwords?

2002-04-15 Thread heinisch
At 14.04.2002 16:56, you wrote: Don't know if anyone can help me with this one: It's not directly a PHP question -- but maybe someone knows the fix? I have a form, when the user presses the submit button, I pass the form vars to my PHP checkform.php script -- which checks all the fields to

Re: [PHP] first time user

2002-04-15 Thread heinisch
That´s not the way to make friends, I think nobody will read your attachments, because it´s not a php-script and this is a PHP-LIST also I had a quick -look on it and found this: If you are having difficulty with the menu please read the FAQ at http://www.milonic.co.uk/menu/faq.php before

Re: [PHP] phpMyAdmin protection

2002-04-15 Thread heinisch
At 14.04.2002 21:34, you wrote: Hey PHP General List, Can anybody point me to tutorial or real good explanation site how to keep Http://localhost/phpmyadmin off for other users. I am using it to help me with MySQL database but other peaople can access it. I know there is

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

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 use

[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: snip 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? snip This only belongs to the settings your webserver allows. f.e. I

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 at the

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 presses

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 debugger but

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

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.

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 authenticate

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] 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, try to

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

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/examples?

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 ?php echo date(j-M-Y H:i); ? 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

Re: [PHP] GD: º becomes $

2002-04-26 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 image stream);

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

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 my PHP

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? Cheers,

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, it

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

  1   2   >