Go Back   Gaming Gutter > Non-Gaming > Programming


Programming - All general programming discussion in here.

» Site Navigation
» Home
» FAQ
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement
» Recent Threads
Go to first new post Buying 4 month old...
Today 02:19 PM
by mika
Last post by xzNoobxz
Today 06:28 PM
7 Replies, 8 Views
Go to first new post Need a MM
Today 06:09 PM
Last post by Hatzganatta
Today 06:27 PM
2 Replies, 3 Views
Go to first new post I'm back.
Today 05:37 PM
Last post by LordGrievous
Today 06:22 PM
23 Replies, 24 Views
Go to first new post [S] - - - 21 Million...
Today 01:48 PM
Last post by Scorponiks
Today 06:16 PM
2 Replies, 3 Views
Go to first new post Redemption?
Today 05:57 PM
by Fly_Boy
Last post by Fly_Boy
Today 06:16 PM
6 Replies, 7 Views
Closed Thread
 
LinkBack Thread Tools Display Modes

 And what did I learn.
Old 06-02-2008, 06:59 PM   #1 (permalink)
bug14 bug14 is offline Gender Male
Banned
 
bug14 is offline
Join Date: Oct 2007
Location: bugmenot.com
Posts: 1,532
iTrader: 2 / 100%
bug14 Is a Lord of Awesomenessbug14 Is a Lord of Awesomenessbug14 Is a Lord of Awesomeness
Rep Power: 0
And what did I learn.

[php] I just spent four hours working on a code that I earlier made to store data inside of comment tags within the php itself file by accessing data and/or writing data with fopen. The comment was in the middle of the page so my strategy was fread the whole page, replace the current data inside the comments and update it by overwriting the whole page with new data fwriting. It was working, so I wrote about 40 more lines of code thinking it was all ok, till fwrite all of a sudden erased the whole page. I reloaded the file in the editor so it was all lost. Lesson learned: use a separate file and append, not rewrite. I'm too depressed to make it all again right now.

$my_heart = "broken";
 

 
Old 06-03-2008, 04:58 AM   #2 (permalink)
unlimitedorb unlimitedorb is offline
Full Member
 
unlimitedorb is offline
Join Date: Feb 2008
Posts: 25
iTrader: 0 / 0%
unlimitedorb Is gaining popularity
Rep Power: 2
Wow, that was hilarious. Maybe you should try writing a quine instead...
 

 
Old 07-03-2008, 08:10 PM   #3 (permalink)
Theebomb1080 Theebomb1080 is offline Gender Male
Underground
 
Theebomb1080's Avatar
 
Theebomb1080 is offline
Join Date: Jun 2008
Location: So Cal
Age: 18
Posts: 617
iTrader: 0 / 0%
Theebomb1080 Is Popular
Rep Power: 1
Sorry to hear about it. But there's no real point in anything. Life's a bitch. It'll tend to do this shit to you.
__________________
[00:36] iClitoris: <3 I'm good at cramming and such

Those who want to live, let them fight, and those who do not

want to fight in this world of eternal struggle do not deserve to

live
.
 
Closed Thread

Bookmarks



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -7. The time now is 06:33 PM.


vBulletin skin developed by: eXtremepixels
The contents of this webpage are copyright © 2006-2008 GamingGutter.com. All Rights Reserved.

Page generated in 0.13677096 seconds (100.00% PHP - 0% MySQL) with 19 queries