mendezgarcia
Members-
Content Count
48 -
Joined
-
Last visited
About mendezgarcia
-
Rank
Newbie [Level 3]
-
Php - The Basics Learn the basics of PHP
mendezgarcia replied to Spectre's topic in General Discussion
Yes, use something like XAMPPhttps://sourceforge.net/projects/xampp/ Another create a config file (which will be required every time). For example: define ("MYSQL_USER", "mendez"); and: require 'config.php'; mysql_connect("localhost", MYSQL_USER, ...); Easy... -
Php - The Basics Learn the basics of PHP
mendezgarcia replied to Spectre's topic in General Discussion
Yes, I was answering him: PHP started as a Perl module and now MAY be installed as an Apache module. I didn't know IPB would mess the indentation About the equal and identical operators, although they are apparently the same thing, they are very different. There was a security flaw in phpBB (security flaw number 6.57 x 10^6) that was fixed changing == to === -
Php - The Basics Learn the basics of PHP
mendezgarcia replied to Spectre's topic in General Discussion
PHP started as a Perl module. Now it may be installed independently; as a apache mod.A few notes:1. Instead of using <? ?>, which is a shortcut (and may not work in some servers), use <?php ?>2. Try to improve your indentation. 3. There are major differences between the comparision operator "==" (equal) and "===" (identical).For example, "php" == 0 returns true, but "php" === 0 doesn't. -
snlildude87: the problem is not the max file size, it's the max execution time, which is usually set to 30. renegade_division: you can, instead of doing this, increase the max_execution_time value (PHP_INI_ALL), using for example ini_set(). http://de1.php.net/ini_set http://php.net/manual/en/ini.php
-
How To: Hide The Real Url Of Your Images using php
mendezgarcia replied to electriic ink's topic in General Discussion
Sorry, but I am not understanding the purpose of this script. I will point some cons: - People will still be able to hotlink to it - also, this will make usual hotlinking protection useless. - About the cache thing, no, the browser will not cache the images, thus increasing your bandwidth use. - The other point is that it will make creating pages harder (you will have to write a longer address for img src) - Scripts that rely on user input are EXTREMELY dangerous. For example, due to a huge design flaw (if you give some ext like 934910841 it won't be concatenated to the file name; allowing a potential hacker to inject code or see your files). Now, some coding tips: - I noticed unexperienced coding standards, especially indentation for the PHP code. - Usually instead of using several if and elseif you can use switch - Use $_GET instead of $_REQUEST - Be careful with your error checking routine; check if the given ext actually exists. - Instead of naming an ext an using switch/if else, you can use an array; for example: $exts = array ('jpg', 'gif', 'bmp', 'png', 'tiff') $exts[0] is jpg, $exts[1] is gif and so on. - Learn about INTERPOLATION. Strings using double quotes (") don't need to be concatenated. - And finally, the most important: NEVER TRUST USER INPUT!! Always filter it properly I hope you don't take this as offense, but as constructive criticism. -
Well, I am using the site now, so no need to terminate it anymore.But how could I terminate my account (if I wanted to)? Let the credits go to -30 or asking an admin?
-
Google's Going To Take Over The World. Submit or be destroyed
mendezgarcia replied to beeseven's topic in Search Engines
LOL! :huh:Very fun!Google's engineers and creators are really brilliant indeed,but such idea is very "Hollywoodian" (hey, this would make anice film - full of clich?s)What you want? Lead the "Operation Search Engine" and attackGoogle's "Headquarters"? -
New Uploads Does Not Update Is it a bug in cPanel?
mendezgarcia replied to Inspiron's topic in Web Hosting Support
It happens with every computer you use? (I mean, did you try to do use Xisto's cpanel elsewhere?)It doesn't happens here oftenly, or maybe not at all. Clearing your cacheand refreshing the page is useful, but shouldn't be necessary. It may also be a problem related with the unusual port Xisto's cpanel uses (2083 instead of the usual 2082) -
Thanks for the tips, I changed my config; I'll see what happens. Firefox uses a lot of the memory here too (almost 50.000 K), what is more than Internet Explorer; and a little slower too. But its security is slightly better than IE's, and there are some useful plugins. ciroxyz: Well, taking a screenshot of part of your proccess is not very useful. Use HijackThis and create a log, then post it. Spybot is not very effective, I used it and its not good. I wasn't able to remove 2 spywares that were infecting my computer
-
As posted here: http://forums.xisto.com/topic/27984-suspend-hosting/ I asked someone to suspend my hosting, but nobody did it. I let my hosting credits bleed, but they are negative now! I think this shouldn't happen. After the credits reach zero; the account should be suspend but credits stop bleeding because I am paying for no service (no hosting)... Thanks
-
well, I don't want to to stop posting and still have the site running, but suspend my site.I know it will be suspended when my hosting credits reach zero, but will the credits go negative ?
-
Hi admin... Due to miscalculations, my site is not ready yet... And more problems appeared, so I won't be able to post in more than a month. Since I don't have any content in the site, could you please suspend my account? thanks