User Profile
Collapse
-
Yeah cookies are enabled. I found out when i clear data in firefox, it clears authenticated sessions also. I can clear it to make it work each time. But the problem is I am doing this for a project, and it needs to work on any browser. Any idea about how i can implement this in some other way? i.e only members who have logged in can visit some pages and redirect others users to the login page?? -
No it still does not work in firefox, I can still visit the pages even though i have not logged in.
Plzz help! what part is wrong in my code?Leave a comment:
-
session works only in IE not in firefox
Hello all,
I am using sessions to authenticate users and to store their information (username n password).
login_pro.php page:
...Code:<?php session_start(); include("db_connect.php"); $Rs=mysql_query("SELECT Pcc_username,Pcc_password,Pcc_fname,Pcc_lname FROM pcc WHERE Pcc_username='$pcclog' AND Pcc_password='$pccpwd'"); $count=mysql_num_rows($Rs); -
php mail(0 sent but not received!!
hello
I have been trying to send email to a group of users found in my database, but the problem is the email is being sent but not received. I have also tried sending only to one recipient, it does not work either. I have already hosted my site
here is my code:
1st page
...Code:<html> <head> <title>Mailing List</title> </head> <body>
-
-
hmmm i dont quite understand..cou ld use plz explain what i need to do to be able to send mails??Leave a comment:
-
php mail() function and configuration settings
Hello all,
I have been trying to send email using the php mail functions..I have tried different examples but i keep getting the same error:
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\... etc
I have tried googling the answer but i dont undertand the SMTP thing..from... -
foreign key contraints problem
hello all
i am getting confused with foreign key constraints..
i have the following table:
...Code:-- -- Table structure for table `reviewer` -- CREATE TABLE `reviewer` ( `ReviewerID` varchar(8) NOT NULL, `Reviewer_fname` varchar(100) NOT NULL, `Reviewer_lname` varchar(100) NOT NULL, `Reviewer_address` varchar(300) NOT NULL, etc... ...
-
-
storing files on mysql database or on server?
hello all,
i am developing a web application for my final year project where i will be able to download and upload files(more specifically, it will be papers and articles, mostly pdf files) from the web site. my problem is where to store the files. i have found out that i can upload and store the files on the mysql database itself or i can also store it on the server but i want to know which is better in terms of performance and security??... -
foreign key
hi all,
could anyone tell me how to put foreign keys in mysql..i mean i want to do it directly through phpMyAdmin and not by writing mysql scripts. i want to add foreign key for something like this:
Alter table customer add foreign key(itemid) references itemid(items);
but i dont want to write codes for this each time..
i find only how to add primary key, unique and index
on index it does not references... -
i have java 1.6 installed.
i am doing this for a lab test coz i've been told that we should see both the stub and skeleton in the folder..Leave a comment:
-
java rmi skeleton
hello all,
im trying out examples for java rmi but am having a problem.. the skeleton is not being generated, only the stub is generated.
i have an example with the following classes:
Account.java( which is the interface definition)
AccountImpl.jav a (contains implementation for the remote interface)
AccountServer.j ava
AccountClient.j ava
i have already set my classpath, etc..
to compile i did... -
what package to import when there is board?
hi all,
i'm trying out some examples on java..and i found this code where there is board and i cant find out what package to import to make this work, im getting error where there is "board"..
i have tried out the following but none worked:
import java.awt.*;
import javax.swing.*;
import java.util.*;
import java.applet.App let;
plz help
...Code:import java.util.concurrent.CyclicBarrier;
-
how to use top 1
i want to retireve the first row for the following query
bt i get a syntax error near 1...Code:select TOP 1 t.vid,max(c) from (select vid,count(*) as c from buys group by vid) t group by t.vid;
did i do it wrong
plzzz help -
thx a lot it works...but can u help me some more plzz...i need to get the corresponding v_id where the count is maximum..
i tried doing this
bt i get the errorCode:select t.vid,max(c) from (select vid,count(*) as c from buys group by vid) t;
ERROR: column "t.vid" must appear in the GROUP BY clause or be used in an aggregate function
i tried using top 1 bt i dnt knw how to use it..
i did this ...Leave a comment:
-
-
getting max count - error: error aggregate function calls may not be nested
hi all
i have the following query, i need to get the max count from a table
bt i have the error aggregate function calls may not be nestedCode:select max(count(*)) from buys group by v_id
plzzz helpLast edited by acoder; Feb 1 '13, 01:43 PM. -
max count
hi all
i have the following query, i need to get the max count from a table
select max(count(*))
from buys
group by v_id
bt i have the error aggregate function calls may not be nested
plzzz help -
i can find loads of tutorial bt i want exercise to practice n i cant find muchLeave a comment:
No activity results to display
Show More
Leave a comment: