User Profile

Collapse

Profile Sidebar

Collapse
poopsy
poopsy
Last Activity: Apr 18 '09, 06:38 PM
Joined: Nov 2 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • poopsy
    replied to session works only in IE not in firefox
    in PHP
    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??
    See more | Go to post

    Leave a comment:


  • poopsy
    replied to session works only in IE not in firefox
    in PHP
    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?
    See more | Go to post

    Leave a comment:


  • poopsy
    started a topic session works only in IE not in firefox
    in PHP

    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);
    ...
    See more | Go to post

  • poopsy
    started a topic php mail(0 sent but not received!!
    in PHP

    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>
    ...
    See more | Go to post

  • poopsy
    replied to php mail() function and configuration settings
    in PHP
    Yep..thx for the reply
    See more | Go to post

    Leave a comment:


  • poopsy
    replied to php mail() function and configuration settings
    in PHP
    hmmm i dont quite understand..cou ld use plz explain what i need to do to be able to send mails??
    See more | Go to post

    Leave a comment:


  • poopsy
    started a topic php mail() function and configuration settings
    in PHP

    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...
    See more | Go to post

  • poopsy
    started a topic foreign key contraints problem

    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...
     ...
    ...
    See more | Go to post

  • poopsy
    replied to storing files on mysql database or on server?
    plzzzz help..its urgent..
    See more | Go to post

    Leave a comment:


  • poopsy
    started a topic storing files on mysql database or on server?

    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??...
    See more | Go to post

  • poopsy
    started a topic foreign key

    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...
    See more | Go to post

  • poopsy
    replied to java rmi skeleton
    in Java
    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..
    See more | Go to post

    Leave a comment:


  • poopsy
    started a topic java rmi skeleton
    in Java

    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...
    See more | Go to post

  • poopsy
    started a topic what package to import when there is board?
    in Java

    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;
    ...
    See more | Go to post

  • poopsy
    started a topic how to use top 1

    how to use top 1

    i want to retireve the first row for the following query
    Code:
    select TOP 1 t.vid,max(c) from (select vid,count(*) as c from buys group by vid) t group by t.vid;
    bt i get a syntax error near 1...
    did i do it wrong
    plzzz help
    See more | Go to post

  • poopsy
    replied to max count
    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
    Code:
    select t.vid,max(c) from (select vid,count(*) as c from buys group by vid) t;
    bt i get the error
    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 ...
    See more | Go to post

    Leave a comment:


  • it doesnt work..it gives me syntax error near 1
    plzz help...
    See more | Go to post

    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

    Code:
    select max(count(*))
    from buys
    group by v_id
    bt i have the error aggregate function calls may not be nested
    plzzz help
    See more | Go to post
    Last edited by acoder; Feb 1 '13, 01:43 PM.

  • poopsy
    started a topic max count

    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
    See more | Go to post

  • poopsy
    replied to exercises
    in PHP
    i can find loads of tutorial bt i want exercise to practice n i cant find much
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...