[PHP] kindly help adding days on a date

2001-10-19 Thread Krushna Kumar R

Hi,

I have 2 fields on a table as shown below

1. period   int- we enter no of days as number/integer
2. lastdatedate  - here i'll have to add period to todays(current) date and store 
in the table

i used dateadd it was working on mysql prompt, but when i used it with PHP, it doesnt 
work

Any help would be appreciated

Regards
Krushna Kumar



[PHP] search engine submission

2001-09-24 Thread Krushna Kumar R

Hi,

Can someone help me by where i could get some free code for search engine submission

Regards
Krushna Kumar



Re: [PHP] search engine submission

2001-09-25 Thread Krushna Kumar R

Hi,

I have a website which i would like to submit to the search engines
frequently, so i thought i could write a program for this, not depending on
other free web sites  for submission

Rgds
Krushna Kumar

- Original Message -
From: "Jon Haworth" <[EMAIL PROTECTED]>
To: "'Krushna Kumar R'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, September 24, 2001 7:36 PM
Subject: RE: [PHP] search engine submission


> You can find this code all over the web, an example of it can be seen at
> most search engines on the "Add a URL" page :-)
>
> What are you trying to do?
>
> Cheers
> Jon
>
>
> -Original Message-
> From: Krushna Kumar R [mailto:[EMAIL PROTECTED]]
> Sent: 24 September 2001 15:08
> To: [EMAIL PROTECTED]
> Subject: [PHP] search engine submission
>
>
> Hi,
>
> Can someone help me by where i could get some free code for search engine
> submission
>
> Regards
> Krushna Kumar
>
>
> **
> 'The information included in this Email is of a confidential nature and is
> intended only for the addressee. If you are not the intended addressee,
> any disclosure, copying or distribution by you is prohibited and may be
> unlawful. Disclosure to any party other than the addressee, whether
> inadvertent or otherwise is not intended to waive privilege or
confidentiality'
>
> **
>
> --
> 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] session not working

2001-09-27 Thread Krushna Kumar R

Hi,

I wrote a program where the session gets created, but on subsequent page the session 
does not work or i could not retrieve the value kindly help me, I have put the coding 
below

The operating system I use is Win98 and Personal Web Server, PHP version used is 4.0.6

File 1 : where the session is registered or created




";
print "Password var is - ". $password."";
$uname=$username;
$pwd=$password;
print "Uname var is - ". $uname."";
print "Pwd var is - ". $pwd."";

echo session_is_registered("uname");
echo session_name("uname");
 ?>
click here to go to next page




File 2 : Next page, the file where i check for the session variable's value

";
echo "Session is - ".session_is_registered("uname")."";
echo "session name is - ". session_name("uname")."";
echo "the session is $uname"."";
?>
click here go to last page

Those are the coding i had used on the files i was trying to execute

Regards
Krushna Kumar