160 Posted Topics
Re: I've attempted creating my own PHP MVC type framework called [IceTray](https://github.com/apott/icetray). I haven't worked on it in ages but you can take a look at the source but some of my design and code descisions may be questionable but it works fine for me. And I do agree writing a … | |
Hello! I've been very interested in the V8 JavaScript engine recently, so I fetched the source and built it successfully, so far so good. I also successfully compiled the [Hello, World!](https://developers.google.com/v8/get_started) program Google provides. I've also read the [embedders](https://developers.google.com/v8/embed) guide. Other than that I can't find any documentation or examples … | |
Re: You need to tell your router to allow access to your computer through that port. This is called port forwarding, look it up and you will find some information, it's quite simple. | |
Re: Looking good so far, just a few things that need to be corrected. First, in the connect method where does that config array come from? In the disconnect method, where does the mysqli variable come from? In the userInfo method you call the disconnect method statically with the scope resolution … | |
Hello! I have recently discovered the D language and began using/learning it. After playing with it for a few days I have fallen in love with the language. How many of you have used it? Did you like it, hate it? If none of you have heard of the language … | |
Re: There is also a function called `scandir`, here's an example. $dir = scandir("directory"); /* Loop through each file */ foreach ($dir as $file) { /* Ignore these */ if ($file != '.' && $file != '..') { echo $file; } } | |
Hello! So I decided I wanted to try some CGI... and it's not working out well at the moment, any help would be greatly appreciated! So essentially in my 000-default virtual host config file I have this: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /home/apott/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> … | |
Re: I'm definitely worried about the state of my country (United States). I litterally am thinking about where to flee to because I and others know it's going down a really bad path. Government is to large, gun's are being jeopardized, and what I call equalization is coming on full force. … | |
Re: [The easy way](http://php.net/manual/en/function.file-get-contents.php). If you need specific data I'm not really sure the best way to do that... I have used [this](http://simplehtmldom.sourceforge.net/) for a project though, it's not bad and quite simple to use really if you need to fetch specific elements of a page. Good luck! ![]() | |
Re: 3D gaming in the future may be web based, with all of this 'WebGL' stuff coming out. (OpenGL written in Javascript basically) It's not very logical atm but eventually I think that could be a thing. | |
Hello! I have an old Macintosh computer, I don't know much about it. All I know is that it's operational, runs Mac OS 8.(something), and contains PowerPC architecture. I'm not sure how much it's worth since it's not that old, but I need to get it off of my hands. … | |
Re: I'm not very .htaccess litterate either just so you know. So is what you're trying to do just not working? Or is it giving an error? (usually a 500 error) The answer is dependent on that, several different things could be the problem. | |
Hello! So I currently have a class titled Appliciation which contains a method called start. <?php class Application { /* * Application class */ public function __construct($IceTray){ $this->IceTray = $IceTray; } /* Starts application */ public function start(){ /* Confiures error reporting */ $this->IceTray->Error->configure(); $Path = $IceTray->Path; include APPDIR.'/paths.php'; $Path->start(); … | |
Hi! So I was just informed of the EU cookie laws, the only thing I understand so far is that you should inform the user of use of cookies in their browser. I'm still very confused on who and when you need to follow this. I live in the United … ![]() | |
Re: It's a good idea but I think it obstructs the content a bit, potentially causing some old posts to go unnoticed. That's the only real negative thing about it, otherwise great addition! | |
Re: http://www.jpl.nasa.gov/news/news.php?release=2013-163 > On May 31, 2013, asteroid 1998 QE2 will sail serenely past Earth, getting no closer than about 3.6 million miles (5.8 million kilometers), or about 15 times the distance between Earth and the moon. That's all I know. | |
Hello! Currently I am working on a PHP project on my own that is slowly growing, before I really get it out there I want to begin working on some documentation. It's just that I'm unsure on how documentation is usually created, best practices on writing it, and how it … ![]() | |
I was bored today so I started this little experiment... So basically it's a Git repository on GitHub and I want to see what all can happen to it when starting from scratch. All you need to do to contribute is fork the project, do what you need to do … | |
Hello! I'm beginning work on something and Microsoft's Segoe UI font (which debuted with Windows 7) would be perfect for some UI elements. Would it be legal to take the font files from the Windows font directory and link them with css etc... (The project will eventually be open sourced … | |
Re: He (she) said command line so I would assume he's talking about Windows... | |
Re: Caching is saving the contents of a web page for quick retrieval at a specific time, usually so the same page doesn't have to be processed over and over again. Indexing just goes through a web page, fetches the imporotant information and stores it (like google?). Well at least that's … | |
Re: Maybe you could forward everything to a php file and have it parse the URL? RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.+)$ index.php?url=$1 [QSA,L] First line enables the rewrite engine, 2nd, 3rd, and 4th check to see what is entered is an existing file … | |
![]() | |
Re: Try changing the z-index property of the menu in css. | |
Re: I'm not quite sure what you mean... Do you want to fetch an SQL file and run the query that it contains? Just fetch the contents of the file end put the contents in the `mysqli_query()`. | |
Re: It's hard to remember but I started with Java and absolutely hated it (still do), never coded for a while, then eventually learned html, css then PHP, C#, C++ (kinda). ![]() | |
Re: I can recall the option to use HTML5 and Javascript to create Windows 8 Metro app if that's what you're looking for. Other than that I'm not quite sure. | |
Re: Yes that's the first and famed one, I honestly think some Americans dont even know we went back. They aren't really discussed. | |
Hello! I'm working on a mini framework and everything is going great, exvept this one part that I have gotten working but it brings more complications and it's extremely confusing to me. So I will summarize what is going on. Essentially I have a class (a controller, we'll call this … | |
Hello! I'm just curious on everyone's experienice with Windows 8! I first installed it on an old laptop when the Consumer previews were out, I really didn't like it then for many reasons but my thoughts have changed today. Today I installed the real thing on my main desktop computer … | |
Re: Definitely sup or wassup I replace those words with soup as it sounds better and less generic. | |
Re: I'm at my computer all day, living my life on the internet. | |
Re: At the moment, life. Also, being in the school band, for the short time I was. | |
Hello! Currently I am modifying a ton of php for someone and I have noticed habbit's that really annoy me. I just want to know what the reason behind these habbits may be. First, i've seen this alot placing a curly brace a line down. Also, whitespace in between parenthesis? … | |
Re: I'm just curious why Facebook being hacked makes you not trust PHP? I'm prettty sure Facebook uses compiled C++ CGI. | |
Re: There are a few things that need to be fixed here. First is that you aren't using the mysqli_* family, I wasn't using it for a while because I was new and didn't realise they existed but it's best to use them. They are a bit faster and more secure, … | |
Re: I agree 410 should be working, 409 is close but doesn't fit well. That's odd. I'm just reading [here](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html). | |
Re: I'm quite young as well, the first computer I can remember using though was my fathers, it ran Windows 98 or 2000 and had dial up. The dial up service we had was called "ToastNet", love the dial up noise. | |
Re: If you're just trying to read the whole file it would be much easier to use the `file_get_contents` function so like this: $file = file_get_contents('test.txt'); You can use a file path or url (depending on your server permissions). | |
Re: Are you using Eclipse? Or did you make the Jar in the compiler? I know in Eclipse there are options in the build wizard, be sure you select runnable jar file. | |
Re: I personally don't sugest you use an IDE like Netbeans or Dreamweaver, they sometimes can create junk code, and they style your code. I believe everyone should have there own style and understand everything they are writing. So I reccomend Notepad++ it's absolutely perfect. For a project, probably something with … ![]() | |
Re: Try rephrasing it? I'm having a rough time understanding what you are trying to do. | |
Hello! Currently I'm working on a project, and I would like to liven up the landing/homepage a bit. So I have rendered out a nice looking image in 4K resolution. Now I imagine setting that as a background image in css would make my website quite slow... I'm curious how … | |
Re: I think [this gif](https://plus.google.com/u/0/103014133129670343106/posts/K79hutAx9hd) will express what I think. In case it's not clear, I prefer Android. | |
Re: You can use this http://tools.dynamicdrive.com/favicon/ to create an ico from almost any image file. | |
Re: Are you talking about the lightbox effect when you hover over adds? That works fine for me in firefox. | |
Re: I was abruptly awoken in a hotel room, kicked a table and broke my little toe. Pretty amazing right? xD | |
Re: **pixelsoul** is correct. You could also do these things I beleive if(!empty($_SESSION['username'])) { } //or if(($_SESSION['username']) != null) { } |
The End.