Re: [PHP] Setcookie problem in ie 5.0

2001-01-19 Thread Krzysztof Dziekiewicz
On Fri, 8 Dec 2000, Rustam Nabirov wrote: I'm using IE5.0 on Win98, it's as simple as it gets. But still I don't see any cookies saved. As far as I understand, on this platform cookies get saved in C:\WINDOWS\Cookies, and C:\WINDOWS\Temporary Internet Files has only shortcuts to those

Re: [PHP] Help on PHP vs JAVA

2002-02-21 Thread Krzysztof Dziekiewicz
On Thu, 21 Feb 2002, Berlina wrote: Hello to everybody, I need some help for writting a comparison of PHP vs JAVA, and of course, I need that PHP wins ;-D PHP and JAVA are different tools. It depends what you want to do. You can take advanteges from both. -- PHP General Mailing List

Re: [PHP] Using 'Location' and variables

2002-02-21 Thread Krzysztof Dziekiewicz
On Thu, 21 Feb 2002, Jim Koutoumis wrote: I'm sure that this is possible, but I haven't found any info/examples on it yet,.. What I have is a php script that processes data that been submitted by a FORM. You can make this using javascript. You generate HTML form with hidden fields and at

[PHP] Re: How do I keep a page from caching in I.E

2002-09-06 Thread Krzysztof Dziekiewicz
to get the actual page content. I've placed the following at the top of the HTML file but it doesn't seem to do anything. Any help would be appreciated. Krzysztof Dziekiewicz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] header question

2002-09-11 Thread Krzysztof Dziekiewicz
for {} ? Rather: header( Location: login.php?id=$ID ); -- Krzysztof Dziekiewicz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with REMOTE_ADDR

2002-09-17 Thread Krzysztof Dziekiewicz
Whenever I use REMOTE_ADDR, it gives me the IP of the server. Of course, I am not interested in this and want the IP of the client. I put this code in to resolve it and it still didnt work. What am I doing wrong? Try HTTP_CLIENT_IP. It is set in some situations. -- PHP General Mailing

Re: [PHP] COOKIE Question.

2002-09-17 Thread Krzysztof Dziekiewicz
I'm having some issue's with $_COOKIE and $HTTP_COOKIE_VARS, I can't seem to retrieve data from them. First I set the cookie like so: setcookie (Access, Test_Value,time()+31536000); Try this: setcookie(Access, Test_Value,time()+31536000,/); - slash as 4th parametr. -- Krzysztof

Re: [PHP] == case-sensitive?

2002-09-23 Thread Krzysztof Dziekiewicz
I've never really payed attention to this before, but now I noticed that == is case-sensitive, how do I make it == with different cases ? if(strtolower($a) == strtolower($b)) -- Krzysztof Dziekiewicz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Visual Studio .NET as PHP IDE

2002-09-25 Thread Krzysztof Dziekiewicz
Does anyone use VStudio .NET as your IDE in developing PHP Scripts? If so, have you found a way to make it so that it understands PHP? In particular color coding and the understanding of where functions start and end (for the solution explorer, etc). I was not using VStudio .NET but if I

Re: [PHP] Why my php pages are cached in browsers?

2002-09-25 Thread Krzysztof Dziekiewicz
In browsers, my php pages are cached. All the code that is returned by php are stored. In version 4.1 this not ocurred, anybody can help me? First: Check if you send headers: header('Pragma: no-cache'); header('Expires: Thu, 01 Jan 1970 01:00:00 GMT'); header('Cache-Control: no-cache,

Re: [PHP] How to create user in mySQL ?

2002-12-06 Thread Krzysztof Dziekiewicz
Why do people insist on asking MySQL questions on a PHP list? search for flush privileges on the MySQL website. Mayby it is the most inteligent newsgroup. ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Move Database

2002-12-09 Thread Krzysztof Dziekiewicz
MYSQLUSER -p DATABASE TABLE 1 TABLE 2 ... TABLE N backup.sql In backup.sql you get CREATE and INSERT syntax. In new server you can execute: mysql -h NEWMYSQLHOST -u MYSQLUSER -p DATABASE backup.sql Of course in new server you must create DATABASE before. -- Krzysztof Dziekiewicz

Re: [PHP] cookies

2002-12-23 Thread Krzysztof Dziekiewicz
? -- Krzysztof Dziekiewicz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php-java formatting

2002-12-23 Thread Krzysztof Dziekiewicz
wrong. Look this: $x = 'Fill fields:\nfirstname\nsurname\nfirm'; echo script alert('$x'); /script; On the screen you get: Fill fields: firstname surname firm It works in Netscape and Internet Explorer. -- Krzysztof Dziekiewicz -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] MySQL vs PostgreSQL

2003-01-06 Thread Krzysztof Dziekiewicz
to use MySQL to PostgreSQL, which is aparently more powerful.. -- Krzysztof Dziekiewicz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] system()

2003-01-06 Thread Krzysztof Dziekiewicz
that is executed in system() can by asynchronous - system() finishes but the command continues work on the server. If you need some results of the command system(COMMAND) has to return a handle point that you could use at the end of the page. -- Krzysztof Dziekiewicz -- PHP General Mailing List

Re: [PHP] MySQL vs PostgreSQL

2003-01-08 Thread Krzysztof Dziekiewicz
What about transactions ? In all the discussion noone points that PostgreSQL uses them. Maybe noone uses transactions so they have no matter. -- Krzysztof Dziekiewicz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Directory Listing with php on unix boxes

2003-01-08 Thread Krzysztof Dziekiewicz
() or something like this to sort dirs. -- Krzysztof Dziekiewicz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Editors

2003-01-08 Thread Krzysztof Dziekiewicz
I'm running Apache 2.0 as a service and PHP (like a module) onto a Windows Advanced Server. Im looking for a good and free Editor to use with PHP (With debugging features). Can anyone with experience guide me? Look up archives. You will get full list of PHP editors. -- Krzysztof

Re: [PHP] POST_with_PHP_--_please_help_!

2003-02-04 Thread Krzysztof Dziekiewicz
That's right, but with curl it's not a true redirection: you just print the content of the target page, you don't redirect to the page. What I need is automated forms, that send the same data as forms but without user interaction. I can't use javascript to automatically send a form. Maybe

Re: [PHP] How to compare 2 strings

2003-02-04 Thread Krzysztof Dziekiewicz
else echo bad; } } If you have in one array test and in the other also test (not Test nor TEST but test) it must work. By the way in else echo bad; you have not got a quotation mark after bad. -- Krzysztof Dziekiewicz -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Confirmation e-mail

2003-02-13 Thread Krzysztof Dziekiewicz
is this usualy done? Any thoughts and help is appreciated. You keep the content of e-mail in a file and use to complete an e-mail after clicking. You send such e-mail by PHP command mail and that is all. -- Krzysztof Dziekiewicz -- PHP General Mailing List (http://www.php.net

Re: [PHP] Newbie php.ini

2003-02-13 Thread Krzysztof Dziekiewicz
permits? Thanks, Val -- Krzysztof Dziekiewicz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: How to navigate backwards in PHP ???

2002-10-14 Thread Krzysztof Dziekiewicz
$HTTP_SERVER_VARS[HTTP_REFERER]; - or - PHP 4.1.0 and later $_SERVER[HTTP_REFERER]; Not as reliable as passing it yourself though. Some browsers may block sending http_referer. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP caching ideas?

2002-10-14 Thread Krzysztof Dziekiewicz
Is the general logic to slice the page into some general pieces. For example ones that have always general data and those that change. Then the ones that don't change are streamed to the user using passthrough and the rest of the page is generated dynamically with the newest relevant data.

Re: [PHP] People who searched this also searched this!

2002-10-17 Thread Krzysztof Dziekiewicz
. Such system is based on statistic or artificial neuron nets. For example the company Net Perceptions makes such systems as NetP based on statistic but they are not very fast. If you would like to buy their system you would have to sell some good cars. -- Krzysztof Dziekiewicz -- PHP General

Re: [PHP] weird IE cookie problem

2002-10-17 Thread Krzysztof Dziekiewicz
Is the time set properly on your machine? Double check both the time AND the timezone. I went nuts trying to fix a similar problem once just to find out that someone had changed the timezone on the PC for a test and then forgot to put it back. It is very easy to check. Set $expires = 0;

Re: [PHP] ldap_add problem

2002-10-28 Thread Krzysztof Dziekiewicz
. Problems: 2a: access rights 2b: Wrong objectclass: sure you add it with right values: all attrubites include in class in objectclass. -- Krzysztof Dziekiewicz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Who can tell me where I can get the cracked Zend Encoder3.0 ?

2002-11-04 Thread Krzysztof Dziekiewicz
Who can tell me where I can get the cracked Zend Encoder 3.0 ? By the way write do [EMAIL PROTECTED] for cracked Windows XP ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Convert GIF to JPG with or without GD

2002-11-07 Thread Krzysztof Dziekiewicz
'convert' from packet Image Magic (Linux) It is problem with GD: Since all GIF support was removed from the GD library in version 1.6, this function is not available if you are using that version of the GD library. -- Krzysztof Dziekiewicz -- PHP General Mailing List (http://www.php.net

Re: [PHP] publishing php mysql website on cd-rom

2002-11-08 Thread Krzysztof Dziekiewicz
with this? Is there such a thing as runtime mySQL? What would it take to serve PHP from a CD? In my opinion the best is to use something like wget -r in Linux. -- Krzysztof Dziekiewicz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File locking problem

2002-11-08 Thread Krzysztof Dziekiewicz
and closed properly. Do you use include or require. In such situation you should not use include. -- Krzysztof Dziekiewicz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Convert GIF to JPG with or without GD

2002-11-08 Thread Krzysztof Dziekiewicz
The GD library bundled with PHP 4.3 can read gif images (but not write them) And imagejpeg allows to create the jpeg file. -- Krzysztof Dziekiewicz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML into PHP

2002-11-13 Thread Krzysztof Dziekiewicz
Wednesday, November 13, 2002, , wrote: How would i call a page in PHP that is XML? eg; if i had a file that was like below. http://www.philipnz.com/news/rss.xml and i wanted to include it onto a page. Look into PHP manual: XML parser functions -- PHP General Mailing List

Re: [PHP] posible bug, require and symlinks

2002-11-14 Thread Krzysztof Dziekiewicz
When I require a file from index.php, if there's no .. on the path (a relative path, but not going back), the relative path is from where the original file is, but if there's a .. on the path, the relative path is from where the symlink is (although php identifies the script as the original

Re: [PHP] LDAP specific?

2002-11-14 Thread Krzysztof Dziekiewicz
I can show a jpeg using a href with a target, either in a new page or a frame. To do this, PHP needs to be fed 'header(Content-type: image/jpeg)'. This can be put more or less anywhere in the very short script used for showing the jpeg and works. However, if I try to put any more html code