Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~27.4K People Reached
Favorite Forums
Favorite Tags

22 Posted Topics

Member Avatar for Pooja J.

Pooja, This is a simple login script you are asking for. Why don't you try few lines of code and post your errors here?

Member Avatar for Pooja J.
0
191
Member Avatar for veledrom

How about posting the form values to [COLOR="Red"]mask1.php[/COLOR] page and including a redirect header with required values to your [COLOR="red"]secret.php[/COLOR] page and again redirecting it to [COLOR="red"]final.php[/COLOR] page with the computed values. This is a quick thought from my side, let me know if it works. I m sure there …

Member Avatar for diafol
0
20K
Member Avatar for desiguru

Try this.. [code=php] function formatDate($val) { list($date, $time) = explode(" ", $val); list($year, $month, $day) = explode("-", $date); list($hour, $minute, $second) = explode (":", $time); return date("j-M-y h:ia", mktime(($hour)+("2"), $minute, $second, $month, $day, $year)); } $displayDate = formatDate($row['dateinmysql']); echo $displayDate; [/code] You can play around in line 7 with the …

Member Avatar for buddylee17
0
222
Member Avatar for cguan_77

[QUOTE=cguan_77;758536]Hi guys, i have my own domain. then after creating my own website how to upload or publish my website? Thanks. anyhelp is greatly appreciated.[/QUOTE] 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.

Member Avatar for cguan_77
0
82
Member Avatar for kibosh

Hi, Try this [code=php] <?php echo "Its 20"; ?> &deg <?php echo "F outside"; ?>[/code]

Member Avatar for Aamit
0
2K
Member Avatar for 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 like <td> it works, but not in <body> tag. Is there …

Member Avatar for Kavitha Butchi
0
2K
Member Avatar for rouse

Hi try this, [code=php] <?php include("connect.php"); $id = $_GET['id']; $qProfile = "SELECT * FROM signers WHERE recordNum='$id' "; $rsProfile = mysql_query($qProfile); $row = mysql_fetch_array($rsProfile); $recordnum = stripslashes($row['recordnum']); $firstmiddlename = stripslashes($row['firstmiddlename']); $lastname = stripslashes($row['lastname']); … … mysql_close();?> [/code]

Member Avatar for Aamit
0
156
Member Avatar for Kavitha Butchi

Hello all, For creating dynamic title tags, I tried using [code=php] <title>welcome<?php echo '$pagetitle';?></title> </head> <body> : : <?php : $pagetitle = '$row[2]'; ?> //closing rest of the tags. [/code] I get nothing displayed on title ! So i changed the code to, [code=php] <html> <head> </head> <body> : : …

Member Avatar for Kavitha Butchi
0
209
Member Avatar for 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 username are not getting created in the Database. Everything is working fine if usernames are having no …

Member Avatar for Kavitha Butchi
0
258
Member Avatar for anuj_sharma

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.

Member Avatar for dickersonka
0
126
Member Avatar for 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 in PHP,html,mysql i am posting this in this …

Member Avatar for Kavitha Butchi
0
381
Member Avatar for oldchic
Member Avatar for Kavitha Butchi
0
63
Member Avatar for just asif
Member Avatar for Shanti C
0
87
Member Avatar for ishlux

[code=javascript] if ( document.Form2.elements.contype.checked == false ) { alert ( "Please Select type of your contract." ); valid = false; } [/code]

Member Avatar for vicky_rawat
0
86
Member Avatar for 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 href >... to delete a particular row in mysql table? Like having a link called …

Member Avatar for Kavitha Butchi
0
538
Member Avatar for grr

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 database. it would be great if you can post the relevant code.

Member Avatar for grr
0
90
Member Avatar for Rockout101

[QUOTE=Rockout101;641829]I have started a new website and I know basic HTML but I am clueless with PHP. I need to set up a login system where members can save their info on the site. I need to learn PHP, cookies, and a login system. Thanks.[/QUOTE] Hi hope this helps :) …

Member Avatar for cwarn23
0
104
Member Avatar for Kavitha Butchi

Hello All, I have this strange problem .. I am using require function twice in a single program to call two different programs.Each one of them has their own database connections. The page doesnot execute completely untill I hit refresh.:-/ It works as if those functions are executing one-after-the-other while …

Member Avatar for Kavitha Butchi
0
143
Member Avatar for Kavitha Butchi

Hi all, Can someone tell me, How to wrap text around an image when the image source is in a php variable?Here is my code. [code=php] <html> <head> <style type="text/css"> #divider { background-color: #ccffff; border: 1px solid #ccc; padding: 0px; margin: 1px 0px 0px 0px; } .fndslist{ position: absolute; border: …

Member Avatar for Kavitha Butchi
0
231
Member Avatar for Kavitha Butchi

Hello all, I am trying to code for user's profile pic uploading and resizing the image. I am using the following code and I dont know where I am going wrong! [code=php] <?php //This is the directory where images will be saved $target1 = "images/"; $target = $target1 . basename( …

Member Avatar for Kavitha Butchi
0
402
Member Avatar for chitra1

Hi Chitra, This code should work fine. Try this. Change your [code]$sent = mail($to, $subject, $message, $headers) ;[/code] to [code] $sent = mail("$to", "$subject", "$message", "$headers") ; [/code] Let me know if this worked or not! -Kavitha Butchi

Member Avatar for Kavitha Butchi
0
166
Member Avatar for Kavitha Butchi

Hello All, Is there a way how we can pass a PHP variable whose value has been retrieved from MySQL database to the next page? Initially I tried this which didnt help me anyway. [code=PHP] // if user login information is CORRECT then redirecting them to the user home page …

Member Avatar for Kavitha Butchi
0
223

The End.