Pankyy
Members-
Content Count
132 -
Joined
-
Last visited
Everything posted by Pankyy
-
Hey, I wanted to ask if you think it's possible to do the following: add a breakline (AKA "\n") in the 5th of the search given(in this case something like ". "). To make it an easy example of what I want to achieve, it's just to create a different paragraph after 5 sentences.Sentence 1. Sentence 2. Sentence 3. Sentence 4. Sentence 5. Sentence 6toSentence 1. Sentence 2. Sentence 3. Sentence 4. Sentence 5.Sentence 6I'm pretty sure PHP is more than capable of doing something like that, but I lack the know-how. Can someone tell me which is the best way to do it?Thanks.
-
Looks just fine even though we can't tell too much since we can't see the FORM parameters from the page you're posting from. That would help to notice the problem.
-
What do you mean by "elegant solution"? Comparing string variables (names of the files you're going to include) is neat enough to me, general visitors don't really look into the web url, if that is what you mean. And about CHMOD permissions, I think it is 600, even though it MIGHT vary. If that is set up correctly, it would show an error even when including (require_once) it with PHP, unless you make some kind of modification in the way PHP picks the file up. Again, just tell us what you mean by "elegant solution" BTW, a good "secure" way to do this, would be the following: $pageurl= "http://"; // https:// if secure server set$pageurl .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];if ($pageurl!= "http://URL.com/SCRIPT.php")die("This page is only to be seen from the main webpage located at X.com"); That's it.
-
If your friend is still having problems, suggest her to download malwarebytes' anti-malware (you can find a download link in google easily). It's a free and very useful anti-malware as the name says, it works really good. I don't have to use these too much lately, but I once needed it and it worked just fine. Careful with fake antivirus.
-
I think fairly everyone would choose the last one. But we all know there's no such thing as "Happiness" if you are having problem because of money. I believe that's isn't a selection from where you can pick up one of those.
-
If by "local disk" you mean the files on YOUR computer (not the server one) local disk, then I guess it's not possible with PHP, since PHP is a server-side scripting language. For doing that, I believe you should use some kind of java APP. Maybe PHP can be used, but getting the root directory and folders information, I guess you should use that other one I mentioned.
-
Will We Ever See The "future" Depicted In Movies?
Pankyy replied to The Simpleton's topic in General Discussion
Even though we might not imagine it, some movies can reflect what is going to happen in a few years from now on. Even if it really doesn't seem that technology is going to get as far as they're describing it, we couldn't have imagined in the past how the present actually is. That's one of the reason why I believe it's possible. Anyway, some movies go too far on imagination. -
Cristiano Ronaldo Worth ?80m? What you reckon?
Pankyy replied to dangerdan's topic in General Discussion
Actually, more than that, now that we know it, around E93m. They have wasted a HUGE amount of money in only one player. And I have to stop to think, that the team that I follow can't be able to waste more than E100.000/4 (currency) for a single player.I think it's an amazing amount, and even if he's a good player, not worth it. Definitely not. -
Login System creating a login system
Pankyy replied to mhlavida3's topic in Websites and Web Designing
There are several topics regarding the creation of a login system. You should use the search function from the forum to get one of those. Anyway, you should also specify what you do expect to use to create this (PHP with MYSQL, ASP, etc.). My advice would be to first determine that, and then, ask again if you have any doubts. -
My guess is that you were infected with that, right? If you did, I would recommend for you to download the following program: https://de.malwarebytes.com/mwb-download/ . After you download it, install it, wait until it finishes, and then update. Then make a quick run to see if anything is wrong. If you still have the virus, I would recommend that you run the complex one. If you still have the virus, and you have XP, maybe I can help you a little more if this hasn't worked out.
-
I don't understand,... is there a problem with the login code or you want to make something for the users once they login?
-
MKV is just a container for files, such it is that many times you'll get a video file (included music) with subtitles, etc. I have a software I once used to get the files that it contained. The name is MKV Toolnix, and you can get it here. I expect that once you download it, you'll understand yourself how to make it work. It's pretty easy, and even though I don't have any set-up instructions if you can't do it just ask.
-
You can either choose to believe or not believe, but I think the result would be the same. From my point of view, even if a ghost/spirit or whatever you want to call them, isn't bound to appear or to answer to your request, you shouldn't joke around with these kinds of things. If you want to have fun, there are many ways to have fun. And I'm saying this being not too skeptical about it. There is no real need in trying it if you really don't need it.
-
It's hard to create a full tutorial for these kind of things since most of the forums (if not all) are from different pre-made kinds. I honestly never used IPB boards so I can't tell how to make it so accurated. When I said it was 'easy', it was the implementation. I don't think that, at least, doing what I have said down before is really hard. If you do that, and from time to time make some 'security addons' for the script, it will work smooth. I think that it's hard to do when you don't know or understand the actual boards, because the implementation will be harder that way. Please don't get wrong what I meant when I said it was 'easy'; that was for a start. If you have some knowledge in PHP and MYSQL I can give the tips you would need to do it.
-
I can give a quick sight to see if your computer has something strange. Download HijackThis from (http://www.majorgeeks.com/files/details/hijackthis.html), install it, if you don't see any shortcut go to c:/program files/hijackthis (or wherever you installed it), and run the program, click Do a system scan and save a log, and come back and put the logs within code tags, and I will see if you have something strange.
-
Well, it's very easy in fact. You create a new row in the posts table that is called 'Credited' with default 0 value. You create a script that will check the length of the posts messages that have 'Credited' 0 and then credit the user the cents, and then change the Credited row of the post to 1. Use Cronjobs to run this script from time to time.
-
If you're still having this kind of problem, I can try to help you trying to remove the virus (it's the most possible thing that is affecting your computer). I think I got in a little late, so tell me if you're still having this.
-
Droops, it would be better if you created a new thread, but anyway, going to your problem; The #9 line in the script login.php would be good to find the problem also.
-
I treat minor adwares with antivirus, and make an ocassional test if something is going wrong because of spyware (well, the program).I have learned, though, through experience, how to deal with viruses 1vs1 if you could call it like that; I got infected, and learnt with the use of a few light programs how to take them out. So I never had any problem viruses. You just have to know how to take care of it, before your computer gets killed
-
The real deal to me is, in the Advanced Mode: * * * * * (Set to which hour, etc, date) : curl http://lyrics.url.com/ Try if that works for you, it works for me.
-
It looks very good, I like the icons and tabs design, they look very lively. But I think you use up too much the same variation from light white to blue. The search bar could go a little more down and it would look more in place. It generally looks good. But you would have a hard time making a forum for that template, don't you?
-
I honestly feel that once you die you reborn once again, forgetting all you experienced in this life, your attitude, your problems and your skills. It would be as a new life, we wouldn't even be ourselves anymore. What lead me to think this, after too much time from thinking, that the fact that we were born in this century isn't a coincidence. We could have lived as well in other times, but our memories have been erased. Something like that, noone knows for sure and that's what makes it even more interesting. But the feeling you get thinking what I have posted up there gives the creeps.
-
Why Does My Website Say 403 Forbidden? [resolved] logic plan
Pankyy replied to gummybear's topic in Web Hosting Support
Are you sure you have an index page or the page you're directing to?