Search Results

Showing results 1 to 40 of 67
Search took 0.01 seconds.
Search: Posts Made By: Kavitha Butchi
Forum: PHP Jan 3rd, 2009
Replies: 3
Views: 712
Posted By Kavitha Butchi
Try this..



function formatDate($val)
{
list($date, $time) = explode(" ", $val);
list($year, $month, $day) = explode("-", $date);
list($hour, $minute, $second) = explode (":", $time);...
Forum: HTML and CSS Dec 16th, 2008
Replies: 3
Solved: Publish Website
Views: 556
Posted By Kavitha Butchi
Depends on the web host you are hosting. Where are you hosting your website?
by the way, try filezilla.com, it might help you to upload.
Forum: PHP Dec 5th, 2008
Replies: 17
Views: 1,963
Posted By Kavitha Butchi
Thanks a ton buddylee17! Its working now :)
Forum: PHP Dec 5th, 2008
Replies: 17
Views: 1,963
Posted By Kavitha Butchi
OMG ..
seems like it is working..
I shall code it in the main code and update here..
Forum: PHP Dec 5th, 2008
Replies: 17
Views: 1,963
Posted By Kavitha Butchi
Hi,
Image got displayed whn used <daniwebimage>.
But when using session variables there seems to be some problem and i get this errormessage..

Warning: session_start() [function.session-start]:...
Forum: PHP Dec 5th, 2008
Replies: 17
Views: 1,963
Posted By Kavitha Butchi
<? ob_start(); ?>
<?php
if ( isset($_SESSION['username']))
{

mysql_connect(" ") ;
mysql_select_db(" ");

::::
Forum: PHP Dec 5th, 2008
Replies: 17
Views: 1,963
Posted By Kavitha Butchi
I am sorry but i didnt get what you are saying!:(
are you talking about switch statement code ???
Forum: PHP Dec 5th, 2008
Replies: 17
Views: 1,963
Posted By Kavitha Butchi
Hi thank you fr the reply

i keep getting same parse error ..
when i tried this one
Forum: PHP Dec 5th, 2008
Replies: 17
Views: 1,963
Posted By Kavitha Butchi
Can someone tell me Whats wrong with the below part of the code :((

I keep getting parse error
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';'


//part of the code
echo '...
Forum: PHP Dec 5th, 2008
Replies: 17
Views: 1,963
Posted By Kavitha Butchi
Nope not working this code too..

I tried passing it to switch and echo <body> tag from switch.. but seems no luck here too..
Forum: PHP Dec 5th, 2008
Replies: 17
Views: 1,963
Posted By Kavitha Butchi
But how is it possible when my image which is retrieved from database is in a php variable:(
Forum: PHP Dec 5th, 2008
Replies: 17
Views: 1,963
Posted By Kavitha Butchi
Thanks fr the quick reply,
Getting error when i use it..

<style type="text/css">
background-image:url('<?php echo $profpic ;?>');
</style>

Parse error: syntax error,...
Forum: PHP Dec 5th, 2008
Replies: 7
Views: 1,218
Posted By Kavitha Butchi
Hi,
Try this



<?php
echo "Its 20";
?>
&deg
<?php
Forum: PHP Dec 5th, 2008
Replies: 17
Views: 1,963
Posted By Kavitha Butchi
Hi All,
I am trying to set background image. I retreived it from the database into $xyzimage variable and then trying it to display in the <body > tag.
When i am trying to display it a tabel cell...
Forum: PHP Dec 4th, 2008
Replies: 6
Views: 1,096
Posted By Kavitha Butchi
Hi ShawnCplus and kkeith29,
Thankyou fr the valuable piece of info.
Cheers..
Forum: PHP Dec 4th, 2008
Replies: 6
Views: 1,096
Posted By Kavitha Butchi
Hi kkeith29 and pritaeas
Now I know how to put it in <head> section and retrieve values at the same time. But let me know , if doing it in the way i did might be a problem?! If not i shall leave...
Forum: PHP Dec 4th, 2008
Replies: 8
Views: 577
Posted By Kavitha Butchi
Hi try this,



<?php
include("connect.php");
$id = $_GET['id'];

$qProfile = "SELECT * FROM signers WHERE recordNum='$id' ";
$rsProfile = mysql_query($qProfile);
Forum: PHP Dec 4th, 2008
Replies: 6
Views: 1,096
Posted By Kavitha Butchi
Hello all,
For creating dynamic title tags,
I tried using


<title>welcome<?php echo '$pagetitle';?></title>
</head>
<body>
:
:
Forum: PHP Sep 8th, 2008
Replies: 7
Views: 682
Posted By Kavitha Butchi
Got it!! :)
Thanks a Ton Aparnesh for the detailed explaination.
Forum: PHP Sep 8th, 2008
Replies: 7
Views: 682
Posted By Kavitha Butchi
Thankyou fr your time buddylee17.
The individual tables created in my database are used to keep track of all the chat conversations of the user.
I considered that option long before while creating...
Forum: PHP Sep 7th, 2008
Replies: 7
Views: 682
Posted By Kavitha Butchi
Thankyou for the quick reply.

Here is the related code.



//Code for creating a table --[not wokring when dot is used in username]

mysql_connect(" ---") ;
mysql_select_db("---");
Forum: PHP Sep 7th, 2008
Replies: 7
Views: 682
Posted By Kavitha Butchi
Hello all,

I have this strange problem.
During registration if user chooses to have '.' in his username, eg: sam.leo then i am getting this wierd problem .

-respective tables with the given...
Forum: PHP Aug 30th, 2008
Replies: 6
Views: 791
Posted By Kavitha Butchi
As told by others,

Use Session variables at the begining of each page to allow access .
If logout is needed, Destroy sessions and redirect to the login page.
Hope this solves the problem.
Forum: PHP Aug 30th, 2008
Replies: 19
Views: 1,939
Posted By Kavitha Butchi
Hi Shanthi,

SSl and HTTPS are required for a commericial website where money transactions are made through the site right? How far is it true that non-commercial sites need not have them?
...
Forum: PHP Aug 27th, 2008
Replies: 1
Views: 312
Posted By Kavitha Butchi
Post your code and relevant errors you are getting.
Forum: PHP Aug 18th, 2008
Replies: 19
Views: 1,939
Posted By Kavitha Butchi
sure Shanthi,Robbob and scru, I shall work on that too.. shall add the logic you mentioned Scru.
Thankyou :)
Forum: PHP Aug 16th, 2008
Replies: 4
Views: 503
Posted By Kavitha Butchi
chk out,

www.tizag.com

its simple and short
Forum: PHP Aug 16th, 2008
Replies: 19
Views: 1,939
Posted By Kavitha Butchi
thnx Demiloy & Peter_budo I made use of is_numeric().

Now,
when user manipulates the url like,

when the url is www.example.com/xyz.php/userid=22

how to avoid displaying results when user...
Forum: PHP Aug 11th, 2008
Replies: 19
Views: 1,939
Posted By Kavitha Butchi
[QUOTE=peter_budo;666783]
[list=1]

Do you use id values as indentificators, did you secure option for array exploit


Hi peter_budo,

Can you please tell what are indentificators..
Forum: PHP Aug 11th, 2008
Replies: 19
Views: 1,939
Posted By Kavitha Butchi
Thank you peter_budo, Demiloy and Shanthi for your time.
I shall look into all those security measures now and shall make sure I complete all of them before releasing the site.
If anybody knows...
Forum: PHP Aug 10th, 2008
Replies: 19
Views: 1,939
Posted By Kavitha Butchi
Hello all,
I am all set to launch a website on which i have been working from months but now am afraid how safe it might be once it gets attention of hackers . As most of the code in website is...
Forum: PHP Jul 8th, 2008
Replies: 10
Views: 2,306
Posted By Kavitha Butchi
OK nav33n, :) thankyou for your time.
Appreciate it.
Forum: PHP Jul 8th, 2008
Replies: 5
Views: 1,783
Posted By Kavitha Butchi
if ( document.Form2.elements.contype.checked == false )
{
alert ( "Please Select type of your contract." );
valid = false;
}
Forum: PHP Jul 8th, 2008
Replies: 10
Views: 2,306
Posted By Kavitha Butchi
Hello nav33n,

thank you fr the response.

While googling fr this info I found out these broken strings..dont exactly if this is relevant or not.. thought I could ask it here...


You are not...
Forum: PHP Jul 8th, 2008
Replies: 10
Views: 2,306
Posted By Kavitha Butchi
Thankyou shanthi chepuru.
I shall consider giving it a shot ...am little concerned as it involves Javascript.
I appreciate fr your time :)
Forum: PHP Jul 8th, 2008
Replies: 4
Views: 2,676
Posted By Kavitha Butchi
Ok try this then,


<?php
require_once "../../../maincore.php";
include "core.php";
if (!preg_match("/^\w+$/", $_POST[petname_cancer])){
pagecreate("Error", "You may only use A-Z and 0-9!");...
Forum: PHP Jul 8th, 2008
Replies: 4
Views: 2,676
Posted By Kavitha Butchi
If you do not want the duplication then ,
first check in the table if that name already exists

if petname already exists
then tell user to choose someother name

else
insert into...
Forum: PHP Jul 8th, 2008
Replies: 10
Views: 2,306
Posted By Kavitha Butchi
like

//...database connections...
<a href=mysql_query("DELETE FROM example WHERE age='15'")>delete</a>

something like that which works..where everything is coded in a single page rather than...
Forum: PHP Jul 8th, 2008
Replies: 10
Views: 2,306
Posted By Kavitha Butchi
Thankyou for your time ryan_vietnow
Passing it to the next page is what we are doing here too ....other than this method..

cant we simply run the query in the same page where the anchor tag is...
Forum: PHP Jul 7th, 2008
Replies: 10
Views: 2,306
Posted By Kavitha Butchi
Hi all,

Instead of passing the variables to the other page and coding mysql queries there.. Is it possible that we can use the mysql(DELETE...) query within the anchor tags in the same page?

<a...
Showing results 1 to 40 of 67

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC