Showing results 1 to 20 of 20
Search took 0.01 seconds.
Posts Made By: phouse512
Forum: PHP Jul 23rd, 2008
Replies: 14
Views: 449
Posted By phouse512
Re: Another Problem

Ok, now maybe I will just have to open files the way you did. Can you explain how this part of the code works?


<?php

$file="testFile.txt";

$fp = fopen($file, "a+");

?>
Forum: PHP Jul 23rd, 2008
Replies: 14
Views: 449
Posted By phouse512
Re: Another Problem

Alright, I think it just worked, I changed the name of the text file, ran the php file again, and there was another text file named testFile.txt. The script outputted: file opened The file is empty
Forum: C++ Jul 23rd, 2008
Replies: 12
Views: 729
Posted By phouse512
Re: making a simple c++ game

I'm not a C++ type person, but at line 44 where you start the if statement, there are no brackets starting and ending that. Also, I think you need brackets for the else statements too. I don't know...
Forum: PHP Jul 23rd, 2008
Replies: 14
Views: 449
Posted By phouse512
Re: Another Problem

Do you mean change the text file name to something different?
Forum: PHP Jul 23rd, 2008
Replies: 14
Views: 449
Posted By phouse512
Re: Another Problem

It worked, and inside the text file I put in the words Hi, and this is what was outputted:

file opened Hi

So opening files work if it's already there, but I can't create new ones for some reason
Forum: C++ Jul 23rd, 2008
Replies: 11
Views: 541
Posted By phouse512
Re: Visual C++ and C++?

Ok, that's all I needed to know, and I've started using Code::Blocks, it's pretty good
Forum: Game Development Jul 22nd, 2008
Replies: 2
Views: 498
Posted By phouse512
Re: C++ game error!!!

What is the error?
Forum: IT Professionals' Lounge Jul 22nd, 2008
Replies: 5
Views: 796
Posted By phouse512
Re: I am creating a recruiting site!.... Plz help

Hmmm...Sounds really complex. But first, do you have any work that at least has the basic skeleton of your site?
Forum: PHP Jul 22nd, 2008
Replies: 14
Views: 449
Posted By phouse512
Re: Another Problem

Would you want to see the actual phpinfo file?
Forum: PHP Jul 22nd, 2008
Replies: 14
Views: 449
Posted By phouse512
Re: Another Problem

Do you mean this?

Directive Local Value Master Value
allow_url_fopen On On

Or this one:

disable_functions no value no...
Forum: IT Professionals' Lounge Jul 22nd, 2008
Replies: 6
Views: 472
Posted By phouse512
Re: Help

What kind of file is the one that you want them to see?
Forum: PHP Jul 22nd, 2008
Replies: 14
Views: 449
Posted By phouse512
Re: Another Problem

Alright, your idea (buddylee) worked, by telling me that the file did not open, but how can I get the file to open? This is the big problem that I have been having.
Forum: PHP Jul 22nd, 2008
Replies: 14
Views: 449
Posted By phouse512
Another Problem

I can't seem to get the fopen thing to work, or otherwise, I'm just stupid if it is but I don't know it.

Here is the code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0...
Forum: C++ Jul 22nd, 2008
Replies: 11
Views: 541
Posted By phouse512
Re: Visual C++ and C++?

Alright, just one last thing (even though this should be solved), the coding used in code::blocks is the same as in Visual Studio Express?
Forum: C++ Jul 22nd, 2008
Replies: 11
Views: 541
Posted By phouse512
Re: Visual C++ and C++?

Alright, thank you guys for your help.
Forum: C++ Jul 22nd, 2008
Replies: 11
Views: 541
Posted By phouse512
Re: Visual C++ and C++?

Thanks, also, which one would you recommend learning?
Forum: C++ Jul 22nd, 2008
Replies: 11
Views: 541
Posted By phouse512
Visual C++ and C++?

Hello,

I've been wanting to learn C++ but I don't know the difference between Visual C++ and C++, is there really even a difference? Also, what would be the best compiler for me to start off with if...
Forum: PHP Jul 21st, 2008
Replies: 4
Views: 257
Posted By phouse512
Re: Help with FOpen

Ok, sorry for the double post, but I think I got it right. Here is the code to open, write, and close a new file I have:


<?php

$newfile = fopen("http://mydomain.org/php/Practice/mydata.txt",...
Forum: PHP Jul 21st, 2008
Replies: 4
Views: 257
Posted By phouse512
Re: Help with FOpen

Just making sure though, is this what I would do if I didn't have a file named text.txt, and I wanted to create one? And is this what I would use for the...
Forum: PHP Jul 20th, 2008
Replies: 4
Views: 257
Posted By phouse512
Help with FOpen

Hello, I am new here, and hope to learn and contribute a lot. Recently, I started learning PHP (about 2 weeks), and now I am coming to the fopen() function. Say that I wanted to create a new file for...
Showing results 1 to 20 of 20

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 4:26 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC