Re: [PHP] locate

2003-03-29 Thread Nikunj Virani
Not a PHP Question.

updatedb or locate -u should work on Linux systems.

Regards,
Nikunj Virani
- Original Message - 
From: Joseph Bannon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 12:44 PM
Subject: [PHP] locate


 How do you update the locate database?
 
 /var/lib/slocate/slocate.db
 
 __
 Do you Yahoo!?
 Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
 http://platinum.yahoo.com
 
 -- 
 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] submit

2003-03-28 Thread Nikunj Virani
change input type=button value=submit to input type=submit
value=submit

Regards,
Nikunj Virani
- Original Message -
From: Diksha Neel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 4:13 PM
Subject: [PHP] submit


 hi all,
 seems to be and off day for me.
 simple things aren't working.
 have this really stupid thing called dew3.html
 in which is a submit button to connect to new6.php
 that will in turn create a file sandrew.html.
 but the submit button in dew3.html is seen but isn't
 working.
 help please.
 sending code for dew3.html.

 thanks,
 diksha.

 html
 head
 titledew/title
 /head
 body
 form method=get action=new6.php
 input type=button value=submit
 /form
 /body
 /html


 ___
 Odomos - the only  mosquito protection outside 4 walls -
 Click here to know more!

http://r.rediff.com/r?http://clients.rediff.com/odomos/Odomos.htmodomosw
n


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

2003-03-27 Thread Nikunj Virani
Not a PHP Question and should have been directed to Qmail Mailing list.

 i just want to know what format does qmail use to store password in the
 password file.what function should be used to generate that password
 thanx in advance for the answers

This manly depends on how have you configured your Qmail installation. QMail
can be configured either to use system users or virtual users. Configuration
is normally done using vpopmail (http://inter7.com) which provides you with
an interface to create its own users. If you are using system users you will
have to create system password which I guess is done using crypt.

Regards,
Nikunj Virani
- Original Message -
From: Haseeb Iqbal [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 4:14 AM
Subject: [PHP] Qmail question


 i just want to know what format does qmail use to store password in the
 password file.what function should be used to generate that password
 thanx in advance for the answers
 Haseeb


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

2003-03-27 Thread Nikunj Virani
Yes, you can call perl scripts using exec or system function just like
you will call any other system function. You will have to make sure that the
apache user (or nobody if your apache runs as nobody) has executable
permission on perl script.

So if your perl script is:

/home/nikunj/test.pl

you can call some thing like this:
?
$cmd=  /home/nikunj/test.pl $parameter1;
exec($cmd,$returnarray, $code);
echo $code;

?

Regards,
Nikunj Virani

- Original Message -
From: Brad Wright [EMAIL PROTECTED]
To: PHP General List [EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 6:30 PM
Subject: [PHP] php and Perl


Hi all,

can php call perl scripts?

I know nothing of perl, but have found a perl script that will process a
MSword document in a way that it seems php cannot.

At this stage, my knowledge of perl is limited to it's used in web stuff
sometimes isnt it :) but i am sure i will soon find a bit more about perl
itself elsewhere from this list.

Can i indeed use php to 'call' a perl script/function/app whatever its
called?



Cheers,

Brad


Nel vino la verità, nella birra la forza, nell'acqua i bacilli
--
In wine there is truth, in beer there is strength, in water there are
bacteria


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

2003-03-26 Thread Nikunj Virani
 I require a complete installation package if possible.  I am operating
 XP Pro, but unfortunately not IIS.  The problems that I have experienced
 trying to obtain IIS has made me decide to use Apache as my web server
 along with PHP and MySQL.

 Please would you provide a direct link that will allow a complete
 installation of the three so that I can begin working on my Website?  I
 have visited the website and installation page, although a good
 advertisement for a complete packageis present there is no way to
 download the files.

Foxserv is good one:
http://www.foxserv.net/portal.php
http://twtelecom.dl.sourceforge.net/sourceforge/foxserv/FoxServ-3.0.exe

 A second question I have; I have Studio MX (Dreamweaver MX, Flash MX,
 Fireworks etc), within a menu there is an option to select PHP pages
 (build a PHP page etc)  does this mean that I can design my page in
 Dreamweaver then as I would have the installation (as above) I could
 then view my pages?

Yes. You must put the php files inside your DocumentRoot of your apache
installation. Dreamweaver can be used to design PHP Pages.

Regards,
NIkunj Virani



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



Re: [PHP] php4isapi.dll

2003-03-25 Thread Nikunj Virani
Download PHP from http://www.php.net/downloads.php. You will find
php4isapi.dll with it.

Regards,
Nikunj Virani
- Original Message -
From: Robin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 5:51 PM
Subject: [PHP] php4isapi.dll


 Hello

 I am trying to install Cacti and it requires PHP.I have followed the
 instructions which require me to add the above dll and php extension into
 IIS.

 However, i have searched my entire hardrive, but can not find this dll so
i
 cant continue.

 Please can somebody help?

 Thanks


 Robin



 --
 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] php4isapi.dll

2003-03-25 Thread Nikunj Virani
I prefer and use Zip file.

Regards,
Nikunj
- Original Message -
From: Robin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 6:06 PM
Subject: Re: [PHP] php4isapi.dll


 Thanks Nikunj

 Which actual download is it? The zip or the installer?

 Robin
 Nikunj Virani [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  Download PHP from http://www.php.net/downloads.php. You will find
  php4isapi.dll with it.
 
  Regards,
  Nikunj Virani
  - Original Message -
  From: Robin [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Tuesday, March 25, 2003 5:51 PM
  Subject: [PHP] php4isapi.dll
 
 
   Hello
  
   I am trying to install Cacti and it requires PHP.I have followed the
   instructions which require me to add the above dll and php extension
 into
   IIS.
  
   However, i have searched my entire hardrive, but can not find this dll
 so
  i
   cant continue.
  
   Please can somebody help?
  
   Thanks
  
  
   Robin
  
  
  
   --
   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] curl

2003-03-25 Thread Nikunj Virani
What does phpinfo() function says ? It should show you the curl module
enabled.

Regards,
Nikunj Virani
- Original Message -
From: Diana Castillo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 6:06 PM
Subject: [PHP] curl


 How can I tell if I have successfully installed curl on my windows XP
 machine?
 What is the syntax for sending a test curl command?
 I tried this and got a syntax error:
 curl http://www.netscape.com/;




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

2003-03-24 Thread Nikunj Virani
Check out:
http://phpbuilder.com/columns/rod2221.php3

Hope that helps!


Regards,
Nikunj Virani
- Original Message -
From: Sebastian [EMAIL PROTECTED]
To: php list [EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 11:39 AM
Subject: [PHP] counting ..


 Hello all.

 rather dumb question.

 I have a pagination system, 25 results per page, which are user comments,
I
 want to put a number on each comment so i am doing something like:

 $num=$num + 1;
 $number = $num;
 echo $number;

 But when i switch to the next 25 results it starts counting from 1 again,
 LoL.

 So i have to use $_GET right? If so can someone give me an example.

 Thanks in advanced.


 cheers,
 - Sebastian




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



[PHP] SetUID Scripts with PHP.

2003-03-24 Thread Nikunj Virani
I need to make some PHP Executables which needs root permissions to run. I currently 
use SetUID Perl scripts for the purpose and they works fine. But now i feel PHP would 
be better language for the purpose so i want to switch it to PHP. Can any one tell me 
how can i make setUID PHP scripts ?

Thanks and Regards,
Nikunj Virani


Re: [PHP] web services

2003-03-21 Thread Nikunj Virani
Hi Guys,

I want to create webservices using NUSoap + PHP. I have gone through NUSoap
Site at http://dietrich.ganx4.com/nusoap/faq.php but havenot found any thing
to start with. Can any body point me to some good examples + Manuals on the
matter.

PHP  Webservices sounds promising and i think using NUSoap is the best
alternative at present. Does any one have better ideas ?


Thanks and Regards,
Nikunj Virani




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



Re: [PHP] PHP and file extensions

2003-03-20 Thread Nikunj Virani
What about IIS. This is what the customer is usingand I know d***
about
IIS. I would assume that there is a similar thing for IIS, but have no
idea
where to even look.


If you are using IIS 3.0 Check out install.txt file which comes with PHP
Win32 Binary. It says:

 Run Regedit.
   Navigate to:
 
HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/W3Svc/Parameters/Script
Map
   On the edit menu select: New-String Value.
   Type in the extension you wish to use for your php scripts. ex: .php
   Double click on the new string value and enter the path to
   php.exe in the value data field.
   ex: c:\php\php.exe
   Repeat these steps for each extension you wish to associate
  with PHP scripts.

With IIS 4 + Check out the install.txt file again it says:

Windows NT/2000/XP and IIS 4 or newer and PWS 4 on NT Workstation or W2K non
server editions

In the Extension box, type the file name extension you want
associated with PHP scripts. Leave 'Method exclusions'
blank, and check the Script engine checkbox. You may also
like to check the 'check that file exists' box - for a small
performance penalty, IIS (or PWS) will check that the script
   file exists and sort out authentication before firing up php.
This means that you will get sensible 404 style error messages
   instead of cgi errors complaing that php did not output any data.

You must repeat from 'Click Add...' for each extension you
want associated with PHP scripts.

Do the same for .html extension and you must be OK. Allthough there may be
performance hits for normal HTML Files as they will always go to PHP ENgine.


Regards,
Nikunj Virani
Senior System Administrator.



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



Re: [PHP] Re: Creating graphs with PHP?

2003-03-20 Thread Nikunj Virani
This articles in PHPBuilder are really good starts on the topic:

http://phpbuilder.com/columns/wiesendanger20001218.php3
http://phpbuilder.com/columns/allan2830.php3
http://phpbuilder.com/columns/nasser20030219.php3

Regards,
Nikunj Virani




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



Re: [PHP] Compiled PHP ?

2003-03-17 Thread Nikunj Virani
Are there non-commercial once around ? Has any one used Zend Safe Guard
before ? How effective is this ?

Thanks in advance!
Nik
- Original Message -
From: Marek Kilimajer [EMAIL PROTECTED]
To: Niks [EMAIL PROTECTED]
Cc: php [EMAIL PROTECTED]
Sent: Monday, March 17, 2003 5:22 PM
Subject: Re: [PHP] Compiled PHP ?


 There are comertial solutions, check out http://www.zend.com

 Niks wrote:

 Dear All,
 
 I am in Application Developlment in PHP and currently developing a
project in PHP. I need to know if there is a way that i do not need to give
source code for the product i develope i.e. is there any way to compile php
? I am using apache 2 on Red Hat 7.2 boxes.
 
 Thanks and Regards,
 Nik
 
 
 






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