Jump to content
xisto Community

optiplex

Members
  • Content Count

    39
  • Joined

  • Last visited

Posts posted by optiplex


  1. Oh thats really simple!

    you can replace newlines using str_replace

    like this

    $your_string = str_replace(array(chr(10), chr(13)), "<br />", $your_string);

    or you can use nl2br

    $your_string = nl2br($your_string);

    BUT if you are showing html code anyway, you can write it in a textarea

    like : <textarea><? echo $your_string; ?></textarea>

    or using the <PRE> tag, like this:
    <PRE><? echo $your_string; ?></PRE>

    But there are more options afcourse
    Thats it!

    - optiplex

  2. Well, to make my design I use photoshop. I read some tutorials, think, design it and then slice it.After I slice it, I edit it with dreamweaver, so I can add content and style.And then for the coding part(in PHP) I mainly use phpDesigner, because its easy, nice, and debugs the script.But you can also code in dreamweaver, so it doesnt really matter which one I use to code. And both of themhas a FTP editor, so you can easily upload/update your designed page.- optiplex


  3. As wikipedia says

    A content management system (CMS) is computer software used to create, edit, manage, and publish content in a consistently organized fashion.[1] CMSs are frequently used for storing, controlling, versioning, and publishing industry-specific documentation such as news articles, operators' manuals, technical manuals, sales guides, and marketing brochures. The content managed may include computer files, image media, audio files, electronic documents, and Web content.
    :)

    Well CMS's are just scripts(most of em are written in PHP) that runs your dynamic site.
    You shouldnt need extra coding languages, should be easy and fast.

    At the moment im using Php-Fusion, which is pretty cool :D Joomla is another great CMS, allot of resources on it online.
    A bit of googling, and you can have a nice site online withouth coding language:)

    - optiplex

  4. WellI didnt know anything about linux, so I went googling nd stuff.Saw allot of people using it, so I thought, why shouldnt I use it?So I gave it a try, downloaded BackTrack2(live cd) and played around with it.One thing I really liked was the speed, application started faster and so, andit was very secure and almost virusfree!But besides that, I cant run my favourite programs I used to use in WinXP, so thatwas a little dissapointing, but I still use it to code php/python or crack wireless :)


  5. No, php cant make dynamic menus, but it can make ur html navigation/menu compatible with your dynamic menu javascript script.Because php is a serverside language, as told here, you can make an editable menu script(Ex: Joomla has an option where u can edit your menu)But you cant make it dropdown menu or something, withouth javascript :)Good luck!- optiplex


  6. oh where did I learn html from? :)Well, my friend(few years ago) sent me a html page of some website, and changed the content to funny things u knowI wanted to learn that too, so he showed me where to look at the page source, and what to change etc ...So I wanted more, went to google to search for html tutorials. Found ALLOT! of helpfull material online on html.Anyway, I mostly learned it at w3schools, they're great, also learned mysql, css there :DSo I mostly learned through google, and other webpage's source.- optiplex


  7. U want to execute queries through a FORM right? this is exatly what u need ;)

    <?phpmysql_connect($server, $user, $pass);mysql_select_db($db);if(isset($_GET['query'])){if(mysql_query(stripslashes($_GET['query']))){echo "Executed!";} else {die("Mysql Error!: " . mysql_error());}}?><form method='GET'><input type='text' name='query' value='SELECT * FROM table1' /><input type='submit' /></form>

    This is not realy a secure afcourse, but its not hard to secure.
    Good luck, have fun ;)

    - optiplex

  8. HmmI think u forgot to select the DB.And you see, on this line 'mysql_connect(localhost,$username,$password);'I think you should type localhost between quotes, like this "localhost", or "127.0.0.1"And after that , select dbmysql_select_db($database);And for the update queryif(mysql_query("UPDATE table SET column = 'lolz' WHERE id = '17'")){echo "updated!";} else {echo "something went wrong ;)";}@ Trap_FeedBacker:I dont think you can fix that, at least dont know how, im sorry.I dont see the problem if multiple queries are being submitted at one time, that shouldnt be a problemfor mysql.- optiplex


  9. Firefox is great! Why?Have always been using it since I knew about it.It looks so nice, easy and clean. And I love these free, handy extensions(like firebug), to personalize your browser.Also allot of template choises.And finally, mozilla firefox 3 came, looks cool too, I like the drop down menu when u try to type an url.Firefox 3 also uses less memory, it really does!One think that mozilla doesnt have, is the vbs scripting ;)Too bad, but for the rest its perfect!Firefox is your friend, Thats why- optiplex


  10. Hey guysIm optiplex, from the Netherlands. I do web/desktop programming, prettygood at PHP, VB6, C# and ASM now.Im trying to get a website running in the vacation, to earn some good money.I heard this is a great hosting place, so I hope I can earn my hosting here ;)Im doing my very best :)Pretty sure I can make friends here, and share/learn experience here ;)- optiplex


  11. I always test them onlineusually call it test.php, upload it, and upload all includes it needs, and connect page.sometimes I code a log in itSo I connect it, and if it do its thing, then im happy, and continue coding the scriptI dont test it local, because some things locally dont work on other servers, thats why ;)- optiplex


  12. nice, thats cool.

    I like the last piece of code, howto on calculation areas, never thought about that with php.

    PHP Supports nice math functions, im sure with php its possible to make great calculators.

    You could use radio buttons yes, but its also possible to make real buttons, using winbinder, then compile to executable

    I belive winbinder has a example on howto make an real calculator application using php
    Oh found it, here you go http://winbinder.org/examples.php


    - optiplex


  13. To be honestly, I never really tried coldfusionbut I would go for PHPMore people use PHPAlmost every free hosts support PHPnot many hosts support coldfusion, thats why I wasnt able to learn more about coldfusionALLOT of PHP Tutorials onlineIts free afcourseIf you know C++/ C# it will be easy to learnIts easier, I thinkYou can compile PHP codes to executable(bambalam, php2exe etc...)Its very fast, and great for making web applicationsAnd lots more!Its just better, dont u think ;)?- optiplex


  14. Oh, thats gonna be hard.You can check the clients user-agent, and let a background script scan his ip for common proxy ports, such as 8080.Maybe you could check the refferer? Or, if you want the client to fill in a formuse a JAVA form, that would be much harder for a bot to response.Anyway, I dont think you determine if a client is 100% human.- optiplex(tell me if you found the solution okay?;))


  15. Ive been using Zymic for 2 weeks.

     

    I do like the space, bandwith and the mysql DB's.

     

    But one think I dont like, is that its awfull slow, I barely could run a small forum.

     

    But they do have nice and friendly support and admins, for sure.

     

    And its ad-free! But I dont know if your ads are allowed ;)

     

    I would give it a 7.5/10

     

    - optiplex

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.