Jump to content
xisto Community

FaLgoR

Members
  • Content Count

    224
  • Joined

  • Last visited

Everything posted by FaLgoR

  1. Do anybody here knows where can I find good tutorials about using sockets with PHP? Sockets is an area that I'm still a newb and I would like to learn it. I searched on Google for some good tutorials but I didn't find it :DThank you =)
  2. Yeah, rules, but it will be very very hard to control the "drivers"... How will they control the traffic? With air plataforms? And the most difficult question: How will they stop the cars to give the tick? o.O aHEIUA just kidding ) If someday the flying cars get as used as the cars are used, we will never hear about survivors of a car acident... These kind of vehicles can exist, but I'm sure they will not be as used as cars, buses etc... If it was, everybody would enter on the richest countrys without any problem And for the car chases? Oh god, I don't think it will have a good end :|
  3. I don't know.. but I don't think these features would help to develop the scripts.. The unique thing you need is the basic IDE of Macromedia Flash MX or even the notepad... =) notepad auiehauihee no, forget it ^^
  4. FaLgoR

    Question

    Hi people.I downloaded Delphi architecth 2005 some days ago, but my darn windows 98 didn't let me run it... So, I came here to ask you: There is someway to code and compile delphi on windows 98? Somelite version, some way... I don't know....Well, if yes or if not, can you tell me some good sites with programs, source codes, tutorials, games and any other stuff about delphi? Thanks alot guys!
  5. I use php includes to make the frames and the pages, css to the stylesheets, html (of course ) and, sometimes, a little code of javascripting.
  6. You can do it by two ways: 1°, using hidden inputs. 2°, add the values on the url, look: <? header("Location: page.php?t1=$t1&t2=$t2&t3=$t3"); ?> Got it? =D
  7. FaLgoR

    Dates

    I don't know if is it what you want, but here we go If you want to add the full date in somewhere, you'll have to use the function date. In this case, I think you must use date("r"); <? echo date("r"); ?> Put it wherever you want.
  8. mysql tables: id,title,description <?$q = mysql_query("select * from news order by id;");while($news = mysql_fetch_array($q)){echo "<a href=news.php?id=$news[id] target=_blank>$news[title]</a>";}?> news.php <?$num = stripslashes($id); // security reasons$q = mysql_query("select * from news where id=$num;");$news = mysql_fetch_array($q);?><?=$news[title]?><br><br><?=$news[description]?> Try something like this, and you will just have to add your news on the database.
  9. TEST REPLY!It works LoL:oBy the way, OpaQue, I think this forum will be always stoped... the most part of the people here are hosted by Xisto and have an account Do you think a Guests Forum is really needed?
  10. I hope Chelsea will win :blink:I like english teams, my favourites are NewCastle, Manchester United and Chelsea.
  11. Just sell Premium accounts and offer some prize for the 1? place (if there is a ranking), which will give only for a player who has a premium account if the first place isn't, give it to the second place, if the 2? is not give it to the 3?... and if you sell alot of accounts, you can give prizes for the 2? and 3?, its a good tatic
  12. You mean, just like I told you with my example, the last code quote?
  13. I will not change my email (hotmail) for etwo reasons:1?: I use this email since I learned what was the internet. It's mine for years. I receive 80 new messages per day (without counting the spam of course ^^). If I change now, it will make lose alot of messages.2?: I don't need all this space. I've been using my 2mb hotmail since I have this account, and did never received big emails. Rarelly my inbox goes out of space. I think the email service was made to send and receive messages, communicate, not giving games and movies of 300-1000 mb.
  14. Thee HTML tag <marquee> is used to make an text move on html pages. It's very simple, you will need only one line of html, but it's really cool and very usefull Here we go. <marquee behavior="scroll">Text here</marquee> The code above will make the text move from the left side to the right side of the page. Behavior is what the text will do. It can be scroll to make the text scroll from the left side to the right side, alternate make thetext do the same thing, but instead of the text get hide when it is on the limit of the page, it will go back to the left side, and when it is on the limit of the left side, it will go to the right side... Let's make another marquee style: <marquee behavior="scroll" direction="up">Your<br>Text<br>Here</marquee> With the code above, the text will move from the bottom to the top. Cool, huh? I'll show you something you can do with this code. Make an simple table in html: <table border="1"><tr><td>My other sites</td></tr><tr><td><marquee behavior="scroll" direction="up" OnMouseOver="this.stop()" OnMouseOut="this.start()"><a href="http://mysite.com"><img src="button.jpg" width="88" height="33"></a><br><a href="http://mysite.com"><img src="button.jpg" width="88" height="33"></a><br><a href="http://mysite.com"><img src="button.jpg" width="88" height="33"></a><br></marquee></td></tr></table> Its one of my favourites html effects. In the code above, you will show an table with your other sites or allied sites. The 88x33 buttons will go up, and, when someone try to click them, the text will stop moving, and the visitor will easilly click the button. When (s)he move the cursor out the table, it will start moving again. I just love this effect =DHere is an example: http://forums.xisto.com/no_longer_exists/ The site is in portuguese, but it doesn't matter. Look at the right side, you will see a table with 3 buttons moving up, when you put the cursor on it, it will stop Hope you liked it as I liked to write it By FaLgoR
  15. Yes, I make my pages just like you.<? include("top.html"); include("content.html"); include("bottom.html"); ?> I don't know what would I do without php... When the site is updated, I would have to change every page, everything, many times.... :T
  16. OK, thanks alot for helping me
  17. Damn :/I'll have to spent money if I want to learn VB?
  18. I want to learn programming on VB. I have some experience on programming languages, but I have many questions about VB. Here we go:1. What programs will I need to develop VB programs? Can you give the link?2. Can you tell me some websites about it? 3. Can you tell me some good tutorial?4. Have you any other tip? :)Thank you all!
  19. What?? You mean I can create console applications with php?? Have you any text about it? I want to know more about that. Thanks!
  20. I think the two guys who said that they don't like keylogger have lost some information because of it hhehehhehe :)But I think its intersting, I'll take a look to, I want to learn vb.
  21. Try to use this code I've made some months ago: <?if(!$area) // If the area is not specified$area= 'main'; // go to the main pageif(strstr($area,"//") || strstr($area,"\/")) // If someone try to hack the sistemdie("The page you request was not found on this server."); // Stop allif(!file_exists("$area.html")) // If the page does not existsdie("The page you request was not found on this server."); // stop all and send an error messageelse // if it doesinclude("$area.html"); // include the specified page?> Put this code where you want the "iframe", and the main page will be called main.html. Hope it helped you
  22. What is terabyte?? Terabyte == 1000 gigabytes? If yes, I'm almost sure they will not keep the services much time... 100 members mean they would need 100.000 gigabytes, or 100.000.000 megabytes, do you think they will earn enough money to pay for all this space? IF they have all this space avaiable, there are many other problems too, just like this message which clagnol told us: Gmail, for example, canm provide you 1 gigabyte email. So, 1000 users of gmail == 1 user of hriders! Does it sound possible to you? I don't think so...
  23. We will use Apache 1.3.*, because it's not recommended that we run PHP on Apache 2.0 on wondows sistems. First, download the following programs: - Apache 1.3.* - MySQL 4.1.9 - PHP 5.0.3 2. Installation - Execute Apache's installation program and install it wherever you want, with the default options. - Extract the MySQL database on the same folder of apache (the same folder than htdocs) - Extract PHP on C:\php5 3. PHP Configurations Go to c:\php5 eand copy the file php5ts.dll to the following folders, according to your windows: - c:\windows\system (on Windows 9x/Me) - c:\windows\system32 (on WindowsXP) - c:\winnt\system32 (on Windows NT/2000) Copy this file c:\php5\libmysql.dll to one of the folders above, according to the windows you are runing. This file is required to run MySQL on php. Still on c:\php5, change the name of the file "php.ini-dist" to "php.ini" and open it. Search for this line: extension_dir = "./" and change it for: extension_dir = "c:/php5/ext/" This is the directory where the php extensions will be (MySQL, Curl, GD, and others). Now, search for this line: ;extension=php_mysql.dll and erase the ; of the begining. If you want to active phpgd library, do the same thing on this line: ;extension=php_gd2.dll. Save and move this file to one of this folders: - c:\windows (on Windows 9x/Me/XP) - c:\winnt (on Windows NT/2000) 4. Apache configurations Go to the folder where you have installed apache and open conf/httpd.conf in some text editor. (Just like notepad). 1ş) Search for the line #LoadModule unique_id_module modules/mod_unique_id.so and after it, add: LoadModule php5_module "c:/php5/php5apache.dll" 2ş) Search for the line AddModule mod_setenvif.c and after, add: AddModule mod_php5.c 3ş) Search AddType application/x-tar .tgz and after add: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps 4ş) Search: <IfModule mod_dir.c> DirectoryIndex index.html </IfModule> And change it to: <IfModule mod_dir.c> DirectoryIndex index.html index.php default.php main.php </IfModule> 5. MySQL Configurations There is nothing to configure on MySQL, you just have to start runing it. Go to the folder where you installed mysql and open bin/mysqld.exe, it will start mysql server. Remember that you will always have to start mysql. 6. Now, start Apache and MySQL servers again to save the changes. Done! Now you have php and mysql on your computer! To make a test, create a new file called phpinfo.php, with the following contents: <? phpinfo(); ?> so, put it on htdocs inside the Apache folder. Open your browser and type LOCALHOST/phpinfo.php. If the page with all the informations of php is loaded, it means everything is ok. Note: If you want to turn register_globals on, open c:\windows\php.ini, search for the line "register_globals = Off" and change it to "register_globals = On". Hope it helped you guys! =D
×
×
  • 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.