[PHP] Plz, help

2005-07-12 Thread adolfas
Hi,

I have a line:

$sql=select u.*, p.name_lt as pareiga from nese_users u left join 
nese_pareigos p on p.id=u.pareiga order by data desc;

As I understand there are 2 tables: nese_users and nese_pareigos
I need to know what atributes belong to what table form that line.
Thanks 

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



RE: [PHP] Plz, help

2005-07-12 Thread yanghshiqi
You can use select u.a as u.a, v.a as v.a ..

 
 
 
Best regards,
Shiqi Yang

-Original Message-
From: adolfas [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 12, 2005 2:42 PM
To: php-general@lists.php.net
Subject: [PHP] Plz, help

Hi,

I have a line:

$sql=select u.*, p.name_lt as pareiga from nese_users u left join 
nese_pareigos p on p.id=u.pareiga order by data desc;

As I understand there are 2 tables: nese_users and nese_pareigos
I need to know what atributes belong to what table form that line.
Thanks 

-- 
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] Plz help me

2004-12-06 Thread Richard Lynch
suneel wrote:
 Hi Every one...

 Straight to the topic...

 I have a template file called welcome.tmp. I
 want to show the whole file in a Iframe with
 dimensions of 250 x 250.(i.e., less dimensions
 ).

  Is it possible using PHP. Or how should I approach to
 achieve this one.

You may want to look at 'webthumb' from the same folks who brought you GD.

It's a command line tool to snarf a web page and make it an image -- You
need X and a browser on your server to use it though, as I recall.

It's on my list of things to check out some day...

-- 
Like Music?
http://l-i-e.com/artists.htm

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



[PHP] Plz help me

2004-12-03 Thread suneel
Hi Every one...

Straight to the topic...

I have a template file called welcome.tmp. I want 
to show the whole file in a Iframe with dimensions of 250 x 250.(i.e., less 
dimensions ).

 Is it possible using PHP. Or how should I approach to achieve 
this one.

Thanks in advance.

Sun.


Re: [PHP] Plz help me

2004-12-03 Thread Greg Donald
On Sat, 4 Dec 2004 02:30:04 +0530, suneel [EMAIL PROTECTED] wrote:
 I have a template file called welcome.tmp. I want 
 to show the whole file in a Iframe with dimensions of 250 x 250.(i.e., less 
 dimensions ).
 
  Is it possible using PHP. Or how should I approach to 
 achieve this one.

I'd use HTML.

http://w3c.org/MarkUp/


-- 
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/

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



RE: [PHP] Plz help me

2004-12-03 Thread Vail, Warren
Assuming you want to show the template file text contents and not have the
file translated in any way in the iframe, you might check out;

http://www.php.net/manual/en/function.htmlspecialchars.php

If on the other hand you just want to show the translated template,, then
you want to point your IFRAME to the correct URL for that (more of an html
issue).

Warren Vail


 -Original Message-
 From: suneel [mailto:[EMAIL PROTECTED] 
 Sent: Friday, December 03, 2004 1:00 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] Plz help me
 
 
 Hi Every one...
 
 Straight to the topic...
 
 I have a template file called 
 welcome.tmp. I want to show the whole file in a Iframe with 
 dimensions of 250 x 250.(i.e., less dimensions ).
 
  Is it possible using PHP. Or how should I 
 approach to achieve this one.
 
 Thanks in advance.
 
 Sun.
 
 

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



Re: [PHP] plz help!compiled php but iam still getting old version ???

2004-06-21 Thread John Nichel
Ravi wrote:
HI,
existing configuration :
PHP Version 4.3.4 ( default rpm with fedora fc2 install)
Server version: Apache/2.0.49 (default with fedora fc2 install)
Server built:   May  6 2004 07:15:13
NOw i want to install 4.3.3 , so i compiled and install ( with no errors )
if i type  php -v  at shell iam getting correct version *BUT if tried
phpinfo() in browser iam getting still OLD version :( restarted apache but
no use.
please help
- thanks for your time.
Did you a) Uninstall the 4.3.4 RPM and b) configure your source install 
as a DSO or with APXS?

--
John C. Nichel
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] plz help!compiled php but iam still getting old version ???

2004-06-20 Thread Ravi
HI,

existing configuration :
PHP Version 4.3.4 ( default rpm with fedora fc2 install)
Server version: Apache/2.0.49 (default with fedora fc2 install)
Server built:   May  6 2004 07:15:13

NOw i want to install 4.3.3 , so i compiled and install ( with no errors )
if i type  php -v  at shell iam getting correct version *BUT if tried
phpinfo() in browser iam getting still OLD version :( restarted apache but
no use.

please help

- thanks for your time.





--- knowledge is power share it - ravi.us ---

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



Re: [PHP] plz help!compiled php but iam still getting old version ???

2004-06-20 Thread Michael Lauzon
Why do you want to install 4.3.3, when the latest version is 4.3.7?



On Mon, 21 Jun 2004 19:07:32 -0400 (EDT), Ravi [EMAIL PROTECTED] wrote:
 
 HI,
 
 existing configuration :
 PHP Version 4.3.4 ( default rpm with fedora fc2 install)
 Server version: Apache/2.0.49 (default with fedora fc2 install)
 Server built:   May  6 2004 07:15:13
 
 NOw i want to install 4.3.3 , so i compiled and install ( with no errors )
 if i type  php -v  at shell iam getting correct version *BUT if tried
 phpinfo() in browser iam getting still OLD version :( restarted apache but
 no use.
 
 please help
 
 - thanks for your time.
 
 --- knowledge is power share it - ravi.us ---
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 




-- 
Michael Lauzon, Founder
The Quill Society
http://www.quillsociety.org/
[EMAIL PROTECTED]

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



Re: [PHP] plz help!compiled php but iam still getting old version ???

2004-06-20 Thread Joel Kitching
Try looking in your apache configuration files for a reference to a
PHP library file or something...  Though I don't see the logic in
installing an older version either.

On Sun, 20 Jun 2004 21:53:37 -0400, Michael Lauzon [EMAIL PROTECTED] wrote:
 
 Why do you want to install 4.3.3, when the latest version is 4.3.7?
 
 
 
 On Mon, 21 Jun 2004 19:07:32 -0400 (EDT), Ravi [EMAIL PROTECTED] wrote:
 
  HI,
 
  existing configuration :
  PHP Version 4.3.4 ( default rpm with fedora fc2 install)
  Server version: Apache/2.0.49 (default with fedora fc2 install)
  Server built:   May  6 2004 07:15:13
 
  NOw i want to install 4.3.3 , so i compiled and install ( with no errors )
  if i type  php -v  at shell iam getting correct version *BUT if tried
  phpinfo() in browser iam getting still OLD version :( restarted apache but
  no use.
 
  please help
 
  - thanks for your time.
 
  --- knowledge is power share it - ravi.us ---
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 
 --
 Michael Lauzon, Founder
 The Quill Society
 http://www.quillsociety.org/
 [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



Re: [PHP] Plz help quick - mysql/php/web server undefined function all of a sudden

2004-05-05 Thread Ludwig Pummer
Chip Wiegand wrote:
John,
Yep, looking at phpinfo.php shows no support for mysql. This is very 
strange. I know these things don't just happen by themselves. I also know 
there are only two people with the password to the server, myself and my 
boss (and he knows nothing about the server to begin with).
Anyway, looks like php needs to be configured to work with mysql. Now that 
it is the way it is, how do I go about that? According to pkg_info the 
version of php is 4.3.4_3. 
Being a port install how do I configure it to use mysql?
Thanks,
Chip
 

If you install it using the ports collection and not using any sort of 
automation tool like portupgrade, it should have a text-mode 
configurator which will give you the option of MySQL support if you 
enable the checkbox. You may need to 'make clean' in the port directory 
before running 'make' again to force it to give you the menu. It may 
fail to work if MySQL or Apache were not installed from the ports 
collection to start with, since the PHP port makes some assumptions 
about the paths to Apache and MySQL.

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


[PHP] plz help

2004-03-28 Thread CurlyBraces Technologies \( Pvt \) Ltd



hi , 

i have an apache web server in linux . Those php 
scripts runs in that pc. Mean while another perl scrips runs associate with that 
php scripts . altogether they develop a out put and store in the mysql 
database.That process perfectly running.There is no any dout.
Once this web server started , no body can access 
this machine directly . This machnie is behind the firewall . This machnie 
assingned as a web server . That's mean all the ports has been blocked by the 
firewall except port 80 ( this web server running under port 80 ). ping also has 
been blocked.
That certain url can access from any other out side 
pcs. 
Some request handling purpose i want to stop that 
perl script where it is runing in the web server . But from the web server we do 
it ctrl+c perl.pl
I want to do this through the web 
browser.
when pressing a stop button , it should effect to 
the perl script in the web server and also when pressing start button it should 
start again . .

i think u all can understand my problem , 
..plz help ,

can some body help me to coverup the php scripting 
part,

thanx in advance

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

[PHP] Plz help to solve my problem.

2002-12-16 Thread Elaine Kwek
I am now trying to use php session control in my web application. i try to
copy a coding an test it...but it come out error. i not sure how to solve
it. Plz help me...I using Apache server.

the code sample is like this:

?

  session_start();
  session_register(sess_var);

  $sess_var = Hello world!;

  echo The content of \$sess_var is $sess_varbr;

?


And this is the result of the page:

Warning: open(/tmp\sess_c0fe7c6a4524488a979e20d90b2eebb2, O_RDWR) failed: No
such file or directory (2) in c:\Program Files\Apache
Group\Apache\htdocs\Office_Management_System\tmp\page1.php on line 3

The content of $sess_var is Hello world!

Warning: open(/tmp\sess_c0fe7c6a4524488a979e20d90b2eebb2, O_RDWR) failed: No
such file or directory (2) in Unknown on line 0

Warning: Failed to write session data (files). Please verify that the
current setting of session.save_path is correct (/tmp) in Unknown on line 0


thanx to whom reply to me...

Elaine Kwek


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




RE: [PHP] Plz help to solve my problem.

2002-12-16 Thread Martin Towell
From this error

Warning: Failed to write session data (files). Please verify that the
current setting of session.save_path is correct (/tmp) in Unknown on line 0

It looks like you'll have to change php.ini to have session.save_path point
to a valid path. Maybe \temp\  ?

HTH
Martin

-Original Message-
From: Elaine Kwek [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 4:08 PM
To: PHP
Subject: [PHP] Plz help to solve my problem.


I am now trying to use php session control in my web application. i try to
copy a coding an test it...but it come out error. i not sure how to solve
it. Plz help me...I using Apache server.

the code sample is like this:

?

  session_start();
  session_register(sess_var);

  $sess_var = Hello world!;

  echo The content of \$sess_var is $sess_varbr;

?


And this is the result of the page:

Warning: open(/tmp\sess_c0fe7c6a4524488a979e20d90b2eebb2, O_RDWR) failed: No
such file or directory (2) in c:\Program Files\Apache
Group\Apache\htdocs\Office_Management_System\tmp\page1.php on line 3

The content of $sess_var is Hello world!

Warning: open(/tmp\sess_c0fe7c6a4524488a979e20d90b2eebb2, O_RDWR) failed: No
such file or directory (2) in Unknown on line 0

Warning: Failed to write session data (files). Please verify that the
current setting of session.save_path is correct (/tmp) in Unknown on line 0


thanx to whom reply to me...

Elaine Kwek


-- 
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] Plz help to solve my problem.

2002-12-16 Thread Peter Houchin
you will need to say what drive the temp folder is on so c:\temp\ in the
php.ini

 -Original Message-
 From: Martin Towell [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, 17 December 2002 4:11 PM
 To: 'Elaine Kwek'; PHP
 Subject: RE: [PHP] Plz help to solve my problem.


 From this error

 Warning: Failed to write session data (files). Please verify that the
 current setting of session.save_path is correct (/tmp) in Unknown
 on line 0

 It looks like you'll have to change php.ini to have
 session.save_path point
 to a valid path. Maybe \temp\  ?

 HTH
 Martin

 -Original Message-
 From: Elaine Kwek [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, December 17, 2002 4:08 PM
 To: PHP
 Subject: [PHP] Plz help to solve my problem.


 I am now trying to use php session control in my web application. i try to
 copy a coding an test it...but it come out error. i not sure how to solve
 it. Plz help me...I using Apache server.

 the code sample is like this:

 ?

   session_start();
   session_register(sess_var);

   $sess_var = Hello world!;

   echo The content of \$sess_var is $sess_varbr;

 ?


 And this is the result of the page:

 Warning: open(/tmp\sess_c0fe7c6a4524488a979e20d90b2eebb2, O_RDWR)
 failed: No
 such file or directory (2) in c:\Program Files\Apache
 Group\Apache\htdocs\Office_Management_System\tmp\page1.php on line 3

 The content of $sess_var is Hello world!

 Warning: open(/tmp\sess_c0fe7c6a4524488a979e20d90b2eebb2, O_RDWR)
 failed: No
 such file or directory (2) in Unknown on line 0

 Warning: Failed to write session data (files). Please verify that the
 current setting of session.save_path is correct (/tmp) in Unknown
 on line 0


 thanx to whom reply to me...

 Elaine Kwek


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




[PHP] PLZ HELP -- - GET POST form problem

2002-07-09 Thread Lucam

Hi, I've this problem:

Server Apache / PHP v.4.1.2
At the moment the parametere register_globals is still set to on;
I'm triyng to use $_POST and $_FILES between different pages, but variables
are always empty !!!

Page1


form method=POST action=test_upload_conferma.php ENCTYPE =
multipart/form-data 
input type=file name=img1
input type=text name=mytext
input type=submit name=Inserisci value=Inserisci
/form


Page2

--
$text = $_POST['mytext'];
$files = $_FILES['img1']['name'];
$filestmp = $_FILES['img1']['tmp_name'];

these variables are empty..






















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




[PHP] Plz help w/ global variables

2002-07-07 Thread Anthony Rodriguez

To test global variables, I wrote the following PHP script:

(1)?php
(2)session_start();
(3)session_register(counter);
(4)$counter++;
(5)echo $counter;
(6)// header (location:statistics/contents.php);
(7)?

When the script is called several times, the variable is increased 
accordingly.  Thus, it exists globally.

But when I un-comment line (6), the Web page (contents.php) is displayed 
but I cannot echo the variable.

Why?

Thanks!

Tony

PS: Richard, thank you for your reply, but I still don't understand why is 
not passed.



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




[PHP] Plz help w/ query

2002-01-31 Thread Anthony Rodriguez

The following query displays 0 e-mails.  Why?

Tbl con_inf holds 51 records w/  51 usernames.  Tbl scr_149 holds 37 
records with 37 equivalent usernames of which 14 show date_done=0.

?php

$connection=mysql_connect(localhost,wagner,xxx) or die (No 
connection!);

$db=mysql_select_db(sbwresearch,$connection) or die (No database!);

$qry_1=select con_inf.e_mail from con_inf, scr_149 where 
scr_149.date_done=\0\ AND con_inf.username=scr_149.username;

$result_1=mysql_query($qry_1,$connection) or die (No query # 1!);
while ($row_1=mysql_fetch_array($result_1, MYSQL_ASSOC))
{
$e_mail=$row_1[e_mail];
echo $e_mail\n;
};

mysql_free_result($result_1);
mysql_close($connection);
exit;
?

Thanks!

Anthony F. Rodriguez
([EMAIL PROTECTED])


-- 
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] Plz help w/ query

2002-01-31 Thread Rick Emery

Remove the MYSQL_ASSOC.  I've never needed it for what you're doing:

while ($row_1=mysql_fetch_array($result_1))

-Original Message-
From: Anthony Rodriguez [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 7:30 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Plz help w/ query


The following query displays 0 e-mails.  Why?

Tbl con_inf holds 51 records w/  51 usernames.  Tbl scr_149 holds 37 
records with 37 equivalent usernames of which 14 show date_done=0.

?php

$connection=mysql_connect(localhost,wagner,xxx) or die (No 
connection!);

$db=mysql_select_db(sbwresearch,$connection) or die (No database!);

$qry_1=select con_inf.e_mail from con_inf, scr_149 where 
scr_149.date_done=\0\ AND con_inf.username=scr_149.username;

$result_1=mysql_query($qry_1,$connection) or die (No query # 1!);
while ($row_1=mysql_fetch_array($result_1, MYSQL_ASSOC))
{
$e_mail=$row_1[e_mail];
echo $e_mail\n;
};

mysql_free_result($result_1);
mysql_close($connection);
exit;
?

Thanks!

Anthony F. Rodriguez
([EMAIL PROTECTED])


-- 
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 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] Plz help w/ php/MySQL

2002-01-05 Thread Anthony Rodriguez

The following php script successfully e-mails both messages but it doesn't 
update in the table scr_149 the column notified.  Why?

?php
$connection=mysql_connect(localhost,wagner,123) or die (No 
connection!);

$db=mysql_select_db(sbwresearch_com,$connection) or die (No database!);

$message_1=

Congratulations!\n\n
You've qualified to take the online survey # 149.\n\n
To take the survey, go to www.sbwresearch.com and click on Survey / Tests.\n\n

;

$message_2=

Sorry!\n\n
You've not qualified to take the online survey # 149.\n\n
We'll notify you by e-mail of upcoming screeners.

;
$qry_1=select * from scr_149 where q05a!=\0\  notified=\n\;
$qry_2=update scr_149 set notified='y' where username='$username';
$result_1=mysql_query($qry_1,$connection) or die (No query # 1!);
while ($row_1=mysql_fetch_array($result_1, MYSQL_ASSOC))
{
$username=$row_1[username];
$e_mail=$row_1[e_mail];
mail($e_mail,
  News from SBW Research,
  $message_1,
  From:SBW Research [EMAIL PROTECTED]\n);
$result_2=mysql_query($qry_2,$connection) or die (No query # 2!);
};

mysql_free_result($result_1);

$qry_3=select * from scr_149 where q05a=\0\  notified=\n\;
$qry_4=update scr_149 set notified=\y\ where username='$username';
$result_3=mysql_query($qry_3,$connection) or die (No query # 3!);
while ($row_2=mysql_fetch_array($result_3, MYSQL_ASSOC))
{
$username=$row_2[username];
$e_mail=$row_2[e_mail];
mail($e_mail,
  News from SBW Research,
  $message_2,
  From:SBW Research [EMAIL PROTECTED]\n);
$result_4=mysql_query($qry_4,$connection) or die (No query # 4!);
};

@mysql_free_result($result_3);
@mysql_close($connection);
header (location:done.htm);
exit;
?

Thanks!

Anthony F. Rodriguez
([EMAIL PROTECTED])


-- 
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] Plz help w/ php/MySQL

2002-01-05 Thread Bogdan Stancescu

Anthony Rodriguez wrote:

 The following php script successfully e-mails both messages but it doesn't
 update in the table scr_149 the column notified.  Why?

 ?php
 $connection=mysql_connect(localhost,wagner,123) or die (No
 connection!);

 $db=mysql_select_db(sbwresearch_com,$connection) or die (No database!);

 $message_1=

 Congratulations!\n\n
 You've qualified to take the online survey # 149.\n\n
 To take the survey, go to www.sbwresearch.com and click on Survey / Tests.\n\n

 ;

 $message_2=

 Sorry!\n\n
 You've not qualified to take the online survey # 149.\n\n
 We'll notify you by e-mail of upcoming screeners.

 ;
 $qry_1=select * from scr_149 where q05a!=\0\  notified=\n\;
 $qry_2=update scr_149 set notified='y' where username='$username';

^ What's the value of $username here?

 $result_1=mysql_query($qry_1,$connection) or die (No query # 1!);
 while ($row_1=mysql_fetch_array($result_1, MYSQL_ASSOC))
 {
 $username=$row_1[username];

^ Because setting $username here is too late...
You should define $qry_2 after defining $username (move that line here).


 $e_mail=$row_1[e_mail];
 mail($e_mail,
   News from SBW Research,
   $message_1,
   From:SBW Research [EMAIL PROTECTED]\n);
 $result_2=mysql_query($qry_2,$connection) or die (No query # 2!);
 };

 mysql_free_result($result_1);

 $qry_3=select * from scr_149 where q05a=\0\  notified=\n\;
 $qry_4=update scr_149 set notified=\y\ where username='$username';

^ Same thing here...


 $result_3=mysql_query($qry_3,$connection) or die (No query # 3!);
 while ($row_2=mysql_fetch_array($result_3, MYSQL_ASSOC))
 {
 $username=$row_2[username];

^ ...being moved here.


 $e_mail=$row_2[e_mail];
 mail($e_mail,
   News from SBW Research,
   $message_2,
   From:SBW Research [EMAIL PROTECTED]\n);
 $result_4=mysql_query($qry_4,$connection) or die (No query # 4!);
 };

 @mysql_free_result($result_3);
 @mysql_close($connection);
 header (location:done.htm);
 exit;
 ?



-- 
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] PLZ HELP! php won't compile:( PLZ HELP

2001-07-13 Thread alexus

./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/m
ysql/ --with-imap --enable-versioning --enable-ttrack-vars --with-ldap --ena
ble-gd=../gd-1.8.4 --with-png=../libpng-1.0.11 --with-jpg=../jpeg-6b --with-
zlib-dir=../zlib-1.1.3

this is my configuration line.. i dont get any erros while running
./configure but i get this error after doing make
please help

Making all in TSRM
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main   -DMOD_SSL=208104 -DEAPI -DEAPI_MM -D
USE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12  -g -O2 -c TSRM.c
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main   -DMOD_SSL=208104 -DEAPI -DEAPI_MM -D
USE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12  -g -O2 -c tsrm_strtok_r.c
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main   -DMOD_SSL=208104 -DEAPI -DEAPI_MM -D
USE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12  -g -O2 -c tsrm_virtual_cwd.c
tsrm_virtual_cwd.c: In function `virtual_open':
tsrm_virtual_cwd.c:568: `mode_t' is promoted to `int' when passed through
`...'
tsrm_virtual_cwd.c:568: (so you should pass `int' not `mode_t' to `va_arg')
*** Error code 1

Stop in /usr/local/src/php-4.0.6/TSRM.
*** Error code 1

Stop in /usr/local/src/php-4.0.6.

thank you in advance



-- 
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] PLZ HELP with LOCK connection using MySQL

2001-05-24 Thread Marian Vasile

I have a database and couple php scripts.

I'm going to update some tables inside of this database.
The server is a fast one (with 256Mb)

I don't think there are too many updates but I get an error very strange.

Many connections get LOCKED.
After some time, the system is going down.

I'm using mysql_connect not other functions.

Why I get this error ?
What is the reason ?

Marian

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