Jump to content

acdx

Members
  • Posts

    40
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

acdx's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. http://home.acdx.net/g/index.php An instant deployment image gallery system by me. Admin username: admin Admin password: admin This instance of the gallery system exists to demonstrate the features of the system. Feel free to try out the commenting, rating and admin features, but no profanity or vandalism (annoying stuff) please.
  2. Thank you, I'll have to try that out. Obviously I do proper markup, the demo file was just an "excerpt".
  3. Floats interact with eachother and thus position: relative won't do it. I want to do this: [url=http://acdx.net/divs.php]acdx.net/divs.php[/url] (see source) But specify the position of the child divs relative to the upper left corner of the parent div instead of the document bounds.
  4. I have a container div with specified width and height, inside which I have a few other divs, with specified dimensions as well for that matter. I'd like to be able to position the child divs freely relative to the upper left corner of the parent div. Sounds really simple, but I haven't found a way to do it. position: absolute won't do, as I need to be able to position the divs relative to the parent div, not the page bounds.
  5. [quote author=Barand link=topic=110069.msg444235#msg444235 date=1159626156] Change if ($album="main") to if ($album=="main") [/quote] I love programming..
  6. I'd suggest you simply add a "last login time" (datetime?) and a "last login ip" (varchar) column to your user table, defaulting to NULL. When someone logs in, "update users set logintime = xx, loginip = xx where id = xx". It's not like the users are gonna "go back to their old ip" anyway.
  7. [quote author=tomfmason link=topic=109896.msg443402#msg443402 date=1159488686] Are you having issues [/quote] QFE
  8. printf: 1. Find appropriate material to scan 2. Take the sheet of paper in your hand 3. Lift the scanner cover 4. Place the paper on the glass facing down 5. Close the scanner cover
  9. How do you know whether a user is logged on or off anyway?
  10. Not possible without special applications or browser plugins installed by the user.
  11. You might have to set up some permissions first to allow access to the database from the remote domain.
  12. And even if that weren't possible.. [code]<?php function update_property($property, $value) {   $this->$property = $value; } ?>[/code] EDIT: Correction
  13. You could store a serialize()d php array as a string in the database, but then you would have to do most of the work in PHP anyway. Heck, you could just as well store a pipe-separated string of values in the db and explode the string in php.
  14. Something 8) Also, see [url=http://php.net/strtr]strtr()[/url]
  15. You could put in some keyword and replace it with variables when printing. Let's say you put "<p>LOL</p><p>LAL</p>" in the database then when printing the string [code]<?php $replace_pairs = array("LOL" => $i, "LAL" => $j); echo(strtr($string_from_database, $replace_pairs)); ?>[/code] Or sth
×
×
  • 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.