[PHP-WIN] Re: thumbnails

2002-09-20 Thread Johannes Janson
Kivanc Urgancioglu wrote: > Hi, > How can I create thumbnails from image files like jpeg > ,gif etc.I don't know how to install gd library in > windows.Can anyone help me? gd library can be installed by uncommenting the module in the dynamic extensions section of the php.ini for the resizing lo

[PHP-WIN] Re: zlib extension ?

2002-09-20 Thread Johannes Janson
Hi, > I found a website and downloaded the zlib.dll ... but where do I now > save it to? the php/dlls/ folder? a folder in the /winnt/ folder > tree? Will I need to edit the php.ini file as well to get this > working? Probably just a little touch to you php.ini as you suspected. Look in the "Dy

[PHP-WIN] Re: issue with undefined variables with PHP 4.06

2001-08-22 Thread Johannes Janson
hi, > I have just reinstalled my win2k system and installed the latest version of > PHP (4.06), now when I run a lot of my old scripts I get errors like the one > below, when I access the page before posting any data to it. The example > below is taken straight from a tutorial site. I'm not sur

[PHP-WIN] Re: sessions

2001-08-10 Thread Johannes Janson
Hi, > What would be a good setting? Anything that can be read by windows and where you like it. since it is only for local testing it doesn't really matter. cheers Johannes -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP-WIN] Re: IF ELSE problem on PHP4/WIN2K

2001-08-10 Thread Johannes Janson
Hi, [...] > BUT, if you leave either or both of the checkboxes empty (don't check them) > I get the following error: > > Warning: Undefined variable: CategoriesONE in > C:\inetpub\wwwroot\PrintUserForm.php on line 71 > Warning: Undefined variable: CategoriesTWO in > C:\inetpub\wwwroot\PrintUserFo

[PHP-WIN] Re: Checking for valid login

2001-08-02 Thread Johannes Janson
Hi, [...] >This is my code. >$check="select * from userinfo where username='$testusername' and >password=password($'testpassword')"; here's thr problem: password=PASSWORD('$password')"; You messed up the single quotes. cheers Johannes -- PHP Windows Mailing List (http://www.php.net/) To un

Re: [PHP-WIN] Variable in the statement

2001-05-22 Thread Johannes Janson
Hi, >global $titel; > $titel='html' missing colon; > $db = mysql_connect("localhost", "root") or die ("Kan geen connectie > maken met het database programma. De Database server kan uit staan.");; > mysql_select_db("setf",$db) or die ("Kan geen connectie maken met de > database"); > > $r

Re: [PHP-WIN] INSERT INTO TABLE

2001-05-21 Thread Johannes Janson
Hi, > if(!($result=mysql_db_query($DB, "LOAD DATA INFILE '$p' INTO TABLE '$t' > FIELDS TERMINATED BY '|' LINES TERMINATED BY ';'"))) you don't need the single quotes around the table. LOAD DATA INFILE 'fliename' INTO TABLE tablename . hope it helps Johannes -- PHP Windows Mailing List (

Re: [PHP-WIN] Testing php files on windows?

2001-05-14 Thread Johannes Janson
Hi, > The only way I can do it now is by uploading to my server and testing it > online. Well you use IIS which is part of win2k or get Apache or Xitami. Then you'll have to get the PHP binaries and there you go. > > I use Dreamweaver 4 for my coding. There are various editors for php. http://

Re: [PHP-WIN] mysql

2001-05-14 Thread Johannes Janson
Hi, aside from the PHP manual metioned by Cynic look at the MySQL manual: http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#INS ERT Johannes ""Germán A"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 9doqac$mf5$[EMAIL PROTECTED]">news:9doqac$mf5$[EMAIL PROTECTED]... > who to

Re: [PHP-WIN] mysql_query seems not to work...

2001-05-13 Thread Johannes Janson
Hi, > $query="SELECT * FROM session where(user='$user_');"; > $rez=mysql_query($query,$db); try it like this. $query = "SELECT * FROM session WHERE user='$user'"; // without the first colon $rez = mysql_query($query, $db) or die(mysql_error()); hope it helps Johannes -- PHP Windows Mailing

Re: [PHP-WIN] need some help with apahce-php-mysql under windows

2001-05-10 Thread Johannes Janson
Hi, you can get phpMyAdmin from: http://www.phpwizard.net/projects/phpMyAdmin/ Read the docs of MySQL about installing it as a service. So you don't need to worry about starting and stopping it. A tutorial to install Apache, MySQL and PHP can be found at: http://www.devshed.com/Server_Side/PHP/

Re: [PHP-WIN] Form & MySQL

2001-05-03 Thread Johannes Janson
Hi, a simple INSERT would do the job. To encrypt password use md5(). Johannes ""fipo2001"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Please, help me. > I need to register the data that I collect with a simple form (FirstName, > SecondName, Email)

Re: [PHP-WIN] MYSQL Help

2001-04-25 Thread Johannes Janson
hi, the info in the manual about the command line in mysql apply also for win2k. Assuming you have root access go to the mysql prompt and type this: GRANT select, insert, update, delete, WhatPrivYouWant ON YourDB.* TO username IDENTIFIED BY 'YourPassword'; This creates a user "username" with pas

Re: [PHP-WIN] Storing images in Interbase database

2001-04-23 Thread Johannes Janson
Hi, I don't know how to do it but I rekon you would be more flexlibe if you store the image path in the db. It keeps your DB smaller aswell. just a thought Johannes ""Alessio Bernesco Làvore"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 9c1noo$1mc$[EMAIL PROTECTED]">news:9c1noo$1mc$[EMAIL PROTEC

Re: [PHP-WIN] Poll

2001-04-21 Thread Johannes Janson
it is helpful to start a seperate thread for a question not as a reply to an existing one. furthermore is it helpful to cut down the code to the relevant pieces in this case line 44 and 74 and maybe one or two line above and below if they are neccesary. or at least mark the lines vrey good. counit

Re: [PHP-WIN] While not working

2001-04-20 Thread Johannes Janson
Hi, > if (!$mbox): > echo "Ooopsss !!! Por favor se você é assinante da ParaisoNet, tente > novamente. Caso contrário clique aqui."; > exit; > endif; puuuh, this alternative syntax is not very readable. > // here is the while command. But the $id variable get zero (0) , and it > should get the

Re: [PHP-WIN] Newbie back for more

2001-04-19 Thread Johannes Janson
Hi, for TEXT you don't specify a length. TINYTEXT A BLOB or TEXT column with a maximum length of 255 (2^8 - 1) characters. TEXT A BLOB or TEXT column with a maximum length of 65535 (2^16 - 1) characters. MEDIUMTEXT A BLOB or TEXT column with a maximum length of 16777215 (2^24 - 1) characters.

Re: [PHP-WIN] Newbie seeks help with PHP and MySQL

2001-04-18 Thread Johannes Janson
Hi, did you set up a user? If not did you connect as "root"? Have you set a password for your root? Questions, questions. Some hints though: If you haven't set a pswd for root do so. Go to msdos, tpye the path of the mysql\bin directory and then "mysql -u root". You should now be in the mysql-she

Re: [PHP-WIN] Can you please help me!

2001-04-18 Thread Johannes Janson
Hi, I'd be delighted to help you if I can but I can't if you don't describe what do you want to DO? Installing PHP, configuring it? Setting up MySQL? Johannes ""Manesh"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > OK.. i have win2k and i have some t

Re: [PHP-WIN] I want create a FLASH file (swf) with PHP with EasyPhp win WINDOWS98

2001-04-13 Thread Johannes Janson
Hi, I think the source of the libswf is not free and thus there ist no version for windows. but at http://www.opaque.net/ming/ you can find a c library which is *supposed* to do the same thing like the libswf. I didn't try it. cheers Johannes ""cecchini"" <[EMAIL PROTECTED]> schrieb im Newsbeit

Re: [PHP-WIN] MSSQL + IIS

2001-04-13 Thread Johannes Janson
schrieb im Newsbeitrag 9b5fv9$il6$[EMAIL PROTECTED]">news:9b5fv9$il6$[EMAIL PROTECTED]... > How can i use MSSQL + IIS? > i´m having some problems... > well then describe the problems. it's hard to solve one if you don't know what it is. Johannes -- PHP Windows Mailing List (http://www.php.n

Re: [PHP-WIN] How can I judge a sessionid is being used or not?

2001-04-06 Thread Johannes Janson
Hi, why do you want to tore it in a table. You create the session to store variables in it. There is no use in storing it in a table since the $PHPSESSID changes every time you visit the page anew. Johannes "yanshuldg" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PR

Re: [PHP-WIN] session, session AAAARGH

2001-04-04 Thread Johannes Janson
;Asendorf, John"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > I know this may sound stupid, but do you have a directory already > > > established called C:\Programme\Apache > > Group\Apache\cgi-bin\php4\sessiondata > > >

Re: [PHP-WIN] session, session AAAARGH

2001-04-04 Thread Johannes Janson
SA > 740-349-3631 > Aut insanit homo, aut versus facit > > > > -Original Message- > > From: Johannes Janson [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, April 04, 2001 2:02 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [PHP-WIN] session

Re: [PHP-WIN] session, session AAAARGH

2001-04-04 Thread Johannes Janson
.lcounty.com - NEW FEATURES ADDED DAILY! > Licking County, Ohio, USA > 740-349-3631 > Aut insanit homo, aut versus facit > > > > -Original Message- > > From: Asendorf, John [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, April 04, 2001 1:49 PM > &g

[PHP-WIN] session, session AAAARGH

2001-04-04 Thread Johannes Janson
Hi, I just figured out that my session-management is not working. I have a small, simple script to test this: Counter initialized, please reload this page to see it increment"; } else { echo "Waking up session $PHPSESSID"; $SESSION["count"]++; } echo "The counter is now $SESSION[count] "

Re: [PHP-WIN] session handling

2001-03-28 Thread Johannes Janson
Hi, as you can see from the error message apache looks for a dir called /tmp. This is a unix path. You have to change this to a windows path such as c:\temp or what you like. Johannes ""[Inf] F!RE-WALL"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag 99sd6d$m6k$[EMAIL PROTECTED]">news:99sd6d$m6k$[E

Re: [PHP-WIN] Irgendeine deutsche newsgroup?

2001-03-27 Thread Johannes Janson
Well not too bad but not too good either. the second sentence would be: he looks like some others. Who does ??? Johannes ""Asendorf, John"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Ich bin traurig, daß ich nicht irgend solche Sites oder newsgroup ke

Re: [PHP-WIN] (should be) easy questions from a beginner

2001-03-27 Thread Johannes Janson
Hi, I just made a test. (sorry a bit small...) and your "while (list(..." as test2.php in the same directory works. Why do you supply the path to the action with ?? For your first question I don't know. J "Jim Witt" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">

Re: [PHP-WIN] PHP+ Apache -----------Help

2001-03-20 Thread Johannes Janson
Hi, it looks like apache doesn't know how to interpret php. if you didn't already do it, you need to add: AddType application/x-httpd-php .php4 .php .php3 Action application/x-httpd-php "/cgi-bin/php4/php.exe" in your httpd.conf. if you did it would be helpful to post the relevant bits of

Re: [PHP-WIN] Install question

2001-01-29 Thread Johannes Janson
any error-messages? do you have the "AddType application"-bit set? <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Win98, Apache 1.3.12, PHP 4.04 [win32] > NOTHING I do can get PHP code to show up in my browser. Is there some > problem that I don't know