Re: [PHP-WIN] 2 sites accessing 1 db - problem

2004-11-09 Thread Sudeep
Hi George, You might want to setup database previleges to access db from the other site(other site is the one where your files are stored). So instead of localhost you need to give the ip address if the server where the db is hosted. Hope u understand this. ...Sudeep George Pitcher

Re: [PHP-WIN] Headers Already Sent - How To Overcome????

2004-11-03 Thread Sudeep
Hi, Add this line at the top of the page: Your problem will be solved. ...SuDeEp... MikeA <[EMAIL PROTECTED]> wrote: I am trying to do the following header ("Location: wlserver/index.php?userKey=$userKey&show=$userKey"); but I keep getting Warning: Cannot modif

Re: [PHP-WIN] Installation? problem for php newbie

2004-10-30 Thread Sudeep
Hi Michael, Try accessing the page like this.http://localhost/test.php. It'll will work if your installation is correct. ..Sudeep Michael Horniak <[EMAIL PROTECTED]> wrote: I manually installed PHP 5.0.2 and have also used the installer. In either case when opening

RE: [PHP-WIN] Cookies!

2004-10-26 Thread Sudeep
olution for this GOOD LUCK Atlast my sincere advise to uGo for Apcahe server for php.not IIS or PWS. SuDeEp.. Nunners <[EMAIL PROTECTED]> wrote: Hi Dale, Sorry for emailing you again (and anyone else who can help) - but I'm getting a bit desperate! I've got to

Re: [PHP-WIN] CGI binary vs. ISAPI module

2004-10-26 Thread Sudeep
n be found here..in this link: http://www.hotscripts.com/PHP/Software_and_Servers/Installation_Kits/ Try it.... SuDeEp Chris Ollar <[EMAIL PROTECTED]> wrote: I'm brand new to PHP. Which is a better method to use for attaching and running PHP scripts on a PWS for Win 98

Re: [PHP-WIN] Post method not working

2004-10-21 Thread Sudeep
thru url. And for POST variable it should be $_POST["borderStyle"] Try it ...SuDeEp... Brian <[EMAIL PROTECTED]> wrote: OK, I'm new to php, so be gentle :) I have just installed PHP 5.0.2 on Windows XP Pro\IIS 5 I am learning PHP with one of those step by step books

Re: [PHP-WIN] Cookies!

2004-10-09 Thread Sudeep Zamudra
ookie. For details pls refer "php session handling" in the php Manual. SuDeEp James Nunnerley <[EMAIL PROTECTED]> wrote: I'm trying to create a simple login script for user to the web application I'm writing. I previously wrote it for using PHP4 & Apache, h

Re: [PHP-WIN] Newbie working with PHP 5.0, IIS, Win2000

2004-08-18 Thread Sudeep Zamudra
Hi chuck, As far as the "Notices" are concerned you can disable it from php.ini configuration file. Regards, SuDeEp Chuck <[EMAIL PROTECTED]> wrote: Hello everyone. Hopefully someone can help me with this. I was able to install PHP successfully. I tried a sample script an

Re: [PHP-WIN] Setting redirect after HTTP upload

2004-08-04 Thread Sudeep Zamudra
Hi, You cannot use header function if u want to output anything on that page. If you still want to redirect the page. Use at the top of the page. .SuDeEp. Mikey <[EMAIL PROTECTED]> wrote: Hi NG, Was wondering if anyone knew how why my code would fail to re-direct to anothe

Re: [PHP-WIN] check boxes... set the VALUE or just echo CHECKED????

2004-07-05 Thread Sudeep Zamudra
what's wrong with this: >Ten Twenty ....SuDeEp.. "Leo G. Divinagracia III" <[EMAIL PROTECTED]> wrote: i'm thinking of just adding the CHECKED word to the ECHO'ed HTML statement instead of dealing with the VALUE. what's the "prope

Re: [PHP-WIN] cannot add 'header' information

2004-06-21 Thread Sudeep Zamudra
Hi there, I fully agree with what Svensson has said. You must have any HTML output somewhere in the page. You can override this by giving a at the top of the page. ...SuDeEp... Amit Arora <[EMAIL PROTECTED]> wrote: Also, make sure that there is not empty space or empty lines befo

Re: [PHP-WIN] ASP to PHP converter?

2004-06-16 Thread Sudeep Zamudra
Hi Erik, Check this out. http://asp2php.naken.cc/ I don't know whether it is reliable or not. But i guess it's free. ...SuDeEp... [EMAIL PROTECTED] wrote: Does anyone know of reasonably good and reliable (and preferably free) ASP to PHP converter? Erik -- PHP Windows Mailing

Re: [PHP-WIN] Opening Search results in a New Window

2004-06-10 Thread Sudeep Zamudra
Hi Raj, I would suggest u to use javascript.window.open() function. There u can specify the parameters of the new window to be open. ...SuDeEp... Raj Gopal <[EMAIL PROTECTED]> wrote: Hi All, I have a Form with a Search button and when the user types the Search word and clicks on

RE: [PHP-WIN] Transfering database

2004-05-27 Thread Sudeep Zamudra
M: popen("mysql -u username -p database < C:\path\to\your\dump\file.sql"); shell_exec("mysql -u username -p database < C:\path\to\your\dump\file.sql"); system("mysql -u username -p database < C:\path\to\your\dump\file.sql"); etc, etc, etc... ---

Re: [PHP-WIN] Transfering database

2004-05-27 Thread Sudeep Zamudra
Thanx for your suggestions. But i am looking for a php script by which i can do this not from the mysql shell command line. If any has it . Please suggest it to me. Thanx Jeroen Serpieters <[EMAIL PROTECTED]> wrote: On Wed, 26 May 2004, Sudeep Zamudra wrote: > > I have dump

[PHP-WIN] Transfering database

2004-05-26 Thread Sudeep Zamudra
r database server. I guess there is a statement for this. Help please. Sudeep - Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger

Re: [PHP-WIN] mysql rollback

2004-05-26 Thread Sudeep Zamudra
Could u just give me what should be the statement to rollback a database for eg "abc" [EMAIL PROTECTED] wrote:what verion of mysql do you have? Early version of MySQL didn't include the rollback functionality. Do you not have any mysql_dumps of the databases and/or tables? (Its vital that you ba

[PHP-WIN] mysql rollback

2004-05-26 Thread Sudeep Zamudra
Help please, i lost all of my database tables all of a sudden. It was in for example a database called "abc". Can i retrieve the entile table and it's comtents by any means. Thru any Rollback statement. Help please - Do you Yahoo!? Friends.

[PHP-WIN] database migration... URGENT

2004-05-26 Thread Sudeep Zamudra
scripts for that Thanks, SuDeEp - Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger

[PHP-WIN] database migration... URGENT

2004-05-26 Thread Sudeep Zamudra
scripts for that Thanks, SuDeEp - Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger

[PHP-WIN] databse migration... URGENT

2004-05-26 Thread Sudeep Zamudra
scripts for that Thanks, SuDeEp - Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger

[PHP-WIN] Date format

2004-05-13 Thread Sudeep Zamudra
Hi everyone, I want to convert a date 1965-12-25 into the format: 25-Dec-1965. When i use mktime it works fine for any date after the year 1970. It doesn't work for any date before 1970. Help please. Is there any function that shows the date in the above required format.

[PHP-WIN] quotes in mysql

2004-04-02 Thread Sudeep Sarath
ich confuses mySql that string terminates after I. Is there any solution for this problem as we cannot tell the users "dont put quotes in textarea". SuDeEp... Win an evening with the Indian cricket captain: Yahoo! India Promos.

[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
r ( i.e \htdocs\). It is where all the session files are stored. Oops..!! a lengthy mail.sorry. Got any idea. ? Check whether it works or not.. ...SuDeEp.. carlos castillo <[EMAIL PROTECTED]> wrote: HI, Youre rigth the php server is another pc on the net,

Re: [PHP-WIN] session problems

2004-03-03 Thread Sudeep Sarath
session.save_path cannot be like D:\PHP\temp. U have to mention the absolute path of your server..To verify this make a php file with script and run that. See the path of session.save_path. ...SuDeEp carlos castillo <[EMAIL PROTECTED]> wrote: Hi, i have the followin problem, i have

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

2004-02-27 Thread Sudeep Sarath
/test.jpg> where image(if there is any such directory) is the directory where the test.jpg is stored. Do tell me if this works Bye ....SuDeEp. Michael Horton <[EMAIL PROTECTED]> wrote: Hi, Having just recently started to try and use php (by necessity- the only person in the depar

RE: [PHP-WIN] Session not working

2004-02-27 Thread Sudeep Sarath
Hi Yi Socheat, Thanxx a lot. It worked. I tried your example. It was working fine. And in my program i added session id (SID) to the end of the URL. It worked perfectly. Thanx for your suggestions. BYE .SuDeEp Yi Socheat <[EMAIL PROTECTED]> wrote: Hi sudeep, Please run the e

RE: [PHP-WIN] Session not working

2004-02-27 Thread Sudeep Sarath
Hello Yi Socheat, I tried what you have suggested but to no avail. It work's fine on an actual online php supporting webserver. i Checked. The problem i think is with the installation of php and Apache on local system. What to do SuDeEp Yi Socheat <[EMAIL PROTECTED]>

RE: [PHP-WIN] Session not working

2004-02-27 Thread Sudeep Sarath
Hello Yi Socheat, I think i am right in variable declaration. On both the pages i used $_SESSION['value'] instead of $_session["value"]. Still it gives the blank page.. ...SuDeEp.. Yi Socheat <[EMAIL PROTECTED]> wrote: You write the wrong name because PHP fu

[PHP-WIN] Session not working

2004-02-26 Thread Sudeep Sarath
ng to fix this for the last 5 days. I am also getting a warning from the apache console window that "warn[2] No such file or directory exists, exec() may not be safe. apache on win32 is running...". But apache is working fine in http://localhost. ..SuDeEp.. Yahoo! India

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

2004-02-24 Thread Sudeep Sarath
y a common problem encountered when php is using as cgi under PWS 4.0. and unfortunately no one came up with asolution. SuDeEp.. "The.Rock" <[EMAIL PROTECTED]> wrote: First of all, your missing " session_start(); " in page 3. Secondly, to make a long story short, just

[PHP-WIN] Date Conversion

2004-02-24 Thread Sudeep Sarath
T. So please tell how to convert this date to my local date & time(IST). Note: IST is +0530 GMT ----SuDeEp.. Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.

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
date(IST). Note: IST is +0530 GMT SuDeEp Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.

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.