adsegzy's Profile
Reputation: 1
Neutral
- Group:
- Members
- Active Posts:
- 61 (0.07 per day)
- Joined:
- 15-February 10
- Profile Views:
- 3,058
- Last Active:
Yesterday, 02:31 PM- Currently:
- Offline
My Information
- Member Title:
- Forum Newcomer
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
-
Not Telling
Contact Information
- E-mail:
- Private
Topics I've Started
-
pls whats wrong with my popup login script
24 May 2012 - 05:32 PM
I have a popup login script in which once a visitor clicks on LOGIN link on any page, login form will popup. The script is as below.
<style type="text/css"> #popupbox{ margin: 0; margin-left: 40%; margin-right: 40%; margin-top: 50px; padding-top: 10px; width: 20%; height: 150px; position: absolute; background: #FBFBF0; border: solid #000000 2px; z-index: 9; font-family: arial; visibility: hidden; } </style> <script language="JavaScript" type="text/javascript"> function login(showhide){ if(showhide == "show"){ document.getElementById('popupbox').style.visibility="visible"; }else if(showhide == "hide"){ document.getElementById('popupbox').style.visibility="hidden"; } } </script> <div id="popupbox"> <?php if(isset($_POST[Submit11])){ $email=stripslashes($_POST[email]); $pword=stripslashes($_POST[pword]); $pw=md5($pword); if($email=="") echo "Enter your Email.<br>"; elseif($pword=="") echo "Enter your Password.<br>"; else { echo "<b>Welcome</b><br>"; echo "<meta http-equiv='refresh', content='2'>";} } ?> <form name="login" action="" method="post"> <center>Username:</center> <center><input name="username" size="14" /></center> <center>Password:</center> <center><input name="password" type="password" size="14" /></center> <center><input type="submit" name="submit" value="login" /></center> </form> <br /> <center><a href="javascript:login('hide');">close</a></center> </div> <a href="javascript:login('show');">login</a>
My problem here is that once the visitor clicks on "login" button on the pop up window without entering his username or password, the window will just disappear instead of echoing "Enter your Username or password". Also if the member enters his username and password correctly, the window will just disappear instead of echoing welcome and refresh the page on which the member clicked login.
Pls what do I do wrong. Thanks -
How do I echo different forms for different selected options
15 May 2012 - 11:47 PM
Hello there,
Am developing a site where members can add events. On the add_event.php page, the only field is Event Type (which includes Seminar, Wedding, Birthday, etc). The form for Seminar is different from the form for wedding etc. On selecting the type of event they want to add, I want the form for the selected event type to appear below the Event Type field without refreshing or redirecting the page. How do I do it? Can only php scripts do this or i'll need other languages like javascript etc?
Thanks in advance -
i need php pop up chat script
06 May 2012 - 05:33 PM
Hello Friends,
Pls am developing a marketplace website. I have registered members and I need a chat script for sellers and buyers to be able to chat together.
This is how I want it.
Once a buyer view any product, there will be a button (CHAT WITH SELLER) to show if the seller is also online, if the buyer clicks on the button (CHAT WITH SELLER), a pop up chat window will pop up from the bottom or side of the website like that of facebook. Since the buyer & seller have signed in, they can just start chatting unless if the buyer didn't log in, he will be asked to login. Pls which script can do this or can you design this script for me? I have seen some scripts but they will open chat page which is not what is want, i prefer the chat to remain on the window so that even if the buyer move to another page on the website, the chat box will still remain.
Thanks -
I need a business social network software/scripts
23 March 2012 - 10:22 AM
Hello there,
Pls i need your assistance. am working on my school project. The project is connecting people for business purpose. I need the most effective social software for business to relate clients/customers and producers. The software needs to be rich in social features. I have seen several softwares but mostly for dating purposes. Even if the software is for sale, i don't mind.
Your suggestion is highly appreciated.
regards -
how do i use cronjob to execute my php script
29 May 2011 - 07:53 PM
Hello friends, i have a php script meant to execute/run my php script (this script is to send databse backup my my email). Using the cronjob panel, i can set the time but i dont know how to set the command in the command space. The Location of the script i want to run is
public_html/phpmysqlautobackup/run.php
pls i need the exact command am to put in the command space. thanks
Help




Find My Content
Display name history

Comments
Ben
15 Feb 2010 - 20:32