- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Just an average amateur coder.
- Interests
- Astronomy Tennis Coding
- PC Specs
- Core i7 2500k, AMD HD 6950, 8GB RAM
15 Posted Topics
Hi everyone, I'm trying to make a little applet that reads text files. I was planning to load some data into a class and use it later. However, I seem to having a few problems with it. // DataSet.java package com.someone.something; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class DataSet … | |
I've been away from web coding for some time but I feel like coding PHP again. I was phpDesigner a lot and I got use to it. Its features are great but the trial ran out. Can anyone recommend a free PHP IDE that has all or most of the … | |
Hello fellow developers, Let me just start by saying I have had an abnormal start to developing. I started first with HTML > PHP > Java. I don't have much experience with Java but I feel quite confident in making PHP applications. I have already searched the forums but nobody … | |
Hi, I was wondering whether it is possible to use a parent class' properties without calling its constructor. In the following example: [CODE]<?php class Shop { public $location; public function __construct($location = ''){ if(!empty($location)){ $this->location = $location; } else { $this->location = 'a place far far away'; } $this->location .= … | |
Hi everyone. I've run into another problem :( I have 3 JS files I want to include in my page. The first one is defined statically in the html file. The other two are loaded into the DOM using the following function: [CODE] function loadJsFile(pathToFile){ var headID = document.getElementsByTagName("head")[0]; var … | |
Hi, I have pretty just started javascript and I have to say it is the hardest language to learn probably due to the lack of official documentation or something like that. If someone can point me in the right direction for documentation, that'll be great. On the other hand, php … | |
Re: Why would you use echo? That is PHP If it is a php script, I'd do [CODE=php] //...Bunch of php code ?> <!-- .... All that HTML here --> <?php [/CODE] I wouldn't go into the trouble of echoing all that. EDIT: Oh wait I see. You really should do … | |
Re: I do all my PHP scripting in phpDesigner. It's features are priceless to me. Well... kinda | |
Hello, Is there a way to create functions dynamically in PHP as such: [code=php] <?php $my_arr_conf = array( 'my_var' => 'This is my variable', 'your_var' => 'This is your variable' ); // Some code here where I can create the function // Maybe somehow with create_function(); ? // I was … | |
Hey thanks for reading this. Say I have 3 classes and I want to combine those class into a core. Example [code=php] <?php class One { public function get_me(){ echo 'Hello from class One. '; } } class Two { public function call_me(){ echo 'Hello from class Two. '; } … | |
Re: You really shouldn't use $_REQUEST; 1. You don't know if it comes from $_GET or $_POST when you really only want it from $_POST. Mostly to do with security. 2. Depending on the server settings, PHP may register one over the other so may be using a parameter that the … | |
Re: Here's a simple test. Go into a cemetery on the night of Halloween. Stay there for one hour. If you don't see something moving there, that means ghosts don't exists. If you do, chase after it. :) | |
This may sound a bit newby but I was wondering if you can use methods and properties from a child object [code=php] class Father{ function Father(){ // echo the child's $message } } class Son extends Father{ $public $message = 'We're in the same family!'; } [/code] If you know … | |
I was reading how having globals inside a method was not good. Something like this. [code=php] class one{ function one(){ return "Returned one"; } } $ones = new one; class two{ public $one; function two(){ $this->tree(); } function tree(){ global $ones; echo $ones->one(); } } $callme = new two; [/code] … | |
Heya everyone. You can call me iThaos. :D I'm currently in high school and in my spare time I usually, do some php scripting. I'm planning on learning C++/C# after I am at an intermediate level in PHP. It's nice to be here :D |
The End.