[PHP] Re: PHP PDF Support...

2003-09-25 Thread Francesco
In the current issue of php|architect - an electronically distributed
magazine, which you can find here http://www.phparch.com/ there is an
article on printing with php. The magazine is not free, but is good value
anyway.

HTH
Francesco

"Brian M McGarvie" <[EMAIL PROTECTED]> ha scritto nel
messaggio news:[EMAIL PROTECTED]
> I have successfuly been creating PDF files... however it is required that
> the files are printed Automatically - i.e. no need to hit print icon etc
> etc...
>
> Anyone know how to achieve this or atleast point me in the right
direction?

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



[PHP] Function for crypt and decript.

2004-01-23 Thread francesco
Hi all,
are in PHP, functions for crypt and decrypt string?
I would to use this function in my script in PHP, how can I use this?
I need of an example for use this and a list of this function.

Thanks in advance.


[PHP] Re: [PHP-DB] Inserting date into a table

2004-04-24 Thread francesco
Hi Pambos,
you can use the function date in this manner:

date("YmdGis");

because the type TIMESTAMP has the following format:

MMDDHHMMSS, where:
=year like 2004
MM=month like 04
DD=day like 24
HH=hour like 10
MM=minutes like 24
SS=seconds like 33

in this case date("YmdGis"); has the output 20040424102433 that is the right
format for TIMESTAMP.



- Original Message -
From: "Pambos Nicolaou" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 24, 2004 6:35 AM
Subject: [PHP-DB] Inserting date into a table


> I have created the table below:
>
> CREATE TABLE questions (ID INT NOT NULL AUTO_INCREMENT,name
VARCHAR(30),day
> TIMESTAMP, question TEXT, email VARCHAR(30),answer TEXT, PRIMARY KEY(ID));
>
> I want to insert into the TIMESTAMP field the date automatically. How can
I
> do it using the  insert command
>
> "INSERT INTO $table
> VALUES('','$name','TIMESTAMP','$question','$email','NULL')";
>
> Thanks in advance
>
> Pambos Nicolaou
>
> _
> Protect your PC - get McAfee.com VirusScan Online
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

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



[PHP] - Delete records in an Access DB

2004-05-01 Thread francesco
Hi all, 
I have this problem:
I want to delete records in an Access DB. I use this code:

$query="DELETE FROM Test_Table WHERE name='franco';"; 
// the connection parameters

$path="d:/inetpub/webs/my_site/mdb-database/" ;

$db_name="test.mdb" ;

$dsource=$path.$db_name ;

$cn_string="Provider=Microsoft.Jet.OLEDB.4.0;" ;

$cn_string.="Data Source=$dsource;" ;

// connection

$cn=new COM("ADODB.Connection");

$cn->open($cn_string);

// object Recordset and send query by  Open() metod

$rs=new COM("ADODB.Recordset") ;

$rs->open($query,$cn) ;

// clean Recordset object

$rs->Release() ;

$rs=null ;

/* close connection */

$cn->Close() ;

$cn->Release() ;

$cn=null ;



but I have this error message:

Fatal error: Call to undefined function: open() in 
D:\Inetpub\webs\metagenonlinecom\canc.php on line 11


Where is the problem? Is this the correct way to delete records from an Access DB? If 
this is a bad tecnic, can you suggest me what is the correct way?

Thanks in advance to all.

(The server where this script run is a Microsoft server).

Francesco  







[PHP] Problem with mcrypt_encrypt and mcrypt_decrypt.

2004-01-28 Thread francesco
Hi all,
i'm trying to crypt and decrypt password with the code below but i get many warnings

Warning: mcrypt_get_iv_size(): Module initialization failed in 
/web/htdocs/www.automationsoft.biz/home/invio_mail.php on line 36

Warning: mcrypt_create_iv(): Can not create an IV with size 0 or smaller in 
/web/htdocs/www.automationsoft.biz/home/invio_mail.php on line 37

Warning: mcrypt_decrypt(): Module initialization failed in 
/web/htdocs/www.automationsoft.biz/home/invio_mail.php on line 38
 
and i don't understand why, any help is appreciated.
Code is below.

This code is in a script 
  //Start crypt
  $iv_size=mcrypt_get_iv_size(MCRYPT_BLOWFISH,MYCRYPT_MODE_CBC);
  $iv=mcrypt_create_iv($iv_size,MCRYPT_RAND);
  $key=genera();// genera() function for rand number
  $emailcifrata=mcrypt_encrypt(MCRYPT_BLOWFISH,$key,$email,MYCRYPT_MODE_CBC,$iv);
  $emailcifrata=$key.$emailcifrata;
  // End crypt
This code is in another script that isn't the same script of previous  
  //Start decrypt
  $emailcifrata=fgets($fp);
  $lunghezza_str=strlen($emailcifrata);
  $emailcifrata=substr($emailcifrata,10);
  $key=substr($emailcifrata,0,($lunghezza_str-10));
  $iv_size=mcrypt_get_iv_size(MCRYPT_BLOWFISH,MYCRYPT_MODE_CBC);
  $iv=mcrypt_create_iv($iv_size,MCRYPT_RAND);
  $email=mcrypt_decrypt(MCRYPT_BLOWFISH,$key,$email,MYCRYPT_MODE_CBC,$iv);
  // End decrypt

Thanks in advance.

[PHP] Integration between ASP & PHP.

2004-01-29 Thread francesco
Hi all,
is possible to integrate script in ASP with script in PHP?
How can I do this?
All helps are precious.
Best regards.

Re: [PHP] Integration between ASP & PHP.

2004-01-29 Thread francesco
OK,
my problem is to use the crypt function (like md5(),sha1(),mcrypt(),crypt())
of PHP language in an ASP script.
For example:
<%
  First part of script in ASP language
%>

<%
 Second part of script in ASP language
%>
I don't know if this code is correct I don't try to use it, but this is what
I want to do.
Finally I want to share variables between the two languages (I hope!!).
Best regards,
Frank
www.automationsoft.biz

- Original Message -
From: "Gryffyn, Trevor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 29, 2004 9:30 PM
Subject: RE: [PHP] Integration between ASP & PHP.


Define "integrate"?

Using both ASP and PHP within the same physical file/script like:




<%
Aspcodehere
%?



??

...or going from ASP pages to PHP pages?
That is, "Default.asp" calls "menu.php" or something like that?


In the first case, I'm not sure if it's possible since the web server
passes the script to an interpreter based on what kinda of file it is.
.ASP and .ASPX are going to get sent to an ASP interpreter and .PHP, etc
are going to get sent to a PHP interpreter.

Not sure if you can get it to do both in the same file without some
tricky work.

Good luck though!  I'm curious to see if anyone knows of a way, but I'm
not sure I'd ever want to mix code like that.

-TG



> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 29, 2004 3:19 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Integration between ASP & PHP.
> Importance: High
>
>
> Hi all,
> is possible to integrate script in ASP with script in PHP?
> How can I do this?
> All helps are precious.
> Best regards.
>

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

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



[PHP] Create a new directory on server.

2004-01-31 Thread francesco
Hi all,
is there in PHP a function that create a new directory on server?
Regards,
Frank
www.automationsoft.biz
 

[PHP] mcrypt don't work.

2004-02-03 Thread francesco
Hi all,
i've problem with mcrypt_cfb function.
This is the code:

$string = "A simple text string";
$key = "My key";
line 55: $encrypted = mcrypt_cfb(MCRYPT_IDEA, $key, $string, MCRYPT_ENCRYPT);  
$key = "My key";
line 59: $string = mcrypt_cfb(MCRYPT_IDEA, $key, $encrypted, MCRYPT_DECRYPT);  

I've alway this error message:

Warning: mcrypt_cfb(): Module initialization failed in 
/web/htdocs/www.automationsoft.biz/home/critto.php on line 55
stringa cifrata= 
Warning: mcrypt_cfb(): Module initialization failed in 
/web/htdocs/www.automationsoft.biz/home/critto.php on line 59
stringa decifrata= 

and I don't know where is the problem..
Is the sintax correct?
I see mcrypt function in PHP manual at www.php.net but I don't find the problem.
Can you explain me how use mcrypt function?

All helps are precious.
Thanks in advance.
Frank
[EMAIL PROTECTED]

[PHP] mcrypt don't work.

2004-02-08 Thread francesco
Hi all,
I have problem with mcrypt function.
There is always an error that I don't know how to correct this.
This is my code:

$string = "Text string";
$key= "My key";
$encrypted = mcrypt_cfb(MCRYPT_RIJNDAEL-256, $key, $string, MCRYPT_ENCRYPT);  
echo"stringa cifrata= $encrypted";
$key = "My key";
$string = mcrypt_cfb(MCRYPT_RIJNDAEL-256, $key, $encrypted, MCRYPT_DECRYPT);  
echo"stringa decifrata= $string";

And the errore message is

Warning: mcrypt_cfb(): Module initialization failed in 
/web/htdocs/www.automationsoft.biz/home/critto.php on line 55
stringa cifrata= 
Warning: mcrypt_cfb(): Module initialization failed in 
/web/htdocs/www.automationsoft.biz/home/critto.php on line 58
stringa decifrata= 

I see, with phpinfo(), that my server support mcrypt and  RIJNDAEL-256.
I don't know why there is this error message.
All helps are precious.
Thanks in advance 
Francesco
[EMAIL PROTECTED]
(P.S. this is the link for a view in real time of  the problem 
www.automationsoft.biz/critto.php)
 

[PHP] Send mail with attached

2004-02-23 Thread francesco
Hi all,
is possible to send an email, with mail() function, with an attached?
I see on www.php.net but there isn't nothing about this.
If someone have the solution please send the solution.
Thanks in advance.
Frank
[EMAIL PROTECTED]
www.automationsoft.biz
 

Re: [PHP] Send mail with attached

2004-02-23 Thread francesco
Thank you Karl for answer.
Frank
[EMAIL PROTECTED]
www.automationsoft.biz

- Original Message - 
From: "Karl Timmermann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 23, 2004 8:30 PM
Subject: Re: [PHP] Send mail with attached


> Check out phpmailer at http://phpmailer.sourceforge.net/
> 
> It's great!
> 
> 
> On Feb 23, 2004, at 12:15 PM, <[EMAIL PROTECTED]> wrote:
> 
> > Hi all,
> > is possible to send an email, with mail() function, with an attached?
> > I see on www.php.net but there isn't nothing about this.
> > If someone have the solution please send the solution.
> > Thanks in advance.
> > Frank
> > [EMAIL PROTECTED]
> > www.automationsoft.biz
> 
> 

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



[PHP] - Receive mail with PHP.

2004-02-28 Thread francesco
Hi all,
i've two questions today: 
1- it's possible to receive mail with PHP?
There's in PHP a function (like mail()) for receive mail?
2- These's a tool for convet code in ASP in code in PHP?

Thanks in advance for help.
Frank
[EMAIL PROTECTED]
A&S Automation & Software - only solution 

[PHP] 500 Internal Server Error.

2004-03-08 Thread francesco
Hi all,
I've this problem when I use a script.
This is the error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to 
complete your request.

Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time 
the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

I've controlled all  the script but I don't find the problem.For a real time test this 
is the url: www.automationsoft.biz/crivello.php can anyone help me about this 
questions?

Thanks in advance

Francesco

[EMAIL PROTECTED] 






[PHP] How to built desktop applications.

2004-04-05 Thread francesco
Hi all,
I know that is possible to built desktop applications with PHP (applications that run 
only on desktop and not client applications).
How is possible this?
Is necessary use the php standard or there is help from other application or 
particular tool?
Can anyone show me how is possible this with example or link to resorces about this?
Thanks in advance,

Francesco
[EMAIL PROTECTED]



[PHP] a while loop that does't end with the script

2003-02-10 Thread Francesco Leonetti
Hi,
I'm a newcomer here to the list, so do please apologize in the case my
question has already been discussed before.

I just moved from php 4.0.6 to php 4.2.2 for security reasons (4.0.6 got a
big buffer overflow hole...). The working environment now is Redhat 8.1,
mysql 3.23.54a, kernel 2.4.18-19.

My problem is in a php page including a neverending loop, like this:

mysql_connect()

while (1) {
   flush()
... do things...
... query the database ...
... echo other things...
   flush()
}

In the previous version of PHP when I exit the page, the script ended as
well (this stopping querying the database). Now when I exit from the page, I
see from the mysqladmin processlist that the mysql_query thread is still
running. It doesn't end and it keeps running 'til I restart httpd.

This is time and  memory consuming. Why the script doesn't end as usual?

Am I missing something in the configuration files?

Thank you for any help.

Bye
Francesco Leonetti




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




Re: [PHP] Is mail() broken in 4.3.0 when it comes to BCC?

2003-02-10 Thread Francesco Leonetti
Try this:

mail("[EMAIL PROTECTED]", "My Subject", "Line 1\nLine 2", "From: [EMAIL PROTECTED]\nBCC:
[EMAIL PROTECTED]");



- Original Message -
From: "Mark Virtue" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 10, 2003 2:18 PM
Subject: [PHP] Is mail() broken in 4.3.0 when it comes to BCC?


> This line works as expected:
>
> mail("[EMAIL PROTECTED]", "My Subject", "Line 1\nLine 2", "From: [EMAIL PROTECTED]");
>
> whereas if I change it to this:
>
> mail("[EMAIL PROTECTED]", "My Subject", "Line 1\nLine 2", "Bcc: [EMAIL PROTECTED]");
>
> the mail never gets sent!
>
> I'm running 4.3.0 on Windows XP.
>
> Any thoughts?
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


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




Re: [PHP] Php 4.3

2003-02-10 Thread Francesco Leonetti
edit the php.ini file changing

register_globals = On

then restart httpd.

When register_globals is set to "Off" you cannot access post or get
variables in the usual way but you need to address the $_GET, $_POST array
(or the general $_REQUEST).

More details on the manual...


- Original Message -
From: "Todd Barr" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 10, 2003 7:39 PM
Subject: [PHP] Php 4.3


Hello,

I am having issues after I upgraded from 4.0.5 to 4.3

Alot of my link pages were based in www.something.com/phptest.php?foo=9323

Now that I have upgraded, I get foo errors.

It says that it no longer gets the foo value...

how can I fix this?

THanks

-T



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




Re: [PHP] File upload???

2003-02-11 Thread Francesco Leonetti
You need to check the following variables:

$_FILES["userfile"]["tmp_name"];
$_FILES["userfile"]["size"];
$_FILES["userfile"]["name"];
$_FILES["userfile"]["type"];

Ciao
Francesco

- Original Message - 
From: "Kenneth Suralta" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 11, 2003 10:49 AM
Subject: [PHP] File upload???


> Hello everyone! =)
> 
> Can anybody help me with file uploading with PHP???
> i tried uploading a file through...
> 
> 
> 
> 
> 
> 
> but, in save_upload.php, there is no $HTTP_POST_VARS['userfile'], or 
> $HTTP_POST_VARS['userfile_name'], etc...
> 
> Can anybody help me with this...
> 
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


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




Re: [PHP] Re: URGENT HELP NEEDED - After Upgrade to MySQL 4.0.1.2

2003-02-13 Thread Francesco Leonetti
it happened to me something pretty similar when I upgraded to mysql
3.23.54a.
While solving the problem, I suggest to uninstall mysql 4.0.1 and reinstall
your previous working version (unless there's a real urge to upgrade to
4.0.1) and then try to upgrade to a devoloper server reinstalling not only
mysql but also php and apache. I succeeded doing that way.

Hope this helps, good luck.



- Original Message -
From: "Vernon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 2:36 PM
Subject: Re: [PHP] Re: URGENT HELP NEEDED - After Upgrade to MySQL 4.0.1.2


> I'm sorry I have no idea what that means.
>
> "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > try
> > ldd /usr/lib/php4/mysql.so
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


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




[PHP] mail function problem

2003-05-30 Thread Bersani Francesco
Hi, I have a problem with the "mail" function; it always sends mails
assuming in the "from" field the user "[EMAIL PROTECTED]".
I tried to override it with this code:


mail($email, $subject, $message, $headers);

?>
--
It doesn't work...

Can anybody help me ?

--

Francesco Bersani









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


[PHP] Sessions problem

2002-06-24 Thread Francesco Chicchiriccò

Hello people out there!

I've experienced a curly problem with Linux 2.4.16, Apache 1.3.9 & PHP
4.0.6 (Slackware 8). 

I use a session variable ($login) to manage the authentication to a web
administration interface: every page begins with a simple test which
checks if $login is stored in session. If not, it prompts an error
message.




Sometimes (I wasn't able to find out any reproducible condition) the
interface kicks off the user: the sessioned variable is lost.

The most amazing thing is that I got no problems with 4.0.3pl1 on Linux
2.4.18 (Debian potato).

Anyone of you can tell me the deeply hidden reasons?

Thanks.

-- 
###
dott. Francesco Chicchiriccò
AX Digital Systems
Via del mare 85/A 00040 Pomezia (RM)

E-mail  [EMAIL PROTECTED]
Phone   +39069180291
FAX +39069123658
Homehttp://chicchiricco.monrif.net
###


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




[PHP] Computer Science and PHP

2002-01-17 Thread Francesco Gallarotti

I am a student in a college in NY state. Here we have several servers and
dozens of courses on computer science. No server is PHP ready and no course
instructor knows anything about PHP. Why do you think this is happening? I
really like PHP and I am using it in my personal website to work with some
text files and a small database. Why PHP is so not popular in the computer
science teaching area?

F.G.




-- 
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] GNU/Linux & MacOsX Server different behaviour

2004-09-28 Thread Francesco Casalena

Hi,



I've an Apple G5 Xserve with MacOsX server 10.3 (Darwin 7.3.1)

and PHP 4.3.2 and I need to run a PHP script containing this line:



Linux:  $temp=shell_exec("date 01/01/2004 +%a"); 



Mac: $temp=shell_exec("date 010104 +%a");



(man date says me how to write correctly date string in both cases)

On Linux result is correct (e.g.'Mon'), on Mac output is empty.



Is it a PHP problem, a php.ini lack (on Mac) or a permissions

problem? Or anything else?



Regards, thanks!

Ciao

Francesco 

---
Leggi la tua email con il tuo cellulare! Grazie a I.Box puoi
leggere la tua email di superEva da SMS e dalla segreteria!
http://webmail.supereva.it/ibox/
---

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



Re: [PHP] GNU/Linux & MacOsX Server different behaviour

2004-09-29 Thread Francesco Casalena



Hi Brent, hi list,



>If you just run your command in the shell, you'll see that you 

>get an operation not permitted error. Using the -r switch you

>can provide the seconds since Epoch to just display a 'date'

>you specify.

>For instance:

>date -r 97840 +%a

>Returns 'Mon'



Ok, that's right!

But I also notice this strange behaviour on Mac:



date -r 049290 +%a   returns 'Wed'...ok

date -r 049280 +%a   returns 'Tue'...ok

date -r 049270 +%a   returns 'Mon'...ok

date -r 049260 +%a   returns 'Sat'...ok

date -r 049250 +%a   returns 'Sun'...ok

date -r 049240 +%a   returns 'Fri'...no!



I try for a test:



date -r 049241 +%a   returns 'Sat'...ok



(1 are hhmms from the Epoch, is it true?)

but:



date -r 049231 +%a   returns 'Fri'...ok

date -r 049221 +%a   returns 'Wed'...no!



The behaviour is the same via Bash and via PHP script

that invokes the shell...is it a my error or a X server

bug?



Regards, thanks!

Ciao

Francesco



 

---
Leggi la tua email con il tuo cellulare! Grazie a I.Box puoi
leggere la tua email di superEva da SMS e dalla segreteria!
http://webmail.supereva.it/ibox/
---

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



Re: Re: [PHP] GNU/Linux & MacOsX Server different behaviour

2004-09-29 Thread Francesco Casalena

Hi Brent, hi list,



Oooopsss...;)



>date -r 049290 +%a   returns 'Wed'...ok

>date -r 049280 +%a   returns 'Tue'...ok

>date -r 049270 +%a   returns 'Mon'...ok

>date -r 049260 +%a   returns 'Sun'...ok

   ^^^ 

>date -r 049250 +%a   returns 'Sat'...ok

   ^^^

>date -r 049240 +%a   returns 'Fri'...no!



Sorry!

Ciao

Francesco

---
Leggi la tua email con il tuo cellulare! Grazie a I.Box puoi
leggere la tua email di superEva da SMS e dalla segreteria!
http://webmail.supereva.it/ibox/
---

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



Re: [PHP] GNU/Linux & MacOsX Server different behaviour

2004-09-29 Thread Francesco Casalena

Hi Brent, hi list,



Oooopsss...;)



>date -r 049290 +%a   returns 'Wed'...ok

>date -r 049280 +%a   returns 'Tue'...ok

>date -r 049270 +%a   returns 'Mon'...ok

>date -r 049260 +%a   returns 'Sun'...ok

   ^^^ 

>date -r 049250 +%a   returns 'Sat'...ok

   ^^^

>date -r 049240 +%a   returns 'Fri'...no!



Sorry!

Ciao

Francesco

---
Leggi la tua email con il tuo cellulare! Grazie a I.Box puoi
leggere la tua email di superEva da SMS e dalla segreteria!
http://webmail.supereva.it/ibox/
---

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



[PHP] need manual reload on Mac client

2005-05-09 Thread Francesco Casalena

Hi,



I've a strange problem on this scenario:



-SERVER MacOs X server w/

Apache's httpd2, MySql Max, PHP5



-CLIENT1 MacOs X w/ Netscape (JS enabled)

-CLIENT2 Linux 2.6 w/ Netscape (JS enabled also)



In a web application, I need to open a JS window

within data came from MySql and processed by PHP.

On CLIENT1 the JS window opens ok, but doesn't

contain the right data, I need a manual reload 

to view them.

On CLIENT2 all works well.

I've seen MySql's log, in both cases queries

are right and done in appropriate time. 

PHP code includes coockie.



Any idea? Should be a browser (or JS) error 

or a PHP for Mac mistake?



Regards, thanks in advance!

Ciao,

Francesco

---
Scegli il tuo dominio preferito e attiva la tua email! Da oggi
l'eMail di superEva e' ancora piu' veloce e ricca di funzioni!
http://webmail.supereva.it/new/
---

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



[PHP] Events in HTML with PHP

2001-02-08 Thread Francesco Rossi

Hi,
How i can use the event OnChange of a tag  for run a php script ?
Es. 
Thank.



-- 
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] [PHP-General List] - Cron or script like Cron -

2004-08-14 Thread francesco[AT]automationsoft[DOT]biz
Hi all,
I have a script that generate a benchmark report, in *.csv, every day.
I want to have the possibility to send me this report every day at the same time, 
during night, i.e. at the 03.00 am. I know that there is Cron that give me the 
possibility to do this, but I'm not the server manager and I cannot use Cron. I find a 
good alternative script, called Pseudo-Cron, but it runs only when the page that 
contains script is called.
There is a script that have the same function of Cron but is only php, or there is 
another way to call Cron or anyother way to use Cron?
All helps are very appreciated.
Thank's all.
Francesco
[EMAIL PROTECTED]


Re: [PHP] Re: [PHP-General List] - Cron or script like Cron -

2004-08-15 Thread francesco[AT]automationsoft[DOT]biz
I'm sorry Hannes, I have seen now that I email only to you and not to the
PHP list.
Sorry.
Thanks.

- Original Message -
From: "Hannes Magnusson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 14, 2004 7:26 PM
Subject: [PHP] Re: [PHP-General List] - Cron or script like Cron -


> Don't mail me directly, no good comes from that.
>
> Anyway, see my answear below.
>  -Hannes
>
> From: "francesco[AT]automationsoft[DOT]biz" <[EMAIL PROTECTED]>
> To: "Hannes Magnusson" <[EMAIL PROTECTED]>
> Subject: Re: [PHP] Re: [PHP-General List] - Cron or script like Cron -
> Date: Sat, 14 Aug 2004 19:03:02 +0200
> X-Mailer: Microsoft Outlook Express 6.00.2800.1106
>
> Hi Hannes,
> I'm not sure that I understand your solution.
> Can explain me well?
> Thank's
>
> > run cron via httpd user? i.e.
> >   fputs STDIN crontab -e blablabla
> can't doit via fputs, was just trying to put in your head some ideas how
to do this.
> can problibly do something like shell_exec ( 'echo "YourNewCronjob" >>
/path/to/nobody/crontab' );
>
> This doesnt have alot todo with php thou.
> >
> > - Hannes
> >
> > On Sat, 14 Aug 2004 18:34:10 +0200
> > [EMAIL PROTECTED] (FrancescoAutomationsoftBiz) wrote:
> >
> > > Hi all,
> > > I have a script that generate a benchmark report, in *.csv, every day.
> > > I want to have the possibility to send me this report every day at the
> same time, during night, i.e. at the 03.00 am. I know that there is Cron
> that give me the possibility to do this, but I'm not the server manager
and
> I cannot use Cron. I find a good alternative script, called Pseudo-Cron,
but
> it runs only when the page that contains script is called.
> > > There is a script that have the same function of Cron but is only php,
> or there is another way to call Cron or anyother way to use Cron?
> > > All helps are very appreciated.
> > > Thank's all.
> > > Francesco
> > > [EMAIL PROTECTED]
> > >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

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



Re: [PHP] thumbnail of webpage

2004-09-18 Thread francesco[AT]automationsoft[DOT]biz
Hi Michael,
read this (in italian)
http://forum.html.it/forum/showthread.php?s=&threadid=694523&highlight=pillo
la+upload


- Original Message -
From: "Michael Mao" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 18, 2004 1:54 AM
Subject: [PHP] thumbnail of webpage


> Is there a way to capture a snapshot of a html page and save it as a jpg
> using php?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

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



[PHP] [PHP-General] - LOC/FP for PHP.

2004-06-01 Thread francesco[AT]automationsoft[DOT]biz
Hi all,
I have a question about PHP in relation with software engineering, and in particular, 
in order to apply COCOMO metod in a web-oriented software.
I want to do a cost estimation of a software  write in PHP-MySQL (and Linux-Apache) 
for a LAN.
I know the teory about the software enginnering and especially of the model for 
estimation cost.
I have many books and online materials about this, but in all I haven't table that 
show the coefficient of LOC/FP or SLOC/UFP (for COCOMOII) of PHP (in these tables 
there are coefficient for C, C++, Java, Lisp, Basic, ADA, Assembly, but not about PHP 
or scripting languages).
Anyone know anything about this arguments?
Thanks in advance and regards to all folks.
Francesco
[EMAIL PROTECTED]




[PHP] [PHP-General] - LOC/FP for PHP.

2004-06-03 Thread francesco[AT]automationsoft[DOT]biz

Hi all,
I have a question about PHP in relation with software engineering, and in particular, 
in order to apply COCOMO metod in a web-oriented software.
I want to do a cost estimation of a software  write in PHP-MySQL (and Linux-Apache) 
for a LAN.
I know the teory about the software enginnering and especially of the model for 
estimation cost.
I have many books and online materials about this, but in all I haven't table that 
show the coefficient of LOC/FP or SLOC/UFP (for COCOMOII) of PHP (in these tables 
there are coefficient for C, C++, Java, Lisp, Basic, ADA, Assembly, but not about PHP 
or scripting languages).
Anyone know anything about this arguments?
Thanks in advance and regards to all folks.
Francesco
[EMAIL PROTECTED]




[PHP] Print page without images

2004-07-19 Thread francesco[AT]automationsoft[DOT]biz
Hi all,
I know that it is a simple and maybe elementary question, but there is in PHP a 
function, like print or echo, that print only the text of an HTML page on printer?
Thanks in advance for help.