Re: [PHP-WIN] Does a spreadsheet-like front end exist for MySQL?

2009-04-06 Thread Piotr Pluciennik
Hi, maybe this tools can help: MySQL Administrator MySQL Query Browser MySQL Migration Toolkit All are available on mysql site, try http://dev.mysql.com/downloads/gui-tools/5.0.html HTH Piotr --- On Mon, 4/6/09, Bill Mudry wrote: From: Bill Mudry Subject: [PHP-WIN] Does a spreadsheet-like

Re: [PHP-WIN] include and warning: headers already sent by ..

2008-02-08 Thread Piotr Pluciennik
Try to remove characters (like spaces) that can be found at the end of your php scripts... example: where ### are any characters (even invisible), after the closing tag. There should be nothing. HTH, let me know Piotr germana <[EMAIL PROTECTED]> wrote: Hi there!!! i just want to ask so

Re: [PHP-WIN] how to add query string

2007-08-25 Thread Piotr Pluciennik
Hi, place a html anchor with required parameters in your html or html template file: ... link description ... then invoking above link, in your phpage.php you will get: value1 accessible via $_GET['param1'] value2 accessible via $_GET['param2'] value3 accessible via $_GET['param3'] for exa

Re: [PHP-WIN] Access connection

2005-06-21 Thread Piotr Pluciennik
Hi, probably you have to set necessary permissions to your database file under Windows. HTH Piotr --- Matt Murphy <[EMAIL PROTECTED]> wrote: > > > All, > > I'm moving a LAMP site to windows and I'm having one > small hurdle. I'm > trying to connect to an access db that's used by our > UPS

Re: [PHP-WIN] PHP compiler

2004-03-05 Thread Piotr Pluciennik
Try: http://www.ioncube.com/ HTH, Piotr --- William CANDILLON <[EMAIL PROTECTED]> wrote: > Heya ^^ > I wanna know if there are a way to "compile" our own > php script ? > Regards. > StorM > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.p

Re: [PHP-WIN] Crypt code

2004-02-25 Thread Piotr Pluciennik
Try this url: http://www.ioncube.com/ HTH, Greetings Piotr --- carlos castillo <[EMAIL PROTECTED]> wrote: > > I want to know if you know a tool to crypt the code, > all, i mean a file > php, so when i open it i only see some characters > without order, like > zend, but free or where can i get z

Re: [PHP-WIN] embedded PHP in HTML

2003-12-12 Thread Piotr Pluciennik
Try this way... remove and trying to call PHP. HTH Piotr --- Ahmad Khashan <[EMAIL PROTECTED]> wrote: > I am trying to get this code to work: > > > > > trying to call PHP. > > echo ("hello there"); > ?> > > > > > > > The PHP code is not executed. Any way to

Re: [PHP-WIN] md5 password with javascirpt

2003-12-05 Thread Piotr Pluciennik
Hi, There is widely used script called md5.js with all necessary functions - I've seen it in lot of places, but currently don't remember where. Try to search... HTH Piotr --- Exiang <[EMAIL PROTECTED]> wrote: > Hi, > question: how to encode a password in client side > with javascipt.. > > thanx

Re: [PHP-WIN] compiling extensions

2003-12-03 Thread Piotr Pluciennik
nsion or a third > party extension? > > On Tue, 2003-12-02 at 16:40, Piotr Pluciennik wrote: > > Hi, > > > > I've already compiled php and now is time for some > extensions. So, what > > should I do, where can I find info on how to do it > under windows? &

Re: [PHP-WIN] Re: compiling extensions

2003-12-03 Thread Piotr Pluciennik
s/php.ini > > then uncomment it. I mean remove ; > > eg. > > ;Windows Extensions > ;Note that MySQL and ODBC support is now built in, > so no dll is needed > for it. > ; > ;extension=php_bz2.dll > ;extension=php_cpdf.dll > ;extension=php_crack.dll > ;extensi

Re: [PHP-WIN] Cannot find ODBC32.dll

2003-12-02 Thread Piotr Pluciennik
I don't use W98, but I'm afraid it's a problem of your operating system, not php configuration. Check in Control Panel if your ODBC is properly installed on your machine. Piotr Miroslav Majdan wrote: > I am using Win98. I have installed PHP-4.3.4-Win32. When I tried to run > php.exe, Windows pri

[PHP-WIN] compiling extensions

2003-12-02 Thread Piotr Pluciennik
Hi, I've already compiled php and now is time for some extensions. So, what should I do, where can I find info on how to do it under windows? Waiting to hear from you asap... Piotr -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Password Protecting

2003-11-24 Thread Piotr Pluciennik
Piotr --- Donatas <[EMAIL PROTECTED]> wrote: > 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 a

Re: [PHP-WIN] Password Protecting

2003-11-22 Thread Piotr Pluciennik
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 login page for my user consits of a text field and a password field. when > the user clicks submit the password is being sh

Re: [PHP-WIN] Re: PHP CODE ERROR?

2003-11-17 Thread Piotr Pluciennik
This is exactly what I've told you in my last post... :-) Piotr Rocco CAstoro wrote: > NO, it is all because I exited the Class Properties before I defined all the > class functions, the first } shuld be the last } > "Bob Harris" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > C

Re: [PHP-WIN] PHP CODE ERROR?

2003-11-17 Thread Piotr Pluciennik
You've not defined any method for your class. Read comments with ** below. HTH Piotr // Defining the Class's Properties --- class Table { var $table_array = array(); var $headers = array(); var $cols; } * here you've ended your class definition * so below it's not a co

Re: [PHP-WIN] NewComer Code

2003-11-15 Thread Piotr Pluciennik
I'm afraid not... this function doesn't return string. Your function prints string... If you want your function to return string, try below example: function table4Strings( $string1, $string2, $string3, $string4 ) { return "$string1$string2$string3$string4"; } and use it: echo table4Strings(

Re: [PHP-WIN] Browser detection w text version on the fly

2003-11-09 Thread Piotr Pluciennik
I think it should help you: http://pl.php.net/function.get-browser take into account also $HTTP_USER_AGENT variable. HTH Piotr C-omputerSolutions Webmaster wrote: > Im making a script to parse my website into a text-only version, that part > is pretty easy. But I was wondering if anyone out th

Re: [PHP-WIN] vars from page to page

2003-11-05 Thread Piotr Pluciennik
The default config for new version of php is with register_globals set to off. This is because of security reason. You have your variable in $HTTP_GET_VARS['action'] or in $_GET['action'] (depends on php ver you use). Consult manual at http://www.php.net/manual/en/security.registerglobals.php HTH

Re: [PHP-WIN] best php editor?

2003-11-04 Thread Piotr Pluciennik
Try Maguma Studio www.maguma.com HTH Piotr --- Bobo Wieland <[EMAIL PROTECTED]> wrote: > Hi! > > What is the best php editor out there? Preferbly > freeware... I use Homesite+ > right now. It's the best one so far that I've tried > but I would like > codehints which Homesite doesn't provide. So

Re: [PHP-WIN] PHP4 + windows 2003 server

2003-11-04 Thread Piotr Pluciennik
Hi, have you got all directories and rights for them to store session variables on your server (in your example this is tmp directory)? Your error message means that php cannot write/access the session file. HTH Piotr servidor wrote: > Hi! > > PHP4 + windows 2003 server + Apache4 works fine?? >

Re: [PHP-WIN] PHP4 + windows 2003 server

2003-11-04 Thread Piotr Pluciennik
Hi, have you got all directories and rights for them to store session variables on your server (in your example this is tmp directory)? Your error message means that php cannot write/access the session file. HTH Piotr servidor wrote: > Hi! > > PHP4 + windows 2003 server + Apache4 works fine?? >

Re: [PHP-WIN] help!

2003-10-28 Thread Piotr Pluciennik
Hi, check in your php.ini if you've got option "short_open_tag" set to On or try to use full php open tag - " I have been away from my computer for many months and thus, have forgotten many of > the php basics. > > I'm trying to get "back into the swing of things" and the problem I'm having is t

Re: [PHP-WIN] Run php file every day?

2003-10-27 Thread Piotr Pluciennik
use AT command or tasks scheduler located in Control Panel of Windows system. HTH Piotr Disko_kex wrote: > Hi, > > Is there an easy way to run a php file same time every day? Im running > IIS5 and PHP4.3.3. > > Thx -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

Re: [PHP-WIN] HTML Printing problem.

2003-10-07 Thread Piotr Pluciennik
ter. > Is there something like this in php? > > >From: Piotr Pluciennik <[EMAIL PROTECTED]> > >To: [EMAIL PROTECTED] > >Subject: Re: [PHP-WIN] HTML Printing problem. > >Date: Tue, 07 Oct 2003 22:54:02 +0200 > > > >Hi, > > > >if I can su

Re: [PHP-WIN] HTML Printing problem.

2003-10-07 Thread Piotr Pluciennik
n (only showing once) and in your document (showing on every page) > with little code. The draw back of html is that there is no effient way to > print large files. > > JAVA comes with a html parser that you can use to send files to the printer. > Is there something like this in ph

Re: [PHP-WIN] HTML Printing problem.

2003-10-07 Thread Piotr Pluciennik
Hi, if I can suggest you to do some pagination on your reports, then after printing each page, next page will be automatically loaded and printed and so on until report will be printed. Reloading and printing of each page should be done with client side programt, such like javascript... This meto

Re: [PHP-WIN] clearing cache ...... still not workin out

2003-09-16 Thread Piotr Pluciennik
$table_text = $table_text . " \"font-family: $font\" >" . > $gfData[$i] . ""; > > > } > $table_text = $table_text . " > > > > >

Re: [PHP-WIN] clearing cache ...... still not workin out

2003-09-16 Thread Piotr Pluciennik
e to refresh the dammed > page . > > i must be scewing something somewhere . > cant figure out what n where . > > anyother ideas anyone . > > thanx a mill > > toby > > --- Piotr Pluciennik <[EMAIL PROTECTED]> wrote: > > Before se

Re: [PHP-WIN] clearing cache ......

2003-09-15 Thread Piotr Pluciennik
Before sending your graph with: Imagegif($im); try things like that: Header("Expires: Fri, 10 Jun 1976 07:00:00 GMT"); HTH Piotr --- toby z <[EMAIL PROTECTED]> wrote: > hay guyz > > this is a rather silly thing > but its starting to drive me now > > i have a page with a million switches ...

Re: [PHP-WIN] Help PHP + Access

2003-07-23 Thread Piotr Pluciennik
to connect to db via ODBC: $dbhandle = @odbc_connect('your_ODBC_DSN', 'user','password'); if($dbhandle == 0) { die('Database not connected'); } where "your_ODBC_DSN" is name of your ODBC source; then you use all odbc instructions to work with your db using for example

Re: [PHP-WIN] Listing an Objects Properties

2003-06-25 Thread Piotr Pluciennik
prin_r() ??? --- "Herhuth, Ron" <[EMAIL PROTECTED]> wrote: > > Is there anyway to view an objects properties? I > think I recall seeing > something about being able to do so but I can't find > it. > > thanks, > Ron > > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsub

Re: [PHP-WIN] still sessions

2003-04-04 Thread Piotr Pluciennik
AFAIK you can access them same way like in cookie based sessions when SID is on. HTH Piotr --- Iggy <[EMAIL PROTECTED]> wrote: > ok I have a very simply question to which I have not > found a good answer > yet. > > I have disabled cookie based sessions, i.e I pass > the session Id through the >

RE: [PHP-WIN] PHP Editor

2003-04-04 Thread Piotr Pluciennik
Anders, you are probably very proud of your answers... --- "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]> wrote: > > Does anyone have any recomendations for a good > inexpensive / free editor for > > PHP files? > > notepad.exe > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscr

Re: [PHP-WIN] PHP Editor

2003-04-04 Thread Piotr Pluciennik
Maguma can be quite interesting. http://www.maguma.com HTH Piotr --- Chris and Trish Kaelin <[EMAIL PROTECTED]> wrote: > Does anyone have any recomendations for a good > inexpensive / free editor for > PHP files? > > Chris Kaelin > > _

Re: [PHP-WIN] PHP IDE

2003-03-21 Thread Piotr Pluciennik
Try http://www.maguma.com/ I've met them at Cebit this year and it seems to be quite interesting. HTH Piotr --- Aaron Scribner <[EMAIL PROTECTED]> wrote: > Sorry if this topic has been covered/beating to > death, but is there any > decent development environment which allows one to > step thro

Re: [PHP-WIN] String Compare

2003-02-12 Thread Piotr Pluciennik
Have you tried strcasecmp() or strcmp()? See the manual for reference. Piotr --- Brennan Mann <[EMAIL PROTECTED]> wrote: > Hello Everybody, > > Is there a way to do a hex view on strings. Right > now my if statement is > evaluating to false when I compare these two > strings: > S1: 1000 > S2:

Re: [PHP-WIN] Who is foo & what is bar?

2003-01-22 Thread Piotr Pluciennik
Hmm.. :-)) but I'm afraid it's not only IT technology question :-) If you've remember in "Saving Private Ryan" movie this question apperars there a lot of times... "What is foobar?" So, what the f**k is foobar? :-) --- Uttam <[EMAIL PROTECTED]> wrote: > In many code examples in PHP documention (

Re: [PHP-WIN] SQL-query

2003-01-17 Thread Piotr Pluciennik
Hi, I don't use MYSQL, but the problem is common for databases. One of the idea of auto increment field is to have unique identifiers, so you can't insert a record with auto increment fields set by yourself. It's always done by DB. So you can't fill a "hole" in numbering after deleting record. Of

Re: [PHP-WIN] mail() does not work. Help please...

2002-08-28 Thread Piotr Pluciennik
So, you should have an access to smtp server. Then in php.ini set lines as below according to address of your server and your mailbox... [mail function] SMTP= your.smtp.server sendmail_from = [EMAIL PROTECTED] HTH Piotr --- Peter <[EMAIL PROTECTED]> wrote: > M

Re: [PHP-WIN] Comunications Port Accsess

2002-08-21 Thread Piotr Pluciennik
Hi, you've developed the electronic output board, so probably you've got also software to control it and probably it is also your own :-) I've never used serial ports in my php apps, so what I can suggest is: try to make a COM object to control your serial port and access this COM object from ph

Re: [PHP-WIN] Forward

2002-07-16 Thread Piotr Pluciennik
Hi, As I understand, you want to redirect user to a different page. Try header("Location: http://www.yourdomain.com/";); Your Header function MUST be called before any output is send, so take care about that (spaces before opening php tag, any HTML code and so on..). Otherwise you will get an e

Re: [PHP-WIN] How to dectect if a file exist in specific Folder

2002-07-10 Thread Piotr Pluciennik
Piotr --- David Elliott <[EMAIL PROTECTED]> wrote: > Dear Piotr > > On 10 July 2002 at 02:53:04 -0700 (PDT) (which was > 10:53 where I live) Piotr > Pluciennik wrote and made these points > > > RTFM!!! > > It is like saying to some one who wants to spell a

Re: [PHP-WIN] How to dectect if a file exist in specific Folder

2002-07-10 Thread Piotr Pluciennik
RTFM!!! bool file_exists( string filename) - returns TRUE if the file specified by filename exists; FALSE otherwise. --- Jack <[EMAIL PROTECTED]> wrote: > Dear all > I had a folder which contain some pdf report, the > name of the Report will be > : > xxx.xxx.20020702.pdf. > > Here is what i w

RE: [PHP-WIN] Browser Troubles...

2002-07-09 Thread Piotr Pluciennik
wrote: > I have validated the html... > > there is only one piece of JS in it... > > Would frames cause probs? > > > -----Original Message- > > From: Piotr Pluciennik > [mailto:[EMAIL PROTECTED]] > > Sent: 09 July 2002 11:48 AM > > To: [EMAIL PROT

Re: [PHP-WIN] Browser Troubles...

2002-07-09 Thread Piotr Pluciennik
Hmm... the first thing you should to do is to validate HTML output generated from your script. Second - to check if JS embeded in your page works correctly in problematic browsers. You must recognize the source of problems. I've met such problem once - with old IE4 and it was an IE bug with dyna

Re: [PHP-WIN] what's the MIME type of ".zip" in PHP?I only know "image/jpeg" and "text/html".THANKS

2002-06-21 Thread Piotr Pluciennik
> PLEASE GIVE ME INFORMATION AS MUCH AS POSSIBLE. > SUCH AS "RAR,MP3,...ETC"THANKS! Maybe this help for a while... Plain Text (text/plain) Zip Compressed Data (application/x-zip-compressed) Zip Compressed Data (application/zip) MPEG media file (video/mpeg) Portable Document Format (application/

Re: [PHP-WIN] Why can't I retrieve a query to MySQL?

2002-06-09 Thread Piotr Pluciennik
Have you enabled error reporting in your php.ini? Disabled will not show you possible errors, also syntax errors in your code. This blank screen suggest syntax error. HTH Piotr Blaine Dinsmore wrote: > I have not been able to return results using MySQL with PHP 4.2.1 and IIS 4.0. I was >wonde

Re: [PHP-WIN] ImageCreateFromJPEG

2002-06-09 Thread Piotr Pluciennik
Any warning, error statements and so on...? Have you loaded the GD extension? Sean wrote: > I cant seem to get ImageCreateFromJPEG() to work with PHP 4+ on Apache. > > Any ideas? > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- P

Re: [PHP-WIN] Data output

2002-05-09 Thread Piotr Pluciennik
Hi Matt, in your code unfortunately it's not clear how you are outputting data from an array, so I'm not sure... but try reset($rows) function - it will set internal pointer of array to first element... Consult manual for array functions, specially for reset(). HTH, let me know Piotr --- Matt

Re: [PHP-WIN] php.ini and SMTP

2002-04-29 Thread Piotr Pluciennik
Hi, you probably have more than one php.ini... HTH Piotr --- Shawn <[EMAIL PROTECTED]> wrote: > I have set the SMTP variable in my php.ini file to > the IP address of my SMTP > server. When I try to use email in my php scripts I > thought it was the php > code but it is using pretty standard

Re: [PHP-WIN] whois servers

2002-04-08 Thread Piotr Pluciennik
Hi Arijit, as promised - I'm sending you another useful URL with worldwide whois, lookup domain and more services. http://combat.uxn.com/ Gretings Piotr __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -

Re: [PHP-WIN] whois servers

2002-04-08 Thread Piotr Pluciennik
Hi, so, sending again - url with a lot of whois and other useful functions: http://combat.uxn.com/ Greetings Piotr Arijit Chaudhuri wrote: > Thanks a lot. It looks good. Will also look forward to the other site you > mentioned. > > Regards, > Arijit > > "Piotr Plu

Re: [PHP-WIN] whois servers

2002-04-05 Thread Piotr Pluciennik
Hi, try this: http://www.geektools.com/cgi-bin/proxy.cgi I also found a site with more options but today, at home computer I don't remember and haven't got it... I'll try to check it in my office on monday and then will send to you. HTH Piotr Arijit Chaudhuri wrote: > Hi all, > > I am looki

Re: [PHP-WIN] New to PHP Need Help

2002-04-04 Thread Piotr Pluciennik
Hi, mysql_fetch_row($result) function output is an array - so it's not strange that your script produces such output. Read the manual for detailed explanation of this function and how to handle the result set. You should also know name of the field you want to retrieve from db - in SQL query you

Re: [PHP-WIN] mail();

2002-04-02 Thread Piotr Pluciennik
Hmmm... "can't send" it's not enough words to precisely explain problem... but check first the configuration in your php.ini in section: [mail function] SMTP= your smtp server sendmail_from = [EMAIL PROTECTED] and fill it correctly. mail is working on (not onl

Re: [PHP-WIN] Session errors....

2002-03-27 Thread Piotr Pluciennik
Hi, PHP cannot save session information to your disk. As described in error message you probably haven't defined correct path to session directory (it's different on linux and windows)... or not set rights to it. So check php.ini "session.save_path" and properties of that directory. For exampl

Re: [PHP-WIN] connecting to a database using ODBC

2002-03-26 Thread Piotr Pluciennik
Hi, **first step: create DSN in Windows (Control Panel, ODBC) and bind it with your Access database **then in php code: $dbhandle = odbc_connect('YourDSN', '',''); if($dbhandle == 0) { die('Error connecting DB'); // or error handler } *here do your

Re: [PHP-WIN] Output of PHP ist truncated

2002-03-05 Thread Piotr Pluciennik
Hi, 1) check exactly what html content is generated by your script. Look at "page source" in your broser, you will see what one is receiving... Problem is probably in wrong html code. 2) If your php code is embeded in html - check, if it's correctly nested and all of your code is executed. HTH

[PHP-WIN] Again compiling under Windows

2002-02-25 Thread Piotr Pluciennik
ual under installation -> Windows > (lower part of the page) > > Christoph > > "Piotr Pluciennik" <[EMAIL PROTECTED]> schrieb > im Newsbeitrag > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > | Hi, > | > | I'd like to ask you where I can find i

[PHP-WIN] compiling and building under Windows

2002-02-25 Thread Piotr Pluciennik
Hi, I'd like to ask you where I can find informations how I can compile and build PHP 4.x and extensions in Windows environment. TIA Piotr __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com -- PHP Windo

Re: [PHP-WIN] Passing and array in a query string

2002-02-21 Thread Piotr Pluciennik
Try tu use $joinedstring = join(separator, $yourarray) to "pack" array into string and then $yourarray = split(separator, $joinedstring) to "unpack" array from string. HTH Piotr quincy wrote: > I want to find out if it is possible to pass an entire array via a query > string using php? > > --

Re: [PHP-WIN] RE: [PHP] Dynamic file creation in Win NT4.

2002-02-19 Thread Piotr Pluciennik
It's as easy as... :-) $day = getdate(time()); $f_name = create table name on time basis; $fd = fopen($f_name, "a"); // open file fwrite($fd, "string you want tu put (add) into file"); // write to file all your data fclose($fd); // close the file This will create your fil

Re: [PHP-WIN] Session problem...

2002-02-15 Thread Piotr Pluciennik
What version of IE are you using? Is this problem occurs with different versions or only with 4? Piotr --- Brian Feliciano <[EMAIL PROTECTED]> wrote: > how can i avoid this message in IE > - > Warning: Page has Expired > The page you requested was created using information > you submitted

Re: [PHP-WIN] reading from an excel file..

2002-02-13 Thread Piotr Pluciennik
Hi, on Win platform easiest way is to use COM - read more about it in Alain article: http://www.phpbuilder.com/columns/alain20001003.php3 HTH Piotr --- Brian Feliciano <[EMAIL PROTECTED]> wrote: > how can i read data from an excel file?? > > > > > -- > PHP Windows Mailing List (http://ww

RE: [PHP-WIN] Export MySQL --> DBF, CSV, MS Access, or MS Excel?

2002-02-04 Thread Piotr Pluciennik
You don't need to know formats of these files. Reasonable way is to use ODBC interface or in case of Access and Excel - COM model. ODBC will be easier. Greetings Piotr --- "Svensson, B.A.T. (HKG)" <[EMAIL PROTECTED]> wrote: > >Where should I look for information to dump MySql > tables to > >

Re: [PHP-WIN] and now?

2002-02-03 Thread Piotr Pluciennik
Hi, but what www server do you use? What operating system? You should properly configure www server (IIS, Apache, Xitami and so on...) to work with PHP. Look into PHP manual http://www.php.net/manual/en/installation.php for proper installation instructions. Greetings Piotr Bram Somers wrote:

Re: [PHP-WIN] gethostbyname renvoie... un nom!

2002-02-01 Thread Piotr Pluciennik
English please... :-) --- Sébastien Thüler <[EMAIL PROTECTED]> wrote: > Salut à tous! > > Le manuel indique sous gethostbyname() : "Retourne > l'adresse IP > correspondant à un hôte" > Mon but est d'obtenir l'adresse IP depuis le nom > d'hôte, donc j'ai naïvement > décidé de tenter ceci : > $ad

Re: [PHP-WIN] listing of column names...

2002-01-29 Thread Piotr Pluciennik
Try this: http://www.php.net/manual/en/function.mysql-fetch-field.php Piotr --- Afan Pasalic <[EMAIL PROTECTED]> wrote: > Hi all, > I need a function to make a list of names of columns > of specific table. > Any fast help? I was searching in MySQL > documentation but I can't find it (I didn't

RE: [PHP-WIN] how to increase memory

2002-01-29 Thread Piotr Pluciennik
Wojtku, check if you've changed correct php.ini (look for all php.ini in your machine). Sometimes by mistake you've got more than one php.ini in different dirs and edit not the appropriate one. Greetings Piotr --- "Spycha³a,_Wojciech" <[EMAIL PROTECTED]> wrote: > nop i've changet it to 64MB

Re: [PHP-WIN] Using PUT method for upload

2002-01-16 Thread Piotr Pluciennik
> I am currently using an HTML form with an type="FILE" ...> field. > However, for auditing purposes, I need to restrict > where users are allowed to > upload FROM as well as TO. > The HTML form offers a browse button that can roam > around the entire > filesystem and I can see no way of restr

Re: [PHP-WIN] Unique id Number

2002-01-14 Thread Piotr Pluciennik
Hi, yes, you can. If you're using MySQL try to use mysql_insert_id function - it should solve your problem. For more explanations and examples - see manual: http://www.php.net/manual/en/function.mysql-insert-id.php and for all mysql functions: http://www.php.net/manual/en/ref.mysql.php Greeting

Re: [PHP-WIN] syntax, 3 or 4?

2002-01-12 Thread Piotr Pluciennik
I've never used PHP3, but think that problem is probably because mysql module is built-in in PHP4 and in PHP3 - it's not and is not enabled by default. So you should activate extension supporting mysql in PHP3 config. Maybe it will help. Greetings Piotr PS: Let me know if it has helped you. P

[PHP-WIN] MySQL connection problem

2002-01-08 Thread Piotr Pluciennik
Hi everyone, I've got following problem - trying to connect to MySQL fails with following message: Warning: MySQL Connection Failed: Can't initialize character set 26 (path: default) in c:/foo/foo.php on line 6. Code for connecting: $dbhandle = mysql_connect('localhost', 'name,'password'); is c

Re: [PHP-WIN] Site running from MySQL

2001-12-24 Thread Piotr Pluciennik
Hi, it is possible and it works :-) for sure... and not only with MySQL but you can use other DB... Practically there is no limit in MySQL - the size of text field is reasonably big enough to do what you want. And if you'll use templates it will be much easier to administer. Merry Christmas to a

Re: [PHP-WIN] Header() redirect

2001-11-30 Thread Piotr Pluciennik
Hi, It can be caused by quite common mistake - any extra space (or characters like LF or CR) before or after in php file! Such characters are automaticly sent to the browser - and before it - all headers are sent - and we've got described error. I don't have this moment access to the online php

Re: [PHP-WIN] problems in connecting Access database

2001-11-27 Thread Piotr Pluciennik
Hi, have you defined correct DSN name? Is "test" a name of your database file (e.g. test.mdb) or a name of the DSN source in ODBC? What kind of DSN are you using? $conn = odbc_connect( 'test' , ' ', ' ' ); In this example - "test" should be a name of DSN source of ODBC driver. It is working - f

Re: [PHP-WIN] no cache?

2001-11-23 Thread Piotr Pluciennik
Hi, maybe this code will help in your case: Header("Expires: Fri, 10 Jun 1976 07:00:00 GMT"); It's send informations about expiration of the document (which is set in the reasonable past) and it influence cache behaviour. In my script it's working fine. Let me know if that helped you, greeting

Re: [PHP-WIN] php_mcrypt.dll

2001-10-25 Thread Piotr Pluciennik
Hi, a few month ago I've downloaded mcrypt library from http://mcrypt.hellug.gr. There were also sources (not only libmcrypt.c:-), as I remember. It was a dll library and it need some modification to plug into to php in win version. I haven't got so far enough time to do that, so maybe you'll man

Re: [PHP-WIN] page won't stop running

2001-06-24 Thread Piotr Pluciennik
Hi, what does it mean that page won't stop running? Browser can't finish to load a page and displays error?? What browser exactly do you (full version number) use? It can be caused by a browser bug, if it is IE v 4 Let me know, please. Greetings Piotr Scott Cadillac wrote: > Any ideas

Re: [PHP-WIN] cosine and sin in PHP on Win2K & IIS 5

2001-06-19 Thread Piotr Pluciennik
Hi, use arguments of trigonometric functions in radians, not degrees. Everything is ok in your example. Put as an argument for example pi/2... it will work. Greetings Piotr --- Bradley J Bristow-Stagg <[EMAIL PROTECTED]> wrote: > Hey guys, > I am currently dabbling in a little graphics > ge

Re: [PHP-WIN] PWS uses wrong PHP version

2001-05-05 Thread Piotr Pluciennik
Hi, I think you've forgot to change file association - it can be the answer: try following command at DOS prompt: C:\>assoc .php .php=PHPScript then C:\>ftype PHPScript PHPScript=c:\php4\php.exe %1 %* In this example (from my computer) files with .php extension are connected to application de

Re: [PHP-WIN] IE error

2001-05-02 Thread Piotr Pluciennik
Hi, I've already found an answer - bug in IE 4.0 connected to transfer-chunk coding in HTTP 1.1 (RFC 2616). Complete info about problem can be found in article Q177231 at www.microsoft.com All the best Piotr --- Piotr Pluciennik <[EMAIL PROTECTED]> wrote: > Hi everyone, >

[PHP-WIN] IE error

2001-05-02 Thread Piotr Pluciennik
Hi everyone, I'm using php 4.04pl with Netscape FastTrack Server 3.0 om Windows NT 4.0 platform. With Netscape Navigator 4.x everything is working fine. Page is correctly displayed. Problem doesn't exist also with IE 5.0. When I use IE 4.0 the page is loaded, then I've got message that browser c

Re: [PHP-WIN] bug?

2001-04-30 Thread Piotr Pluciennik
Hi, Probably I also got this "duracell syndrome":-)) in my php script. My project is tested on very old www server. The development machine has following configuration: - Win NT 4.0 - PHP 4.04pl1 - Netscape Fast Track 3. Browsers are: - Internet Explorer 5 - Netscape 4.76 When I browse pages wi

Re: [PHP-WIN] How to fulfill REQUEST.QUERYSTRING()

2001-04-29 Thread Piotr Pluciennik
Hi, much more easier :-)) simply use $START viariable in you php code. Greetings Piotr Gu Weidong-a1923c wrote: > Want to know how to get the value of "START" from >http://root/php.php?START="STARTSTRING" > ? > > I know it is easy to get it in ASP using REQUEST.QUERYSTRING("START"), but how

[PHP-WIN] libmcrypt

2001-04-24 Thread Piotr Pluciennik
Hi all, I've just downloaded for my windows installation libmcrypt-2.4.5-win32.zip encryption library. Has anyone know how to correctly install it on my system (Win NT40, php 4.04pl1)? Thanks in advance Piotr _ Do You Yahoo!? Get your

Re: [PHP-WIN] Installing GDLib

2001-04-23 Thread Piotr Pluciennik
Hi, if you've downloaded PHP binaries for Win you should already have GD library in it. You don't need any compiler. The file is is php_gd.dll or php_gd_gif.dll (it depends on version you have) and is located in extensions folder of your php directory. To 'activate' it you should change your php

Re: [PHP-WIN] Upload file

2001-04-16 Thread Piotr Pluciennik
Hi, uploading of file via form is described in chapter 19 of PHP documentation. Look there for more explanation and examples. But the source of error in your case is probably because of incorrect name of NAME field in the form. It should be not . Don't use "$" - put only the name of the variab

Re: [PHP-WIN] headers

2001-04-13 Thread Piotr Pluciennik
Hi, you can find this informations in RFC's - especially concerning HTTP headers in rfc2616 at: http://www.w3.org/Protocols/rfc2616/rfc2616 You can download all RFCs you want from http://www.rfc-editor.org/download.html Greetings Piotr --- lars_Eirik_Rønning <[EMAIL PROTECTED]> wrote: > I wa

Re: [PHP-WIN] PHP Editor

2001-04-11 Thread Piotr Pluciennik
Hi, I use PHP Coder - as I remember (I hope :-) I've downloaded it from www.stsoft.cjb.net All the best Piotr Mad Nas wrote: > Hi All, > I Search for a >1 ) Freeware >2 ) Powerful >3 ) Highlight Syntax >4 ) ... > > Editor for work on php files, Can you help me ? > > Thanks Fo

Re: [PHP-WIN] dynamic buttons

2001-04-11 Thread Piotr Pluciennik
Hi, you should use some of the PHP image functions. It let you do dynamic buttons. An example you've got in PHP online manual, in chapter 16 - Creating and manipulating images. Explanation of image functions - in function reference part of the above mentioned manual - unit XXVII. Image functions.

[PHP-WIN] GD library for win32

2001-04-11 Thread Piotr Pluciennik
Hi all, currently I'm using PHP on Windows NT with GD library version equal 1.6.2. This version doesn't support GIF file formats. I'd like to ask you where I can find earlier version of GD library for win32 platform and my version of PHP - 4.0.4pl1 - which supports GIFs? Maybe someone can send it

Re: [PHP-WIN] Win95 PHP installation, but no file associations?

2001-02-25 Thread Piotr Pluciennik
Hi, try this address, http://benoit.noss.free.fr/php/install-php.html I've found there solution for NT, maybe it will work for W95. I've never tried to run php on W95, so I'm not sure... Greetings Piotr Jim Lum wrote: > Hi, > > New here, and just trying to install PHP binaries from www.php.n

RE: [PHP-WIN] Is it possible to CONVERT file formats?

2001-01-25 Thread Piotr Pluciennik
Hi, if I can suggest using Word, not in native .doc format as usually but in RTF. It's in my opinion easier to parse and you can have all advantages of text attributes (bold, italic and so on) for generating HTML or XML, ease of use for users (in MS Word)... think about such solution and let me k

[PHP-WIN] installation on Netscape FastTrack

2001-01-18 Thread Piotr Pluciennik
Hi, I'm just trying to find information on how to instal php4 on Netscape FastTrack Server v. 3.01 in Win NT4.0 environment, both - as nsapi and as cgi. Could someone help me to find how to do it? Installation info I've got with my php copy explains this procedure for some servers, unfortunately