Re: [PHP] Newbie php.ini

2003-02-13 Thread Krzysztof Dziekiewicz
ld keep me out of trouble with regards to security and > let me learn to use php as time permits? > Thanks, > Val -- Krzysztof Dziekiewicz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Confirmation e-mail

2003-02-13 Thread Krzysztof Dziekiewicz
e the best approach to achieve this? How 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 --

Re: [PHP] How to compare 2 strings

2003-02-04 Thread Krzysztof Dziekiewicz
ot;; //never system send me a good result > 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 ha

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.

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. I´m 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 edi

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

2003-01-08 Thread Krzysztof Dziekiewicz
ld use filemtime() 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] 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] system()

2003-01-06 Thread Krzysztof Dziekiewicz
not asynchronous. Only a command 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() has to return a handle point that you could use at the end of the page. -- Krzysztof Dziekiew

Re: [PHP] MySQL vs PostgreSQL

2003-01-06 Thread Krzysztof Dziekiewicz
cons of MySQL and why most of > you prefer 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] php-java formatting

2002-12-23 Thread Krzysztof Dziekiewicz
ut you have to do something wrong. Look this: $x = 'Fill fields:\nfirstname\nsurname\nfirm'; echo " alert('$x'); "; On the screen you get: Fill fields: firstname surname firm It works in Netscape and Internet Explorer. -- Krzysztof Dziekiewicz -- PHP General

Re: [PHP] cookies

2002-12-23 Thread Krzysztof Dziekiewicz
e headers ? -- Krzysztof Dziekiewicz -- 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
dump -h -u -p ... > backup.sql In backup.sql you get CREATE and INSERT syntax. In new server you can execute: mysql -h -u -p < backup.sql Of course in new server you must create DATABASE before. -- Krzysztof Dziekiewicz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

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

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 origin

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 (http://www

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] File locking problem

2002-11-08 Thread Krzysztof Dziekiewicz
ch suggests that it wasn't really flushed > 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] publishing php > mysql website on cd-rom

2002-11-08 Thread Krzysztof Dziekiewicz
x27;s involved 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] Convert GIF to JPG with or without GD

2002-11-07 Thread Krzysztof Dziekiewicz
are...) ??? Command '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

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] Passing the variables ...

2002-10-29 Thread Krzysztof Dziekiewicz
> [snip] >> I tried using echo($_GET['$textbox']) instead of printf statement in >> hello.php.. > [/snip] > Try $_POST['textbox'] instead. (You were using "method=post".) ... or $HTTP_POST_VARS['textbox'] -- Krzysztof Dzieki

Re: [PHP] ldap_add problem

2002-10-28 Thread Krzysztof Dziekiewicz
after ldap_add print ldap_error 2. 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] 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] People who searched this also searched this!

2002-10-17 Thread Krzysztof Dziekiewicz
r system computers all data. 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. --

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 dat

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

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 i

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 uns

Re: [PHP] COOKIE Question.

2002-09-17 Thread Krzysztof Dziekiewicz
uot;Test_Value",time()+31536000,"/"); - slash as 4th parametr. -- 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 L

Re: [PHP] header question

2002-09-11 Thread Krzysztof Dziekiewicz
do this?... > header( "Location: login.php?id=${ID}" ); What 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

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

2002-09-06 Thread Krzysztof Dziekiewicz
>> the browser BACK button, I get the cached page so I have to click on Refresh >> 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 --

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 with hidden fields and at

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 Lis

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 coo