[PHP-WIN] quotes in mysql

2004-04-02 Thread Sudeep Sarath
Hi friends, I have a 'textarea' in my php page and i need to put the details typed in that textarea box to my MySQL database. The content in the textarea box is(for example) : I'm a good boy. and insert string is: insert into table_name (describe) values('" . $check . "') where check is t

[PHP-WIN] Refresh in php

2004-04-01 Thread Sudeep Sarath
Hi friends, Is there any function in php that keeps refreshing the page after a fixed time...just like "" in normal HTML files. Thanx ...SuDeEp... Win an evening with the Indian cricket captain: Yahoo! India Promos.

[PHP-WIN] Domain name

2004-03-18 Thread Sudeep Sarath
Hello, How to create domain name using PHP. For example once we create an account in intranets.com, we get a url as accountName.intranets.com. How this can be done in PHP in linux environment. Thanks John Yahoo! India Promos: Win a trip for 2 to Britain. Click here.

RE: [PHP-WIN] session problems

2004-03-04 Thread Sudeep Sarath
.imagine.com.co (57 1)2182064 - (57 1)6163218 Bogotá - Colombia - Soluciones web para Internet e Intranet - Soluciones para redes - Licenciamiento de Software - Asesoría y Soporte Técnico -Mensaje original----- De: Sudeep

Re: [PHP-WIN] session problems

2004-03-03 Thread Sudeep Sarath
Hi Dear, First of all let me warn u that sessions in PHP need to be handled very carefully. It is very sensitive. Now to your problemIf there is an error with session.save_path u need to configure the php.ini file. If u are using a remote server to run ur php files then the path of session

Re: [PHP-WIN] HMTL E-mails with images (again)

2004-02-27 Thread Sudeep Sarath
Hi Michael, I hope i can give u the solution for this. The task is u have to specify the actual path of the your image files. For example In your HTML file if there is the img tag which refers to the image file test.jpg then u have to mention that like this http://www.sitename.com/image/test.j

RE: [PHP-WIN] Session not working

2004-02-27 Thread Sudeep Sarath
t echo date('Y m d H:i:s', $_SESSION['time']); // You may want to use SID here, like we did in page1.php echo ' page 1'; ?> -Original Message- From: Sudeep Sarath [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 12:08 AM To: [EMAIL PROTECTED] Subject: RE: [PHP-W

RE: [PHP-WIN] Session not working

2004-02-27 Thread Sudeep Sarath
ciated. -----Original Message- From: Sudeep Sarath [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 12:08 AM To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Session not working Hello Yi Socheat, I think i am right in variable declaration. On both the pages i used $_SESSION['value'

RE: [PHP-WIN] Session not working

2004-02-27 Thread Sudeep Sarath
nction name or variable is case sensitive You sould write _SESSION['sessionName'] , you try to change in your code please it will be fine... -----Original Message- From: Sudeep Sarath [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 11:40 PM To: [EMAIL PROTECTED] Subject:

[PHP-WIN] Session not working

2004-02-26 Thread Sudeep Sarath
Hello everyone, I recently installed Apache 1.3.9 server and php 4.3.4(from win32 zip package) on my system with Windows98SE as o/s. I configured the httpd.conf and php.ini as per the instructions on the install.txt file of php. First i got an error with regard to the path of session.save_pat

Re: [PHP-WIN] Re: header-session problem

2004-02-24 Thread Sudeep Sarath
pass the session ID in the url, and all your values that you have set should be passed. If need to know how to pass a session ID start here http://www.php.net/session "Sudeep sarath" wrote in message news:[EMAIL PROTECTED] > Dear php-freaks, > > My o/s is Windows 98 SE. I am usi

[PHP-WIN] Date Conversion

2004-02-24 Thread Sudeep Sarath
Hi everyone, A small problem..Help me out of this. I have to convert the server date and time to my local date and time i.e Indian standard time(IST)(or to my system time). My program is : "; echo $time; ?> which displays the server date & time which is in the time Zone PST. So please tell

Re: [PHP-WIN] date conversion

2004-02-20 Thread Sudeep Sarath
Hai Rajesh, ThanxIt worked with date. But when i try to display the time by: It displays time approx 1hour ahead of IST. What could be the problem?? SuDeEp Rajesh Kumar <[EMAIL PROTECTED]> wrote: Sudeep Sarath once wrote: > I have to convert the server date to my local

Re: [PHP-WIN] date conversion

2004-02-20 Thread Sudeep Sarath
Hai Rajesh, ThanxIt worked with date. But when i try to display the time by: It displays time approx 1hour ahead of IST. What could be the problem?? SuDeEp Rajesh Kumar <[EMAIL PROTECTED]> wrote: Sudeep Sarath once wrote: > I have to convert the server date to my local date i

[PHP-WIN] date conversion

2004-02-20 Thread Sudeep Sarath
Hai everyone, A small problem..Help me out of this. I have to convert the server date to my local date i.e Indian standard time(IST)(or to my system time). My program is : which displays the server date which is in the time Zone PST. So please tell how to convert this date to my local dat

RE: [PHP-WIN] header-session problem

2004-02-17 Thread Sudeep Sarath
So, in your opinion there is no solution to this problem other than switching over to Apache SuDeEp Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.

Re: [PHP-WIN] header-session problem

2004-02-16 Thread Sudeep Sarath
No solution yet for my session-header problem SuDeEp Sudeep Sarath <[EMAIL PROTECTED]> wrote: Dear php-freaks, My o/s is Windows 98 SE. I am using PWS as my web server and i use recent version of php (i guess php 4.3.4). I recently started working on PHP and came acros

[PHP-WIN] header-session problem

2004-02-16 Thread Sudeep Sarath
Dear php-freaks, My o/s is Windows 98 SE. I am using PWS as my web server and i use recent version of php (i guess php 4.3.4). I recently started working on PHP and came across this problem. I have three pages. i.e page1.php, page2.php, page3.php. Page1.php Page2.php http://www.