Hi,
I have a search page. After the user enters the keyword to be searched and if he presses enter key to search then the page gets refreshed. But if he clicks on the submit button then the result is displayed.What is the problem in the below code. I want the result to be displayed even if user presses enter key.
[code=php]
if (!isset($_POST['Submit'])) {
// form not submitted
?>
<p><strong>...
User Profile
Collapse
-
Problem with submit button
-
User clicks on a username on the results page(p1), this opens a new window with the users details(p2).
The user then clicks on another username on the results page(p1), and this then reloads the user details of new user in p2. It should be in p3.
p2 should still contain the same user details.
Sorry for being unclear... -
Problem opening in new page
I have made a search page. Result of search displays the name of users along with their experience. if a user clicks on any name then a new browser page is opened and the details of that user are dipalyed. So now there are 2 pages open: 1 is the result page and the other is details page. If the user again clicks on other user name then that users details are shown on the same page on which it was showing previously. Now there should be 3 pages opened:... -
The problem of refreshing got solved. I misplaced the meta tags now its working correctly. I wanted to display the name,logo of the site and the menu option on top of chat so how can i do that. If i place them directly on top of frames then the frames get misplaced. I tried using even another frame for it but that too didnt worked out. Can you plz help me with placing the following layout in my chat.php file.
[code=php]
<body>...Leave a comment:
-
Thankyou. I tried doing using frames with meta refresh.
I tried the frame part.
I made another file called chat.php code for which is as follows
[code=php]
<HTML>
<HEAD>
<TITLE> Live Chat </TITLE>
</HEAD>
<FRAMESET COLS="70%,*">
<FRAME SRC="index.php" >
<FRAME SRC="online.php ">
<meta http-equiv="refresh"...Leave a comment:
-
Thanks.
Ive downloaded SAJAX version 0.12.
Now can you plz help me with displaying name of users at a side on my chat window which refreshes itself to display the users as they log in and log out....Leave a comment:
-
Display name of users who are online
Hi,
I have made a website wherein the user creates his account. Then the user can login into his account, update his account, search for people with different key skills. Theres also a discussion board and private messaging system in it. I have tried a simple script for live discussion with the help of a tutorial. Its kind of a live open chat. Now i wanted that when the user clicks on the live chat link there should be a frame on that window... -
Sorry. The changes you told me to do in ur previous post worked out and the file only gets saved correctly. When the dialog box opens for open,save and cancel the download the save option is working correctly. But if i click on the open button then its not opening file in MS word. On clicking the open button it first asks me to convert the file to RTF, word for windows, words for macintosh,etc. If i click on anyone of the options then it displays...Leave a comment:
-
It is displaying the type as Ms word in dialog box but if we click to open it then it first to convert the file to and displays several options and after clicking on any option it displays page could not be found. The page doesnt gets openedon clicking open.
The user can even upload the file as .txt so what should be done for that.Leave a comment:
-
Thanks i tried using this $info['Content'] so it gave parse syntax error.
Then i tried this $info[Content]
So it is giving me the following error:
Warning: readfile(ÐÏࡱ á) [function.readfi le]: failed to open stream: Invalid argument in C:\xampp\htdocs \skill_search\g et_file.php on line 11
What could be the reason?Leave a comment:
-
I tried the code. The dialog box appears to open,save or cancel the download. But now when i click on save it saves the file properly with the given extension to it. For eg. if the file is a .doc or .txt file it is saved to disk as it is. But if click on open then it opens an html page and nothing is displayed on it. Even in the dialog box it shows the page type to be an html page. This is the code that i ve used. What could possibly b wrong with...Leave a comment:
-
-
My problem has got solved.
I tried using joins and it worked well.
Sorry and thanks.Leave a comment:
-
Problem in search from database
Hi,
I have made a search page in which the user enters the keywords to be searched separated with a comma. The code that i ve used works well but it is displaying the name of the user twice.
Eample: There are users registered in the database. Now if
A: C,Perl,Python
B:Java,Perl
For eg: now the user has entered Perl,Python as the keywords.
Then it displays the name A twice and B once.
I wanted that... -
Thanks alot. Its working fine now. But the problem is it is opening in the same page. I wanted that user should be given a dialog box to either open it or save it on their desktop. Can you plz help me with it.
Thanku.Leave a comment:
-
Thanks.
I looked at the post and tried it. Now when i click on the link, a dialog box appears to open save the get_file.php file. The document that i need to open doesnt gets opened.
Here is the code that i tried:
[code=php]
View Resume:<a href="get_file. php?id=<?php echo $info2['UserDetailsId'];
?>"><?php echo $info2['ResumeFile']; ?></a>
[/code]
...Leave a comment:
-
I have gone through that manual but i had a doubt in it.
Like when a user registers he stores a image or a word document describing himself. So when a user views the profile of another user then he should be given an option to download the word document uploaded by that particular user. It changs from user to user. They are associated in the datbase with the name of the user. How can the filename be changed everytime in the header because...Leave a comment:
-
Download the files stored in the database
Hi,
I ve stored .doc , .txt, .zip , .jpg, etc. files in the database.
I wanted to give the user a link to download those files.
I wanted it to be downloaded in a way as the attachments are downloaded.
Like the user should be given a option to open or save the file.
Can you plz help me how to go for it. -
The login page for ajax im is index.html
I tried editing it. I removed the new user register and forgot password part from it.
Now i want that when a user is logged in my sitr then just by clicking on the im option he should be able to chat without logging in again.
The code of index.html is here:
Plz help me out....Leave a comment:
-
It is seting session and i hve also used sessioms in my login page. But still couldnt get it. I ve pasted part of the file i think that needs to be changed.
[code=php]
<?php
require('config .php');
include('json.p hp');
// string sanitizer - only alphanumerics //
function sanitize_alphan um($string, $min='', $max='')
{
$string = preg_replace('/[^a-zA-Z0-9\s]/', '',...Leave a comment:
No activity results to display
Show More
Leave a comment: