[PHP] New to PHP, need help.

2002-03-07 Thread Michele

I currently working with some free source from CyberGl and am having a
problem  with the membership module.

I've inserted the php into the beginning of the page but when I go to test
the page, nothing appears.  I don't get a 404 error or any error, the page
just doesn't display.

Any ideas?

Thanks,

Michele



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] headers already sent

2002-09-12 Thread Gian Michele

I'm doing a little form:
In the first page i have the form to insert datas,then redirect the 
control to a script that check if the filds are correct.If they are 
correct redirect the output to a prospect else to the first page.The 
problem is that it gives an error like this
"Warning: Cannot send session cache limiter - headers already sent "
but I wrote "session_start()" in the highest part of all the scripts.
I redirect the output with "header("Location: http://..";) is it correct 
or there is an other way ?

If i don't write "session_start()" in the html's page the variables dont 
appear in the fields(if i insert before,naturally).

Someone help me please?

Tanks Gian Michele


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] editor php

2002-09-19 Thread Gian Michele

Hi,
does any body knows a cool editor for php that run under redhat 7.x and 
where i can find?
tanks  -- Gian Michele


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Help me

2002-02-26 Thread Michele Salerno

Because the my post non visibility in newsgroup?
Exuse me for english errorI Italian!
By Michele

--
Web Master di:
http://www.coopmediante.it
Web Administrator di:
http://www.mediateca2000.net



Re: [PHP] Help me

2002-02-27 Thread Michele Salerno


- Original Message -
From: "hugh danaher" <[EMAIL PROTECTED]>
To: "Michele Salerno" <[EMAIL PROTECTED]>; "php"
<[EMAIL PROTECTED]>
Sent: Tuesday, February 26, 2002 10:38 PM
Subject: Re: [PHP] Help me


> Michele,
> Please show some lines of code in your next message so we can better
> understand your problem.
> Hugh
>
Tanks, i have non problem with newsgroup.
Send e-mail in mailing list = send post in newsgroup!:-)



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] php on PWS win Me

2002-02-27 Thread Michele Salerno

- Original Message -
From: "Sanj" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 26, 2002 8:54 PM
Subject: [PHP] php on PWS win Me


> Hi,
>
> Currently running Win Me with pws, want to run php purely for testing.
>
> Have just installed apace http://127.0.0.1 but need to turn off pws to
make
> this work, I have downloaded the following binaries from php.net:
>
> PHP 4.1.1 zip package [4,953Kb] - 03 January 2002 and
> PHP 4.1.1 installer [909Kb] - 03 January 2002
> Bit unsure what to do now, can someone walk me thru the next steps.
>
Install Apache+php+MySQL.
The my down experience the versions for Windows don't beautifuldiferent
is version with Linux, plus complete and plus difficulty.

Exuse me for error in english...:-°°((
Michele



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Help with the record, here isn't visibility!!!

2002-02-28 Thread Michele Salerno

The page is http://www.coopmediante.net/page/utenti/master.php In the database i have 
3 records. the page no print a video the records, because??
Help me...help me!
Tanks you very much!...is correct much?
Bey bey
Michele


http://www.interakt.ro/

  require("./../../adodb/adodb.inc.php");
  require("./../../Connections/coopmediante.php");
?>Execute("SELECT *  FROM utente, installatore  WHERE 
installatore.IDinstallatore = utente.IDinstallatore") or 
DIE($coopmediante->ErrorMsg());
   $Recordset1_numRows=0;
   $Recordset1__totalRows=$Recordset1->RecordCount();
?>RecordCount();
  
  // set the number of rows displayed on this page
  if ($Recordset1_numRows < 0) {// if repeat region set to all records
$Recordset1_numRows = $Recordset1_total;
  } else if ($Recordset1_numRows == 0) {// if no repeat regions
$Recordset1_numRows = 1;
  }
  
  // set the first and last displayed record
  $Recordset1_first = 1;
  $Recordset1_last  = $Recordset1_first + $Recordset1_numRows - 1;
  
  // if we have the correct record count, check the other stats
  if ($Recordset1_total != -1) {
$Recordset1_numRows = min($Recordset1_numRows, $Recordset1_total);
$Recordset1_first  = min($Recordset1_first, $Recordset1_total);
$Recordset1_last  = min($Recordset1_last, $Recordset1_total);
  }
  ?> $Recordset1_total) {
  $Recordset1_numRows = $Recordset1_total;
}
  
// set the first and last displayed record
   $Recordset1_last  = min($Recordset1_first + $Recordset1_numRows - 1, 
$Recordset1_total);
$Recordset1_first = min($Recordset1_first, $Recordset1_total);
?>= $MM_rsCount || $MM_offset == -1) {  // past end or move last
   if (($MM_rsCount % $MM_size) != 0) {  // last page not a full repeat region
$MM_offset = $MM_rsCount - ($MM_rsCount % $MM_size);
   }
   else {
$MM_offset = $MM_rsCount - $MM_size;
   }
  }
 }

 // move the cursor to the selected record
 for ($i=0;!$MM_rs->EOF && ($i < $MM_offset || $MM_offset == -1); $i++) {
  $MM_rs->MoveNext();
 }
 if ($MM_rs->EOF) $MM_offset = $i;  // set MM_offset to the last possible record
}
?>EOF && ($MM_size < 0 || $i < $MM_offset + $MM_size); 
$i++) {
$MM_rs->MoveNext();
  }

  // if we walked off the end of the recordset, set MM_rsCount and MM_size
  if ($MM_rs->EOF) {
$MM_rsCount = $i;
if ($MM_size < 0 || $MM_size > $MM_rsCount) $MM_size = $MM_rsCount;
  }

  // if we walked off the end, set the offset based on page size
  if ($MM_rs->EOF && !$MM_paramIsDefined) {
if (($MM_rsCount % $MM_size) != 0) {  // last page not a full repeat region
  $MM_offset = $MM_rsCount - ($MM_rsCount % $MM_size);
} else {
  $MM_offset = $MM_rsCount - $MM_size;
}
  }

  // reset the cursor to the beginning
  $MM_rs->MoveFirst();

  // move the cursor to the selected record
  for ($i=0; !$MM_rs->EOF && $i < $MM_offset; $i++) {
$MM_rs->MoveNext();
  }
}
?>= $MM_rsCount);
?> 0) $MM_keepBoth = substr($MM_keepBoth, 1);
if (strlen($MM_keepURL) > 0)  $MM_keepURL = substr($MM_keepURL, 1);
if (strlen($MM_keepForm) > 0) $MM_keepForm = substr($MM_keepForm, 1);
?> 1) {
  $MM_moveParam = "offset";
  if (strlen($MM_keepMove)> 0) {
$params = explode("&", $MM_keepMove);
$MM_keepMove = "";
for ($i=0; $i < sizeof($params); $i++) {
  list($nextItem) = explode("=", $params[$i]);
  if (strtolower($nextItem) != $MM_moveParam)  {
$MM_keepMove.="&".$params[$i];
  }
}
if (strlen($MM_keepMove) > 0) $MM_keepMove = substr($MM_keepMove, 1);
  }
}

// set the strings for the move to links
if (strlen($MM_keepMove) > 0) $MM_keepMove.="&";
$urlStr = $PHP_SELF."?".$MM_keepMove.$MM_moveParam."=";
$MM_moveFirst = $urlStr."0";
$MM_moveLast  = $urlStr."-1";
$MM_moveNext  = $urlStr.($MM_offset + $MM_size);
$MM_movePrev  = $urlStr.(max($MM_offset - $MM_size,0));
?>


IN-OFFICE: Utenti




   
 Nome 
 Cognome 
 Località
 Provincia 
 Data ricezione e-mail
  
  EOF)) 
   { 
?>
   
 
  Fields("nome")?>

 
  Fields("cognome")?>

 
  "> 
  Fields("paese_citta")?>
   
 
  Fields("provincia")?>

 
  Fields("giorno_ric")?>
  - 
  Fields("mese_ric")?>
  - 
  Fields("anno_ric")?>

  
  MoveNext();
}
?>


   

  
  Primo
  


  
  Precedente
  


  
  Successivo
  


  
  Ultimo
  

  

 
Record da 
  
  a 
  
  su 
  



Close();
?>




[PHP] Tank you very much for all

2002-03-01 Thread Michele Salerno

I unsubscribe the mailing list, i haven't help in mailing-list.
I'haven't response the my post...

Cancello la sottoscrizione perché vedo che non ho risposte da nessuno, e solitamente 
faccio iscrizioni per imparare e non solo per dare. Pensavo che qui avrei trovato 
pace, ma solo perché non conosco l'inglese devo essere tagliato fuori...e non 
l'accetto!
Ciao a tutti
Michele

--
Web Master di:
http://www.coopmediante.it
Web Administrator di:
http://www.mediateca2000.net



[PHP] Help me for unsubscribe

2002-03-04 Thread Michele Salerno

What unsubscribe at mailning list?

--
Web Master di:
http://www.coopmediante.it
Web Administrator di:
http://www.mediateca2000.net



[PHP] optimize question

2001-09-08 Thread Michele Schiavo

Is most performant for out a sting use
echo or print ?
and if I have more print command ex:
print "aaa",
print "";

Is best use a single command with a very long string ?

Thank's michele Schiavo



-- 
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]