RE: [PHP] Free MySQL Hosting :)

2002-11-19 Thread Daniel Masson
AWSOME !!! Cordialmente Daniel Massón => Ingeniero de desarollo [EMAIL PROTECTED] www.imagine.com.co Tels: (57)(1) 2182064 - 6163218 Bogotá - Colombia - Soluciones web para internet e intranet - Asesoría y Soporte Técnico - L

[PHP] Php search results

2002-11-21 Thread Daniel Masson
Hello everyone ... Im working on some kind of search engine for two little tables on text fields on mssql, and the text fields can be very large fields, im doing the search with SELECT FIELD FROM TABLE WHERE FIELD LIKE '%SOMTHING%' .. My question is: When displaying the search results i dont wan

RE: [PHP] help needed with forms

2002-11-21 Thread Daniel Masson
My advice is USE JAVASCRIPT Cordialmente Daniel Massón => Ingeniero de desarollo [EMAIL PROTECTED] www.imagine.com.co Tels: (57)(1) 2182064 - 6163218 Bogotá - Colombia - Soluciones web para internet e intranet - Asesoría y So

RE: Re[2]: [PHP] need advice on template engine

2002-12-03 Thread Daniel Masson
Ive been working with smarty and for me its awsome ... My advice is SMARTY !!! Hi Justin. JF> http://smarty.php.net seems polular It seems to me too but i thick may be I can miss smthng important Alexander A. Savenkov System Administrator mailto:[EMAIL PROTECTED] JSC "Terminal GMB" ht

RE: [PHP] date

2002-12-03 Thread Daniel Masson
Take a look at mktime() and date() ... echo date("M",mktime(0,0,0,12,1,2002)) The first param of date is the format, "M" means month in string format not number of month, and mktime paramas are: int hour, int minute, int second, int month, int day, int year This should work Hi, please c

RE: [PHP] PHP Sessions

2002-12-04 Thread Daniel Masson
$_SESSION IS SUPERGLOBAL Are you sure? I thought $_SESSION was a superglobal. Marco On Wed, 2002-12-04 at 09:15, Justin French wrote: > Good point -- are the included files functions, or other stuff?? > > function myfunc() > { > return $_SESSION['something']; > } > > will

RE: [PHP] UNA AYUDA-NOVATO PHP

2002-12-10 Thread Daniel Masson
Amigo: Tiene que ajustar el archivo c:/winnt/php.ini Y poner register_globals= On Cordialmente; Daniel E. Massón. Web: www.imagine.com.co Te Deseamos una Feliz Navidad y un Prospero 2,003 > -Mensaje original- > De: Héctor Fabio Sánchez Velasco [mailto:[EMAIL PROTECTED]] > Enviado

[PHP] Smarty + css + dreamweaver

2002-12-12 Thread Daniel Masson
Hi list : This is maybe a silly question from deamweaver users, i hope you people understand what i mean. im working on a site php, smarty,css , etc. the directory structure of the site is this: -- - classes - Files of the smarty cl

RE: [PHP] Smarty + css + dreamweaver

2002-12-12 Thread Daniel Masson
ueves, 12 de diciembre de 2002 16:14 > Para: Daniel Masson; 'PHP' > Asunto: Re: [PHP] Smarty + css + dreamweaver > > > use absolute path > type="text/css"> > > or > > href="http://www.sitename.com/style.css"; > type=&

[PHP] pfpro configuration on win2000

2002-12-19 Thread Daniel Masson
Hello list !!! Id like to know if theres a way to enable pfpro extension on windows 2000 ... Im currently usong 4.2.3 and i havnt seen any dll for this extension in the distro Thanks for your help .. Regards. Daniel. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vis

RE: [PHP] session lost when back button hit?

2002-08-16 Thread Daniel Masson
HI make ser youre using session_start() before performing any action on sessions, also make sure you´re registering properly the variables. -Mensaje original- De: Jean-Christian Imbeault [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 16 de agosto de 2002 9:43 Para: [EMAIL PROTECTED]

RE: [PHP] secure files acess

2002-08-16 Thread Daniel Masson
Hi there !!! I had the same problem once ... This will save you !! http://www.zend.com/zend/trick/tricks-august-2001.php I have a bunch of files which need to be kept secure. I need to allow a user access to them them based on a criteria which I can programmatically determine. My question, i

RE: [PHP] Re: progress bar for uploading files

2002-08-16 Thread Daniel Masson
I ... Had to do something like that recently .. Sending files through ftp_put(); i just send the file .. And when user clicks 'Send' button ... A pop-up appears and gets the file size of the remote file and comparing with de local size you can build a progress bar This pop-up uses the tag th

RE: [PHP] Passing variables between servers

2002-08-21 Thread Daniel Masson
Hi !! I know you said you cont want to use cookies ... I suggest that place encrypted data in a cookie and in the win2000 machine place a php script that read the data in the cookie, uncryptit and some how set the info for the asp script, a plain text file or something ... I hope this is useful

RE: [PHP] newbie question

2002-08-30 Thread Daniel Masson
Just do this: Header("Location: $where_you_wanna_go\n\n"); And make sure you do this before produce any HTML autput !! Hope this is helpful !! How do I get PHP to automatically open another PHP page in a browser if a condition is met? I have a pull down HTML table that submits a form to a PHP

RE: [PHP] generating variable names

2002-09-06 Thread Daniel Masson
Hi ... You can make it like this: If you have $variable4[0]="four"; Then you can have a new variable $$variable[0] , and the new variable´s name is four Cordialmente Daniel Massón => Ingeniero de desarollo [EMAIL PROTECTED] www.imagine.com.co Tels: (57)(1) 2182064 - 6163218 Bogotá - Col

Re: [PHP] Adding to a MySql Database

2002-09-24 Thread Daniel Masson
I agree mt, LET MYSQL DO THE JOB !! > > Marek's a bit more elegant, but I'm wondering when twelve of us press > the button and the database is hit bang, bang, bang. Mightn't a MySQL > autoincrement field be better, and let MySQL do the work? > > mt > > At 07:32 PM 9/24/2002 +0200, Marek Kilimaje

RE: [PHP] Re: MySQL back up

2002-10-09 Thread Daniel Masson
I agree everything, but Im not very sure if this is going to work: > $backup=@passthru("mysqldump --opt \"$sqldatabase\" > > $backupdir/$nam.sql"); You need to send mysqldump the username and password. Syntax is Mysqldump -uuser -ppassword databasename > fi

RE: [PHP] Re: MySQL back up

2002-10-10 Thread Daniel Masson
Ken .. You have to replace exec("mysqldump -u\"$sqlusername\" -p\"$sqlpassword\" \"$sqldatabase\" > $backupdir/$nam.sql"); With this exec("mysqldump -u \"$sqlusername\" --password=\"$sqlpassword\" \"$sqldatabase\" > $backupdir/$nam.sql"); Please not the space after -u And i agree owen about

RE: [PHP] Animation in PHP

2002-10-10 Thread Daniel Masson
No way man !! hai , I want to create an animated line in php from (x,y) to (x1,y1).will php support animation.if so how do i go about in doing this.how do i draw a char so that it keeps on changing colors till i close browser. thanks for help Arun

RE: [PHP] Problems with Fileupload

2002-10-10 Thread Daniel Masson
Sascha: I worked on a web based file share system, .. Users had to select the file(s) to share and start uploading to the remote servers, had, timeout problems, size problems, etc. This users are inside an intranet, so i started to use the php ftp functions, so i placed the web based application

[PHP] Win nt logon user how to ?

2002-10-11 Thread Daniel Masson
Hey everyone, id like to know how to get the logon user in my NT domain, i know that this can be done in ASP: Request.Servervariables("LOGON_USER"), and gets the logged user of the client machine, i need to do that with PHP, ... im affraid this is not possible because, runing phpinfo() ... this va

RE: [PHP] Win nt logon user how to ?

2002-10-11 Thread Daniel Masson
ng IIS. ---John Holmes... > -Original Message- > From: Daniel Masson [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 11, 2002 9:55 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Win nt logon user how to ? > > Hey everyone, id like to know how to get the logon user in

RE: [PHP] Progress bar for uploading files

2002-10-16 Thread Daniel Masson
I needed that once ... I uploaded files using ftp functions .. And then a pop-up comes checking the size on the remote host .. And comparing with the size on the local machine, that way a colud make that the pocp up displays a bar and refreshes every n seconds, displaying the bar with a longer siz

RE: [PHP] Smarty functions help

2002-10-29 Thread Daniel Masson
Thanks a lot man !! It worked perfecly !! > Im using smarty template engine .. Id like to know if theres a way to > place php functions, specifically nl2br(), into smarty templates .. > Not in php script that calls smarty class. Take a look at the modules/ folder in Smarty. You can crea

[PHP] Theory question

2002-11-01 Thread Daniel Masson
Hi every1 This is a theorical question about the best way to use classes. I have a class named anything, and also theres a table named ahything .. The class attributes are the same fields of the table like this Class anything { var $something1; var $something2; var $so

[PHP] Mysql connect through proxy

2002-08-13 Thread Daniel Masson
Hello everyone id like to know if theres a way to connect to mysql via proxy ... I really need to !! Any tip or help would be very useful !! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Redhat Linux 7.2

2002-08-14 Thread Daniel Masson
Usually in the RedHat cd´s you can find php-mysql-*.*.rpm, after installing this package you´re ready to go !! => Daniel. On Wednesday 14 August 2002 19:21, Tim Haynes wrote: > I have just installed Redhat Linux 7.2, the installation was fine at > it installed apache with php 4.0.6 as default

[PHP] Sql server -- trusted connection

2003-01-20 Thread Daniel Masson
Hello list. I need help on this urgently. I need to connect to a ms sql server usgin windows autentication on a win 2000 box and IIS 5, i cant switch sql server to windows and sql authentication, .. I really need to know hot to connect. Thanks Daniel E Massón. Ingeniero de desarrollo [EMAIL PR

RE: [PHP] 3 tier web development

2003-02-07 Thread Daniel Masson
Hardik: Maybe this can help: Im currently using PHP using MCV (Model Control View) Methology, Model is about libraries and classes like the business rules of your application, Control has to do with the como control sentences you must use like IF, WHILE,FOREACH, ... , and View is the look and fi

RE: [PHP] 3 tier web development

2003-02-07 Thread Daniel Masson
PROTECTED]; [EMAIL PROTECTED] Asunto: RE: [PHP] 3 tier web development Hi Daniel, Thanks for your comments. What is the difference between PHP nuke and Smarty engine? Can we use PEAR or ADODB as database abstraction layer? Which one is the best on everyone's experience? thanks Hardik --

RE: [PHP] 3 tier web development

2003-02-07 Thread Daniel Masson
opment Hi Daniel, Thanks for your comments. What is the difference between PHP nuke and Smarty engine? Can we use PEAR or ADODB as database abstraction layer? Which one is the best on everyone's experience? thanks Hardik --- Daniel Masson <[EMAIL PROTECTED]> wrote: > Hard

RE: [PHP] 3 tier web development

2003-02-07 Thread Daniel Masson
em for two databases... ---John Holmes... - Original Message - From: "Daniel Masson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 07, 2003 11:28 AM Subject: RE: [PHP] 3 tier web development About the database sigue .. i dont use ADOD or PEAR

RE: [PHP] delete query doesnt work

2003-02-07 Thread Daniel Masson
Maybe you have to use wildcards like: mysql_query("delete from members where company like '%$delete%'");?? Daniel E Massón. Ingeniero de desarrollo [EMAIL PROTECTED] Imagine S.A. Su Aliado Efectivo en Internet www.imagine.com.co (57 1)2182064 - (57 1)61632

RE: [PHP] setcookie on PHP??

2003-02-12 Thread Daniel Masson
Send some pieces of code. Daniel E Massón. Ingeniero de desarrollo [EMAIL PROTECTED] Imagine S.A. Su Aliado Efectivo en Internet www.imagine.com.co (57 1)2182064 - (57 1)6163218 Bogotá - Colombia - Soluciones web para Inte

RE: [PHP] authentication problem

2003-02-28 Thread Daniel Masson
Is it the Win IIS authentication system ??? or apache .htaccess Daniel E Massón. Ingeniero de desarrollo [EMAIL PROTECTED] Imagine S.A. Su Aliado Efectivo en Internet www.imagine.com.co (57 1)2182064 - (57 1)6163218 Bogotá - Colombia __