160 Posted Topics

Member Avatar for davy_yg

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 …

Member Avatar for Banderson
0
187
Member Avatar for NardCake

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 …

Member Avatar for NardCake
0
160
Member Avatar for Malymieczek

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.

Member Avatar for TomH.PG
0
316
Member Avatar for mmcdonald

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 …

Member Avatar for mmcdonald
0
509
Member Avatar for NardCake

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 …

Member Avatar for james.lu.75491856
0
215
Member Avatar for Priti_P

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; } }

Member Avatar for Priti_P
0
351
Member Avatar for Reverend Jim
Member Avatar for NardCake

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> …

Member Avatar for NardCake
0
2K
Member Avatar for GrimJack

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. …

Member Avatar for Agilemind
0
375
Member Avatar for sinopa

[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!

Member Avatar for diafol
0
1K
Member Avatar for mgold

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.

Member Avatar for james.lu.75491856
0
454
Member Avatar for NardCake

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. …

Member Avatar for NardCake
0
177
Member Avatar for SureEM25

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.

Member Avatar for SureEM25
0
166
Member Avatar for NardCake

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(); …

Member Avatar for NardCake
0
385
Member Avatar for NardCake

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 …

Member Avatar for Zagga
0
217
Member Avatar for Stuugie
Member Avatar for Lucaci Andrew

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!

Member Avatar for ndeniche
0
473
Member Avatar for BigPaw

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.

Member Avatar for NardCake
0
108
Member Avatar for NardCake

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 …

Member Avatar for diafol
0
241
Member Avatar for NardCake

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 …

Member Avatar for NardCake
0
162
Member Avatar for NardCake

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 …

Member Avatar for NardCake
0
138
Member Avatar for sushants

He (she) said command line so I would assume he's talking about Windows...

Member Avatar for NardCake
0
188
Member Avatar for taylorzenith

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 …

Member Avatar for cunicjelly
0
375
Member Avatar for PF2G

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 …

Member Avatar for NardCake
0
451
Member Avatar for James singizi
Member Avatar for takeover4444
Member Avatar for chennaipackers

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()`.

Member Avatar for IIM
0
209
Member Avatar for game06

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).

Member Avatar for James singizi
0
663
Member Avatar for MasterHacker110

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.

Member Avatar for IIM
0
137
Member Avatar for Xantipius

Yes that's the first and famed one, I honestly think some Americans dont even know we went back. They aren't really discussed.

Member Avatar for NardCake
-1
77
Member Avatar for NardCake

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 …

Member Avatar for pritaeas
0
222
Member Avatar for NardCake

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 …

Member Avatar for jwenting
0
466
Member Avatar for <M/>

Definitely sup or wassup I replace those words with soup as it sounds better and less generic.

Member Avatar for <M/>
0
476
Member Avatar for <M/>
Member Avatar for vinnitro
0
248
Member Avatar for imBaCodes
Member Avatar for vinnitro
1
201
Member Avatar for NardCake

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? …

Member Avatar for deceptikon
0
565
Member Avatar for unikorndesigns

I'm just curious why Facebook being hacked makes you not trust PHP? I'm prettty sure Facebook uses compiled C++ CGI.

Member Avatar for deceptikon
0
246
Member Avatar for imaditigarg

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, …

Member Avatar for Webville312
0
173
Member Avatar for Dani

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).

Member Avatar for Dani
0
96
Member Avatar for TonyG_cyprus

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.

Member Avatar for Reverend Jim
0
286
Member Avatar for nstrazimiri

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).

Member Avatar for NardCake
0
160
Member Avatar for london-G

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.

Member Avatar for london-G
0
363
Member Avatar for asifalizaman

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 …

Member Avatar for diafol
2
293
Member Avatar for hanan-kh
Member Avatar for hanan-kh
0
127
Member Avatar for NardCake

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 …

Member Avatar for EvolutionFallen
0
274
Member Avatar for kasi123

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.

Member Avatar for Pygame-pi
0
626
Member Avatar for ebam
Re: HTML

You can use this http://tools.dynamicdrive.com/favicon/ to create an ico from almost any image file.

Member Avatar for austinluthers
0
143
Member Avatar for Dani

Are you talking about the lightbox effect when you hover over adds? That works fine for me in firefox.

Member Avatar for Troy III
0
427
Member Avatar for <M/>
Re: Pain

I was abruptly awoken in a hotel room, kicked a table and broke my little toe. Pretty amazing right? xD

Member Avatar for GrimJack
0
308
Member Avatar for davy_yg

**pixelsoul** is correct. You could also do these things I beleive if(!empty($_SESSION['username'])) { } //or if(($_SESSION['username']) != null) { }

Member Avatar for davy_yg
0
192

The End.