[PHP-WIN] multilanguage solutions

2004-02-26 Thread Donatas
Hey, I have this question here... has anyone heard of any project to help make a multilanguage website? Lets say all 'static' strings are stored in a database and managed through some webinterface? And then when you want to add new language the your website you do it through the same interface.

Re: [PHP-WIN] Re: header-session problem

2004-02-16 Thread Donatas
bullshit, I have apache and php setup as CGI... in most of my scripts that require to store unsensitive user info while he's online I use sessions. I never used PHPSESSID as well... replying to orriginal poster: if you would add session_start(); to your first page I bet things would start worki

Re: [PHP-WIN] IMAGES IN DB

2004-02-08 Thread Donatas
Heh I never thought I'd say this to anyone... but thank you for being so lazy. I wanted to know this long time ago but now I googled and found a great tutorial on this! http://codewalkers.com/tutorialpdfs/tutorial35.pdf For all lazy ones asking for help in the future... GOOGLE YOU BITCHES, GOOG

Re: [PHP-WIN] building a string question

2004-02-03 Thread Donatas
You either have to use double quotes to get $i parsed like this: $amendmentNumber = $_POST["amendmentID_$i"]; or you can use single quotes but you have to use $i as variable and not as part of a string like this: $amendmentNumber = $_POST['amendmentID_'.$i]; Cheers, /

[PHP-WIN] imitating browser

2004-02-02 Thread Donatas
e a search form to search anything we need by sending POST queries to ex. search page (search doesn't work if you are not logged in) -save those pages (trivial part) I am pretty sure that has to be possible with sockets and things alike. Any help is appreciated! /Donatas -- PHP Windows Mai

Re: [PHP-WIN] Show the Progress of a file being uploaded

2004-01-20 Thread Donatas
I guess you don't get what this discussion is all about. It's about file upload progress bar not about progress bars in general. /Donny Ignatius Reilly wrote: There is a great PEAR class to do just that: HTML_Progress. Easy to use and powerful. I use it with much satisfaction. HTH Ignatius

Re: [PHP-WIN] chmod on win xp

2004-01-19 Thread Donatas
This goes only for Windows XP Pro, Home edition doesn't have this. Go to [Explorer window] -> Tools -> Folder Options -> View::Advanced Settings List. And the last option in it says "Use simple file sharing (Recommended)"... well recommended my ass, uncheck it. /Donny mayo wrote: I must be mi

Re: [PHP-WIN] Re: GD2 function issue

2004-01-05 Thread Donatas
Why don't both of you continue this in private!? And maybe IRC would be a better place for chatting to each other, not this public mailing list. Thanks, Donny choinet wrote: You shouldn't have subscribed on the mailing list in the first place. --- "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]> wro

Re: [PHP-WIN] PHP 4.3.4 and Sessions

2003-12-01 Thread Donatas
Is is possible that you were in some webpage that has set those other session variables? they don't seem to be very random ones. Donny Eric COLINET wrote: Hi, It looks like a serious bug. If you are able to write few lines of code that bring to the same result, i suggest you post the bug to t

Re: [PHP-WIN] i need help

2003-11-27 Thread Donatas
Disregard those stars... I guess this is a bug in my mail app or php-win mailing list, it should have been bold instead. Donatas wrote: It doesn't work coz you need to do it this way: echo("Your username = ". *$_GET ['username']*.""); echo("Your passwor

Re: [PHP-WIN] i need help

2003-11-27 Thread Donatas
It doesn't work coz you need to do it this way: echo("Your username = ". *$_GET ['username']*.""); echo("Your password = ". *$_GET ['password']*.""); you use $_GET ['']; superglobal array for values passed via link or form where type is get or $_POST ['']; if you get info from a form via post met

Re: [PHP-WIN] Redirection

2003-11-27 Thread Donatas
Another solution would be to use output buffering. read the manual on ob_start (); Cheers, Donny Stuart wrote: PETCOL wrote: function browserRedirect() { var ns4 = document.layers; var ns6 = document.getElementById && !document.all; var ie4 = document.all;

Re: [PHP-WIN] syntax for remove column

2003-11-26 Thread Donatas
The syntax is called "go and read the damn manual"! http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#ALTER_TABLE Rinku Shivnani wrote: Dear all, I want to delete one column from my table. Can any of you tell me syntax for it pls ? Thank you -- PHP Windows Mailing L

Re: [PHP-WIN] Password Protecting

2003-11-23 Thread Donatas
How do you MD5 it before sendig out to server? Is that possible on the user side? I guess not... Piotr Pluciennik wrote: Your form is set to GET mode. Your form should work in POST mode. Think also to MD5 your password before sending over internet. HTH Piotr Nik wrote: Hi Guys 'n' Gals My lo

[PHP-WIN] caching headers

2003-11-18 Thread Donatas
I am writing caching class with GZIP support and such and I wonder if there is a way to cache headers (== get headers set by header ();) Donny -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] capturing the output to a file rather than the browser

2003-11-16 Thread Donatas
Yep, what you need is called output buffering. read about ob_start (); and other ob_* (); functions in PHP manual. Donny Brent wrote: Hi, Wondering if anyone can help!. I am trying to run a file like this after a submit from a form. .. .. My question is! Is there anyway using PHP to capture

Re: [PHP-WIN] problems installing php4

2003-11-04 Thread Donatas
How can we help if you haven't told us anything? Prolly this image gallery needs something more than just a GD library support as enabling it is a piece of cake Paul Fritzsche wrote: Hi, I use windows xp with apache webserver 1.3.28 now, I want to use some sort of gallery program and found on

Re: [PHP-WIN] Error calling php_info

2003-10-17 Thread Donatas
Getting CHM version of PHP manual would be the right thing to do. It's index/search is the best way to learn about functions you need. Good luck ;) Donny Yosvel Reyes wrote: Hi All: Enviroment: php 4.xx Apache 2.0 Internet Explorer 6.0 Windows OS I'm Just a php beginner and I'm testing some

[PHP-WIN] Fast template engines

2003-10-12 Thread Donatas
Can someone recommend me some really fast template engine? I am making my own template class and I would like to test it's speed against some best template engines out there. So far mine is way faster than Yapter (about 8 times) and just a little bit faster than Smarty (about 1.2 times). Donny

Re: [PHP-WIN] Problem with 2 buttons

2003-09-23 Thread Donatas
input doesn't have a closing tag, DUH http://www.w3schools.com/tags/tag_input.asp toby z wrote: :) you didnt close the input tag pal :) toby --- William Cheung <[EMAIL PROTECTED]> wrote: > Please ignore the word "DEFANGED_". I don't know why it is there when I paste it. William Cheung

Re: [PHP-WIN] Auto Refresh

2003-09-20 Thread Donatas
I would also like to know how to do that it would be nice to make script that sends emails on a certain preset time. Like Birthday notifications, etc... ascll wrote: Greetings, Could someone please teach me how to configure my .php page to auto refresh, say every 5 seconds? Thanks in advan

[PHP-WIN] UTF8_encode ()

2003-08-31 Thread Donatas
I can't make this function do what I need, and any help is really appreciated. For testing I set up two pages, one with iso-8859-1 encoding that has a form with textbox and submit button and another using utf-8 encoding with echoing utf8_ecnode ();ed text written in the textbox in the first page.

RE: [PHP-WIN] please help with table again (Best book)

2003-08-25 Thread Donatas
"PHP and MySQL Web Development" by Luke Welling and Laura Thomson I read only 250 of this book but it gave me marvelous introduction to PHP and MySQL. After reading those pages I started doing some eproject and now I feel very comfortable with PHP. Btw, I knew some Pascal and C++ already and that

RE: [PHP-WIN] this is so difficult for me

2003-08-24 Thread Donatas
This is how I would do it ' for ($j = 0; $j != $columns; $j++) { $row = mysql_fetch_array($result); $_SESSION["picture(".($i * $columns + $j).")"] = $row["pictures"]; echo "" ; } echo ''; } ?> Sorry if there are any bugs here, I didn't test it :) Cheers, Donny -Original

RE: [PHP-WIN] need help with sessions

2003-07-12 Thread Donatas
Message- From: Miha Nedok [mailto:[EMAIL PROTECTED] Sent: Saturday, July 12, 2003 6:08 PM To: Donatas Cc: [EMAIL PROTECTED] You can use HTML: -Mike On Thu, 10 Jul 2003, Donatas wrote: > Date: Thu, 10 Jul 2003 19:25:46 +0200 > From: Donatas <[EMAIL PROTECTED]> > To: [

RE: [PHP-WIN] need help with sessions

2003-07-10 Thread Donatas
be redirected to the new page where the session was needed... Hope to have been usefull (and perceptible, from my english ;) ) Luis Ferro Donatas wrote: >First some data about my setup: >PHP 4.2.3 (I bet nothing has changed till PHP 4.3.2 regarding >sessions) running on Windows 2K server

[PHP-WIN] need help with sessions

2003-07-10 Thread Donatas
First some data about my setup: PHP 4.2.3 (I bet nothing has changed till PHP 4.3.2 regarding sessions) running on Windows 2K server My PC: Windows 98 SE Browser: IE 6.0.2600. Now, the problem occurs when using sessions and header ('Location: ...'); test1.php /**/ http: