[PHP] Suddenly some errors are coming

2004-04-03 Thread Manisha Sathe
I am having a login page which goes to login process file. I have a include file which connects to database. Till now all was ok suddenly it started showing following --- Warning: main(): stream does not support seeking in /home2/www/members/login-px.php on line 6

[PHP] Re: Suddenly some errors are coming

2004-04-03 Thread Manisha Sathe
-- Manisha Sathe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am having a login page which goes to login process file. I have a include file which connects to database. Till now all was ok suddenly

[PHP] HTML/PHP page print

2004-03-18 Thread Manisha Sathe
Hello, I want to print a document. The values are picked up from database and then PHP displays it is on screen. But I want to print in some predefined format (Customer has printed stationary) by using Browser's print button. How can avoid other stuff on my web page ? Also when i print then

[PHP] Do not want Undefined variable message

2004-03-07 Thread Manisha Sathe
I have following code testinclude.php % echo A $color $fruit; // A include 'vars.php'; echo A $color $fruit; // A green apple % vars.php % $color = green; $fruit = Apple; % But when i run the testinclude program I always get Undefined variable errro on very first line. I know it is because vars

[PHP] Please please help - very very urgent

2003-12-01 Thread Manisha Sathe
I am developing one site. Initially it was working properly, but later installed certificate so now instead of http:// now it has become https:// Now all weired things started happenning, it asks whether i want to download the file ? if i open the file then it shows me all 'Source Codes' instead

Re: [PHP] Please please help - very very urgent

2003-12-01 Thread Manisha Sathe
A big thanks to both of you, it got solved, it was a config problem only and with the help of ISP we could resolve it, Thanks once again manisha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] New line problem - but for Excel

2003-11-28 Thread Manisha Sathe
Just now discussion was going on for new line - the same worked for me (I used string replace) Live Server : Linux / MySQL / PHP There is a field called 'Address' (textarea) - mysql stores \n for carriage return. Now from current disussion thread i know i can remove this with something like br

Re: [PHP] New line problem - but for Excel

2003-11-28 Thread Manisha Sathe
Actually I do not have phpscript for this. I am using readymade function from PHPMyAdmin 2.1.0. They are having option to export to csv file with delimeter ';' (It comes on screen first and then i copy to file manually.) So my csv fil looks like 22;33;address line1 address line2 What excel does

[PHP] how to escape '\'

2003-11-28 Thread Manisha Sathe
I have magic_quotes_gpc ON 'Here's is' - this comes out after HTTP post as 'Here\'s is' But i want to get back the original string as it is - how to change ? manisha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Date format question

2003-11-25 Thread Manisha Sathe
Thanks to all, it help me a lot manisha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Date format question

2003-11-24 Thread Manisha Sathe
I have a date returned from MySQL in '-MM-DD' format, i want to show this date in 'DD/MM/' format using PHP, date() function does the same if i pass timestamp in int format, but how to convert into int timestamp ? e.g from '2003-11-25' to '20031125' ? and Then I believe that i can use

[PHP] Where can i find error log

2003-11-20 Thread Manisha Sathe
On server display_error is off in php ini, so I do not get the error msgs, is there anything like error log ? In this case how to find the errors? regard, manisha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Custom Session usind MySQL

2003-11-19 Thread Manisha Sathe
thanks all for your help, will try it out now manisha Manisha Sathe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I want the session to be accessed from different websites, so i got the answer in this forum only to make use of customised session with mysql. I searched the web

[PHP] Custom Session usind MySQL

2003-11-18 Thread Manisha Sathe
I want the session to be accessed from different websites, so i got the answer in this forum only to make use of customised session with mysql. I searched the web and came to know that 'session.save_handler' of php.ini needs to be as 'user' but instead, on my server it is 'files'. As server is a

Re: [PHP] Custom Session usind MySQL

2003-11-18 Thread Manisha Sathe
sample code would be appreciated. if at all i decide to go for database then do i need 'session.save_handler' as 'user' ? manisha Manisha Sathe wrote: I want the session to be accessed from different websites, so i got the answer in this forum only to make use of customised session

[PHP] Single Session for different websites

2003-11-17 Thread Manisha Sathe
I hv physically one single server, but with different websites on it like www.aaa.com / www.bbb.com / www.ccc.com Now the problem is about session. What I want is login page at www.aaa.com only but session is accessible from www.bbb.com and www.ccc.com can it be possible, if yes how ? if no

Re: [PHP] Single Session for different websites

2003-11-17 Thread Manisha Sathe
Burhan Khalid [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Manisha Sathe wrote: I hv physically one single server, but with different websites on it like www.aaa.com / www.bbb.com / www.ccc.com Now the problem is about session. What I want is login page at www.aaa.com only

[PHP] Want to install and link gd extension to PHP

2003-11-14 Thread Manisha Sathe
On Linux / PHP, for one third party software (moregroupware), I need gd PHP extension. Initially I tried to uncomment the line in php.init as extension=php_gd2.dll but it did not work, i tried to find files for gd but only one file php_gd.h exists, so i tried with that extension=php_gd.h (I

[PHP] silly question about zend

2003-10-27 Thread Manisha Sathe
I wanted some sort of IDE for PHP, so decided to use Zend (which i believe quite popular). I installed it on my redhat linux 8.0- both client and server components. Instructions was smooth and gave me success msg, but now I do not know how to open the IDE... so stupid question.. but still want

Re: [PHP] Session problem

2003-10-27 Thread Manisha Sathe
ok, i am putting it the code in both files, now my first.php is as follows //start the session - in all the pages session_start(); var_dump(ini_get('variables_order')); var_dump(isset($_SESSION)); var_dump($_SESSION); //store it like that $_SESSION[name]= Rinku; -

[PHP] Session problem

2003-10-26 Thread Manisha Sathe
I am trying to use session but it seems it does not work on win2k server, the same runs on linux. following is my first php --- ? session_start(); $_SESSION[name]= Manisha; ? -- following is the second php ? session_start(); echo $_SESSION[name]; ?

Re: [PHP] Session problem

2003-10-26 Thread Manisha Sathe
of comments around it explaining the concept thoroughly. On Sunday 26 October 2003 01:06 am, Manisha Sathe wrote: I am trying to use session but it seems it does not work on win2k server, the same runs on linux. following is my first php --- ? session_start

Re: [PHP] Session problem

2003-10-26 Thread Manisha Sathe
, Manisha Sathe wrote: It works well on linux means it shows me o/p as 'Manisha' but on local Win2kserver, it gives error. I tried to make use of error_reporting(0); in second.php but then screen becomes blank, it does not show me the output as Manisha manisha Evan Nemerson [EMAIL

Re: [PHP] want to restart session after time out

2003-10-09 Thread Manisha Sathe
thanks all, If session has to time out then in that case what shall i do in following case ? I have a login page, user logins and starts playing (it is a on line game site), for each action (he tells something to do), i need to check whether he is login (i.e session on), if yes, then take all

Re: [PHP] want to restart session after time out

2003-10-09 Thread Manisha Sathe
in message news:[EMAIL PROTECTED] On Wednesday 08 October 2003 11:23 pm, Manisha Sathe wrote: thanks all, If session has to time out then in that case what shall i do in following case ? Just have them log-in again. I have a login page, user logins and starts playing (it is a on line game

[PHP] Need secure login

2003-10-09 Thread Manisha Sathe
Hi, I have a client. He does not want member login by just giving password and login id. He says anybody can give this info to his friend and his friend can access the site. One way is to make use of cookie on his computer. So only from one computer he can access the site. But the thing is that

[PHP] Video Streaming

2003-10-09 Thread Manisha Sathe
Client's site will be on PHP/Linux. They want to add Videos on site. But they say they want to make use of Video Straming. I am very new to this part. I searched web, I found some third party softwares (one of this is videolan which is open source). But not sure how to integrate this with PHP. Is

Re: [PHP] Need secure login

2003-10-09 Thread Manisha Sathe
to keep their friends updated. Most of the above is guaranteed to frustrate users though. Is your site worth enough to your users to frustrate them? Is the content your protecting really that important? I doubt it :) Justin On Friday, October 10, 2003, at 11:44 AM, Manisha Sathe

[PHP] Re: Any idea how to do this?

2003-10-08 Thread Manisha Sathe
I am a newbie to php specially sessions part. I read a lot about it. On my site user needs to login. The session will be created and some info will be stored into it. Session will be ON for some predefined time (given in ini file e.g 30 mins). The session will die after that time ( according to

[PHP] want to restart session after time out

2003-10-08 Thread Manisha Sathe
Hi, I want to make use of sessions. Very new to this part. I read a lot about it. Now know how to register / start etc. I understand that session terminates after time out (specified in php.ini file e.g 30 mins). But I do not want session to be terminated like this. I want to terminate session

[PHP] Re: Any idea how to do this?

2003-10-08 Thread Manisha Sathe
sorry, wrong posting Manisha Sathe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am a newbie to php specially sessions part. I read a lot about it. On my site user needs to login. The session will be created and some info will be stored into it. Session will be ON for some