[PHP] ADD a user in linux using PHP
Title: ADD a user in linux using PHP Hi! I'm Bruno, from brazil Somebody knows how to create a new user in LINUX (not http server) using PHP? Something like useradd and passwd Thanks, Bruno.
[PHP] ENC: ADD a user in linux using PHP
Title: ENC: ADD a user in linux using PHP -Mensagem original- De: Bruno Freire Enviada em: quinta-feira, 28 de junho de 2001 11:31 Para: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Assunto: ADD a user in linux using PHP Hi! I'm Bruno, from brazil Somebody knows how to create a new user in LINUX (not http server) using PHP? Something like useradd and passwd Thanks, Bruno.
[PHP] passwd in php....
Title: passwd in php Hi... My name is Bruno. Somebody Knows how to use passwd in php? I mean, create linux users on my httpd server using a php page. I already try the EXEC(), but i had no sucess.. Any help will be needed Thanks everyone
[PHP] Session Problems....HELP!!!!
Hi! my name is bruno, from Brazil and i'm having some problems with sessions. Look my code: html head ... /head body ?php session_start(); session_register(test); ? /body /html The message returned in my browser is: Warning: Cannot send session cookie - headers already sent by (output started at /home/httpd/html/intranet/teste.php:11) in /home/httpd/html/intranet/teste.php on line 12 Warning: Cannot send session cache limiter - headers already sent (output started at /home/httpd/html/intranet/teste.php:11) in /home/httpd/html/intranet/teste.php on line 12 !-- A { text-decoration: none; } A:hover { text-decoration: underline; } H1 { font-family: arial,helvetica,sans-serif; font-size: 18pt; font-weight: bold;} H2 { font-family: arial,helvetica,sans-serif; font-size: 14pt; font-weight: bold;} BODY,TD { font-family: arial,helvetica,sans-serif; font-size: 10pt; } TH { font-family: arial,helvetica,sans-serif; font-size: 11pt; font-weight: bold; } //-- What's wrong??? Maybe the PHP's configuration file... Or some command is needed first Please, if somebody know the solution...help me. Thanks. Bruno
[PHP] Mail help!!!!!
Hi! My name is Bruno. Somebody can tell me how to send the same message to more than one recipient without repeat de code?? something like $corpo.="\n"; $corpo.="\tData de Sada:\t\t$dt_saida\n\n\n"; $corpo.="\tClique no link abaixo para visualizao da Folha de Cotao:\n\n"; $corpo.="\t"; $remetente="From: [EMAIL PROTECTED]"; mail(email_one and email_two,$assunto,$corpo,$remetente); and not $corpo.="\n"; $corpo.="\tData de Sada:\t\t$dt_saida\n\n\n"; $corpo.="\tClique no link abaixo para visualizao da Folha de Cotao:\n\n"; $corpo.="\t"; $remetente="From: [EMAIL PROTECTED]"; mail($email_ONE,$assunto,$corpo,$remetente); $corpo.="\n"; $corpo.="\tData de Sada:\t\t$dt_saida\n\n\n"; $corpo.="\tClique no link abaixo para visualizao da Folha de Cotao:\n\n"; $corpo.="\t"; $remetente="From: [EMAIL PROTECTED]"; mail($email_TWO,$assunto,$corpo,$remetente);
[PHP] Include files????
Hi! My name is Bruno. Anybody can tell me how can i do Include files? I mean, Write a function in a file and after this just include this file in the code, like #include file.h of C++?? Thanks !!!
[PHP] Day of Week??
Hi It's me again! Bruno...From Brazil... Hi wanna know How can i take the day of week of aany date... Example: How to know that 14 of march of 2001 is a Wednesday?? Thanks... Bruno.
[PHP] TXT files
Hey Everybody! Its me...Bruno From Brazil. Look, How can i read txt files with php Thanks See ya!
[PHP] HELP!!! Date time problems!!!!
Hi, My name is Bruno, From Brazil. Yes...it's me again...hehehe Look...my problem is.. I wanna make something like this: (10 november 2001) - (5 November 2001) = 5 days (10 november 2001) - (10 December 2001) = 30 days How can i do this Thanks for any help Your friend, Bruno From !
[PHP] HELP!!! Upload files!!!!
Look the message: Warning: Rename failed (Invalid cross-device link) in /usr/local/etc/httpd/htdocs/intranet/upload.php on line 26 What i'm doing wrong??? My code: html head script function nomearq() { teste.nome.value=teste.arquivo.value; } /script body bgcolor="#E6" ?php if ($arquivo!="") { $arq=""; $i=strlen($nome); while (substr($nome,$i,1)!="\\") { $arq2=$arq; $arq=substr($nome,$i,1); $arq.=$arq2; $i--; } chmod($arquivo, 0777 ); rename($arquivo,"/usr/local/etc/httpd/htdocs/intranet/uploads/comercial/cota cao/$arq");(line 26) $cont++; } else { $cont=0; } echo "N de arquivos enviados: $contbr"; ? FORM ENCTYPE="multipart/form-data" ACTION="upload.php?caminho=?php echo $caminho;?" METHOD=POST name="teste" INPUT TYPE="hidden" value="20971520" Nome do Arquivo INPUT NAME="arquivo" TYPE="file" INPUT TYPE="submit" VALUE="Enviar" onclick="nomearq()" INPUT TYPE="hidden" value="" name="nome" /FORM /body /html
[PHP] MyODBC and Crystal Reports
Hi, everybody! It's me again Bruno, from Brazil. Now i'm having some problems with MyODBC and Crystal. I have an ODBC named MyCOMERCIAL. I did make a report in the Crystal linked at this ODBC. When I call this report or update the data in the report from crystal reports, everythink is OK. When I call from the browser, the report comes with the last saved data. But when I update this data, the Crystal Reports ask me for database login and password. I did enter my passwords but the Crystal ask me again. Somebody have any idea what can this be??? Thanks!! Bruno
[PHP] Help!! IP functions!!!
Hi!! My name is Bruno, From Brazil!!! I need to know how can i discovery the ip address when somebody access my home page What function can I use Thanks!! Bruno.
[PHP] How do I to declare a function or procedure in PHP???
Please , I don't know how to declare a functionhow is the scope?? In C++ is for example... Void test(int a, int b) { . } But... In php HOW DO I DECLARE A FUNCTION OR PROCEDURE BrunoBrazil
[PHP] PHP and PDF!!!!!
I Know that PHP can make PDF files. But Some body PLEASE can pass to me a Binary instalation of this library?? Or tell me where i can find it THANKS
[PHP] help!!! (PHP)
Hi ... I'm having some problem's here I'm need to know if my apache server is able to run scripts in a specific date and hour. For example: Every month, in the 15th day, I need to run a script PHP that check my Mysql database for some cause. Is that possible??? I'm realy thanks!!! Bruno de F. F City: Belo Horizonte Estate: Minas Gerais Country: Brazil
[PHP] HELP!!! $PHP_AUTH_USER!!!!!!
Look I justs wanna make that password box show up in the screen But without a protected directory... Thanks Bruno
[PHP] HELP! REVOKE COMMAND!!!!
From Bruno: Brazil How is the sintaxe of this command Thanks...