Stefano Mtangoo 455 Senior Poster

@evstevemd: Actually its not WAMP. It's called WAMPServer and XAMPP is a WAMP cum LAMP
And I think he might have same problem in WAMPServer too because the port must be occupied or if not then its just the XAMPP config. Well, Windows has an inbuilt WAMP called IIS.

Thanks for correction. Sometimes I tend to use terms loosely :)
IIS IMO is commercial, am I wrong?

Stefano Mtangoo 455 Senior Poster

I don't know how to get a screenshot. The message on the screen says:

internet o.k., power o.k., not enough space on my hard drive.

victor1244

It seems hard disk is full. Can you tell us how your disk is partitioned?

Stefano Mtangoo 455 Senior Poster

siva - you'll be glad to know that you've won today's prize for:
"Making the least sense on a forum"

We have many prizes from which you can choose. Just send your email address, along email with password and any credit card details to my PM.

;)

Stefano Mtangoo 455 Senior Poster

I will give a PM once I got somewhere...and no it is not C it is her offspring, C++!

Stefano Mtangoo 455 Senior Poster

ev - will the IDE be online or os-based? If os, I assume it will be written in some flavour of c?

Will it/can it be better that Bluefish or the others. If not, don't waste your time.

Give me a shout when you start.

Desktop based. Many IDE out there are generic and good ones are windows only, thanks to M$ monopolism. I'm on Linux and no non Java PHP IDE is available. After making up IDE with gEdit and plugins I thought it would be wonderful to roll one that will run on Windows Mac and Linux. Also PHP integration like remote FTP, GIT, Web preview and other *PHP specific* stuffs (did I mentio XDebug) without resorting to resource hungry like Eclipse/NB. So what is missing is really IDE for PHP that is cross platform. Database integration is nice!

I have already tested all the basics to get me started with the editor which is a core of the whole app, but when will pre alpha be, I'm not sure :)

Stefano Mtangoo 455 Senior Poster
I will sell it but not as DW and will release the free community version.

Don't be a sap ev, fleece those good-for-nothing wannabe programmers who expect everything to be for free. Sod 'em. Freebooting, freeware script downloading jockeys should be made to pay for their behaviour. Charge them a mint. Bloomin' parasites...

While you're at it, put me out of my misery. Will your community version be bait or will it be great?

I will charge for my time and may be to pay few dev who will join me. I plan community version to be some sort of working but with no advanced features. I mean it will be good enough to replace amny heavy IDEs but missiong some features and limited to non commercials. It will be actually good enough to do it. I have not planned what will and will not be included since I'm still putting things together.

What I can say is, there are few PHP IDE because it is pain even to make small editor, let alone tons of features needed. But Once I get time (I have three or four projects to wor on) I will start working on it. Sooner or later ;)

Stefano Mtangoo 455 Senior Poster

DW is really expensive but even if I was that rich I could not buy it. I better use NB or Aptana (No, not PDT) or buy any other IDE that is not DW-ish. After roaming here and there I have settled with gEdit and some few plugins. It is lightweight. I have started to roll my sleeves and coding my own editor then IDE. I will sell it but not as DW and will release the free community version.
That will happen if my plan to take over DW will not get thwarted with time that seems to be against me all the time ;)

Stefano Mtangoo 455 Senior Poster
Stefano Mtangoo 455 Senior Poster

I am using cd's that I downloaded from the Ubuntu website. I can't understand that either. victor1244

can you present exact message and screenshot?

Stefano Mtangoo 455 Senior Poster

Dw is an ide. Use both if you like

OP always posts useless questions! May be s/he is a kid!

Stefano Mtangoo 455 Senior Poster

mh, are you sure strTemp is not supposed to be $strTemp?

Stefano Mtangoo 455 Senior Poster

Thanks, I had been looking and looking and totaly missed that.

Are we solved yet?

diafol commented: 2 posts - you'll be lucky! :) +14
Stefano Mtangoo 455 Senior Poster

what error does it give? Is can you echo your SQL string instead of doing mysql_query

Stefano Mtangoo 455 Senior Poster

what is your current code?

Stefano Mtangoo 455 Senior Poster

Yes. This array appears:

Array ( [link] => www.banner.com [id] => [simpan] => Simpan )

and the data inputed are not saved yet.

can you post your current code? I cannot understand what you mean by "not saved"

Stefano Mtangoo 455 Senior Poster

have stopped working is vague. Please be specific

Stefano Mtangoo 455 Senior Poster

Are you sure

strTemp = strTemp.replace(/\<|\>|\|\|\%|\;|\(|\)|\&|\+|\-/g,"");

is not supposed to be

strTemp = strTemp.replace("/\<|\>|\|\|\%|\;|\(|\)|\&|\+|\-/g","");
Stefano Mtangoo 455 Senior Poster

you mean like this:

$gambar = isset($_FILES['gambar']) ? $_FILES['gambar'] : '';

Yes, have you tried that?

Stefano Mtangoo 455 Senior Poster

Thank. The ownerdecided would go that way, start with F key pressed. I adviced to go that way since there is no fix and it does not hurt anyway!

Stefano Mtangoo 455 Senior Poster

Add semicolon after include

include 'connect.php';

Yep, that is it! Since PHP interprets semicolon as fullstop then line it will interpret as one line, so you are illegally trying to concatenate string and variable without a dot:

include 'connect.php' $id = $_GET['id'];
Stefano Mtangoo 455 Senior Poster

i have been trying to install mysql and i get an error when i type the ./configure command.

Make Ubuntu Docs your first stop (RTM).
Now from Docs you need to do:

sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server
Stefano Mtangoo 455 Senior Poster

There is no problem in settings. I have noticed that only one address(id) can not see my vidio.But the others can see? But the ID (my father) who can not watch my vidio, he also have web camera and I can see him. Then where is the problem?

go and check configurations (reinstall?) of his Messenger!

Stefano Mtangoo 455 Senior Poster

Echo and echo are different beasts!
One is PHP function another is ??????

Stefano Mtangoo 455 Senior Poster

I have to do most of my project in jsp since the teacher that coordinates my project teaches jsp at my university but he said that i can also use php to make some smaller projects and atach them to the main one. And php is faster to work with for this purpose. I am looking for guidance and/or answers from someone who has done server configs before and is familiar with apache worker procese.

No Don't do that. You will make it more complex. Just do all things in either JSP and Servlets or PHP. Don't mix the two beasts

Stefano Mtangoo 455 Senior Poster

What does it mean?
In my Laptop there is windows live msn and skyp also. But I only use Yahoo.msn.

Does skype work with videos?
if yes check this entry

Stefano Mtangoo 455 Senior Poster

if it is python don't do configure stuffs. Just cd to dir and do
sudo python setup.py install

Stefano Mtangoo 455 Senior Poster

change directory to source code folder
cd /home/dinhunzvi/Downloads/theFolder
./configure && make && sudo make install

It depends on what you are installing. If it needs headers/libraries and the language it is coded in

Stefano Mtangoo 455 Senior Poster

as for tool MySQL workbench is better than PHPMyAdmin

Stefano Mtangoo 455 Senior Poster

Thats farrrr to complicated for me! I didnt understand one thing you said!! I'm a complete beginner at programming!!!

start with this

Stefano Mtangoo 455 Senior Poster
<?php

$form = <<<EOT
<form action={$_SERVER["PHP_SELF"]} method="post" enctype="multipart/form-data">
    <label for="username">Username:</label>
    <input type="text" name="username" />
    <br /><br />
    <label for="password">Password:</label>
    <input type="password" name="password" />
    <br />
    <input type="submit" name="submit" value="Submit" />
</form>

EOT;

if(isset($_POST['submit'])){
//do stuffs
print_r($_POST);

}else{
 echo $form;
}
Stefano Mtangoo 455 Senior Poster

For example, 12123 will get transformed to 1223 instead of 123, 12342169 will get transformed to 1234169.. it wil replace 2 with 1 and jump to 6 to check if its greater than 1, but it wont check if 1 is greater than 4. if you know what I mean.

you mean sorting?

Stefano Mtangoo 455 Senior Poster
# include <cstdlib>

int main(){
system("gedit /home/name/Downloads/filename.html");
return 0;

}
Stefano Mtangoo 455 Senior Poster

Use while loop to ask variables and the condition should be limited to max value

var = getUserMaxValue;
anotherVar = 0;
while(anotherVar<var){
askUserToInputSomething;
StoreInArrayOrVector;
}
sortTheVector;
printValues;

Just a hint:
http://www.cplusplus.com/reference/stl/vector/push_back/
http://www.cplusplus.com/reference/algorithm/sort/

Stefano Mtangoo 455 Senior Poster

I'm not sure I got your question. How do you know right element to remove (bad ones)?

Stefano Mtangoo 455 Senior Poster

fix? Nope!
Work on them and bring specific point for help. We don't do homework for you!

Stefano Mtangoo 455 Senior Poster

Well the thing with web browsers is you use what works for you. The reason is if I were to use firefox, it will crash within the first hour due to having so many tabs open. However in opera and chrome, there are multi-threading capabilities that combat this bug which firefox and many other browsers do not possess. However by using lots of tabs in Opera and chrome I am limited to what features I can use and how easy it is for features to be implemented. But that is why I chose chrome and Opera as my primary browsers as they are the only ones that do not crash on me after an hour of intensive work and they get the job done. So really its like the following formula.

<?php
$your_needs=20; //percent
$browser_efficiency=100; //percent;
echo (4-floor(4/(($your_needs/$browser_efficiency)*5)));
YOUR RESULT TO WHICH BROWSER
0 = chrome
1 = opera
2 = internet explorer
3 = safari
4 = firefox

So following that script is an example of how you can find the right browser for the right person. :)

IE is out of equation for me ;)

Stefano Mtangoo 455 Senior Poster

Yes , I have webcam in my Laptop. Then what is the problem?

is MSN or others working? try other Clients and see if it works. check also if you can use your webcam with any other app

Stefano Mtangoo 455 Senior Poster

My problem is getting php to work on tomcat not sql. Sql works just fine.

Why would you want to do that?

Stefano Mtangoo 455 Senior Poster

Sorry for misleading. I was not careful enough to tell you that file tags goes to $_FILES array not $_POST!
So catch it there not in $_POST

Stefano Mtangoo 455 Senior Poster

thanks my friend but unfortunately i couldn't assemble that code in my page !
i liked that style, so how can i edit my codes to reach that style ??
could yo help me with this problem ??

follow the tutorial and forget your code for a while. Once you finish the tut. and know how things works, you can accomodate changes and additions to fit your needs. That is the way we learn :)

Stefano Mtangoo 455 Senior Poster

I find it better to use the in built mail function because it uses the local mail server rather than a third party mail server. Also using the mail function can speed things up if you have configured the mail function correctly in the php.ini file along with an active mail server on the local server. :)

I agree with you but for newbees, dealing with mime is not funny :)

cwarn23 commented: agreed :) +12
Stefano Mtangoo 455 Senior Poster

Tomcat works with MySQL without Apache. Apache and Tomcats are servers doing similar joby utilizing different technology.
So Install Tomcat and then install MySQL server and use JDBC to connect to MySQL

Stefano Mtangoo 455 Senior Poster

I love firefox because I'm used to. It have never failed me that much so why shift anyway? BTW I have Opera, Chrome, FF for testing web apps

Stefano Mtangoo 455 Senior Poster

do you have webcam in your computer?

Stefano Mtangoo 455 Senior Poster

leave out the port number if you have not messed up with MySQL installation

Stefano Mtangoo 455 Senior Poster

when messing up with mime it is better to use third party packages that will save you pain like PHPMailer or swiftmailer

Stefano Mtangoo 455 Senior Poster

make use of print_r each time you get that error and be sure that the mentioned index is part of array!

Stefano Mtangoo 455 Senior Poster

Yes but name is uploaded_file not gambar!
change

<td><input type="file" name="uploaded_file"/></td>

to

<td><input type="file" name="gambar"/></td>
Stefano Mtangoo 455 Senior Poster

have a look at this tutorial

Stefano Mtangoo 455 Senior Poster

Good one. Are we solved yet? Are we solved yet?

:D