[PHP] Save email as .eml file

2007-07-18 Thread Rosen

Hi,
Is there a way to create e-mail with PHP and save it to .eml file 
(without sending)?


Thanks,
Rosen

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



[PHP] PDFlib problem

2006-12-27 Thread Rosen
Hi,
I have problem with PDFlib on Windows 2000, PHP 5.2.0 and Apache 2.2.3

When I try to execute:

$p = new PDFlib();

in the Apache log I receive:
PDFlib exception (fatal): [1202] PDF_set_parameter: Unknown key 'objorient'
[.] [notice] Parent: child process exited with status 99 -- Restarting.

And nothing happens - I receive Problem loading page.

Can someone help?

Thanks in advance,
Rosen

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



[PHP] Re: PDFlib problem

2006-12-27 Thread Rosen
Thank you all,
But from where I can download new version ( binary)  of  PDFlib  for windows 
?


Rosen [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Hi,
 I have problem with PDFlib on Windows 2000, PHP 5.2.0 and Apache 2.2.3

 When I try to execute:

 $p = new PDFlib();

 in the Apache log I receive:
 PDFlib exception (fatal): [1202] PDF_set_parameter: Unknown key 
 'objorient'
 [.] [notice] Parent: child process exited with status 99 --  
 Restarting.

 And nothing happens - I receive Problem loading page.

 Can someone help?

 Thanks in advance,
 Rosen 

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



[PHP] Reading and changing XML

2006-12-06 Thread Rosen
Hi,
I need some help. Which is the best way to parse XML file ( reading some 
fields ) and change some of them ?

Thanks in advance,
Rosen 

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



[PHP] Resolution in .pdf

2006-11-22 Thread Rosen
Hi,
I must create .pdf  file with resolution as 300 dpi not by default 72 dpi. 
Is there a way to create this with PHP?

Thanks in advance,
Rosen 

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



[PHP] XML Sending problem

2006-11-05 Thread Rosen
Hi,

I need to create an XML file and send it to another server, where script 
process the XML.
With creation and processing of XML I don't have a promlems, but how I can 
send XML to the processing script on another server ?


Thanks in advance,
Rosen 

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



Re: [PHP] XML Sending problem

2006-11-05 Thread Rosen

Unknown Sender [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Hi Rosen,
 You can do this for some ways.
 The simplest:
 1. Send via ftp - http://php.net/ftp
 2. Send via scp using ssh2 - http://php.net/ssh2

 Regards
 Michael

Thanks Michael, but I want if it is possible to do something like POST in 
normal HTML language and say to the remote script to process XML. And I 
don't have FTP access to remote server. The idea is to working only with XML 
protocol to communicate with remote server. I think I have read something 
like this in the internet, but can't remember where :(

Regards
Rosen



 Rosen said:
 Hi,

 I need to create an XML file and send it to another server, where script 
 process the XML.
 With creation and processing of XML I don't have a promlems, but how I 
 can send XML to the processing script on another server ?


 Thanks in advance,
 Rosen 

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



[PHP] Problem with manual running PHP script

2006-10-27 Thread Rosen
Hi,
I have scheduled php script, which runs with c:\php\php.exe php test.php, 
i.e. without browser. I give working dir the directory of the script.
When I start it from the browser all is ok.
But when I start manualy sctipt with c:\php\php.exe text.php ll.txt the 
script gives me an error( in ll.txt): Call to undefined function: 
ocilogon() in  
This is function for connect to Oracle database.
When I try to connect to MySQL database with the same script ( just for 
test) , there in no problem.

Can someone help me ?

Thanks in advance,
Rosen

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



[PHP] Uploading pic

2006-04-27 Thread Rosen

Hi,
I have this problem with uploading images:
I try several PHP classes for upload of files on server ( pictures in my 
case ), but if some user only renames some file as .jpg the script 
uploads the file even the file format is not .jpg - i.e. - file 
test.mpg - the user renames it to test.jpg - and the script upload 
it on server. Of course after this the website don't show any pi - it 
shows like pic does not exists.


 I need also to control the dimension of pictures ( in pixels), size in 
kb and type of files ( .gif, .jpg ).


Is there a way to do this with some script ?

Thanks,
Rosen

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



[PHP] problem with greek language

2006-04-04 Thread Rosen
Hi,
I have one very big problem: I create website with english and greek
language. I use iso-8859-1 encoding for my website.
I show the greek language text with encoded chars like
tau;eta;lambda;epsilon;#972;rho;alpha;si; -  I copy/paste this
from Openoffice documents.
On the website I have no problems - everything shows ok, but when I pass
this greek encoded string to javascript - i.e. alert('tau;eta;'); the
browser doesn't decode the greek symbols and the alert shows me the same
:tau;eta;

Have someone some idea how to solve this problem ?

Thanks in advance,
Rosen

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



Re: [PHP] problem with greek language

2006-04-04 Thread Rosen

Thanks,
But the problem is thath I can't put directly into code the greek text 
with copy/paste from the .doc file in the PHP editor. I chahged the 
encoding for the editor to greek charset, but when I paste it, the 
result is ???  ( questiomarks ) .




rouvas wrote:

Hi Rosen,

either use ISO-8859-7 for the encoding or UTF-8. If you use ISO-8859-7 your 
site will not need any modifications (either than replacing the tau, ..., 
etc symbols with the actual characters). If you use UTF-8 you will of course 
have to modify your strings to make them UTF-8 compatible.


Please, take into account that using the tau;eta, ..., etc symbols is 
*not* guaranteed to work for users visiting your site from Greece. No matter 
what the standards say, there are problems. Trust me. I live in Greece :-)


-Stathis

On Tuesday 04 April 2006 15:39, Rosen wrote:

Hi,
I have one very big problem: I create website with english and greek
language. I use iso-8859-1 encoding for my website.
I show the greek language text with encoded chars like
tau;eta;lambda;epsilon;#972;rho;alpha;si; -  I copy/paste this
from Openoffice documents.
On the website I have no problems - everything shows ok, but when I pass
this greek encoded string to javascript - i.e. alert('tau;eta;'); the
browser doesn't decode the greek symbols and the alert shows me the same

:tau;eta;

Have someone some idea how to solve this problem ?

Thanks in advance,
Rosen


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



[PHP] Session problem

2005-03-31 Thread Rosen
Hi,
I have this code :


page1.php:
?

$nfo[fu]=12;

session_start();
session_register(nfo);

$sn=session_name();
$nn=session_id() ;

$web=page2.php?lang=en;
$web.=$sn=$nn;

header(Location: $web);
?
===
page2.php:
?
session_start();
global $nfo;

$uss=$nfo[fu];

echo $uss;  HERE $uss is empty!

?

This script works on several linux servers, but on one doesn't work (
variable $uss in page2.php has no value ).
I think this may be problem with PHP configuration on this server ( I don't
have root password for this server ).

Have someone idea where may be the problem ?

Thanks in advance!
Rosen

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



[PHP] Search engine

2005-01-20 Thread Rosen

Hi,
Can someone recommend me a search engine script in PHP for inside one site?

Thanks in advance!
Rosen

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



Re: [PHP] Search engine

2005-01-20 Thread Rosen
I try many scripts for searching, but they don't work how I want.
The problem is, that part of site is static text ( not in database ) , other
part ( products ) are in MySQL database - this part is generating from PHP
scripts.



Ben Edwards [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 This kind of depends on what database you are using (I am asuming you
 mean you have a data driven site you want to search so strictly
 speaking it is the database that you want to search).

 Mysl has free text search facilities (i.e. you can pass it a number of
 words and it can search for them in a set of database fields and even
 kreates a 'ranking').  however this only works if you have a few
 hundread records - less than this and the results are unpredictable.

 Have you tries googeling for php search scripts?

 Ben

 On Thu, 20 Jan 2005 14:04:44 +0200, Rosen [EMAIL PROTECTED] wrote:
 
  Hi,
  Can someone recommend me a search engine script in PHP for inside one
site?
 
  Thanks in advance!
  Rosen
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 


 -- 
 Ben Edwards - Poole, UK, England
 WARNING:This email contained partisan views - dont ever accuse me of
 using the veneer of objectivity
 If you have a problem emailing me use
 http://www.gurtlush.org.uk/profiles.php?uid=4
 (email address this email is sent from may be defunct)

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



Re: [PHP] Search engine

2005-01-20 Thread Rosen
But here the problem is, that the texts in database uses from different
scripts and on the search engine I should show and link to the sctipt, thath
shows searched data.
My idea was for search script, who explore the whole site (as generated from
PHP scripts - via links ).



Ben Edwards [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Looks like you will have to write your own.  Have a look at the
 scripts you have and see how they do it.  One option is to write the
 'static' pages into the database as well as the file system.  I
 personaly put all content into a database and do not really have any
 static pages atall.

 Ben

 On Thu, 20 Jan 2005 14:18:49 +0200, Rosen [EMAIL PROTECTED] wrote:
  I try many scripts for searching, but they don't work how I want.
  The problem is, that part of site is static text ( not in database ) ,
other
  part ( products ) are in MySQL database - this part is generating from
PHP
  scripts.
 
  Ben Edwards [EMAIL PROTECTED] wrote in message
  news:[EMAIL PROTECTED]
   This kind of depends on what database you are using (I am asuming you
   mean you have a data driven site you want to search so strictly
   speaking it is the database that you want to search).
  
   Mysl has free text search facilities (i.e. you can pass it a number of
   words and it can search for them in a set of database fields and even
   kreates a 'ranking').  however this only works if you have a few
   hundread records - less than this and the results are unpredictable.
  
   Have you tries googeling for php search scripts?
  
   Ben
  
   On Thu, 20 Jan 2005 14:04:44 +0200, Rosen [EMAIL PROTECTED]
wrote:
   
Hi,
Can someone recommend me a search engine script in PHP for inside
one
  site?
   
Thanks in advance!
Rosen
   
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
   
   
  
  
   --
   Ben Edwards - Poole, UK, England
   WARNING:This email contained partisan views - dont ever accuse me of
   using the veneer of objectivity
   If you have a problem emailing me use
   http://www.gurtlush.org.uk/profiles.php?uid=4
   (email address this email is sent from may be defunct)
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 


 -- 
 Ben Edwards - Poole, UK, England
 WARNING:This email contained partisan views - dont ever accuse me of
 using the veneer of objectivity
 If you have a problem emailing me use
 http://www.gurtlush.org.uk/profiles.php?uid=4
 (email address this email is sent from may be defunct)

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



[PHP] Executing command in Linux

2005-01-15 Thread Rosen
Hi,
I have this problem:
Linux Red Hat 7.3 server and PHP 4.3.8  MySQL 4. When I Try to execute
linux command - nothing happens and in Apache logs I see Access denied.
This is about permissions in executing this command.

My question is can I execute a linux command via PHP ( this is command
allowed only for root user ) ?

P.S. I own this server - i.e. I have user  pass for root.

Thanks in advance!

Rosen

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



[PHP] Subclassing website

2005-01-06 Thread Henning Sato von Rosen
Hi all!

I want to subclass a large website mainly written in PHP.
The sublassing is useful for testing when you want to test a change, a
bugfix or a new design,  and only a few pages change. The subclass
would consist of an almost empty representation of the website
containing only the changed files, thus allowing testing without
harming the ordinary website.

Is it possible ro postprocess the output of PHP for a specific page
(e.g. for changing all links dynamically adding a prefix to a path, if
that file does exist in the website subclass)?

Thankful for hints/pointers on this!
Maybe there is already a module for this?

Thanks!
/Henning

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



[PHP] Sending text file to users

2004-11-26 Thread Rosen
Hi,
How can I send 3 text files to user generated from PHP script?
Should I must to generate them first and then to send them to user?
Is there a way to send 3 text files to user in just one PHP script ?

Thanks in advance !

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



[PHP] URL encode/decode problem

2004-09-13 Thread Rosen
Hi,
I have follow problem: One form whitch send some text fields to my PHP
script. But before send data, the form makes
javascript command escape for text fields. The text fields may contain
characters +, quotes, etc.
The form post data with GET method. And then I can't get correctly posted
data in my PHP script. How to unescape data with PHP?

Can someone help me ?
Thanks in advance,
Rosen

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



Re: [PHP] URL encode/decode problem

2004-09-13 Thread Rosen
It will not work - Javascript function escape() return string as unicode
data - something like %u0431%u043E%u044F.

And I don't know how to decode these data as normal chars.



Greg Donald [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 On Mon, 13 Sep 2004 16:51:59 +0300, Rosen [EMAIL PROTECTED] wrote:
  I have follow problem: One form whitch send some text fields to my PHP
  script. But before send data, the form makes
  javascript command escape for text fields. The text fields may contain
  characters +, quotes, etc.
  The form post data with GET method. And then I can't get correctly
posted
  data in my PHP script. How to unescape data with PHP?
 
  Can someone help me ?

 stripslashes() perhaps?



 -- 
 Greg Donald
 http://destiney.com/

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



Re: [PHP] URL encode/decode problem

2004-09-13 Thread Rosen
I changed the JScript to encode data not as unicode - now it code data as
%20%2B%20.
But when I get data with $_REQUEST[var] - I loose symbol + - with code
%2B.





Greg Donald [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 On Mon, 13 Sep 2004 17:21:48 +0300, Rosen [EMAIL PROTECTED] wrote:
  It will not work - Javascript function escape() return string as
unicode
  data - something like %u0431%u043E%u044F.

 Well, normally I'd say urldecode() but I don't think it handles
 unicode, so you may wanna check out the multi-byte string functions:

 http://www.php.net/manual/en/ref.mbstring.php

 -- 
 Greg Donald
 http://destiney.com/

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



Re: [PHP] URL encode/decode problem

2004-09-13 Thread Rosen
The sending form works with JavaScript. When enter on some field combination
+  plus sign and space - JScript encode it - I see it with alert -
%2B%20 , but when new window opens on url bar shows +%20 - thath means
space only.


Greg Donald [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 On Mon, 13 Sep 2004 18:35:58 +0300, Rosen [EMAIL PROTECTED] wrote:
  I changed the JScript to encode data not as unicode - now it code data
as
  %20%2B%20.
  But when I get data with $_REQUEST[var] - I loose symbol + - with
code
  %2B.

 Can you change it back before you decode it?  Maybe with str_replace() ?


 -- 
 Greg Donald
 http://destiney.com/

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



[PHP] Upload problems

2004-08-15 Thread Rosen

Hi,
I try to upload a .zip file via PHP. I change directive upload_max_filesize
= 500M.
The first file is about 5 MB and no problems with upload.
The second file is about 17 MB and script doesn't do nothing - no upload :(

Can someone help with this ?

Thanks in advance!

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



[PHP] Re: Upload problems

2004-08-15 Thread Rosen
Thanks,
I change the post_max_size variable in php.ini and it worked !

Rosen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 Hi,
 I try to upload a .zip file via PHP. I change directive
upload_max_filesize
 = 500M.
 The first file is about 5 MB and no problems with upload.
 The second file is about 17 MB and script doesn't do nothing - no upload
:(

 Can someone help with this ?

 Thanks in advance!

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



[PHP] PHP and Apache 2

2004-08-08 Thread Rosen
Hi,
What is the reason, thath in the installation manual of PHP writes:
WARNING:
Do not use Apache 2.0 and PHP in a production environment neither on Unix
nor on Windows. 

Thanks,
Rosen

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



Re: Re[2]: [PHP] Disk serial number

2004-07-25 Thread Rosen
This didn't work :(
Apache crashes after execution of script.



Tom Rogers [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi,

 Friday, July 23, 2004, 8:08:22 PM, you wrote:
 R I receive an error:

 R Warning: dl(): Not supported in multithreaded Web servers - use
extension
 R statements in your php.ini 


 You need to add

 extension=php_w32api.dll

 to your php.ini and restart the web server

 --
 regards,
 Tom

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



Re: Re[2]: [PHP] Disk serial number

2004-07-25 Thread Rosen

 This didn't work :(
 Apache crashes after execution of script on this row:

$api-registerfunction(long GetLastError
Alias GetError ()
From kernel32.dll);




 Tom Rogers [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  Hi,
 
  Friday, July 23, 2004, 8:08:22 PM, you wrote:
  R I receive an error:
 
  R Warning: dl(): Not supported in multithreaded Web servers - use
 extension
  R statements in your php.ini 
 
 
  You need to add
 
  extension=php_w32api.dll
 
  to your php.ini and restart the web server
 
  --
  regards,
  Tom

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



Re: [PHP] Disk serial number

2004-07-24 Thread Rosen
Thanks,
But how I can parse this output ?

Burhan Khalid [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Rosen wrote:

  Yes, on Linux there is a command to get this info, but on windows I
think
  there'n no thath command.
  Is there a module for PHP to do this ?

 c:\dir c:\test.txt
   Volume in drive C is Primary
   Volume Serial Number is 003E-6CEA

   Directory of c:\

 07/23/2004  01:43 PM11 test.txt
 1 File(s) 11 bytes
 0 Dir(s)  23,576,174,592 bytes free

 Just parse that.

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



Re: [PHP] Disk serial number

2004-07-23 Thread Rosen
I receive an error:

Warning: dl(): Not supported in multithreaded Web servers - use extension
statements in your php.ini 




Tom Rogers [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi,

 Friday, July 23, 2004, 8:26:56 AM, you wrote:
 R Hi,
 R Is there a way to get with PHP script ( maybe with some module) serial
 R number of the hard disk?

 R Thanks in advance!

 On windows you can use the win32api like this:

 ?php
 dl(php_w32api.dll);
 $api = new win32;
 $api-registerfunction(long GetLastError
   Alias GetError ()
   From kernel32.dll);
 $api-registerfunction(long GetVolumeInformationA
   Alias GetVolumeInformation
   (string a, string b, int c, int d, int e, int f, string g, int h)
   From kernel32.dll);

 $drive = C:\\;
 $serialNo = 0;
 $MaximumComponentLength = 0;
 $FileSystemFlags = 0;
 $VolumeNameSize = 260;
 $VolumeNameBuffer = str_repeat(\0, $VolumeNameSize);
 $FileSystemNameSize = 260;
 $FileSystemNameBuffer = str_repeat(\0, $FileSystemNameSize);
 if(!$result = $api-GetVolumeInformation(
 $drive,
 $VolumeNameBuffer,
 $VolumeNameSize,
 $serialNo,
 $MaximumComponentLength,
 $FileSystemFlags,
 $FileSystemNameBuffer,
 $FileSystemNameSize)){
   $error = $api-getError();
   echo $drive.' Oops error: '.$error.\n;
 }
 echo Drive $drive (.trim($VolumeNameBuffer).) Serial number
$serialNo\n;
 ?

 (The stock win32api dll will probably crash with that many variables so
 let me know if you want a working version.)

 -- 
 regards,
 Tom

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



[PHP] Disk serial number

2004-07-22 Thread Rosen
Hi,
Is there a way to get with PHP script ( maybe with some module) serial
number of the hard disk?

Thanks in advance!

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



Re: [PHP] Disk serial number

2004-07-22 Thread Rosen
Yes, on Linux there is a command to get this info, but on windows I think
there'n no thath command.
Is there a module for PHP to do this ?

Thanks!


Matthew Sims [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
  Hi,
  Is there a way to get with PHP script ( maybe with some module) serial
  number of the hard disk?
 
  Thanks in advance!

 If there's a command on your operating system to get this information,
 then use PHP's exec function.

 $serialNum = exec('command to get serial number');

 --
 --Matthew Sims
 --http://killermookie.org

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



Re: [PHP] Disk serial number

2004-07-22 Thread Rosen
I can write it to another language ( like C, Delphi ) but I don't know how
to integrate this with PHP - i.e. to create it as module for PHP.


Matthew Sims [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
  Yes, on Linux there is a command to get this info, but on windows I
think
  there'n no thath command.
  Is there a module for PHP to do this ?
 
  Thanks!
 
 

 My guess is no since it's operating system specific. Unless someone on the
 list knows for sure.

 Check Google Groups to see if there's a DOS command for this.

 --
 --Matthew Sims
 --http://killermookie.org

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



Re: [PHP] Disk serial number

2004-07-22 Thread Rosen
Is there a documentation how to create a module for PHP ?

Thanks in advance!

Curt Zirzow [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 * Thus wrote Rosen:
  Hi,
  Is there a way to get with PHP script ( maybe with some module) serial
  number of the hard disk?

 There has been a proposol in PECL back in June about making an
 extension for this very thing.

 I'm not sure what the current status is but here is the discussion
 on it:

   http://marc.theaimsgroup.com/?t=10865212601r=1w=2


 Curt
 -- 
 First, let me assure you that this is not one of those shady pyramid
schemes
 you've been hearing about.  No, sir.  Our model is the trapezoid!

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



Re: [PHP] Disk serial number

2004-07-22 Thread Rosen
I would like to create it as module for PHP like function - like
gethdserial() - and function to retrieve me serial number of HDD. I know
how to retrieve serial number in C, Delphi.


Lars Torben Wilson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Rosen wrote:

  I can write it to another language ( like C, Delphi ) but I don't know
how
  to integrate this with PHP - i.e. to create it as module for PHP.

 I would suggest going the simple route for now, then if you need it (for
 performance or whatever) later on, write it up as a module then.

 Write a simple little program in whatever language you like which can
 fetch the id and print it to standard output. Compile it and test it.
 Then in your PHP script, just call that program (using exec(), system(),
 backticks, whatever works best for your situation) and read its output.

 Later on, decide whether you need to write a whole module for this
 task. Seems like it would be overkill to me.



 Cheers,

 Torben [EMAIL PROTECTED]

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



[PHP] Problem with calculate

2004-07-16 Thread Rosen
Hi,
I have following problem:
I use some numbers from mysql table and other local vars to calculate one
number.
But on one calc I receive thath $value=4.5474735088646E-013;
This must be zero (0) - I see all vars and calc then with calculator. I use
function number_format($value, 2, .,  ) and it return me -0.00

Can someone help me ?

Thanks in advance!
Rosen

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



Re: [PHP] Problem with calculate

2004-07-16 Thread Rosen
Thanks !
abs() will not work for me, because I may have na negative numbers, but with
round() it worked !

10x


John W. Holmes [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Rosen wrote:

  I use some numbers from mysql table and other local vars to calculate
one
  number.
  But on one calc I receive thath $value=4.5474735088646E-013;
  This must be zero (0) - I see all vars and calc then with calculator. I
use
  function number_format($value, 2, .,  ) and it return me -0.00

 When you use floating point numbers, you can get small errors like this.
 To the computer, 4.54E-13 is about the same as zero. number_format()
 returns the correct result... well, the negative sign may throw you off.
 You can use abs() and round() to get what you want, more than likely.

 The thing to remember and react accordingly to is that for floating
 point numbers, 2.0 - 1.5 can equal 0.4999 and be correct
 because of the precision.

 -- 
 ---John Holmes...

 Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

 php|architect: The Magazine for PHP Professionals – www.phparch.com

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



Re: [PHP] Client IP

2004-07-08 Thread Rosen
Ok - thie is enought for me - to see the adres of proxy server. :)

Tim Van Wassenhove [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 In article [EMAIL PROTECTED], Rosen wrote:
 :)
  Ok - then how linux server communicate with client - the server must
have IP
  adress to whitch to send data.

  Rosen wrote:
 
   IP adress not send ?!? And how server communicate with client ?

 For example people on a lan (with let's say ip addresses in the
 192.168.X.Y range) that use a proxy. You'll see the address of the
 proxy in $_SERVER['REMOTE_ADDR']. And i doubt that is what you were
 looking for :)

 -- 
 Tim Van Wassenhove http://home.mysth.be/~timvw

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



Re: [PHP] Client IP

2004-07-08 Thread Rosen
I don't understand  :)

John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 John W. Holmes wrote:
  Trust me.

 Riggtt.  Like we're going to trust the likes of you.
   I guess the cheque's in the mail too, eh?  ;)

 -- 
 By-Tor.com
 It's all about the Rush
 http://www.by-tor.com

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



[PHP] Re: Running php scripts stored in mysql

2004-07-08 Thread Rosen
Try with eval() function.



Martin Bálint [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hello,

 is this possible?

 I have a script stored in mysql database. For simplicity let's say:

 ?
 phpinfo();
 ?
  is stored in db.

 Is it somehow possible to include this script to a running php process for
 execution? Some analogy to include(file); but for a mysql stored script?

 Thanks
 Martin

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



[PHP] Client IP

2004-07-07 Thread Rosen
Hi,
How can I get remote IP adress of client?
I use the fillow script::

$ip=getenv('HTTP_X_FORWARDED_FOR');
if (!$ip)
{
$ip = getenv('REMOTE_ADDR');
}


But sometime it return me unknown sa IP adress.

Can someone help me ?

Thanks in advance!

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



Re: [PHP] Client IP

2004-07-07 Thread Rosen
IP adress not send ?!? And how server communicate with client ?

John W. Holmes [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Matthew Sims wrote:

 Hi,
 How can I get remote IP adress of client?
 I use the fillow script::
 
 $ip=getenv('HTTP_X_FORWARDED_FOR');
 if (!$ip)
 {
 $ip = getenv('REMOTE_ADDR');
 }
 
 
 But sometime it return me unknown sa IP adress.
 
 Can someone help me ?
 
 Thanks in advance!
 
 
  $_SERVER[REMOTE_ADDR]

 Either method will work. You just have to realize that sometimes the IP
 address is not sent. There is no reliable way to get the clients IP
 address, so do not depend on it.

 -- 
 ---John Holmes...

 Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

 php|architect: The Magazine for PHP Professionals – www.phparch.com

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



Re: [PHP] Client IP

2004-07-07 Thread Rosen
:)
Ok - then how linux server communicate with client - the server must have IP
adress to whitch to send data.

John W. Holmes [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Rosen wrote:

  IP adress not send ?!? And how server communicate with client ?

 A variety of ways. What I meant is that it's not sent in the browser's
 headers that it sends to the site, which is where getenv() and
 $_SERVER[] would snatch it from.

 Do not rely on IP addresses. Trust me.

 -- 
 ---John Holmes...

 Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

 php|architect: The Magazine for PHP Professionals – www.phparch.com

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



Re: [PHP] Client IP

2004-07-07 Thread Rosen
Thanks,
This for the users, thath come from one IP adress - I know about it, but,
Can I get just adress of the IP, with which the server communicates ?
Lars Torben Wilson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Rosen wrote:

  IP adress not send ?!? And how server communicate with client ?

 [snip]

 The httpd server might know the remote IP address, but that doesn't
 mean that it has to tell PHP about it. The SAPI module may or may not
 set the value, for instance.

 Even if you could rely on the IP address, in many cases it will not
 do quite what you want. For instance, if you try to organize users
 by IP address, you'll find that many users can appear to have the same
 IP address, such as when they're behind a firewall or using a workstation
 on an internal LAN--they may all appear to be coming from the same
address.


 Hope this helps clear it up,

 Torben

 $_SERVER[REMOTE_ADDR]
 
 Either method will work. You just have to realize that sometimes the IP
 address is not sent. There is no reliable way to get the clients IP
 address, so do not depend on it.
 
 -- 
 ---John Holmes...
 
 Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
 
 php|architect: The Magazine for PHP Professionals – www.phparch.com

 --
 Torben Wilson [EMAIL PROTECTED]

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



Re: [PHP] Client IP

2004-07-07 Thread Rosen
Ok,
I don't understand why IP adress will bi invisible for $_SERVER variable.

John W. Holmes [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Rosen wrote:

  Can I get just adress of the IP, with which the server communicates ?

 If you don't see the IP address somewhere in the $_SERVER variable, then
NO.

 -- 
 ---John Holmes...

 Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

 php|architect: The Magazine for PHP Professionals – www.phparch.com

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



[PHP] Problem with strcasecmp() function

2004-07-03 Thread Rosen
Hi,
I have the following problem with strcasecmp() function.
It should be compare strings case insensitive. When I use it on my local
computer, - it works correctly.
But when I upload file on some internet server - the function doesn't work .

I use the function with cyrillic charset.

Can someone help me ?
Thanks in advanse !

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



Re: [PHP] Problem with strcasecmp() function

2004-07-03 Thread Rosen
Both versions are  Version 4.3.7 of PHP.



Scot L. Harris [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 On Sat, 2004-07-03 at 16:57, Rosen wrote:
  Hi,
  I have the following problem with strcasecmp() function.
  It should be compare strings case insensitive. When I use it on my local
  computer, - it works correctly.
  But when I upload file on some internet server - the function doesn't
work .
 
  I use the function with cyrillic charset.
 
  Can someone help me ?
  Thanks in advanse !

 What version of PHP are you using locally?

 What version of PHP are you using on some internet server?

 I suspect there is a difference.

 -- 
 Scot L. Harris
 [EMAIL PROTECTED]

  *** System shutdown message from root ***

 System going down in 60 seconds

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



Re: [PHP] Problem with strcasecmp() function

2004-07-03 Thread Rosen
The code:

echo strcasecmp(Òåñò , òåñò);   // This are Test and test in
cyrillic
echo br;
echo strcasecmp(Test, test);// This no problem - it works


Results:

-32
0





Scot L. Harris [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 On Sat, 2004-07-03 at 17:08, Rosen wrote:
  Both versions are  Version 4.3.7 of PHP.
 

 Then more information is needed to figure out the problem.

 Sample code plus any error messages or results would help.

 -- 
 Scot L. Harris
 [EMAIL PROTECTED]

 Plaese porrf raed.
 -- Prof. Michael O'Longhlin, S.U.N.Y. Purchase

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



[PHP] Export data

2003-11-30 Thread Rosen
Hi,
Is it possible to export some data to MSOffice format ( .doc and .xls ) ,
OOffice ( .sxw and sxc ) or .rtf format with PHP

Thanks in advance !
Rosen

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



[PHP] https detection

2003-10-12 Thread Rosen
Hi,
Is there a way to determite with PHP thath site visitor is in https (SSL)
mode or in normal mode ?

Thanks,
Rosen

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



Re: [PHP] https detection

2003-10-12 Thread Rosen
I.e. if  I use _SERVER[SERVER_PORT] = 443  - for https connection and 80
for normal - i'll be able to determite if user is in https mode - I think
thath should be works . ?

Thanks,
Rosen





 Tom Rogers [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Hi,

 Sunday, October 12, 2003, 9:09:15 PM, you wrote:
 R Hi,
 R Is there a way to determite with PHP thath site visitor is in https
(SSL)
 R mode or in normal mode ?

 R Thanks,
 R Rosen


 put phpinfo(32); at the top of the page and that should show what is
available
 with an ssl connection if you make one.

 --
 regards,
 Tom

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



[PHP] Upload files

2003-07-28 Thread Rosen
Hi,
I have some problem with uploading files on server with PHP.
The upload is ok, but I must set directory permissions with FULL Access -
but this is not a good idea :((
Have someone idea how I can do this with no setting permissions to full
acess ?

Thanks,
Rosen



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



[PHP] Upload problem

2003-07-28 Thread Rosen


Hi,
I have some problem with uploading files on server with PHP.
The upload is ok, but I must set directory permissions with FULL Access -
but this is not a good idea :((
Have someone idea how I can do this with no setting permissions to full
acess ?

Thanks,
Rosen
reserved!



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



[PHP] Re: urldecode problem :(

2003-06-09 Thread Rosen
Thanks,
But how can I understand when to decode string and when not ?

Rosen



Seairth Jacobs [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 Rosen [EMAIL PROTECTED] wrote in message
 news:[EMAIL PROTECTED]
  HI,
  I'm using urldecode function to decode string from
  getenv(QUERY_STRING);, but part of
  it is in cyrrilic (windows-1251) charset.
 
  I have following code:
 
 

$a=%D1%81%D1%87%D0%B5%D1%82%D0%BE%D0%B2%D0%BE%D0%B4%D0%BD%D0%B0+%D0%BA%D1%8
  A%D1%89%D0%B0;
  $b=%d1%ee%f4%f2%f3%e5%f0;
 
  echo a= . urldecode($a);
  echo brb= . urldecode($b);
 
  On the second string it works correctly, but on first it don't.
  These two vars are getted from two different pages ( as refferers ).
  I think the problem could be in encoding used in two pages.

 When I run the code without setting a charset (defaulting to UTF-8), I get
 back the following:

 a=?? 
 b=ody

 When I run the code setting the charset to windows-1251, I get:

 a=???‡?µ?‚???° ?‰?°
 b=???


 I'm guessing you want a from the first one and b from the second one.
 In which case, you are correct.  Two different character encodings are
being
 URL encoded.  You could convert the first string using:

 convert_cyr_string(mb_convert_encoding(urldecode($a), 'ISO-8859-5',
 'UTF-8'), 'i', 'w')


 --
 ---
 Seairth Jacobs
 [EMAIL PROTECTED]






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



[PHP] urldecode problem :(

2003-06-06 Thread Rosen
HI,
I'm using urldecode function to decode string from
getenv(QUERY_STRING);, but part of
it is in cyrrilic (windows-1251) charset.

I have following code:

$a=%D1%81%D1%87%D0%B5%D1%82%D0%BE%D0%B2%D0%BE%D0%B4%D0%BD%D0%B0+%D0%BA%D1%8
A%D1%89%D0%B0;
$b=%d1%ee%f4%f2%f3%e5%f0;

echo a= . urldecode($a);
echo brb= . urldecode($b);

On the second string it works correctly, but on first it don't.
These two vars are getted from two different pages ( as refferers ).
I think the problem could be in encoding used in two pages.

Can someone help me ?

Thanks,
Rosen



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



Re: [PHP] Date problem

2002-12-02 Thread Rosen

Thanks for this,
I understand how to update in date in database, but I need when I get date
from database to increase or decrease before to save in database.

Can you help me for this ?

John W. Holmes [EMAIL PROTECTED] wrote in message
001501c2999b$d24a71f0$7c02a8c0@coconut">news:001501c2999b$d24a71f0$7c02a8c0@coconut...
  I want to get date from database, to increment ot decrement it with
 some
  days, to show the date and after thath
  if user confirm it to save it to database.

 There are a ton of ways you can do it. You can select the date and it's
 inc/dec value in the same statement:

 SELECT datecol, datecol + INTERVAL 1 DAY FROM yourtable WHERE ...

 Display whatever you need, if the user agrees to the new day, then issue
 an update query:

 UPDATE yourtable SET datecol = datecol + INTERVAL 1 DAY WHERE ...

 To make those queries dynamic, you can replace the '1' with a variable
 and assign it's value in PHP to either -1, 1, 2, 3, etc...

 $inc = -1;

 UPDATE yourtable SET datecol = datecol + INTERVAL $inc DAY WHERE ...

 Or...

 You can select out the date you have now, use strtotime() to make it
 into a unix timestamp (which PHP works with), and date() to format it
 however you want. If the user approves the new date, you can reformat
 the unix timestamp back to a -MM-DD format with date() or use
 FROM_UNIXTIME() in your query to insert/update the new date into the
 database...

 ---John Holmes...





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




[PHP] Date problem

2002-12-01 Thread Rosen

Hi,
I have one problem:
Date field in MySql database with value as 2002-31-12.
I want to increment or decrement this date and to put it again in table.
Can someone help me to increment or decrement date with some days?

Thanks,
Rosen



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




Re: [PHP] Date problem

2002-12-01 Thread Rosen
Thanks,
But I need before to save date in database to do some checks with the
inc/dec date.
Cal you help me ?

Thanks,
Rosen


John W. Holmes [EMAIL PROTECTED] wrote in message
002301c29960$21d6a360$7c02a8c0@coconut">news:002301c29960$21d6a360$7c02a8c0@coconut...
  I have one problem:
  Date field in MySql database with value as 2002-31-12.
  I want to increment or decrement this date and to put it again in
 table.
  Can someone help me to increment or decrement date with some days?

 UPDATE yourtable SET yourcolumn = yourcolumn + INTERVAL 1 DAY WHERE ...

 http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html
 #Date_and_time_functions

 ---John Holmes...





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




Re: [PHP] Date problem

2002-12-01 Thread Rosen

I want to get date from database, to increment ot decrement it with some
days, to show the date and after thath
if user confirm it to save it to database.

Can you help me ?

Thanks,
Rosen

John W. Holmes [EMAIL PROTECTED] wrote in message
002601c29965$7862e950$7c02a8c0@coconut">news:002601c29965$7862e950$7c02a8c0@coconut...
 What exactly do you want to do? I'm not a mind reader...

 ---John Holmes...

  -Original Message-
  From: Rosen [mailto:[EMAIL PROTECTED]]
  Sent: Sunday, December 01, 2002 12:54 PM
  To: [EMAIL PROTECTED]
  Subject: Re: [PHP] Date problem
 
  Thanks,
  But I need before to save date in database to do some checks with the
  inc/dec date.
  Cal you help me ?
 
  Thanks,
  Rosen
 
 
  John W. Holmes [EMAIL PROTECTED] wrote in message
  002301c29960$21d6a360$7c02a8c0@coconut">news:002301c29960$21d6a360$7c02a8c0@coconut...
I have one problem:
Date field in MySql database with value as 2002-31-12.
I want to increment or decrement this date and to put it again in
   table.
Can someone help me to increment or decrement date with some days?
  
   UPDATE yourtable SET yourcolumn = yourcolumn + INTERVAL 1 DAY WHERE
 ...
  
  
 http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html
   #Date_and_time_functions
  
   ---John Holmes...
  
  
 
 
 
  --
  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] Date problem

2002-12-01 Thread Rosen
It's in -MM-YY

Justin French [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 on 02/12/02 9:59 AM, Rosen ([EMAIL PROTECTED]) wrote:

  I want to get date from database, to increment ot decrement it with some
  days, to show the date and after thath
  if user confirm it to save it to database.

 And in what format is the date currently stored? -MM-DD?  MySQL
 timestamp? Unix Timestamp?


 Justin French
 
 http://Indent.com.au
 Web Development 
 Graphic Design
 




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




[PHP] Web site analysys

2002-09-22 Thread Rosen

Hi,
Can someone tell me where I can find a PHP script
for tracking visitors on WEB site ( IP, Refferer, e.t.c )
(Like http://extremetracking.com )

Thanks,
Rosen




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




[PHP] Print page

2002-08-29 Thread Rosen

Hi,
I'm using PHP to generate some report for printing.
But when I print report from IE 5.0 browser, in the bottom of page
IE prints URL of page.
Can I remove it ?


Thanks,
Rosen



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




Re: [PHP] Print page

2002-08-29 Thread Rosen

Thanks very much 
Rosen

Jay Blanchard [EMAIL PROTECTED] wrote in message
003601c24f79$7ed376a0$8102a8c0@000347D72515">news:003601c24f79$7ed376a0$8102a8c0@000347D72515...
 [snip]
 I'm using PHP to generate some report for printing.
 But when I print report from IE 5.0 browser, in the bottom of page
 IE prints URL of page.
 Can I remove it ?
 [/snip]

 Only in individual browser settings (like IE, File-Page Setup-Clear the
 Header and Footer boxes). There is no way to control this with PHP. Each
 browser is different on how this is handled.

 HTH!

 Jay

 ***
 * Central Texas PHP Developers Group  *
 * San Antonio, Austin, San Marcos, New Braunfels, *
 * Seguin, Boerne, Blanco, the Hill Country*
 * Interested? *
 * Contact [EMAIL PROTECTED] *
 ***





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




Re: [PHP] Print page

2002-08-29 Thread Rosen

Thanks very much 
Rosen


Robert Collins [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 yes, but that is a browser function not php
 goto file - page setup - then remove the header and footer data

 Robert W. Collins II
 Webmaster
 New Orleans Regional Transit Authority
 Phone : (504) 248-3826
 Fax: (504) 248-3866
 Email : [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]



 -Original Message-
 From: Rosen [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 29, 2002 11:29 AM
 To: [EMAIL PROTECTED]
 Subject: [PHP] Print page


 Hi,
 I'm using PHP to generate some report for printing.
 But when I print report from IE 5.0 browser, in the bottom of page
 IE prints URL of page.
 Can I remove it ?


 Thanks,
 Rosen



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

2002-06-16 Thread Rosen

Thanks,
but I think you didn't understand me.
I have the number of week in a year ( some number of week, not current
week ) and I must determite start  end date of given week.

Can you help me with some ides ?

Thanks,
Rosen



John Holmes [EMAIL PROTECTED] wrote in message
006101c214d9$dc9423f0$b402a8c0@mango">news:006101c214d9$dc9423f0$b402a8c0@mango...
 You'll need a combination of date() and mktime().

 I'm too lazy to write the exact code right now, but date('w') will
 return the day of the week, 0 = Sunday, 6 = Saturday. Then use mktime()
 to subtract the number returned from date('w') from the days component,
 and you'll have the start of the week. 6 minus the result of date('w'),
 added to the day component of mktime(), will give you the end...

 HTH,
 ---John Holmes...


  -Original Message-
  From: Rosen [mailto:[EMAIL PROTECTED]]
  Sent: Saturday, June 15, 2002 7:55 PM
  To: [EMAIL PROTECTED]
  Subject: [PHP] Determine week
 
  Hi,
  how can I determine dates (start  end ) in one week.
  I.e. 30th  week is between 22.07.2002 and 28.07.2002 .
 
 
 
 
 
  --
  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] Determine week

2002-06-15 Thread Rosen

Hi,
how can I determine dates (start  end ) in one week.
I.e. 30th  week is between 22.07.2002 and 28.07.2002 .





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




Re: [PHP] Shut down server

2002-06-14 Thread Rosen

Thanks,
but the idea is another user only to start and shutdown the server.

Any ideas ?

Thanks,
Rosen

Bruce Karstedt [EMAIL PROTECTED] wrote in message
00ea01c21339$e7856d60$4773d73f@c3">news:00ea01c21339$e7856d60$4773d73f@c3...
 This is a bad idea from a security standpoint. If your server is local,
 login as root and type shutdown. If the system is remote telnet to the
box,
 login, su to root and type reboot. If you use shutdown remotely, there is
no
 way to restart the server.

 Bruce Karstedt
 President
 Technology Consulting Associates, Ltd.
 Tel: 847-735-9488
 Fax: 847-735-9474


 -Original Message-
 From: Lazor, Ed [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 13, 2002 6:29 PM
 To: 'Rosen'; [EMAIL PROTECTED]
 Subject: RE: [PHP] Shut down server

  clip 

 I am not a security expert.  Check with others to get their opinion on
 whether this is the best approach.

  -Original Message-
  The server is Linux Red Hat 7.2
Can someone tell me how I could make shut down the server ?
Is it possible ?





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




Re: [PHP] Shut down server

2002-06-14 Thread Rosen

Hi,
I want to make server on Linux Red Hat 7.2 to shutdown from WEB interface.
A'll not have any access to this server. Server will not be connected to
Internet - it's local for organization. I want one men from them only to
turn on computer and to shutdown server via WEB interface without any
administrative rights on server.

I tried to shut down server with exex(/sbin/poweroff) but nothing
happened!
Can someone tell me how I could make shut down the server via PHP command or
executing Linux command?
Is it possible ?

Thanks,
Rosen


Ed Lazor [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Could you restate this question?  Sorry, I don't understand what you're
 asking.

  -Original Message-
  but the idea is another user only to start and shutdown the server.



 This message is intended for the sole use of the individual and entity to
 whom it is addressed, and may contain information that is privileged,
 confidential and exempt from disclosure under applicable law.  If you are
 not the intended addressee, nor authorized to receive for the intended
 addressee, you are hereby notified that you may not use, copy, disclose or
 distribute to anyone the message or any information contained in the
 message.  If you have received this message in error, please immediately
 advise the sender by reply email and delete the message.  Thank you very
 much.



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




[PHP] Shut down server

2002-06-13 Thread Rosen

Hi,
I tried to shut down my server with exex(/sbin/poweroff) but nothing
happened!
Can someone tell me how I could make shut down the server ?
Is it possible ?

Thanks,
Rosen



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




[PHP] Re: Shut down server

2002-06-13 Thread Rosen


 Hi,
 I tried to shut down my server with exex(/sbin/poweroff) but nothing
 happened!
 Can someone tell me how I could make shut down the server ?
 Is it possible ?
The server is Linux Red Hat 7.2.



 Thanks,
 Rosen





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




Re: [PHP] Shut down server

2002-06-13 Thread Rosen

The server is Linux Red Hat 7.2


Ed Lazor [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 That all depends on what kind of server you're referring to.

  -Original Message-
  Hi,
  I tried to shut down my server with exex(/sbin/poweroff) but nothing
  happened!
  Can someone tell me how I could make shut down the server ?
  Is it possible ?
 
  Thanks,
  Rosen



 This message is intended for the sole use of the individual and entity to
 whom it is addressed, and may contain information that is privileged,
 confidential and exempt from disclosure under applicable law.  If you are
 not the intended addressee, nor authorized to receive for the intended
 addressee, you are hereby notified that you may not use, copy, disclose or
 distribute to anyone the message or any information contained in the
 message.  If you have received this message in error, please immediately
 advise the sender by reply email and delete the message.  Thank you very
 much.



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




[PHP] E-mail via WAP

2002-05-26 Thread Rosen

Hi,
can someone tell me is there a script for sending and receiving a mail via
WAP ?

Thanks,
Rosen



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




[PHP] Problem with sending information with quotes

2002-05-17 Thread Rosen

Hi,
I have follow PHP file test.php:


if ($action==)
{
echo FORM name=\pp\ action=\test.php\ method=\post\ ;
echo TEXTAREA name=\text\  rows=\5\ cols=\50\  maxlength=\250\
style=\width:350px\/TEXTAREA;
echo INPUT name=\send\ type=\submit\ style=\width:80px\ /INPUT;
echo INPUT name=\action\ type=\hidden\ value=\send\/INPUT;
echo /form;
}

if ($action==send)
{

echo $text;

// if in the input form I enter something with quotes, i.e.  TEST
//here the value of $text  is   \TEST\ . The PHP send value to
me with backslah.
//
//How can I get the real entered, i.e. TEST ? Where is the problem ?

}


Thanks,
Rosen Marinov



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




[PHP] Creating mail account on Linux server

2002-05-07 Thread Rosen

Hi,
How can I create a mail account on Linux server with PHP ?

Can I do it ?

Thanks,
Rosen




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




[PHP] Javascript question

2001-10-29 Thread Rosen

Hi,
This is not a PHP question, but can someone help me
how to convert in lowercase the text into INPUT statment online ?
(i.e. when the user press a key , the script automaticly to convert char in
lowercase )

Thanks,
Rosen



-- 
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] Check mail user

2001-10-24 Thread Rosen

Hi,
can someone give me script for syntax check of username for mail server ?

Thanks,
Rosen



-- 
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] Re: Check mail user

2001-10-24 Thread Rosen

Thanks  !!!

Rosen



Rosen [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Hi,
 can someone give me script for syntax check of username for mail server ?

 Thanks,
 Rosen





-- 
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] Re: Session ID

2001-10-05 Thread Rosen

Sorry,
I can't access php.ini.
It's on server, outside !!!

Thanks,
Rosen


Richard Lynch [EMAIL PROTECTED] wrote in message
046301c14d62$865a8ea0$c801a8c0@Lynchux100">news:046301c14d62$865a8ea0$c801a8c0@Lynchux100...
 Read php.ini

 Not sure you can set it on a site-by-site basis or within Directory in
 httpd.conf or not though.

 --
 WARNING [EMAIL PROTECTED] address is an endangered species -- Use
 [EMAIL PROTECTED]
 Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
 Volunteer a little time: http://chatmusic.com/volunteer.htm
 - Original Message -
 From: Rosen [EMAIL PROTECTED]
 Newsgroups: php.general
 To: [EMAIL PROTECTED]
 Sent: Thursday, October 04, 2001 3:31 AM
 Subject: Session ID


  Hi,
  I'm creating web site with sessions.
  Normally the site uses PHPSESSID to pass session ID to next page.
  I want to use some script whitch use SID to pass session ID.
  Can I set standart (i.e. PHPSESSID ) to use to pass session ID ?
 
  Thanks,
  Rosen
 
 




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

2001-10-04 Thread Rosen

Hi,
I'm creating web site with sessions.
Normally the site uses PHPSESSID to pass session ID to next page.
I want to use some script whitch use SID to pass session ID.
Can I set standart (i.e. PHPSESSID ) to use to pass session ID ?

Thanks,
Rosen



-- 
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] Creating POP3 account

2001-10-03 Thread Rosen

Hi,
Can I create POP3 account with PHP on Linux mail server ?

Thanks,
Rosen



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

2001-10-02 Thread Rosen

Hi,
Can someone recommend me some free php script for WebMail client
(like Squerriemail) ?

Thanks,
Rosen



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

2001-09-21 Thread Rosen

Hi,
Can someone tell me where can I find IMAP server for windows ?

Thanks,
Rosen



-- 
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] Problem with session_destroy

2001-09-11 Thread Rosen

I have the code:

?include(con.php);

session_start();
require_once(func1.php);

if (lExistUser($cusr, $cpass)==false)
{
if (session_id()  )
{session_destroy();}

}

When the page loads the first time I receive error:



Warning: Session object destruction failed in main.php on line 9

but when I make Refresh of page, there is no error !!

Can someone any ideas ?

Thanks
Rosen





-- 
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] Problem with microtime()

2001-08-31 Thread Rosen

Hi,
I'm using the following code:
for ($i = 0; $i  100; $i++) {
$k = (int) microtime();
echo br$k;

for ($j = 0; $j  1; $j++)
$m = $j *3;
}


but it prints  me only 0..



Where can be problem ?



Thanks,

Rosen








-- 
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] Problem with microtime()

2001-08-31 Thread Rosen

Hi,
The problem is, thath I want to generate random number between 1 and 1

How can I do it ?

Thanks,
Rosen


Lawrence Sheed [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]
...

 You are casting microtimes results as an integer value.  It isn't an
integer
 value, hence the 0.


 From the manual It returns the string  the string msec sec where sec is
 the current time measured in the number of seconds since the Unix Epoch
 (0:00:00 January 1, 1970 GMT), and msec is the microseconds part. This
 function is only available on operating systems that support the
 gettimeofday() system call.


 Try:

 for ($i = 0; $i  100; $i++) {
 $k = microtime();
 echo br$k;

 for ($j = 0; $j  1; $j++)
 $m = $j *3;
 }

 Or look in the http://www.php.net/manual/en/function.microtime.php for
 examples.

 -Original Message-
 From: Rosen [mailto:[EMAIL PROTECTED]]
 Sent: August 31, 2001 3:29 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP] Problem with microtime()


 Hi,
 I'm using the following code:
 for ($i = 0; $i  100; $i++) {
 $k = (int) microtime();
 echo br$k;

 for ($j = 0; $j  1; $j++)
 $m = $j *3;
 }


 but it prints  me only 0..



 Where can be problem ?



 Thanks,

 Rosen








 --
 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] Send mail via exact account

2001-08-30 Thread Rosen

Hi,
I want to send mail via exact account ( i.e. [EMAIL PROTECTED] ).

can I do it with php ?

Thanks
Rosen



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

2001-08-30 Thread Rosen

Hi,
how can I send HTML mail via mail() function ?
I readed the tutorial, but can someone write me example ?

Thanks,
Rosen



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

2001-08-30 Thread Rosen

Hi,
I'm using PHP code from manual:
srand( (double) microtime() * 100);
// Get random User ID
$uid=rand();

but it dowsn't work !

Thanks,

Rosen







-- 
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] Problem using session

2001-08-28 Thread Rosen

Hi,
I'm creating system with user registration. I want to use sessions without cookies.
My cookies are disabled.

this is my login.php:

global $curusr, $curpass, $registered;


if (lExistUser( $usr, $pwd ) == false )// is user exist ?
{
echo $usr . $pwd;
echo  - Error;
session_destroy();
$curusr=;
$curpass=;
$registered=false;
exit;

}
// all ok ! user Exist
$curusr=$usr;
$curpass=$pwd;
$registered=true;

session_start();
session_register(curusr, curpass, registered );

$web=http://www.somedomain.com;;   // my site
header(Location: $web);
exit;


But when I get control in my index.php there are no the variables.

Any ideas why ?

Thanks,

Rosen Marinov









[PHP] Re: Problem using session

2001-08-28 Thread Rosen

And one question:
Should I use session_start() in every php file on my site ?

Thanks,
Rosen





-- 
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] Refresh Main frame

2001-08-28 Thread Rosen

Hi,
how can I tell to refresh the main frame ( index.php ) from some subframe
 I use frames ) ?

Thanks,
Rosen




-- 
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] Refresh Main frame

2001-08-28 Thread Rosen

Can I send params to main frame ?

Thanks,
Rosen

* RZe: [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Original message
 From: Rosen [EMAIL PROTECTED]
 Date: Tue, Aug 28, 2001 at 04:29:05PM +0300
 Message-ID: [EMAIL PROTECTED]
 Subject: [PHP] Refresh Main frame

  Hi,
  how can I tell to refresh the main frame ( index.php ) from some
subframe
   I use frames ) ?
 
  Thanks,
  Rosen

 /Original message

 Reply

 SCRIPT type=text/javascript
   window.parent.name-of-mainframe.reload(true);
 /SCRIPT

 That should be what you're looking for...

 /Reply

 --

 * RzE:


 -- 
 -- Renze Munnik
 -- DataLink BV
 --
 -- E: [EMAIL PROTECTED]
 -- W: +31 23 5326162
 -- F: +31 23 5322144
 -- M: +31 6 21811143
 --
 -- Stationsplein 82
 -- 2011 LM  HAARLEM
 -- Netherlands
 --
 -- http://www.datalink.nl
 -- 



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

2001-07-23 Thread ROsen

Hi,
how can I destroy an object created with new ?

Thanks,
Rosen



-- 
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] Check for exist function

2001-07-23 Thread ROsen

Hi,
How can I check, thath some function is declared and to do not declare it
second time ( with require ) ?

Thanks,
Rosen Marinov




-- 
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] Help you with our programming skills and experience

2001-07-15 Thread David Rosen

Hello,

We are a team of experienced programmers with skills
of
PHP/Perl/JAVA/C++/VB/Servlet/JSP/ASP/PowerBuilder/XML/
DHTML/WAP  WML with database of MySQL/MS Access/
MS SQL/ORACLE/DB2/Sybase/Informix.
We are experienced in programming for various  
E-Commerce web site and standalone application,
configuring, installing and debugging troubled
scripts. All will be done in short time
with quality guaranteed. Price is negotiable. We are
interested in various kind projects,contracts and
cooperation.

Pls contact  [EMAIL PROTECTED]  if you are
interested.

Thanks,
David
Some of the applications of our skills:
Web Shop (Shopping cart, online catalogue)
Web Search Engine
Auctions
Banner Exchange
Calendars
Chat
Classified Advertisement
Click Tracking
Communities
Counters
Database Tools
Discussion Boards  Forums
Mailing List
Guestbooks
News Publishing
Polls and Voting
Postcards
Security Systems
User Authentication
Web Traffic Analysis


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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

2001-06-25 Thread Rosen

Hi
Can comeone reccomend me PHP script for Web Mail , which
can create mail accounts on mail server?

Thanks,
Rosen Marinov






-- 
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] Saving to a file

2001-06-20 Thread Rosen

Hi,
Sorry for the stupid question, but i don't have at me a PHP manual
and I want to save some string to file from PHP.

Can someone tell me how ( with what function to do this ) ?

Thanks
Rosen






[PHP] Forum script

2001-06-20 Thread Rosen

Hi
Can someone recommend me some good script for forums ?

Thanks,
Rosen




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

2001-06-19 Thread Rosen

Hi,
I want to find some Web Mail script in PHP with possibilities to
create mail accounts directly on Linux Mail server.

Thanks
Rosen Marinov







[PHP] Starting session

2001-06-19 Thread Rosen

Hi,
I'm creating a WEB portal  with PHP.
I want to give possibility the users to register on my site and to use some
features on it.
I want to use sessions and to start session only if user login.
How can I understand ot my other pages on site, thath the user has logged in
my site.
i.e. to startsession only if user has logged in ?

Thanks,
Rosen Marinov








[PHP] Starting session

2001-06-19 Thread Rosen

Hi,
I'm creating a WEB portal  with PHP.
I want to give possibility the users to register on my site and to use some
features on it.
I want to use sessions and to start session only if user login.
How can I understand ot my other pages on site, thath the user has logged in
my site.
i.e. to startsession only if user has logged in ?

Thanks,
Rosen Marinov








  1   2   >