[PHP-DEV] Bug #10497 Updated: Not connect with MySql

2001-04-30 Thread sniper

ID: 10497
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Bogus
Bug Type: Filesystem function related
PHP Version: 4.0.4pl1
Assigned To: 
Comments:

There is already open bug report from you about
this same problem: #10566


--Jani


Previous Comments:
---

[2001-04-30 14:50:05] [EMAIL PROTECTED]
this script don't work   

?
$file=fopen(ftp://user:password@localhost/administrador/servicios.inc,w;);
fputs($file,Algo);
fclose($file);
?

---

[2001-04-30 14:49:20] [EMAIL PROTECTED]
this script don't work   

?
$file=fopen  
(ftp://user:password@localhost/administrador/servicios.inc,w;);
fputs($file,Algo);
fclose($file);
?

---

[2001-04-29 04:57:52] [EMAIL PROTECTED]
The error message 'Maximum execution time of 30 seconds exceeded' doesn't need to be 
related to MySQL, as it just says that your script's running time is longer than 
allowed.

Do you get, apart from that, any error message that indicates a relation to MySQL?

On first look your code looks okay, could it be that your query just consumes much 
time?


---

[2001-04-25 16:52:29] [EMAIL PROTECTED]
this is the error:
 
Fatal error: Maximum execution time of 30 seconds exceeded in D:Mis 
DocumentosWebtempok.php on line 2
 
and this is the script in php:
 

?

$db = mysql_connect(localhost,root);

mysql_select_db(portal,$db);

$query = select hora from noticias order by fecha;

$r_noticias = mysql_query($query);

$rw_noticias = mysql_numrows($r_noticias);

if ($rw_noticias) 

 while($a_noticias = mysql_fetch_array($r_noticias)) $hora= $a_noticias[hora];

...

?

ok. thanks.


---

[2001-04-25 16:27:44] [EMAIL PROTECTED]
user feedback:

this is the error:
 
Fatal error: Maximum execution time of 30 seconds exceeded in D:Mis 
DocumentosWebtempok.php on line 2
 
and this is the script:
 

?

$db = mysql_connect(localhost,root);

mysql_select_db(portal,$db);

$query = select hora from noticias order by fecha;

$r_noticias = mysql_query($query);

$rw_noticias = mysql_numrows($r_noticias);

if ($rw_noticias) 

 while($a_noticias = mysql_fetch_array($r_noticias)) $hora= $a_noticias[hora];

...

?


please, use the web interface for future updates

---

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10497edit=2


-- 
PHP Development 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-DEV] Bug #10497 Updated: Not connect with MySql

2001-04-29 Thread sbergmann

ID: 10497
Updated by: sbergmann
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: MySQL related
PHP Version: 4.0.4pl1
Assigned To: 
Comments:

The error message 'Maximum execution time of 30 seconds exceeded' doesn't need to be 
related to MySQL, as it just says that your script's running time is longer than 
allowed.

Do you get, apart from that, any error message that indicates a relation to MySQL?

On first look your code looks okay, could it be that your query just consumes much 
time?


Previous Comments:
---

[2001-04-25 16:52:29] [EMAIL PROTECTED]
this is the error:
 
Fatal error: Maximum execution time of 30 seconds exceeded in D:Mis 
DocumentosWebtempok.php on line 2
 
and this is the script in php:
 

?

$db = mysql_connect(localhost,root);

mysql_select_db(portal,$db);

$query = select hora from noticias order by fecha;

$r_noticias = mysql_query($query);

$rw_noticias = mysql_numrows($r_noticias);

if ($rw_noticias) 

 while($a_noticias = mysql_fetch_array($r_noticias)) $hora= $a_noticias[hora];

...

?

ok. thanks.


---

[2001-04-25 16:27:44] [EMAIL PROTECTED]
user feedback:

this is the error:
 
Fatal error: Maximum execution time of 30 seconds exceeded in D:Mis 
DocumentosWebtempok.php on line 2
 
and this is the script:
 

?

$db = mysql_connect(localhost,root);

mysql_select_db(portal,$db);

$query = select hora from noticias order by fecha;

$r_noticias = mysql_query($query);

$rw_noticias = mysql_numrows($r_noticias);

if ($rw_noticias) 

 while($a_noticias = mysql_fetch_array($r_noticias)) $hora= $a_noticias[hora];

...

?


please, use the web interface for future updates

---

[2001-04-25 15:56:20] [EMAIL PROTECTED]
ah, right:

this worked in 4.0.3 but doesn't work in 4.0.4 pl1, right?

what error message do you get?

---

[2001-04-25 15:54:35] [EMAIL PROTECTED]
please report bugs in English. 

---

[2001-04-25 15:52:47] [EMAIL PROTECTED]
Estas dos sentencias si funcionan en la versión 4.03 de php, pero en la 4.04pl1 no 
funcionan; no se conecta php a MySql.
 

 $db = mysql_connect(localhost,root);
 mysql_select_db(portal,$db);

---

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10497edit=2


-- 
PHP Development 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-DEV] Bug #10497 Updated: Not connect with MySql

2001-04-25 Thread cynic

ID: 10497
Updated by: cynic
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: MySQL related
PHP Version: 4.0.4pl1
Assigned To: 
Comments:

please report bugs in English. 

Previous Comments:
---

[2001-04-25 15:52:47] [EMAIL PROTECTED]
Estas dos sentencias si funcionan en la versión 4.03 de php, pero en la 4.04pl1 no 
funcionan; no se conecta php a MySql.
 

 $db = mysql_connect(localhost,root);
 mysql_select_db(portal,$db);

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10497edit=2


-- 
PHP Development 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-DEV] Bug #10497 Updated: Not connect with MySql

2001-04-25 Thread cynic

ID: 10497
Updated by: cynic
Reported By: [EMAIL PROTECTED]
Status: Feedback
Bug Type: MySQL related
PHP Version: 4.0.4pl1
Assigned To: 
Comments:

ah, right:

this worked in 4.0.3 but doesn't work in 4.0.4 pl1, right?

what error message do you get?

Previous Comments:
---

[2001-04-25 15:54:35] [EMAIL PROTECTED]
please report bugs in English. 

---

[2001-04-25 15:52:47] [EMAIL PROTECTED]
Estas dos sentencias si funcionan en la versión 4.03 de php, pero en la 4.04pl1 no 
funcionan; no se conecta php a MySql.
 

 $db = mysql_connect(localhost,root);
 mysql_select_db(portal,$db);

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10497edit=2


-- 
PHP Development 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-DEV] Bug #10497 Updated: Not connect with MySql

2001-04-25 Thread cynic

ID: 10497
Updated by: cynic
Reported By: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: MySQL related
PHP Version: 4.0.4pl1
Assigned To: 
Comments:

user feedback:

this is the error:
 
Fatal error: Maximum execution time of 30 seconds exceeded in D:\Mis 
Documentos\Web\temp\ok.php on line 2
 
and this is the script:
 

?

$db = mysql_connect(localhost,root);

mysql_select_db(portal,$db);

$query = select hora from noticias order by fecha;

$r_noticias = mysql_query($query);

$rw_noticias = mysql_numrows($r_noticias);

if ($rw_noticias) 

 while($a_noticias = mysql_fetch_array($r_noticias)) $hora= $a_noticias[hora];

...

?


please, use the web interface for future updates

Previous Comments:
---

[2001-04-25 15:56:20] [EMAIL PROTECTED]
ah, right:

this worked in 4.0.3 but doesn't work in 4.0.4 pl1, right?

what error message do you get?

---

[2001-04-25 15:54:35] [EMAIL PROTECTED]
please report bugs in English. 

---

[2001-04-25 15:52:47] [EMAIL PROTECTED]
Estas dos sentencias si funcionan en la versión 4.03 de php, pero en la 4.04pl1 no 
funcionan; no se conecta php a MySql.
 

 $db = mysql_connect(localhost,root);
 mysql_select_db(portal,$db);

---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10497edit=2


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