Search Results

Showing results 1 to 40 of 95
Search took 0.01 seconds.
Search: Posts Made By: jakesee
Forum: *nix Software 7 Days Ago
Replies: 1
Views: 185
Posted By jakesee
Hi,

I am trying to set up a redirect 301 and have tried several methods which appears to be all wrong. Can anyone advice exactly how redirect 301 works?


redirect 301 http://newdomain.com/
...
Forum: Legacy and Other Languages 11 Days Ago
Replies: 3
Views: 523
Posted By jakesee
Thanks DavidB,

Although this is actually long overdue and I had gotted my way around finally by writing some matlab code myself...

But I have to say that your reply is probably the most helpful...
Forum: Legacy and Other Languages 27 Days Ago
Replies: 3
Views: 523
Posted By jakesee
Hi matlab experts,

I didn't think daniweb has a matlab forum so I went over to another math forum to ask for matlab help. but i think it's either I am too stupid for the mathematicians or they are...
Forum: C++ Oct 9th, 2009
Replies: 1
Views: 275
Posted By jakesee
hi,

just want to ask, is it possible to restrict friend acess to a single class member function only?

in other words, if class A grant class B friend access to class A member function, then...
Forum: C++ Oct 6th, 2009
Replies: 0
Views: 354
Posted By jakesee
Hi,

I am trying to implement a Data Manager class (singleton) that initializes data, keep track of memory usage and acts as a data pool for other classes to share the data.

My problem lies with...
Forum: C++ Oct 5th, 2009
Replies: 3
Views: 249
Posted By jakesee
Thanks a bunch. I failed to see it that way initiall because when data1 and data2 are global variables, they retain the memory location after coming out from LoadData().
Forum: C++ Oct 5th, 2009
Replies: 3
Views: 249
Posted By jakesee
Hi,

I have the following functions

void LoadData(char* file, float* data1, float* data2)
{
// read data size and contents from file
data1 = new float[dataSize1];
data2 =...
Forum: C++ Sep 24th, 2009
Replies: 2
Views: 222
Posted By jakesee
Hi all,

How about this?

In this example, what is the correct way to initialise Secret mission?

class Secret
{
private:
int data;
Forum: C++ Sep 24th, 2009
Replies: 3
Views: 217
Posted By jakesee
Thanks! That's very clear and concise.
Forum: C++ Sep 24th, 2009
Replies: 3
Views: 217
Posted By jakesee
Hi all,

Maybe you can help me with this...

in the code

float dot(const Vec3& v) const { return (x * v.x) + (y * v.y) + (z * v.z);}

What is the purpose of the keyword const? Why in the...
Forum: Networking Hardware Configuration Sep 7th, 2009
Replies: 2
Views: 521
Posted By jakesee
Just exploring possibilities. One use could be that when visitors come to the office, I can let him connect through the host computer instead of directly to the office wireless network, so that there...
Forum: Networking Hardware Configuration Sep 4th, 2009
Replies: 2
Views: 521
Posted By jakesee
Hi all,

Hope you can help. Thanks.

I want to set up a network where:
1. a single host computer gets wireless internet connection from a office wireless access point.
2. the host computer...
Forum: Graphics and Multimedia Jul 13th, 2009
Replies: 3
Views: 487
Posted By jakesee
Go look at some cool flash sites and try to replicate it. If you are not already a flash professional, I am sure you will start to learn new classes to get the job done.

Sometimes, you will...
Forum: Graphics and Multimedia Jul 13th, 2009
Replies: 4
Views: 2,554
Posted By jakesee
Hello Jas,

You sound as if you are obliged to make frequent replies to the forum. Are you moderator or something? Of course, I think it will be alright if you did not reply, but thanks anyway!

...
Forum: PHP Jul 8th, 2009
Replies: 3
Views: 313
Posted By jakesee
What do you mean by properly and what is it showing now?

you will need to use the date() function and its formatting string.

http://sg.php.net/manual/en/function.date.php
Forum: Graphics and Multimedia Jul 8th, 2009
Replies: 1
Views: 338
Posted By jakesee
Assuming it is in AS3, basically, addEventListener to each of the buttons and listen for MouseEvent.MOUSE_OVER.

then use the handler to set a global flag to indicate that button has been rolled...
Forum: Graphics and Multimedia Jul 8th, 2009
Replies: 4
Views: 2,554
Posted By jakesee
Hi,

I need some help on how to use the define a tab loop and making it work correctly in Flash AS3 CS4 FP9. Greatly appreciate any hinting or clue on how to solve this mind bogging issue. Thanks!!...
Forum: XML, XSLT and XPATH Jun 28th, 2009
Replies: 4
Views: 1,218
Posted By jakesee
Ok, I know what is wrong now,

The reason is because XML defaults to UTF-8 encoding when the encoding is not specified. This requires that the original xml file be written and saved as UTF-8...
Forum: XML, XSLT and XPATH Jun 28th, 2009
Replies: 4
Views: 1,218
Posted By jakesee
Hi,

I have an xml document with the following line:

<title><![CDATA[HOME & DÉCOR]]></title>

this xml document fails in IE7 and IE8 reporting invalid charcter at the E acute. However, FF3 is...
Forum: Linux Servers and Apache May 27th, 2009
Replies: 0
Views: 908
Posted By jakesee
Hi,

Seen many tutorials teaching how to make 404 redirect to an existing page or do a custom 404 page.

How can I do the converse i.e. any file access in the root directory will return a 404?
...
Forum: PHP May 9th, 2009
Replies: 2
Views: 464
Posted By jakesee
Forum: PHP May 9th, 2009
Replies: 2
Views: 464
Posted By jakesee
Hi,

I have tried to find out on this, but I cannot be sure.

Anyone knows for certain fopen and file_get_contents (or any similar functions) will generate an entry in the target domain's website...
Forum: PHP May 7th, 2009
Replies: 4
Views: 384
Posted By jakesee
Like I said, everytime the update takes place, the permission resets. So it doesn't work out. =(
Forum: PHP May 6th, 2009
Replies: 4
Views: 384
Posted By jakesee
I do not know how to set it programmatically.

Setting it via FTP is useless because each update rewrites the permission.

by "update" I mean running file_put_contents() on the file using the web...
Forum: PHP May 5th, 2009
Replies: 4
Views: 384
Posted By jakesee
Hi,

I am setting up a cron using php.

I have a file which I want to update by doing file_put_contents() on it via cron and via web browser (manual).

everything via web brower works fine, but...
Forum: PHP Apr 30th, 2009
Replies: 0
Views: 265
Posted By jakesee
In a data/view architecture or template engine, should HTML forms be part of view or data?

I tried several methods to separate HTML form design and form names (variables) but seem like a chicken...
Forum: PHP Apr 30th, 2009
Replies: 13
Views: 1,185
Posted By jakesee
Oh.... so that works... ok, i learnt something new today. thanks!

but for me to use that will mean breaking up old code and base classes... =(

I think I can proceed from here now. thanks alot...
Forum: PHP Apr 30th, 2009
Replies: 13
Views: 1,185
Posted By jakesee
yah. not variables, it's vars. my typo error in the post.

no errors but not doing what I want. I have read the magic methods and all seems like none of them do what i want. so far, var_dump,...
Forum: PHP Apr 30th, 2009
Replies: 13
Views: 1,185
Posted By jakesee
finally! I actually given up on this thread because I thought no one would come inside a thread so many replies.

thanks for the insight ShawnCPlus. Unfortunately, that function doesn't do what I...
Forum: PHP Apr 30th, 2009
Replies: 13
Views: 1,185
Posted By jakesee
I do not want to argue with you, but in case you think I am sneaking around, I would like to inform you that I have to give you a negative reputation now because you are not answering the question.
...
Forum: PHP Apr 30th, 2009
Replies: 13
Views: 1,185
Posted By jakesee
Wikipedia is not a bible and standards change. I would appreciate if you can answer the question. If you do no know, its ok. thanks for the input.
Forum: PHP Apr 30th, 2009
Replies: 13
Views: 1,185
Posted By jakesee
That's not necessarily the case.


public function AddVar($name, $val)
{
$this->$name = $val;
}


So do you know how to get the list of variables? Please?
Forum: PHP Apr 30th, 2009
Replies: 13
Views: 1,185
Posted By jakesee
Hi,

Without first knowng what public class variables the class has, how can i display a list of all the variables in that class along with the values?

print_r(new MyClass());

will display...
Forum: Graphics and Multimedia Apr 27th, 2009
Replies: 2
Views: 1,317
Posted By jakesee
Why is everyone using flashdevelop =(

but drawing in runtime can be very tedious at times. a simple SimpleButton takes so many other classes to create. So I wanted to use the IDE to draw stuff...
Forum: Graphics and Multimedia Apr 24th, 2009
Replies: 2
Views: 1,317
Posted By jakesee
Hi everyone,

Say I have a MovieClip that has nested MovieClips for example

person_mc
> body_mc
> toe_mc
> toe_nail_mc
> leg_mc
> hand_mc
Forum: PHP Apr 24th, 2009
Replies: 5
Views: 1,080
Posted By jakesee
or you can do a fopen HTTP POST from the email_order.php


$fp = fsockopen($host, 80);

// send headers
fputs($fp, "POST /cgi-bin/webscr HTTP/1.1\r\n");
fputs($fp, "Host:...
Forum: Graphics and Multimedia Apr 20th, 2009
Replies: 3
Views: 2,284
Posted By jakesee
That is very right i think. I struggled with it for sometime already, i realised this problem does not just happen to the stage instance (of Stage).

basically, the calling class must know the...
Forum: PHP Apr 20th, 2009
Replies: 4
Views: 389
Posted By jakesee
XML is a method of writing a document, not a template document that you just insert values and then dislay.

in this regard, you need to write your own XML.

MySQL is the database and SQL is the...
Forum: MySQL Apr 20th, 2009
Replies: 8
Views: 543
Posted By jakesee
you can use PHPMyAdmin to create the database tables if you do not know how to write your queries. Or you can use this super simple template for creating a table:

CREATE TABLE tablename (
`id`...
Forum: MySQL Apr 20th, 2009
Replies: 8
Views: 543
Posted By jakesee
ok... the flow should go like this:

1. the user visits register.php which shows a form with name-value pairs.

2. the user clicks submits and the name-value pairs will all get submitted to...
Showing results 1 to 40 of 95

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC