Jump to content

darkcarnival

Members
  • Posts

    162
  • Joined

  • Last visited

Everything posted by darkcarnival

  1. hi, I plan to add a file manager to a program of mine to make editing my html files easier on me. now i know about chmoding but i just want a quick fresh up on this. if i wanted to just edit one set of files from a folder do i chmod just the folder or the folder and files? and also, this folder would be in another folder, do i chmod that folder as well? thanks a bunch
  2. ajax would be better :) thank you for the code example.
  3. you'd get a better response if this was posted on the [b]php help[/b] forum instead of the javascript forum ;) either tell a mod to move this or re-post this message.
  4. hi, I wish to use either ajax or js or both to validate my php script. now i am new to js & ajax so im curious if anyone can direct me to a good tutorial or some tips on this. what I'm looking for? -when an error occurs a message appears next to the form box might want this to be ajax-based so that it can check this before anything processes. i know ipb does something similar, so if someone knows how they do it, that'd help even more. thank you in advance.
  5. edit: nevermind I figured it out. had to re-think the process.
  6. thats a given yes ;) though a user-friendly display is what i'm trying to do as now its a real basic message and then the users get upset at me as the form data is lost and they have to re-fill the info. I'm still bouncing ideas around, trying to mix css,js/ajax, and php to make this work with ease.
  7. heres a good link to learn this: http://codewalkers.com/tutorials/58/1.html you may need to tweak the overall code examples if you plan to use dynamic code but in general its what you'll need to do what your asking about. best example i've found so far.
  8. just thought of something.. what if i tie in css with this? have a div tag that contains the error message but use css to hide those div tags until a js app will call them. would something like that work? i used that method for a menu script and it works perfectly.
  9. hmm ok, I like the ideas you guys have posted. I'll experiment around and see what works. thanks. if anyone else has any other opinion feel free to post it ;)
  10. hi, I'm working on a program of mine and I'm trying to make it more user-friendly. one item my users have mentioned is when an error occurs when filling out a form they have to re-fill out the form again when they go back. so how can i solve that? what I'd like to do is for example how gmail does it where the error message appears next to the incorrect or missing form field or on top of the form. but i dont know how to do that. thats just one way i can go with this, but if anyone can give me some direction on how to about that, it'll really help me out. thank you :)
  11. hi, I'm working on a admin cp script and i want to add a session that will hold a login detail but only for a limited time. like have it last only for 10 minutes for example. how do i do this? thanks :)
  12. hey, I want to be able to detect proxy ips. but i dont exactly know how to do this. anyone who knows, please enlighten me :) thanks.
  13. no but thanks for the try. on phpbb3 is a way to cehck ips from databases from spamcop heres the entrie quote from phpbb's cp: [quote]Check IP against DNS Blackhole List: If enabled the IP is checked against the following DNSBL services on registration and posting: spamcop.net, dsbl.org and spamhaus.org. This lookup may take a bit, depending on the servers configuration. If slowdowns are experienced or too much false positives reported it is recommended to disable this check.[/quote] now i wish to do the same but since phpbb has an odd way of coding, i dont understand how do it.
  14. i wish to add such a feature to my board, but I am unsure on how to do such a thing. if someone could give me some pointers on this, It'll really be helping me out Smile thanks.
  15. i was trying to do something but it looks like i cant do it the way i want to do it. i got it working the way i want now, thanks to those who helped. btw it was both a PHP & HTML problem :P Marking as Solved and locking the topic
  16. oh ok then. like i said i lost the link, so i want to get a confirm on this. thanks for the confirming on this issue.
  17. somewhere i read this but i cant find the link anymore. i was hoping someone could confirm this or just say im worring over nothing.
  18. try this: [code]<input type="hidden" name="delid" value="$filmid">[/code] btw, you have to echo with double quote and then add \ to make it output right like so: [code]echo "<input type=\"hidden\" name=\"delid\" value=\"$filmid\">";[/code] that should work. edit: one more thing, make sure $filmid equals something too, otherwise that is your problem.
  19. hi, i found a tutorial on this but now i cant find it anymore :( :'( basically I'm trying to figure out how you would protect an image form executing php code. from what i read, if you enter php code in a program like gimp or PS, it'll execute when the image is included in a php program. does anyone know how to prevent such a thing to happen? if so, please let me know. thanks :)
  20. ok I'll try that hopefully that'll solve my problem.
  21. i did show you the code ;) [code]while($row = mysql_fetch_assoc ($board_query)){ $board_id .= $row['id']; $board_name .= $row['Board']; $board_description .= $row['Description']; } $board_vars = array($board_id, $board_name, $board_description);[/code] that is what the function does ;) now adding a br tag will just make the output worse. example of it is: <a href="link.php?id=1(newline)2(newline)3(newline)">link1(newline)link2(newline)link3(newline)</a> it all should be it's own link, which is my present issue. the full code is too lengthy to post here so im only posting the code thats causing the problem.
  22. um its a php problem Crayon Violent, i already tried that and it didnt work.
  23. i want each value from the loop to be on its on line ;) right now it combines ythem together. couldnt I do something like use explode() or something to do this?
×
×
  • 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.