[PHP] Countries, cities, states database

2003-12-18 Thread Augusto Cesar Castoldi
Hi, I searching for a database, with the 'complete' world Countries, cities, states Just like http://www.datingplace.com/servlet/NewRegistration I need for an academic study. Thanks, Augusto __ Conheça a nova central de in

[PHP] countries,states and cities

2003-09-08 Thread Augusto Cesar Castoldi
hi... where can I download a database with all countries and states and cities? like: http://www.datingplace.com/servlet/NewRegistration thanks, Augusto ___ Desafio AntiZona: participe do jogo de perguntas e respostas que vai

[PHP] Is there a function getSize() of ming or libswf?

2002-05-27 Thread Augusto Cesar Castoldi
Hi... Is there a function getSize() of ming or libswf? I want to send Flash imagens to server to put them into HTML, but I need the width and height of the image, and I don`t want to ask this for the user!! thanks, Augusto __

[PHP] Really need HELP on PHP install > Error in "make"

2001-10-03 Thread Augusto Cesar Castoldi
Hi... I really need help for compile PHP. I have to compile because the previous compiling didn't have "-with-dom" option. I "./configure" my php-4.0.6 in RedHat 6.2 with this command line: "./configure --with-mysql --with-apache=../apache_1.3.20 --enable-track-vars --with-dom=../libxml2-2.4.5 -

[PHP] session_start() or session_register() AND cookies

2001-10-01 Thread Augusto Cesar Castoldi
Hi... If I use the session_start or session_register I'll never be able to open two sessions in the same computer in the same time? regards, Augusto ___ Yahoo! GeoCities Tenha seu lugar na Web. Construa

[PHP] session_start() or session_register() AND cookies

2001-10-01 Thread Augusto Cesar Castoldi
Hi... If I use the session_start or session_register I'll never be able to open two sessions in the same computer in the same time? regards, Augusto ___ Yahoo! GeoCities Tenha seu lugar na Web. Construa

[PHP] Real tip about XML and PHP

2001-09-29 Thread Augusto Cesar Castoldi
This week I've been looking for functions to work with XML. If you want to create XML files, always use DOMXML functions (php compile --with-dom). Here is some code: add_root('sites'); $site = $root->new_child('site', ''); $site->new_child('title', 'PHP.net'); $site->new_child('url',

[PHP] XML and PHP

2001-09-27 Thread Augusto Cesar Castoldi
Can I use the PHP XML functions to add and remove data from a XML file? It's possible? Or the PHP XML Functions are only for read a XML file? regards, Augusto ___ Yahoo! GeoCities Tenha seu lugar na Web

[PHP] PHP already build but "--without -mysql"

2001-09-25 Thread Augusto Cesar Castoldi
Hi. I just instaled a Linux, but php is already working but without mysql. What should I do? How can I rebuild again? regards, Augusto ___ Yahoo! GeoCities Tenha seu lugar na Web. Construa hoje mesmo s

RE: [PHP] XML works like a DataBase?

2001-09-25 Thread Augusto Cesar Castoldi
sw.com/virtuoso > > Hope this helps. > > Best regards, > Andrew Hill > Director of Technology Evangelism > OpenLink Software http://www.openlinksw.com > Universal Data Access & Data Integration Technology > Providers > > > -Original Message---

[PHP] XML works like a DataBase?

2001-09-25 Thread Augusto Cesar Castoldi
Hi. I've been looking for XML, and I'd like to know if you know if with the XML funtions of PHP I can create a XML file, add and remove data just, or almost equal of I do with MySQL. regards, Augusto __

Re: [PHP] Is it a mysql AND/OR php BUG???

2001-09-12 Thread Augusto Cesar Castoldi
the function isn't decoding right. regards, Augusto --- "Schill, Johannes" <[EMAIL PROTECTED]> escreveu: > Please include your error message. > > /Johannes > > ----- Original Message - > From: "Augusto Cesar Castoldi" > <[EMAIL

[PHP] Is it a mysql AND/OR php BUG???

2001-09-12 Thread Augusto Cesar Castoldi
Please, look this little script, and what he prints. Am I doing something wrong or I "found" a bug?? thanks a lot. "; $data = mysql_query($sql) or die ("Erro crypt 1."); $row = mysql_fetch_row($data); return $row[0]; } function decode($decode_str, $pass_str) { $encode_str = addslashes($e

[PHP] htmlspecialchars() and MySQL

2001-09-12 Thread Augusto Cesar Castoldi
Hi. can someone explain this to me? How can I "INSERT" with mysql_query this string: "Tsete<> "" aspas simpes '' "aspas" enter e maior e menor<>", but I can't do a SELECT after?, I receive error because the mysql can't understend the ("). i'm using htmlspecialchars()... thanks. Augusto _

[PHP] Compare String in Case-Sensitive

2001-09-05 Thread Augusto Cesar Castoldi
Hi. I'm need to compare "username" and "password" in Case-Sensitive. When I do the query (MySQL), it's not case-sensitive, so I should use "strstr" o compare in Case-sensitive. Can I use case-sensitive in the query? thanks, Augusto

Re: [PHP] Random number

2001-08-30 Thread Augusto Cesar Castoldi
Use this function, the "$num" argument, is the total of numbers. Ex: if $num is 5, the funtion will return "56743", is five numbers. function random($num) { srand ((double) microtime() * 100); $temp = rand().rand().rand(); $temp = substr($temp, 0, $num); return $temp; } //fim functio

Re: [PHP] php chats? or better use cgi?

2001-08-24 Thread Augusto Cesar Castoldi
Depends on how BIG is your chat. I made a chat that is usually used by 4/5 peoples and it runs great. I'm using MySQL (tow tables, one of "rooms" other for "the chat") and PHP, some JavaScript and a Frame. see you. Augusto --- Wolfgang Schneider <[EMAIL PROTECTED]> escreveu: > Hello, > > I'

[PHP] wget

2001-08-24 Thread Augusto Cesar Castoldi
Hi. I'm using "wget -q -o /home/httpd/html/temp/logs.txt http://localhost/script.php"; to run a php script from shell. But 'wget' always create a log file with same name of the script that wget are running in "/home/httpd/html/". why he doesn't put the "logs" in logs.txt? thanks. Augusto ___

Re: [PHP] Why lynx don't work with cron?

2001-08-22 Thread Augusto Cesar Castoldi
Hi Rob, I gave up of lynx. Now I'm using "wget" and it's working great! try this with cron: "wget -q http://domain.com/script.php"; the "-q" option is to run on "quiet" mode. see you. Augusto --- Rob Hardowa <[EMAIL PROTECTED]> escreveu: > Hiya, > > I was waiting for someone to answer thi

[PHP] Why lynx don't work with cron?

2001-08-21 Thread Augusto Cesar Castoldi
Hi, I'm trying the command "lynx -dump -nolog http://localhost/script.php > /dev/null" on crontab but I (httpd) receive an e-mail from "Cron Daemon" saying that: "Your terminal lacks the ability to clear the screen or position the cursor." what should I do run my script with cron? thanks, Augus

[PHP] Why linx don't work with cron?

2001-08-21 Thread Augusto Cesar Castoldi
Hi, I'm trying the command "lynx -dump -nolog http://localhost/script.php > /dev/null" on crontab but I (httpd) receive an e-mail from "Cron Daemon" saying that: "Your terminal lacks the ability to clear the screen or position the cursor." what should I do run my script with cron? thanks, Augus

[PHP] Re: Use cron to execute a script --> OTHER problem now

2001-08-21 Thread Augusto Cesar Castoldi
Hi. now my cron is working, but the command don't. If I do manualy "lynx -dump -nolog http://localhost/backups/backup.php"; it works, but with cron didn't worked. I receive this "e-mail" from "Cron Daemon": --- Subject: Cron lynx -dump -nolog h

[PHP] Use cron to execute a script

2001-08-21 Thread Augusto Cesar Castoldi
Hi. I added to crontab the command "0 * * * * lynx -dump -nolog http://localhost/backup.php"; but this task are not running. In "man cron" I saw this: --- DESCRIPTION Cron should be started from /etc/rc or /etc/rc.local. It will return immediately, so you don

[PHP] 2D-3D Imagem (GD Library)

2001-08-20 Thread Augusto Cesar Castoldi
HI. I'd like to know if I can create 2D images with the image function of GD Library. Regards. Augusto ___ Yahoo! GeoCities Tenha seu lugar na Web. Construa hoje mesmo sua home page no Yahoo! GeoCities.

[PHP] "FileSize" --> fread($fd, 7000)

2001-08-16 Thread Augusto Cesar Castoldi
Hi. instead use "7000" in "fread($fd, 7000)", i'd like to use the size of the file opened. How can I know the size of the fopen? thanks. Augusto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

[PHP] Execute a PHP script from unix (crontab)

2001-08-15 Thread Augusto Cesar Castoldi
Hi. How can I execute a php script from the unix? like pearl it's (pearl "file"), but in unix we don't have a "executable" of php, it's a module ,right? I should compile the script first? I want this to add to crontab to make backup of my mysql automaticly. thanks. Augusto -- PHP General

Re: [PHP] PHP Manual in PDF Format

2001-08-03 Thread Augusto Cesar Castoldi
You can get here: http://monica.inf.ufsc.br/Docs/MySQL.pdf see you. Augusto On Fri, 3 Aug 2001, Andreas D. Landmark wrote: > At 03.08.2001 10:36, Pere Vineta wrote: > >Dear friends, > > > >Any one of you know when PHP Manual in PDF Format will be available? > > > >Thanks > > Probably when Ad

[PHP] Minutes between tow dates

2001-08-03 Thread Augusto Cesar Castoldi
Hi. I'm using the timestamp format (AAMMDDHHMMSS) on my session. how can I know the minutes between two dates. I'm doing: $date = $row_secao['date']; $date_now=date("ymdHis"); $x=$date_atual-$date; if ($x > 1000) { echo "Session expired."; } but I h

[PHP] Sorry... but a good PHP editor for Linux/Unix

2001-07-31 Thread Augusto Cesar Castoldi
Sorry about talking about this subject, but a really wanna know if any one nows a good editor for linux/unix. Sometimes I need to work by SSH and I have to use the program pico. I can't use vi, to use it, i'll need to see the manual!! thanks, Augusto -- PHP General Mailing List (http://www

[PHP] doing a "task", like a program running forever

2001-07-28 Thread Augusto Cesar Castoldi
Hi. I'm heard about a php function that works with apache and It can be run fovrever an example: I want that each hour my script gets the weather of a site (like yahoo) and write to a txt file. how can I do that? thanks. Augusto -- PHP General Mailing List (http://www.php.net/) To uns

[PHP] A PHP Editor

2001-07-27 Thread Augusto Cesar Castoldi
Hi. I'm using the PHPEd (http://www.soysal.com/PHPEd) as my default editor. But this program aren't very good, it's instable. Something crash... Do you know a good php editor? thanks, Augusto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

[PHP] Fatal error: Call to undefined function: imagecreate() in /home/....on line 37

2001-07-14 Thread Augusto Cesar Castoldi
How can I "activate" the function imagecreate? I'm using PHP 4 in windows and Linux. Fatal error: Call to undefined function: imagecreate() in E:/Augusto/HomePages/img/imagecreate.php on line 37 thanks, Augusto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMA

[PHP] Get the value of a

2001-06-23 Thread Augusto Cesar Castoldi
I always use "InputImageName_x > 0" to know if a button was clicked. How can I get the value on my input type=image? Like: how can I get "002545645" with "$contatc"? thanks, Augusto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Session with PHP and MySQL--> hitory.back()...

2001-05-23 Thread Augusto Cesar Castoldi
... thanks, Augusto Cesar Castoldi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Escaping from "<"

2001-05-16 Thread Augusto Cesar Castoldi
I'm tring to print the variable "tmp", but the echo is just printing "abcd", the rest he can't print. Why? regards, Augusto $tmp="abcd"; echo ""; $tmp=addslashes($tmp); echo $tmp.""; echo ""; $tmp=stripslashes($tmp); echo $tmp.""; -- PHP General Mailing List (http://www.php.net/) To unsubsc

Re: [PHP] "Free" Database Design Program

2001-05-13 Thread Augusto Cesar Castoldi
The software can be really a freeware (better) or... can be cracked..., than he becomes free. regards, Augusto Cesar Castoldi On Fri, 11 May 2001, Anuradha Ratnaweera wrote: > > On Sat, 5 May 2001, Augusto Cesar Castoldi wrote: > > > Anyone know a "Free" dat

[PHP] Encode/Decode Problem

2001-05-11 Thread Augusto Cesar Castoldi
ot;Oõ#M¼ô«~àý~Ô"bëÿ9S" Z ", "lPi1QzB5%!.dC;@"); I have a " in the middle of the encoded string. How can I solve this problem? regards, Augusto Cesar Castoldi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] "Free" Database Design Program

2001-05-07 Thread Augusto Cesar Castoldi
It's not a free program. It's a product of Computer Associations. http://www.cai.com http://www.ca.com regards. Augusto On Sun, 6 May 2001, Andrzej Swedrzynski wrote: > On Sun, 6 May 2001, Alexander Skwar wrote: > > [dia] > > Compared to ERWin, this is indeed *VERY* limited - but maybe I was

Re: [PHP] "Free" Database Design Program

2001-05-05 Thread Augusto Cesar Castoldi
No, I want somthing general, I just want to do the database model. Not just for mysql. regards, Augusto On Sat, 5 May 2001, Alexander Skwar wrote: > So sprach Augusto Cesar Castoldi am Sat, May 05, 2001 at 10:58:32AM -0300: > > I heard about "ERWin", but I didn

Re: [PHP] "Free" Database Design Program

2001-05-05 Thread Augusto Cesar Castoldi
lly such tools are for the db2's etc. > > let me know if you find anything tho, quite intruged > > Tom Carter > Web Architect > roundcorners ltd. > > On Sat, 5 May 2001, Augusto Cesar Castoldi wrote: > > > Ops, no. In fact I'm working with phpadmin2. &

[PHP] "Free" Database Design 2

2001-05-05 Thread Augusto Cesar Castoldi
Ops, no. In fact I'm working with phpadmin2. But I need a program that I can document my database and even the script. The "relationships" of tables, the primary keys. To describe what each script does, what funcions they have. All this stuffs, I want to document all my system. regards, Aug

Re: [PHP] "Free" Database Design Program

2001-05-05 Thread Augusto Cesar Castoldi
ntain tools for helping y6ou construct > comples queries...not that you can really get that complex in mysql) > > Hope this helps, > > Tom Carter > Web Architect > roundcorners ltd. > > On Sat, 5 May 2001, Augusto Cesar Castoldi wrote: > > > Anyone know a &quo

[PHP] "Free" Database Design Program

2001-05-05 Thread Augusto Cesar Castoldi
Anyone know a "Free" database Design program? I'm needing to organize my MySQL databases and design new databases. regards, Augusto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the lis

[PHP] Writing a file with break lines

2001-04-30 Thread Augusto Cesar Castoldi
How can I write a file like "list.txt", I get a lot of information from mysql, and I have to put with line of mysql in this txt file. (rewrite). How can I do that? I tried to put "\n" but it didn't worked. regards, Augusto Cesar Castoldi -- PHP General Mailing List

[PHP] crypting a database

2001-04-27 Thread Augusto Cesar Castoldi
Hi, Anyone have some function to crypt and text then decrypt? regards, Augusto Cesar Castoldi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP] How to Crypt entire MySQL DataBase

2001-04-26 Thread Augusto Cesar Castoldi
the crypt stuffs... } thanks for any help and/or idea, Augusto Cesar Castoldi Florianópolis - SC - Brazil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] alter table name with php and mysql

2001-04-26 Thread Augusto Cesar Castoldi
How can I alter a table name in mysql with php? thanks, Augusto cesar Castoldi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Advanced Search on MySQL

2001-04-19 Thread Augusto Cesar Castoldi
t; How Can I do that by a MySQL command? I don't know if it's somethin like: select * from users where name like "%$name%" regards, Augusto Cesar Castoldi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: [PHP] PHP and Double?

2001-04-18 Thread Augusto Cesar Castoldi
Take a look here: http://www.php.net/manual/en/ref.math.php regards, Augusto On Wed, 18 Apr 2001, Jason Caldwell wrote: > how can i separate the digits in a Double number? > > for example: > > if i have 3.2 i would like to separate the digits into 3 and 2 and assign > each to its own variab

[PHP] ACSII in PHP

2001-04-18 Thread Augusto Cesar Castoldi
Is there any function in PHP that I could use to know the number of the ASCII table of letter "A" for example? something like: $tmp=function_name("A"); $tmp==99 ("A" is 99 in ASCII table). regards, Augusto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PRO

[PHP] MySQL data

2001-04-17 Thread Augusto Cesar Castoldi
This question has not much with PHP, but I work with PHP... Can I get the data from a table in MySQL and copy/transfer all data to other database to a table with the same name? regards, Augusto Cesar Castoldi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] SQL Query syntax error... Help?

2001-04-15 Thread Augusto Cesar Castoldi
What do you have in the id variable? It's contents can be the problem. regards, Augusto Cesar Castoldi On Sun, 15 Apr 2001, Scott VanCaster wrote: > I've only been trying to learn this stuff for a few days and thought I was > on a roll, but now have run into a problem I don&#

[PHP] list table by date

2001-04-15 Thread Augusto Cesar Castoldi
last date. But I want to know if I can do this by the mysql_query. I don't want this: $i = mysql_numrows($result); while ($i >= 0) { print mysql_result($result, $i, 'date').""; } regards, Augusto Cesar Castoldi -- PHP General Mailing List (http://www.php.net/

Re: [PHP] Upload file from my local C:

2001-04-09 Thread Augusto Cesar Castoldi
what`s the error message now? Can be something like "permission denied"... You should create a diretory and do "chmod 666 dir_name", than you'll have the right permission to write in this diretory. regards, Augusto On Tue, 10 Apr 2001, HK Woo wrote: > I have tried to add ENCTYPE as you sugges

[PHP] list files in a diretory

2001-04-09 Thread Augusto Cesar Castoldi
How can I list the files in a diretory? Something like, get the files name in an array... thanks, Augusto Cesar Castoldi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] fwrite()

2001-04-06 Thread Augusto Cesar Castoldi
I have a textarea and I want to save the textarea text into a file. Then I put this in the html: And this in action of php: $fd = fopen("Augusto.wri", "w" ); fwrite($fd, $conteudo); fclose( $fd ); But I'm having a big problem on this. Is the text has this caracter ("), the PHP add "\" before.

[PHP] mysql and php

2001-04-04 Thread Augusto Cesar Castoldi
I'm sending this command to mysql UPDATE fusuario u, fgrupos g SET g.cdgrupo=1, u.celular="99823640", u.nome="Augusto X", u.sobrenome="Cesar Castoldi", u.cidade="Florinópolis", u.emailpessoal="[EMAIL PROTECTED]", u.idade="19", u.sexo="M", u.operadora="T", u.email="", u.ddd="048" WHERE g.cdgrupo=1

RES: [PHP] file upload

2001-04-03 Thread Augusto Cesar Castoldi
sagem original- De: Andrew Rush [mailto:[EMAIL PROTECTED]] Enviada em: terça-feira, 3 de abril de 2001 18:05 Para: Augusto Cesar Castoldi Assunto: Re: [PHP] file upload on 4/3/01 4:51 PM, Augusto Cesar Castoldi at [EMAIL PROTECTED] wrote: > hehe, I forgot. > > I'm getting this erro

Re: [PHP] file upload

2001-04-03 Thread Augusto Cesar Castoldi
I get this error message: Warning: Unable to open 'F:\\Augusto\\Ws_ftp.log' for reading: No such file or directory in /home/httpd/html/admin/upload.php3 on line 5 regards, augusto On Tue, 3 Apr 2001, Andrew Rush wrote: > on 4/3/01 1:04 PM, [EMAIL PROTECTED] splat open and thusly melted: >

Re: [PHP] file upload

2001-04-03 Thread Augusto Cesar Castoldi
hehe, I forgot. I'm getting this error messagem: - Warning: Unable to open 'F:\\Augusto\\Augusto.wri' for reading: No such file or directory in /home/httpd/html/admin/upload.php3 on line 5 ------ regards, Augusto Cesar Castoldi On Tue, 3 Ap

[PHP] file upload

2001-04-03 Thread Augusto Cesar Castoldi
I'm having a problem with file upload. I have "" in the HTML file. The action of the form is "upload.php", and in the upload.php3 I have this line " -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] T

RE: [PHP] Instalation

2001-03-28 Thread Augusto Cesar Castoldi
2001, Jack Dempsey wrote: > have you configured your httpd.conf file? > you need to have this line in there... > > AddType application/x-httpd-php .php > > you should see info about that if you read the installation file... > > -jack > > -Original Message-

[PHP] Instalation

2001-03-28 Thread Augusto Cesar Castoldi
I'm just installed php4 and apache 1.3 on my linux. Apache with html files is working fine, but php isn't. The browser are showing the code. what I do? thanks, Augusto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

[PHP] search engine

2001-03-28 Thread Augusto Cesar Castoldi
I'd like to do a search engine on my homepage. I'll search a cell phone in mysql database. I want to search this cell phone and list in HTML table. This list of cell phones must have 30 lines and the cell phones that I found (searched) must be in the middle of the list. I want to show the cell

[PHP] form and php

2001-03-27 Thread Augusto Cesar Castoldi
I had a form with just with one button, the action is a PHP file. And when I hit "enter" the button (submit) form action was done. Then I put other button (change) on this form, and now when I hit enter, beside the "pressed" button is the second one (I want that when I hit "enter" the submit bu

[PHP] select * from nmensagem m, nusuario...

2001-03-14 Thread Augusto Cesar Castoldi
Something is not working here: select * from nmensagem m, nusuario u, nprefuser p where m.cdpreferencia=p.cdpreferencia and p.flag=1; With "m.cdpreferencia=p.cdpreferencia" I should get just the values there exists on m.preferencia and p.cdpreferencia? thanks, Augusto -- PHP General Mailin

[PHP] time and date function

2001-03-06 Thread Augusto Cesar Castoldi
Can I do any "subtraction" with times and/or dates on php or mysql? I have two times (HH:MM:SS). And I want to know if there is a diference of 5 min between the times. Is there any function that do this? Or I have to program this? regards, Augusto Cesar Castoldi -- PHP Gener

[PHP] time()

2001-03-06 Thread Augusto Cesar Castoldi
I'm trying to do a session with MySQL. how works the funtion time? I didn't undertood the manual. that number is a date, time, seconds?? What is it? regards, Augusto -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] function --> global variables

2001-03-05 Thread Augusto Cesar Castoldi
. } checasenha($ID); -- Warning: Variable used in global statement already exists in the function in /home/httpd/html/fiesc_sessao/checa_senha.php3 on line 13 The "line 13" is "global $ID, $limite." What's could be the problem? regards, Augusto C

[PHP] function mail

2001-02-24 Thread Augusto Cesar Castoldi
$sent=mail("[EMAIL PROTECTED]", $subject, $msg, $from); if $sent==1 --> the e-mail was sent if $sent==0 --> problem when sending e-mail?? how this works? When the function mail will have a problem? if the "to" mail are wrong? regards, Augusto Cesar Castoldi --

[PHP] unable to jump to row 1 on MySQL result

2001-02-16 Thread Augusto Cesar Castoldi
jump to row 2 on MySQL result index 6 in admrelatoriowap.php3 on line 24 Why should this happen? thanks,. Augusto Cesar Castoldi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

[PHP] $HTTP_POST_VARS

2001-02-15 Thread Augusto Cesar Castoldi
enu in php. If the name of the button ( then in php I use: if ($back_x > 0) { . . . } Augusto Cesar Castoldi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Forms

2001-02-14 Thread Augusto Cesar Castoldi
with the password you can use the funcio srtlen: $number_of_chars=strlen($password); Where are the right password? On a database?? In the site http://www.hotscripts.com you'll find a lot of script exemplos in PHP and JavaScript to verify if a e-mail typed is right. Augusto Cesar Castold

Re: [PHP] security question

2001-02-12 Thread Augusto Cesar Castoldi
I think you should encrypt (crypt). On Tue, 13 Feb 2001, Marc Aragnou wrote: > Hello there, > > I'm posting a username and a password with: > > > > > When I check $HTTP_POST_VARS I can see the values as they're plain text. Is > this still safe to do or should I encrypt the strings before po

[PHP] PHP/WML Site

2001-02-09 Thread Augusto Cesar Castoldi
Anyone knows a good (can be a bad) site of PHP and WML? regards, Augusto Cesar Castoldi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] MySQL error

2001-02-09 Thread Augusto Cesar Castoldi
a Tabela 1."); - What's wrong? He could't find any data? thanks, Augusto Cesar Castoldi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list admin

[PHP] JavaScript, PHP and HTML

2001-02-02 Thread Augusto Cesar Castoldi
nd hour on .php script? thanks, Augusto Cesar Castoldi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] where to get musql for windows NT

2001-01-31 Thread Augusto Cesar Castoldi
http://www.mysql.com/downloads/index.html On Wed, 31 Jan 2001, kaab kaoutar wrote: > Hi! > where can i get mysql for NT? > thanks > _ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > -- >

[PHP] str_replace

2001-01-31 Thread Augusto Cesar Castoldi
In the begin of my site, I have the following code: And somewhere on tag I write %99. I pretend to replace the %99 with $total. Why it doesn't work? When I publish my site appears the %99 on screen, and not the $total. thanks, Augusto Cesar Castoldi -- PHP General Mailing List

Re: [PHP] Hello

2001-01-17 Thread Augusto Cesar Castoldi
You can take a look here: http://www.php.net/manual/en/html/functions.html It's the documentation of PHP. regards, Augusto Cesar Castoldi On Wed, 17 Jan 2001, Karl J. Stubsjoen wrote: > Hello, > > I'm an ASP guy gone PHP. So, be patient with me as I struggle my way wi

[PHP] Functions

2001-01-10 Thread Augusto Cesar Castoldi
How do I use a function? I did: function ShowMessage { echo "Show message...\n"; } How can I call the function now? thanks, Augusto Cesar Castoldi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma