Search results

  1. E

    Please help me with a simple PHP problem?

    This code: if ($_COOKIE['username']) is causing this notice: Notice: Undefined index: username I'm using wamp, so this notice doesn't happen when I upload my site to my web hoster, but I still want to fix this. I don't want to turn notices off! I know how to do this. All I want is a fix to...
  2. E

    Should i get the HTC Evo or Samsung Epic?

    ..and why??
  3. E

    My friend is cutting herself i need alternatives.?

    She is constantly cutting herself when she gets in sticky situations. I am trying to help her in as many ways as I can. Her parents dont know about her cutting. I am just trying to find temperary help for her until i can get her medical treatment. Ive tried telling her smoking weed. It may not...
  4. E

    I need some advice about wamp and PHP?

    I know the question made me sound a little confused, but I had to add a question mark :p. I have wamp and I'm using it to test my mostly-php site on it. At first, I was testing it on my web hoster online, but I heard that wasn't a good idea so I got wamp. The problem is that wamp gives php...
  5. E

    Short PHP question: Do I need to define $_SESSION?

    I'm asking this because when using wamp, I get a notice that $_SESSION is undefined.
  6. E

    Short PHP question: Do I need to define $_SESSION?

    I'm asking this because when using wamp, I get a notice that $_SESSION is undefined.
  7. E

    Small PHP mail question?

    Why is "\nX-Mailer: PHP/" . phpversion();" added to some php mail scripts? What does it do? Thanks busy, is it necessary then? Or is it wise to use this code, if not necessary?
  8. E

    How do I make a delete file text link? (PHP)?

    It's simple to delete a file with a form with this PHP code: <?php session_start(); $username = $_SESSION['username']; $file = $_POST['delete_a_file2']; $file2 = "files/$username/$picture"; unlink('files/$username/$picture'); if (!unlink($file2)) { echo '<br><div align="center"><font...
  9. E

    How do I add a list of allowed characters to my sign up form (PHP)?

    10 points for the best working answer. Thanks!
  10. E

    Help with PHP include?

    Every person that joins my site gets their own folder with an index.php that contains only this: <?php include 'http://www.example.com/users/member.php'; ?> This works fine and displays member.php. There is a problem though. In member.php I have this code: <? print...
  11. E

    Please help me with PHP? 10 points for working answer?

    I have one page called index.php that contains: <?php $member = substr(dirname($_SERVER['PHP_SELF']), 8); // This is the name of the directory include 'http://www.EXAMPLE.com/users/member.php'; ?> I have another page called member.php (the one that is included) that contains: <?php echo...
  12. E

    I need PHP help, please? :p 10 points?

    I have 2 files. One is a php file (index.php) that contains this: <?php $member = substr(dirname($_SERVER['PHP_SELF']), 8); // This shows the name of the directory include 'http://www.EXAMPLE.com/users/member.php'; ?> The other file (member.php, the file being included) contains only this...
  13. E

    Difficult PHP problem, help?

    I have a folder called users. Users contains this: *username*/index.php member.php *username* is the username of someone who has signed up. There are several *username* folders and they all contain index.php. Since index.php in *username*/ is past member.php, how do I include member.php in...
  14. E

    Help me with PHP sessions?

    I have a website and when I sign in on this URL: http://www.example.com/sign_in.php then remove the www. and go to http://example.com/, it drops the session. Why does this happen and how can I fix it?
  15. E

    What's wrong with my PHP code?

    I'm getting a wrong number of paramters error from this php code. What's wrong with it? mysql_connect ($dbhost, $dbuser, $dbpass)or die("Could not connect: ".mysql_error()); mysql_select_db($dbname) or die(mysql_error()); $query = "SELECT email FROM members WHERE username='$username'"...
  16. E

    I'm displaying all images in a directory using php, but I have a problem. Help?

    All the images display pretty nicely, but the more images there are in the directory, the wider the page gets. The images never go to the next line. How can I have the images go to the next line instead of stacking up sideways. I tried putting the images in a table and making the table a...
  17. E

    What is wrong with my PHP code?

    This is a PHP code that displays all the images in a directory. I've used a code similar to this that worked, but it didn't start a new row after 4 images, so I had to get a new code. This code looks like it should work, but it doesn't show anything at all. Maybe someone can point out what...
  18. E

    Good downloadable games from PSN?

    I have about $12 in my PSN wallet, and I was just wondering what good downloadable games there are on the PlayStation Store.
  19. E

    Accessing Blizzard Mobile Authenticator App from PC?

    I downloaded the Mobile Authenticator App on my iPod touch, but I recently lost the iPod, which means I'm locked out of my account because I was too stupid to write down the serial number when I downloaded the app. I was wondering if there was a way for me to possibly run the Authenticator App...
  20. E

    How do I tell my parents and coaches I don't want to play college football?

    I am a senior in high school this year. I play D-Line and I'm 6'1" 250 pounds. I am extremely strong and I'm getting a serious look from Division 1-AA schools like Elon and Furman. I wanted to play college football and went to several camps this summer. I am a good student with a 4.5 weighted...
Back
Top