[PHP-WIN] Class question

2002-06-24 Thread Alberto. Sartori
Hi guys. I got a little problem. I created a simply class: $istance=new MyClass(); $istance->Think("hi"); The method "think" must return a variable and the user can handle it. How can I do this? Thanks in advance,Alb -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: h

[PHP-WIN] Color parser? what?

2002-06-24 Thread Alberto. Sartori
Hi guys, I got a funny questions. I need to create a html page with some php code color-parsed (I mean, the tags all coloured in different way in case of html tags, comments etc...), like HomeSite do. But I need to put out in html final page. I've to do this sucking work handly? Thanks! --

[PHP-WIN] R: [PHP-WIN] ASP and PHP

2002-05-15 Thread Alberto. Sartori
PRO PHP: 1) It's free 2) It's multiplatform 3) It's at leat 60% more quick than asp 4) It's open source 5) Not come from Microsoft 6) It's "little" 7) It's C/C++ and PERL sintax like 8) It's easy to learn 9) It can connect to the most used dbms in the world 10) It's cool and you can do also pizza

[PHP-WIN] Making extension

2002-05-14 Thread Alberto. Sartori
Hi guys, I wanna ask you a simply questions. If I would make a .dll extensions, basically what I've to do? what kind of tools I need? thanks! Alberto Sartori - Developer Hard Programming Dep. --- CELL NETWORK ITALIA S.p.A Via Correggi

[PHP-WIN] reg exp

2002-05-03 Thread Alberto. Sartori
Hi guys, I need to make a right pattern to extract only digits from a string like this: "Hello 12 28 99 World" Any idea? I've red lots of docs, but I'm newbie about regexp Thanks in advance, regards, Alb -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

[PHP-WIN] R: [PHP-WIN] Php on windows - Linux and Windows Editors

2002-05-02 Thread Alberto. Sartori
HomeSite 5.0 is another good editor for HTML with a nice php parser. Isn't free but you can download a trial copy from www.macromedia.com regards,Alb -Messaggio originale- Da: Russell Griechen [mailto:[EMAIL PROTECTED]] Inviato: venerdì 3 maggio 2002 1.25 A: Sukhwinder Singh; [EMAIL PRO

[PHP-WIN] FuLL text search engine

2002-04-30 Thread Alberto. Sartori
Hi guys, I'm trying to create a full text search engine in my site. The idea should be this: looking for the key in every files (bypassing html code) and returning the percentage of results based on the matching. Any basic idea about it? thanks in advance... best regards, RaS! Al

[PHP-WIN] R: [PHP-WIN] Access databse

2002-04-30 Thread Alberto. Sartori
You can use ADO creating istances. Ex: $conn=new COM("ADODB.Connection"); Full example at: http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=303&lngWId=8 regards, Alb -Messaggio originale- Da: Mikael Syska [mailto:[EMAIL PROTECTED]] Inviato: martedì 30 aprile 2002 11.33 A: [EMAI

[PHP-WIN] Problem using ImageTTFText

2002-04-22 Thread Alberto. Sartori
immagine.php on line 20 That "EURzQ" change everytime I run my code... Anyone can help me? thanks! Alberto Sartori - Developer Hard Programming Dep. --- CELL NETWORK ITALIA S.p.A Via Correggio, 19 20149 Milano - Italy Phone +39 02.46.90.5

[PHP-WIN] R: [PHP-WIN] Quoted Dynamic Strings are killing me (Second Attempt)

2002-04-22 Thread Alberto. Sartori
Something's going wrong... check the value of each variables ($selectedFirstname and $selectedFirstname ). Use echo to print out them. If necessary check the html source of the page with the form. -Messaggio originale- Da: R.S. Herhuth [mailto:[EMAIL PROTECTED]] Inviato: lunedì 22 aprile

[PHP-WIN] R: [PHP-WIN] PHP on IIS5 WIN2K Problem - Help?

2002-04-22 Thread Alberto. Sartori
Try adding IWAM_Machinename -Messaggio originale- Da: James Meers [mailto:[EMAIL PROTECTED]] Inviato: lunedì 22 aprile 2002 10.50 A: [EMAIL PROTECTED] Oggetto: [PHP-WIN] PHP on IIS5 WIN2K Problem - Help? I have installed PHP on my server and it works fine, however, whenever executing a

[PHP-WIN] R: [PHP-WIN] help with upload IIS php 4.1.2

2002-04-18 Thread Alberto. Sartori
If you've turned on the Global Variables you can use this: $_FILES["userfile"]["name"] $_FILES["userfile"]["size"] -Messaggio originale- Da: cybero [mailto:[EMAIL PROTECTED]] Inviato: giovedì 18 aprile 2002 16.42 A: [EMAIL PROTECTED] Oggetto: [PHP-WIN] help with upload IIS php 4.1.2 H

[PHP-WIN] R: [PHP-WIN] Using Access with PHP via ODBC

2002-04-18 Thread Alberto. Sartori
Try this (from pscode.com): Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=C:\\inetpub\\wwwroot\\php\\mydb.mdb"); // SQL statement to build recordset. $rs = $conn->Execute("SELECT myfield FROM mytable"); echo "Below is a list of values in the MYDB.MDB database, MYABLE table,

[PHP-WIN] R: [PHP-WIN] Newbie Question

2002-04-08 Thread Alberto. Sartori
You should do the cicle and get the datas until you reach the end of file aka feof($fp) or better, try to use fread() -Messaggio originale- Da: Mike Flynn [mailto:[EMAIL PROTECTED]] Inviato: lunedì 8 aprile 2002 15.30 A: Hubert DAUL; [EMAIL PROTECTED] Oggetto: Re: [PHP-WIN] Newbie Questi

[PHP-WIN] R: [PHP-WIN] Cookies and IIS5

2002-04-08 Thread Alberto. Sartori
I've used for several time my pc with IIS5 and php with no problem. And I can use the cookies quitelly.what kind of problem you got? -Messaggio originale- Da: John Braden [mailto:[EMAIL PROTECTED]] Inviato: lunedì 8 aprile 2002 14.50 A: [EMAIL PROTECTED] Oggetto: [PHP-WIN] Cookies an

[PHP-WIN] R: [PHP-WIN] Using ODBC

2002-04-04 Thread Alberto. Sartori
I've used several times an ODBC Connection with Access db. I used the COM object. I found a simply example: $dbname="prova.mdb"; $query="SELECT * FROM users"; $connessione=new COM("ADODB.Connection"); $connessione->Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=C:\\inetpub\\wwwroot\\

[PHP-WIN] R: [PHP-WIN] mail();

2002-04-02 Thread Alberto. Sartori
You got a "Server error" ? -Messaggio originale- Da: Piotr Pluciennik [mailto:[EMAIL PROTECTED]] Inviato: martedì 2 aprile 2002 17.02 A: [EMAIL PROTECTED] Oggetto: Re: [PHP-WIN] mail(); Hmmm... "can't send" it's not enough words to precisely explain problem... but check first the confi

[PHP-WIN] R: [PHP-WIN] server problem?

2002-03-29 Thread Alberto. Sartori
Your user got the correct permissions on the php's folder? It should be a premissions problem...however, what kind of code did you run? -Messaggio originale- Da: Mihail Bota [mailto:[EMAIL PROTECTED]] Inviato: venerdì 29 marzo 2002 10.21 A: [EMAIL PROTECTED] Oggetto: [PHP-WIN] server pro

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

2002-03-27 Thread Alberto. Sartori
Check if you have the correct permissions on that folder (write) -Messaggio originale- Da: Piotr Pluciennik [mailto:[EMAIL PROTECTED]] Inviato: giovedì 28 marzo 2002 8.15 A: [EMAIL PROTECTED] Oggetto: Re: [PHP-WIN] Session errors Hi, PHP cannot save session information to your disk

[PHP-WIN] R: [PHP-WIN] Failed opening for inclusion

2002-03-27 Thread Alberto. Sartori
You can do this? use an URL as an argument for include? -Messaggio originale- Da: Sonia [mailto:[EMAIL PROTECTED]] Inviato: mercoledì 27 marzo 2002 13.39 A: [EMAIL PROTECTED] Oggetto: [PHP-WIN] Failed opening for inclusion Hie all, Do someone knows why i've got an error when my script

[PHP-WIN] Mail() problem solved!

2002-03-27 Thread Alberto. Sartori
access ONLY to your machine's IP or others,but include always your IP). Do the same thing for the next button "Relay". With these new option, all works fine! Sorry for my englishbye! Alberto Sartori - Developer -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Still in trouble with mail()

2002-03-20 Thread Alberto. Sartori
Hey guys, I'm still in trouble by sending email with mail() function. As I've described some last posts ago, that function return me "Server error". Someone told me that my machine is not a mail server, but since php 4.0 I used mail() with no problem. My SMTP Service in IIS is correctly configu

[PHP-WIN] Session handling

2002-03-20 Thread Alberto. Sartori
Hi guys, this is mine PHP.INI: [Session] ; Handler used to store/retrieve data. session.save_handler = files ; Argument passed to save_handler. In the case of files, this is the path ; where data files are stored. Note: Windows users have to change this ; variable in order to use PHP's session

[PHP-WIN] Sessions

2002-03-18 Thread Alberto. Sartori
Hi guys, as you know the php session are stored in a little file on the server. But like ASP, is there a way to store them in the memory of the server? Thanks to all Best regards, Alb Alberto Sartori - Developer Hard Programming Dep. -- PHP Windows Mailing List (http://www.php.net/) To

[PHP-WIN] GD library update

2002-03-15 Thread Alberto. Sartori
Hi guys, I'm looking for a new version (altready compiled as .dll) of GD library. Anyone can help me? Thanks, Alb Alberto Sartori - Developer Hard Programming Dep. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Problems with mail()

2002-03-13 Thread Alberto. Sartori
Hi guys. I've a big problem using mail() function. My system run under Win2k SP2 italian, with IIS 5 and PHP 4.1.2 (although I got this prob since 4.1.0). This is my php.ini [mail function] ; For Win32 only. SMTP = localhost ; For Win32 only. sendmail_from = [EMAIL PROTECTED] I've tried to re