www.webdeveloper.com

Search:

Type: Posts; User: artheus

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    2,345

    okay. So what the code is really saying is: ...

    okay. So what the code is really saying is:

    "set $userid to $_POST['userid'], if $_POST['userid'] is set, else set $userid to (if $error can be set to true) combined with 43 bitwise"

    so 1 | 43...
  2. Replies
    3
    Views
    2,345

    syntax explanation, please?

    Hey!

    I'm making a tiny application, and I'm using post-data. And the PHP 5.3 throws warnings if i don't check if a $_POST variable is set before trying eg. $var = $_POST['somevariable'];

    And...
  3. AJAX Thank you for quick reply. But it seems to be...

    Thank you for quick reply.

    But it seems to be a problem with the editArea. Because the getValue function returns without the eg. && characters, etc.

    //Artheus
  4. AJAX [RESOLVED] Saving content of textarea. PHP/Javascript editor

    Hi!

    I am using editArea for a project of mine. And I am using two buttons to save the content of the editArea. One "Save" (which will go directly through form, to php, and then be redirected to...
  5. Replies
    2
    Views
    1,541

    Thank you!

    Thank you!
  6. Replies
    2
    Views
    1,541

    [RESOLVED] preg_replace pattern. need help

    Hi!

    I'm trying to figure out how to write the regexp pattern for a text which consists of many values. ex. "1,3,55,7" or "4,2,7,3,6,8,13,33,453". So the amount of values does not matter, and the...
  7. Replies
    3
    Views
    1,661

    Great! Thanks!

    Great! Thanks!
  8. Replies
    3
    Views
    1,661

    Well.. made it myself... $infotext =...

    Well.. made it myself...




    $infotext = "click !:here:!!";
    $url = "http://www.google.com";

    echo preg_replace("/!:(.*):!/", "<a href='" . $url . "'>$1</a>", $infotext);
  9. Replies
    3
    Views
    1,661

    [RESOLVED] regexp preg_replace, need help.

    Hey!

    I need help making a preg_replace() command to replace some stuff on my webpage.

    I've got a text like this:

    "click !:here:! to get some info about some stuff";

    and another variable,...
  10. Thread: ssh2 response?

    by artheus
    Replies
    4
    Views
    2,682

    Well... The command I'm trying is df -h. And as...

    Well... The command I'm trying is df -h. And as far as I know that should make an output.
  11. Thread: ssh2 response?

    by artheus
    Replies
    4
    Views
    2,682

    ssh2 response?

    Hey!

    I'm building a simple php app, so that I can control my server through a browser.

    This is a short version of the app



    $user = $_POST['user']; //the username, sent with post-method...
  12. Replies
    5
    Views
    2,518

    Thanks aj_nsc, for being supportive of my...

    Thanks aj_nsc, for being supportive of my experimentations. I tried your suggestion, and it seem as though it's not working like that either... :/
    Fang.. Why be so negative towards experimenting?...
  13. Replies
    1
    Views
    1,317

    Right-click menu

    Hi!

    I've been searching around the web on the subject of how to change the content of the standard right-click menu. But the only thing I can find is how to make your own JavaScript right-click...
  14. Replies
    5
    Views
    2,518

    Custom tag in DTD document

    Hi there!

    I'm building a javascript image gallery. Which uses my user defined tag "gallery".
    And now I want to add this to a DTD document, so that it can be properly validated.

    I've tried to...
  15. Replies
    14
    Views
    2,517

    Thanks for that. But the thing is that it was...

    Thanks for that. But the thing is that it was just a simple little thing for a image gallery. And that was the easiest way of making it. Or something. I don't really remember. But I see what you...
  16. Replies
    4
    Views
    3,835

    multiple row UPDATE (mySQL)

    Hi!

    I want to update data on multiple rows in my table. Such as this :



    $mysql->query("UPDATE categories SET open=0");

    foreach($p as $value) {
    $mysql->query("UPDATE categories SET...
  17. Replies
    2
    Views
    1,509

    Thanks a lot! :D It works perfectly! And didn't...

    Thanks a lot! :D
    It works perfectly!
    And didn't need to wait more than 10 minutes!

    Thanks again!

    Cheers,
    Artheus
  18. Replies
    14
    Views
    2,517

    --

    --
  19. Replies
    2
    Views
    1,509

    [RESOLVED] Easy string/variable operators

    Hey!

    Is there any way in php, to easily write this script shorter?



    if(isset($row["name"])) {
    $row_name = "-";
    } else {
    $row_name = $row['name'];
  20. Swfobject 2 : calling as3 function with javascript, not working in Firefox 3.5.3

    Hey!

    I'm currently developing a web-page where I need to call a as3 function with a javascript. And the code works for eg. Internet Explorer, but not for Firefox 3.5.3.

    Javascript :


    ...
  21. Replies
    1
    Views
    2,053

    php get variable without php-file name

    Hey!

    I'm just curious about a thing. Normally I put in the get-variables like this


    http://www.www.com/view.php?p=my.username

    instead I've seen some systems out there using just this
  22. Replies
    2
    Views
    2,490

    are there really nothing like this!? Hellou!?

    are there really nothing like this!?

    Hellou!?
  23. Replies
    0
    Views
    1,617

    trace event Back button click

    Hey! I'm making a webside, in which I want to use the same system as facebook uses.. www.mydomain.com/#profile for the profile page, and so on.

    But the thing is that it just won't work for the...
  24. Replies
    16
    Views
    1,330

    Well Mindzai... You are totally right... The...

    Well Mindzai... You are totally right...
    The thing is that I have already secured it so only certain people can get to it.. But I just want to make it harder for them to really find this swf, so...
  25. Replies
    16
    Views
    1,330

    yes I've got a apache server. It's my own, so I...

    yes I've got a apache server. It's my own, so I am free to do most what I like with it.

    Could you please tell me more about this URL Rewriting?

    Cheers,
    Artheus
Results 1 to 25 of 61
Page 1 of 3 1 2 3
HTML5 Development Center



Recent Articles