Jump to content

chantown

Members
  • Posts

    134
  • Joined

  • Last visited

    Never

Everything posted by chantown

  1. Hi, I tried to do: $image = open_image('test.jpg'); //syntax is right, and a file is there die("here"); but for some reason, my PHP stops at $image, and doesn't do anything after that 1st line. Also, I have GD 2 GD Support enabled GD Version bundled (2.0.28 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.2.1 GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled Why is this? I'm just trying to open a simple image
  2. the only way is to use cookies and/or ip. i suggest both or a login
  3. use a database. Whenever someone chooses to stop playing, $q = "UPDATE user_table SET play_music = 0 WHERE user = '$userID';"
  4. When they enter site, flag it $_SESSION['playedmp3'] = true; then everytime you load a page, check it. if(!$_SESSION['playedmp3']) play song.
  5. You can $_GET the destination. http://www.something.com/links.php?destination=www.yahoo.com then load destination to the right frame and Ad on left(i dont know how to use frames, that was N years ago) "When someone visiting this page clicks a link at yahoo, whole browser window will be used." I don't think this is possible, because if someone clicks on yahoo's link, it's THEIR website (they choose whether to break out of frames). but there may be a way other experts here may know how to manipulate that
  6. make a universal file with the includes include("universal-includes.php"); change the file paths in that file Try using dreamweaver , it has a function to find text within multiple files . And you can replace include('... include('... include('... with include("universal-includes.php");
  7. I don't get what you're trying to do, but if you want to get the URL that you see on the address bar currently, you can use $_SERVER['REQUEST_URI']. try that, or some $_SERVER variable.
  8. Quick question , Let's say I have an email asdf@gmail.com I'd like to know if the last 3 extension is .com. If it's .com, then I do something... What is the simple PHP string funcction that lets me "checK" the last 3 letters?
  9. lol you go to harvard? where do you live? This looks pretty good, but the font is kinda childish for me, and the fireworks on the right hand corner looks like you're having a big 1 day sale. I like the "soft" feel though PS. check out my website (www.skoogo.com), it's somewhat similar to yours. maybe we can help each other
  10. it's not bad but the images (style, mood) don't match the overall design too much white space and PLAIN feeling I know you want it organized and professional, hence the plain is good. But you can be plain AND stylish -- perhaps do some borders or something? or a "holder" for the menu on the left?
  11. hi majhate, I would NOT do this: "So I would have a field called answers, and all the answers they wanted would go in there seperated by a space or something." I would instead insert a row for each answer. trust me, it makes things much easier. To determine number of answers just count the rows in the table good luck-
  12. you coded all this? it's nice. but the dark with yellow lights design makes me feel unsecure
  13. so a better question would be: how many unique visitors do you get a day?
  14. sorry, wrong forum (can someone move this topic?)
  15. agensteal, i ahve a question- how did you find my files (did you scan the site)? How did you find my templates folder?
  16. I really like Vbulletin or SMF's wysiwg, does anyone know how to get these and BB code?
  17. wow thank you so much how do you guys know all this stuff???
  18. First of all, is this a big problem (if we have patched up SQL inject + XSS)? Can we disable error reporting in PHP.ini , so that this will no longer show to people?
  19. thanks guyz, is it a big problem if the absolute path is revealed?
  20. I think it'd look better with padding between the text and the image
  21. I have this string , called $email. if I do die($email), it outputs email@msn.com But when I do: $email = "<$email>"; die($email), it SHOULD output <email@msn.com> but instead, it outputs nothing! does anyone know why? I tried doing echo "<".$email.">";, but nothing works
  22. i think you shouldd put some google ads in other places, one of them distracts me
  23. your source code doesn't have a ending to the site it just stops at <div... So probably it's your PHP issues Is everything being included right?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.